Class FollowingExam
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.examination.domain.Exam
-
- org.optaplanner.examples.examination.domain.FollowingExam
-
public class FollowingExam extends Exam
-
-
Field Summary
Fields Modifier and Type Field Description protected LeadingExamleadingExamprotected Periodperiod-
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
-
Constructor Summary
Constructors Constructor Description FollowingExam()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeadingExamgetLeadingExam()PeriodgetPeriod()voidsetLeadingExam(LeadingExam leadingExam)voidsetPeriod(Period period)FollowingExamwithId(long id)FollowingExamwithLeadingExam(LeadingExam leadingExam)FollowingExamwithPeriod(Period period)FollowingExamwithRoom(Room room)FollowingExamwithTopic(Topic topic)-
Methods inherited from class org.optaplanner.examples.examination.domain.Exam
getDayIndex, getLabel, getPeriodDuration, getPeriodIndex, getRoom, getTopic, getTopicDuration, getTopicStudentSize, isPeriodFrontLoadLast, isTopicFrontLoadLarge, setRoom, setTopic, toString
-
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
-
-
-
Field Detail
-
leadingExam
protected LeadingExam leadingExam
-
period
protected Period period
-
-
Method Detail
-
getLeadingExam
public LeadingExam getLeadingExam()
-
setLeadingExam
public void setLeadingExam(LeadingExam leadingExam)
-
setPeriod
public void setPeriod(Period period)
-
withId
public FollowingExam withId(long id)
-
withTopic
public FollowingExam withTopic(Topic topic)
-
withRoom
public FollowingExam withRoom(Room room)
-
withPeriod
public FollowingExam withPeriod(Period period)
-
withLeadingExam
public FollowingExam withLeadingExam(LeadingExam leadingExam)
-
-