OptaPlanner distribution 6.2.1-SNAPSHOT

org.optaplanner.examples.examination.domain
Class Exam

java.lang.Object
  extended by org.optaplanner.examples.common.domain.AbstractPersistable
      extended by org.optaplanner.examples.examination.domain.Exam
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>
Direct Known Subclasses:
FollowingExam, LeadingExam

public abstract class Exam
extends AbstractPersistable

See Also:
Serialized Form

Field Summary
protected  Room room
           
protected  Topic topic
           
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Exam()
           
 
Method Summary
 int getDayIndex()
           
 String getLabel()
           
abstract  Period getPeriod()
           
 int getPeriodDuration()
           
 int getPeriodIndex()
           
 Room getRoom()
           
 Topic getTopic()
           
 int getTopicDuration()
           
 int getTopicStudentSize()
           
 boolean isPeriodFrontLoadLast()
           
 boolean isTopicFrontLoadLarge()
           
 void setRoom(Room room)
           
 void setTopic(Topic topic)
           
 String toString()
           
 
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
compareTo, getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

topic

protected Topic topic

room

protected Room room
Constructor Detail

Exam

public Exam()
Method Detail

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()

toString

public String toString()
Overrides:
toString in class AbstractPersistable

OptaPlanner distribution 6.2.1-SNAPSHOT

Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.