OptaPlanner examples 6.0.0.CR2

org.optaplanner.examples.examination.domain
Class Examination

java.lang.Object
  extended by org.optaplanner.examples.common.domain.AbstractPersistable
      extended by org.optaplanner.examples.examination.domain.Examination
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>, org.optaplanner.core.api.domain.solution.cloner.PlanningCloneable<Examination>, org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

public class Examination
extends AbstractPersistable
implements org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>, org.optaplanner.core.api.domain.solution.cloner.PlanningCloneable<Examination>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Examination()
           
 
Method Summary
 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()
           
 org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore getScore()
           
 List<Student> getStudentList()
           
 List<Topic> getTopicList()
           
 int hashCode()
           
 Examination planningClone()
          Clone will only deep copy the examList.
 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(org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore score)
           
 void setStudentList(List<Student> studentList)
           
 void setTopicList(List<Topic> topicList)
           
 
Methods inherited from class org.optaplanner.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 org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore getScore()
Specified by:
getScore in interface org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

setScore

public void setScore(org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore score)
Specified by:
setScore in interface org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

getProblemFacts

public Collection<? extends Object> getProblemFacts()
Specified by:
getProblemFacts in interface org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

planningClone

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

Specified by:
planningClone in interface org.optaplanner.core.api.domain.solution.cloner.PlanningCloneable<Examination>

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

OptaPlanner examples 6.0.0.CR2

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