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

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
      extended by org.drools.planner.examples.examination.domain.Examination
All Implemented Interfaces:
Serializable, Solution<HardAndSoftScore>

public class Examination
extends AbstractPersistable
implements Solution<HardAndSoftScore>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Examination()
           
 
Method Summary
 Examination cloneSolution()
          Clone will only deep copy the examList.
 boolean equals(Object o)
           
 List<Exam> getExamList()
           
 Collection<? extends Object> getFacts()
           
 InstitutionalWeighting getInstitutionalWeighting()
           
 List<PeriodHardConstraint> getPeriodHardConstraintList()
           
 List<Period> getPeriodList()
           
 List<RoomHardConstraint> getRoomHardConstraintList()
           
 List<Room> getRoomList()
           
 HardAndSoftScore getScore()
           
 List<Student> getStudentList()
           
 List<Topic> getTopicList()
           
 int hashCode()
           
 boolean isInitialized()
           
 void setExamList(List<Exam> examList)
           
 void setInstitutionalWeighting(InstitutionalWeighting institutionalWeighting)
           
 void setPeriodHardConstraintList(List<PeriodHardConstraint> periodHardConstraintList)
           
 void setPeriodList(List<Period> periodList)
           
 void setRoomHardConstraintList(List<RoomHardConstraint> roomHardConstraintList)
           
 void setRoomList(List<Room> roomList)
           
 void setScore(HardAndSoftScore score)
           
 void setStudentList(List<Student> studentList)
           
 void setTopicList(List<Topic> topicList)
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
getId, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Examination

public Examination()
Method Detail

getInstitutionalWeighting

public InstitutionalWeighting getInstitutionalWeighting()

setInstitutionalWeighting

public void setInstitutionalWeighting(InstitutionalWeighting institutionalWeighting)

getStudentList

public List<Student> getStudentList()

setStudentList

public void setStudentList(List<Student> studentList)

getTopicList

public List<Topic> getTopicList()

setTopicList

public void setTopicList(List<Topic> topicList)

getPeriodList

public List<Period> getPeriodList()

setPeriodList

public void setPeriodList(List<Period> periodList)

getRoomList

public List<Room> getRoomList()

setRoomList

public void setRoomList(List<Room> roomList)

getPeriodHardConstraintList

public List<PeriodHardConstraint> getPeriodHardConstraintList()

setPeriodHardConstraintList

public void setPeriodHardConstraintList(List<PeriodHardConstraint> periodHardConstraintList)

getRoomHardConstraintList

public List<RoomHardConstraint> getRoomHardConstraintList()

setRoomHardConstraintList

public void setRoomHardConstraintList(List<RoomHardConstraint> roomHardConstraintList)

getExamList

public List<Exam> getExamList()

setExamList

public void setExamList(List<Exam> examList)

getScore

public HardAndSoftScore getScore()
Specified by:
getScore in interface Solution<HardAndSoftScore>

setScore

public void setScore(HardAndSoftScore score)
Specified by:
setScore in interface Solution<HardAndSoftScore>

isInitialized

public boolean isInitialized()

getFacts

public Collection<? extends Object> getFacts()
Specified by:
getFacts in interface Solution<HardAndSoftScore>

cloneSolution

public Examination cloneSolution()
Clone will only deep copy the examList.

Specified by:
cloneSolution in interface Solution<HardAndSoftScore>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.