schedule
Class AdminLectLabTimeConstraint

java.lang.Object
  extended by schedule.AdminLectLabTimeConstraint

abstract class AdminLectLabTimeConstraint
extends java.lang.Object

This object defines the time constraint between all lecture and lab sections. The time an admin sets through the dialog box seen in section 2.4.1.4 of the Functional Requirements, the algorithm will make sure that lectures and their corresponding labs are scheduled within the same specified.

This object is derived from Section 2.4.1.4 of the Functional Requirements.


Field Summary
(package private)  java.util.Collection<java.lang.Integer> hours
           
(package private)  java.sql.Time lectLabProx
           
(package private)  int lectLabscore
           
(package private)  java.util.Collection<java.lang.Integer> mins
           
 
Constructor Summary
AdminLectLabTimeConstraint()
           
 
Method Summary
abstract  void saveLectLabTimeConstraint()
          This method is called when the admin clicks the save button to apply this time constraint to all lecture/lab courses.
abstract  void setHourConstraint(int hour)
          This method is called when the "Hours" drop down menu is set in the dialog box as seen in the Functional Requirements section 2.4.1.4
abstract  void setMinConstraint(int mins)
          This method is called when the "Minutes" drop down menu is set in the dialog box as seen in the Functional Requirements section 2.4.1.4
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lectLabProx

java.sql.Time lectLabProx

lectLabscore

int lectLabscore

hours

java.util.Collection<java.lang.Integer> hours

mins

java.util.Collection<java.lang.Integer> mins
Constructor Detail

AdminLectLabTimeConstraint

AdminLectLabTimeConstraint()
Method Detail

setHourConstraint

public abstract void setHourConstraint(int hour)
This method is called when the "Hours" drop down menu is set in the dialog box as seen in the Functional Requirements section 2.4.1.4


setMinConstraint

public abstract void setMinConstraint(int mins)
This method is called when the "Minutes" drop down menu is set in the dialog box as seen in the Functional Requirements section 2.4.1.4


saveLectLabTimeConstraint

public abstract void saveLectLabTimeConstraint()
This method is called when the admin clicks the save button to apply this time constraint to all lecture/lab courses.