|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Assignment
Time and room assignment. This can be either Section
or FreeTimeRequest
.
Method Summary | |
---|---|
void |
assigned(Enrollment enrollment)
Enrollment with this assignmnet was assigned to a Request . |
Set |
getEnrollments()
Return the list of assigned enrollments that contains this assignment. |
int |
getNrRooms()
Number of rooms in which a section meets |
Vector |
getRooms()
Room assignment |
TimeLocation |
getTime()
Time assignment |
boolean |
isOverlapping(Assignment assignment)
True, if this assignment is overlapping in time and space with the given assignment. |
boolean |
isOverlapping(Set assignments)
True, if this assignment is overlapping in time and space with the given set of assignments. |
void |
unassigned(Enrollment enrollment)
Enrollment with this assignmnet was unassigned from a Request . |
Method Detail |
---|
TimeLocation getTime()
Vector getRooms()
RoomLocation
int getNrRooms()
boolean isOverlapping(Assignment assignment)
boolean isOverlapping(Set assignments)
void assigned(Enrollment enrollment)
Request
.
void unassigned(Enrollment enrollment)
Request
.
Set getEnrollments()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |