package scheduler.Conflict; import scheduler.Generate.*; import scheduler.LocationDB.*; import scheduler.ScheduleQuality.*; import scheduler.ViewSchedule.*; import java.util.Collection; /** * * Home object for derived methods. * Derived from an FMSL opaque type. * * @author * @version * **/ public class Conflict { /** Default Constructor **/ public Conflict() { } /** FindConstraintViolations uses a modified ScheduleItem * following a a manual edit to check the schedule for constraint * violations. This function is to be called following a manual edit operation specified in the Course-Manual module. **/ protected ConstraintViolationList findConstraintViolations( Schedule[] newSI, ScheduleItem sched) { return null; } /** This function uses all the preference violations and constrain *t violations found by the Scheduler to generate conflict * information for a specific ScheduleItem. The function selects the * conflicts that involve the ScheduleItem to create a ConflictInfo * object. This object is used by ViewSchedule to display detailed information about a conflict in a ViewInfoDialog popup. **/ protected ConflictInfo getConflictInfo(ConstraintViolationList[] si, PreferenceViolationList[] cvList, ScheduleItem pvList) { return null; } /** GetConflictView uses the preference violations and constraint * violations found by the Scheduler to create a ConflictView object * for the schedule. This function is used by ViewSchedule to add conflict markings to to the schedule view. **/ protected ConflictView getConflictView(ConstraintViolationList[] sched, PreferenceViolationList[] cvList, Schedule[] pvList) { return null; } /** ResolveConstraintViolations resolves all constraint * violations in the Schedule by changing location(s) to TBA (nil) * and/or instructor(s) to STAFF (nil). This function * called immediately after FindConstraintViolations following a manual edit. **/ protected Schedule resolveConstraintViolations( ConstraintViolationList[] sched, Schedule[] cvList) { return null; } /** ViewConflicts takes the last manual edit and the list of * resolved constraint violations and displays them in the Constraint Manager Window. **/ protected ConstraintManager viewConflicts(ConstraintViolationList[] oldSI, ScheduleItem newSI, ScheduleItem cvList) { return null; } }