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

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

public class Period
extends AbstractPersistable
implements Comparable<Period>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Period()
           
 
Method Summary
 int compareTo(Period other)
           
 Day getDay()
           
 Timeslot getTimeslot()
           
 void setDay(Day day)
           
 void setTimeslot(Timeslot timeslot)
           
 String toString()
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Period

public Period()
Method Detail

getDay

public Day getDay()

setDay

public void setDay(Day day)

getTimeslot

public Timeslot getTimeslot()

setTimeslot

public void setTimeslot(Timeslot timeslot)

compareTo

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

toString

public String toString()
Overrides:
toString in class AbstractPersistable


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.