java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.examination.domain.Exam
All Implemented Interfaces:
Labeled
Direct Known Subclasses:
FollowingExam, LeadingExam

public abstract class Exam extends AbstractPersistable implements Labeled
  • Field Details

    • topic

      protected Topic topic
    • room

      protected Room room
  • Constructor Details

    • Exam

      public Exam()
  • Method Details

    • getTopic

      public Topic getTopic()
    • setTopic

      public void setTopic(Topic topic)
    • getRoom

      public Room getRoom()
    • setRoom

      public void setRoom(Room room)
    • getPeriod

      public abstract Period getPeriod()
    • getTopicDuration

      public int getTopicDuration()
    • getTopicStudentSize

      public int getTopicStudentSize()
    • getDayIndex

      public int getDayIndex()
    • getPeriodIndex

      public int getPeriodIndex()
    • getPeriodDuration

      public int getPeriodDuration()
    • isTopicFrontLoadLarge

      public boolean isTopicFrontLoadLarge()
    • isPeriodFrontLoadLast

      public boolean isPeriodFrontLoadLast()
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface Labeled
    • toString

      public String toString()
      Overrides:
      toString in class AbstractPersistable