org.drools.planner.examples.curriculumcourse.domain
Class CurriculumCourseSchedule

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

public class CurriculumCourseSchedule
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
CurriculumCourseSchedule()
           
 
Method Summary
 CurriculumCourseSchedule cloneSolution()
          Clone will only deep copy the lectureList.
 boolean equals(Object o)
           
 List<Course> getCourseList()
           
 List<Curriculum> getCurriculumList()
           
 List<Day> getDayList()
           
 List<Lecture> getLectureList()
           
 String getName()
           
 List<Period> getPeriodList()
           
 Collection<? extends Object> getProblemFacts()
           
 List<Room> getRoomList()
           
 HardAndSoftScore getScore()
           
 List<Teacher> getTeacherList()
           
 List<Timeslot> getTimeslotList()
           
 List<UnavailablePeriodConstraint> getUnavailablePeriodConstraintList()
           
 int hashCode()
           
 void setCourseList(List<Course> courseList)
           
 void setCurriculumList(List<Curriculum> curriculumList)
           
 void setDayList(List<Day> dayList)
           
 void setLectureList(List<Lecture> lectureList)
           
 void setName(String name)
           
 void setPeriodList(List<Period> periodList)
           
 void setRoomList(List<Room> roomList)
           
 void setScore(HardAndSoftScore score)
           
 void setTeacherList(List<Teacher> teacherList)
           
 void setTimeslotList(List<Timeslot> timeslotList)
           
 void setUnavailablePeriodConstraintList(List<UnavailablePeriodConstraint> unavailablePeriodConstraintList)
           
 
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

CurriculumCourseSchedule

public CurriculumCourseSchedule()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getTeacherList

public List<Teacher> getTeacherList()

setTeacherList

public void setTeacherList(List<Teacher> teacherList)

getCurriculumList

public List<Curriculum> getCurriculumList()

setCurriculumList

public void setCurriculumList(List<Curriculum> curriculumList)

getCourseList

public List<Course> getCourseList()

setCourseList

public void setCourseList(List<Course> courseList)

getDayList

public List<Day> getDayList()

setDayList

public void setDayList(List<Day> dayList)

getTimeslotList

public List<Timeslot> getTimeslotList()

setTimeslotList

public void setTimeslotList(List<Timeslot> timeslotList)

getPeriodList

public List<Period> getPeriodList()

setPeriodList

public void setPeriodList(List<Period> periodList)

getRoomList

public List<Room> getRoomList()

setRoomList

public void setRoomList(List<Room> roomList)

getUnavailablePeriodConstraintList

public List<UnavailablePeriodConstraint> getUnavailablePeriodConstraintList()

setUnavailablePeriodConstraintList

public void setUnavailablePeriodConstraintList(List<UnavailablePeriodConstraint> unavailablePeriodConstraintList)

getLectureList

public List<Lecture> getLectureList()

setLectureList

public void setLectureList(List<Lecture> lectureList)

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 CurriculumCourseSchedule cloneSolution()
Clone will only deep copy the lectureList.

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.