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

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

public class Lecture
extends AbstractPersistable
implements Comparable<Lecture>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Lecture()
           
 
Method Summary
 Lecture clone()
           
 int compareTo(Lecture other)
           
 Course getCourse()
           
 List<Curriculum> getCurriculumList()
           
 Day getDay()
           
 String getLabel()
           
 int getLectureIndexInCourse()
           
 Period getPeriod()
           
 Room getRoom()
           
 int getStudentSize()
           
 int getTimeslotIndex()
           
 void setCourse(Course course)
           
 void setLectureIndexInCourse(int lectureIndexInCourse)
           
 void setPeriod(Period period)
           
 void setRoom(Room room)
           
 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
getId, setId
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Lecture

public Lecture()
Method Detail

getCourse

public Course getCourse()

setCourse

public void setCourse(Course course)

getLectureIndexInCourse

public int getLectureIndexInCourse()

setLectureIndexInCourse

public void setLectureIndexInCourse(int lectureIndexInCourse)

getPeriod

public Period getPeriod()

setPeriod

public void setPeriod(Period period)

getRoom

public Room getRoom()

setRoom

public void setRoom(Room room)

getLabel

public String getLabel()

getStudentSize

public int getStudentSize()

getCurriculumList

public List<Curriculum> getCurriculumList()

getDay

public Day getDay()

getTimeslotIndex

public int getTimeslotIndex()

compareTo

public int compareTo(Lecture other)
Specified by:
compareTo in interface Comparable<Lecture>

clone

public Lecture clone()
Overrides:
clone in class Object

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


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