public class DummyReservation extends Reservation
Reservation.ReservationContext| Constructor and Description |
|---|
DummyReservation(Offering offering)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAssignOverLimit()
Dummy reservation cannot go over the limit
|
int |
getPriority()
Dummy reservation has low priority
|
double |
getReservationLimit()
Dummy reservation is unlimited
|
boolean |
isApplicable(Student student)
Dummy reservation is not applicable to any students
|
boolean |
mustBeUsed()
Dummy 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 DummyReservation(Offering offering)
offering - offering on which the reservation is setpublic double getReservationLimit()
getReservationLimit in class Reservationpublic int getPriority()
getPriority in class Reservationpublic boolean isApplicable(Student student)
isApplicable in class Reservationstudent - a studentpublic boolean canAssignOverLimit()
canAssignOverLimit in class Reservationpublic boolean mustBeUsed()
mustBeUsed in class ReservationCopyright © 2014 UniTime LLC. All Rights Reserved.