org.drools.planner.examples.pas.domain
Class Night

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

public class Night
extends AbstractPersistable
implements Comparable<Night>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Night()
           
 
Method Summary
 int compareTo(Night other)
           
 int getIndex()
           
 void setIndex(int index)
           
 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

Night

public Night()
Method Detail

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

compareTo

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

toString

public String toString()
Overrides:
toString in class AbstractPersistable


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