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,
List<Instructor> instructors,
Section parent) |
OnlineSection(long id,
int limit,
String name,
Subpart subpart,
Placement placement,
String instructorIds,
String instructorNames,
Section parent)
Deprecated.
|
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, getEnrollments, getEnrollmentTotalWeight, getEnrollmentWeight, getChoice, getId, getIgnoreConflictWithSectionIds, getInstructorNames, getInstructors, getLimit, getLongName, getLongName, getMaxEnrollmentWeight, getMinEnrollmentWeight, getModel, getName, getName, getNameByCourse, getNote, getNrRooms, getOnlineSectioningPenalty, getParent, getPenalty, getPlacement, getReservations, getRooms, getSectionReservations, getSpaceExpected, getSpaceHeld, getSubpart, getTime, getTotalUnreservedSpace, getUnavailabilities, getUnreservedSpace, hashCode, hasInstructors, hasTime, inheritAssignmentContext, isAllowOverlap, isCancelled, isEnabled, isOnline, isOverlapping, isOverlapping, isPast, isToIgnoreStudentConflictsWith, nrInstructors, sameChoice, sameInstructionalType, sameInstructors, sameTime, setCancelled, setEnabled, setLimit, setName, setName, setNote, setOnline, setPast, setPenalty, setPlacement, setSpaceExpected, setSpaceHeld, toString, unassigned
getAssignmentContextReference, getContext, getContext, setAssignmentContextReference
public OnlineSection(long id, int limit, String name, Subpart subpart, Placement placement, List<Instructor> instructors, Section parent)
@Deprecated public OnlineSection(long id, int limit, String name, Subpart subpart, Placement placement, String instructorIds, String instructorNames, Section parent)
public void setEnrollment(int enrollment)
enrollment
- current enrollmentpublic int getEnrollment()