public class EnrolledClass extends TimeLocation
TimeLocation.IntEnumeration
Constructor and Description |
---|
EnrolledClass(Long courseId,
Long classId,
String course,
String type,
String section,
String externalId,
int dayCode,
int startTime,
int length,
Long datePatternId,
String datePatternName,
BitSet weekCode,
int breakTime,
String room,
boolean instructor)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Long |
getClassId()
Unique id of the enrolled class
|
String |
getCourse()
Name of the enrolled course
|
Long |
getCourseId()
Unique id of the enrolled course
|
String |
getExternalId()
External id of the enrolled class
|
String |
getRoom()
Room or rooms (comma separated) of the enrolled class
|
String |
getSection()
Name of the enrolled class
|
String |
getType()
Name of the instructional type of the enrolled class
|
boolean |
isInstructor()
Role of the instructor
|
boolean |
isStudent()
Role of the instructor
|
String |
toString() |
countDates, equals, getBreakTime, getDatePatternId, getDatePatternName, getDatePatternPreference, getDates, getDayCode, getDayHeader, getDays, getDaysArray, getEndTimeHeader, getEndTimeHeader, getEndTimeHeaderNoAdj, getEndTimeHeaderNoAdj, getFirstMeeting, getLength, getLongName, getLongName, getLongNameNoAdj, getLongNameNoAdj, getName, getName, getNormalizedPreference, getNrMeetings, getNrSlotsPerMeeting, getNrWeeks, getNrWeeks, getPreference, getSlots, getStartSlot, getStartSlots, getStartTimeHeader, getStartTimeHeader, getTimePatternId, getWeekCode, hasDate, hasDay, hashCode, hasIntersection, nrSharedDays, nrSharedHours, setBreakTime, setDatePattern, setNormalizedPreference, setPreference, setTimePatternId, shareDays, shareHours, shareWeeks, shareWeeks
public EnrolledClass(Long courseId, Long classId, String course, String type, String section, String externalId, int dayCode, int startTime, int length, Long datePatternId, String datePatternName, BitSet weekCode, int breakTime, String room, boolean instructor)
courseId
- course unique idclassId
- class unique idcourse
- course nametype
- instructional typesection
- section nameexternalId
- external iddayCode
- days (combination of 1 for Monday, 2 for Tuesday, ...)startTime
- start slotlength
- number of slotsdatePatternId
- date pattern unique iddatePatternName
- date pattern nameweekCode
- date pattern (binary string with 1 for each day when classes take place)breakTime
- break time in minutesroom
- assigned room(s)instructor
- true if the instructor is teaching the class (not being a student)public Long getCourseId()
public Long getClassId()
public String getSection()
public String getType()
public String getExternalId()
public String getRoom()
public boolean isInstructor()
public boolean isStudent()
public String toString()
toString
in class TimeLocation