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

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

public class Timeslot
extends AbstractPersistable
implements Comparable<Timeslot>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Timeslot()
           
 
Method Summary
 int compareTo(Timeslot other)
           
 int getTimeslotIndex()
           
 void setTimeslotIndex(int timeslotIndex)
           
 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

Timeslot

public Timeslot()
Method Detail

getTimeslotIndex

public int getTimeslotIndex()

setTimeslotIndex

public void setTimeslotIndex(int timeslotIndex)

compareTo

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

toString

public String toString()
Overrides:
toString in class AbstractPersistable


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