Class LeadingExam
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.examination.domain.Exam
-
- org.optaplanner.examples.examination.domain.LeadingExam
-
public class LeadingExam extends Exam
-
-
Field Summary
Fields Modifier and Type Field Description protected List<FollowingExam>followingExamListprotected Periodperiod-
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
-
Constructor Summary
Constructors Constructor Description LeadingExam()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FollowingExam>getFollowingExamList()PeriodgetPeriod()voidsetFollowingExamList(List<FollowingExam> followingExamList)voidsetPeriod(Period period)LeadingExamwithFollowingExamList(List<FollowingExam> followingExamList)LeadingExamwithId(long id)LeadingExamwithPeriod(Period period)LeadingExamwithRoom(Room room)LeadingExamwithTopic(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
-
followingExamList
protected List<FollowingExam> followingExamList
-
period
protected Period period
-
-
Method Detail
-
getFollowingExamList
public List<FollowingExam> getFollowingExamList()
-
setFollowingExamList
public void setFollowingExamList(List<FollowingExam> followingExamList)
-
setPeriod
public void setPeriod(Period period)
-
withId
public LeadingExam withId(long id)
-
withTopic
public LeadingExam withTopic(Topic topic)
-
withRoom
public LeadingExam withRoom(Room room)
-
withPeriod
public LeadingExam withPeriod(Period period)
-
withFollowingExamList
public LeadingExam withFollowingExamList(List<FollowingExam> followingExamList)
-
-