org.drools.planner.examples.nurserostering.domain
Class RosterInfo

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

public class RosterInfo
extends AbstractPersistable
implements Comparable<RosterInfo>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
RosterInfo(ShiftDate firstShiftDate, ShiftDate lastShiftDate)
           
 
Method Summary
 int compareTo(RosterInfo other)
           
 ShiftDate getFirstShiftDate()
           
 int getFirstShiftDateDayIndex()
           
 ShiftDate getLastShiftDate()
           
 int getLastShiftDateDayIndex()
           
 void setFirstShiftDate(ShiftDate firstShiftDate)
           
 void setLastShiftDate(ShiftDate lastShiftDate)
           
 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

RosterInfo

public RosterInfo(ShiftDate firstShiftDate,
                  ShiftDate lastShiftDate)
Method Detail

getFirstShiftDate

public ShiftDate getFirstShiftDate()

setFirstShiftDate

public void setFirstShiftDate(ShiftDate firstShiftDate)

getLastShiftDate

public ShiftDate getLastShiftDate()

setLastShiftDate

public void setLastShiftDate(ShiftDate lastShiftDate)

compareTo

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

toString

public String toString()
Overrides:
toString in class AbstractPersistable

getFirstShiftDateDayIndex

public int getFirstShiftDateDayIndex()

getLastShiftDateDayIndex

public int getLastShiftDateDayIndex()


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