public class CourseReservation extends Reservation
Reservation.ReservationContext| Constructor and Description |
|---|
CourseReservation(long id,
Course course)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAssignOverLimit()
Curriculum reservation cannot go over the limit
|
Course |
getCourse()
Course offering
|
int |
getPriority()
Reservation priority (lower than individual and group reservations)
|
double |
getReservationLimit()
Reservation limit (-1 for unlimited)
|
boolean |
isApplicable(Student student)
Check the area, classifications and majors
|
boolean |
mustBeUsed()
Course reservation do not need to be used
|
addConfig, addSection, canEnroll, compareTo, compareTo, createAssignmentContext, getConfigs, getEnrollments, getId, getLimit, getLimitCap, getModel, getOffering, getReservedAvailableSpace, getRestrictivity, getSections, getSections, isAllowOverlap, isExpired, isIncluded, setExpiredgetAssignmentContextReference, getContext, getContext, setAssignmentContextReference, setContextpublic CourseReservation(long id, Course course)
id - unique idcourse - course offering on which the reservation is setpublic boolean canAssignOverLimit()
canAssignOverLimit in class Reservationpublic boolean mustBeUsed()
mustBeUsed in class Reservationpublic double getReservationLimit()
getReservationLimit in class Reservationpublic int getPriority()
getPriority in class Reservationpublic boolean isApplicable(Student student)
isApplicable in class Reservationstudent - a studentCopyright © 2014 UniTime LLC. All Rights Reserved.