Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.examination.domain
Class Exam

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
      extended by org.drools.planner.examples.examination.domain.Exam
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>, PlanningCloneable<Exam>

public class Exam
extends AbstractPersistable
implements PlanningCloneable<Exam>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Exam()
           
 
Method Summary
 int getDayIndex()
           
 ExamBefore getExamBefore()
           
 ExamCoincidence getExamCoincidence()
           
 Period getPeriod()
           
 int getPeriodDuration()
           
 int getPeriodIndex()
           
 Room getRoom()
           
 Topic getTopic()
           
 int getTopicDuration()
           
 int getTopicStudentSize()
           
 boolean isCoincidenceLeader()
           
 boolean isPeriodFrontLoadLast()
           
 boolean isTopicFrontLoadLarge()
           
 Exam planningClone()
          Does a planning clone.
 void setExamBefore(ExamBefore examBefore)
           
 void setExamCoincidence(ExamCoincidence examCoincidence)
           
 void setPeriod(Period period)
           
 void setRoom(Room room)
           
 void setTopic(Topic topic)
           
 boolean solutionEquals(Object o)
          The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).
 int solutionHashCode()
          The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).
 String toString()
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
compareTo, getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Exam

public Exam()
Method Detail

getTopic

public Topic getTopic()

setTopic

public void setTopic(Topic topic)

getExamCoincidence

public ExamCoincidence getExamCoincidence()

setExamCoincidence

public void setExamCoincidence(ExamCoincidence examCoincidence)

getExamBefore

public ExamBefore getExamBefore()

setExamBefore

public void setExamBefore(ExamBefore examBefore)

getPeriod

public Period getPeriod()

setPeriod

public void setPeriod(Period period)

getRoom

public Room getRoom()

setRoom

public void setRoom(Room room)

isCoincidenceLeader

public boolean isCoincidenceLeader()

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

planningClone

public Exam planningClone()
Description copied from interface: PlanningCloneable
Does a planning clone. A returned Solution clone must fulfill these requirements: Note that a class might support more than 1 clone method: planning clone is just one of them.

Specified by:
planningClone in interface PlanningCloneable<Exam>
Returns:
never null, the cloned Solution

solutionEquals

public boolean solutionEquals(Object o)
The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).

See Also:
solutionHashCode()

solutionHashCode

public int solutionHashCode()
The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).

See Also:
solutionEquals(Object)

toString

public String toString()
Overrides:
toString in class AbstractPersistable

Drools Planner distribution 6.0.0.Alpha9

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.