public class OnlineSection extends Section
Section
class that allows to set the current section 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).Section.SectionContext
sMaxSize
Constructor and Description |
---|
OnlineSection(long id,
int limit,
String name,
Subpart subpart,
Placement placement,
String instructorIds,
String instructorNames,
Section parent) |
Modifier and Type | Method and Description |
---|---|
int |
getEnrollment()
Get current enrollment
|
void |
setEnrollment(int enrollment)
Set current enrollment
|
addIgnoreConflictWith, assigned, clearReservationCache, compareById, compareTo, compareTo, createAssignmentContext, equals, getChoice, getEnrollments, getEnrollmentWeight, getId, getIgnoreConflictWithSectionIds, getLimit, getLongName, getLongName, getMaxEnrollmentWeight, getMinEnrollmentWeight, getModel, getName, getName, getNameByCourse, getNote, getNrRooms, getOnlineSectioningPenalty, getParent, getPenalty, getPlacement, getReservations, getRooms, getSectionReservations, getSpaceExpected, getSpaceHeld, getSubpart, getTime, getTotalUnreservedSpace, getUnreservedSpace, hashCode, inheritAssignmentContext, isAllowOverlap, isCancelled, isOverlapping, isOverlapping, isToIgnoreStudentConflictsWith, sameTime, setCancelled, setLimit, setName, setName, setNote, setPenalty, setPlacement, setSpaceExpected, setSpaceHeld, toString, unassigned
getAssignmentContextReference, getContext, getContext, setAssignmentContextReference
public void setEnrollment(int enrollment)
enrollment
- current enrollmentpublic int getEnrollment()
Copyright © 2016 UniTime LLC. All Rights Reserved.