public class OnlineConfig extends Config
Config
class that allows to set the current configuration enrollment.
This class is particularly useful when a model containing only the given student is constructed (to provide him/her with a schedule or suggestions).Config.ConfigContext
sMaxSize
Constructor and Description |
---|
OnlineConfig(long id,
int limit,
String name,
Offering offering) |
Modifier and Type | Method and Description |
---|---|
int |
getEnrollment()
Get current enrollment
|
void |
setEnrollment(int enrollment)
Set current enrollment
|
clearReservationCache, createAssignmentContext, equals, getConfigReservations, getCreditValue, getEnrollments, getEnrollmentTotalWeight, getEnrollmentWeight, getId, getInstructionalMethodId, getInstructionalMethodName, getInstructionalMethodReference, getLimit, getMaxEnrollmentWeight, getMaxPenalty, getMinEnrollmentWeight, getMinPenalty, getModel, getName, getNrArrHours, getNrOnline, getNrPast, getOffering, getReservations, getSubparts, getTotalUnreservedSpace, getUnreservedSpace, hasCreditValue, hashCode, inheritAssignmentContext, setInstructionalMethodId, setInstructionalMethodName, setInstructionalMethodReference, setLimit, toString
getAssignmentContextReference, getContext, getContext, setAssignmentContextReference
public OnlineConfig(long id, int limit, String name, Offering offering)
public void setEnrollment(int enrollment)
enrollment
- current enrollmentpublic int getEnrollment()