Class FollowingExam
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.examination.domain.Exam
-
- org.optaplanner.examples.examination.domain.FollowingExam
-
- All Implemented Interfaces:
Serializable
public class FollowingExam extends Exam
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected LeadingExam
leadingExam
protected Period
period
-
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 LeadingExam
getLeadingExam()
Period
getPeriod()
void
setLeadingExam(LeadingExam leadingExam)
void
setPeriod(Period period)
FollowingExam
withId(long id)
FollowingExam
withLeadingExam(LeadingExam leadingExam)
FollowingExam
withPeriod(Period period)
FollowingExam
withRoom(Room room)
FollowingExam
withTopic(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)
-
-