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, Comparable<AbstractPersistable>, 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()
           
 InstitutionParametrization getInstitutionParametrization()
           
 List<Period> getPeriodList()
           
 List<PeriodPenalty> getPeriodPenaltyList()
           
 Collection<? extends Object> getProblemFacts()
           
 List<Room> getRoomList()
           
 List<RoomPenalty> getRoomPenaltyList()
           
 HardAndSoftScore getScore()
           
 List<Student> getStudentList()
           
 List<Topic> getTopicList()
           
 int hashCode()
           
 void setExamList(List<Exam> examList)
           
 void setInstitutionParametrization(InstitutionParametrization institutionParametrization)
           
 void setPeriodList(List<Period> periodList)
           
 void setPeriodPenaltyList(List<PeriodPenalty> periodPenaltyList)
           
 void setRoomList(List<Room> roomList)
           
 void setRoomPenaltyList(List<RoomPenalty> roomPenaltyList)
           
 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
compareTo, 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

getInstitutionParametrization

public InstitutionParametrization getInstitutionParametrization()

setInstitutionParametrization

public void setInstitutionParametrization(InstitutionParametrization institutionParametrization)

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)

getPeriodPenaltyList

public List<PeriodPenalty> getPeriodPenaltyList()

setPeriodPenaltyList

public void setPeriodPenaltyList(List<PeriodPenalty> periodPenaltyList)

getRoomPenaltyList

public List<RoomPenalty> getRoomPenaltyList()

setRoomPenaltyList

public void setRoomPenaltyList(List<RoomPenalty> roomPenaltyList)

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>

getProblemFacts

public Collection<? extends Object> getProblemFacts()
Specified by:
getProblemFacts 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-2012 JBoss by Red Hat. All Rights Reserved.