Class Shift
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.nurserostering.domain.Shift
-
public class Shift extends AbstractPersistable
-
-
Field Summary
-
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
-
Constructor Summary
Constructors Constructor Description Shift()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()StringgetLabel()intgetRequiredEmployeeSize()ShiftDategetShiftDate()ShiftTypegetShiftType()voidsetIndex(int index)voidsetRequiredEmployeeSize(int requiredEmployeeSize)voidsetShiftDate(ShiftDate shiftDate)voidsetShiftType(ShiftType shiftType)StringtoString()-
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
-
-
-
Method Detail
-
getShiftDate
public ShiftDate getShiftDate()
-
setShiftDate
public void setShiftDate(ShiftDate shiftDate)
-
getShiftType
public ShiftType getShiftType()
-
setShiftType
public void setShiftType(ShiftType shiftType)
-
getIndex
public int getIndex()
-
setIndex
public void setIndex(int index)
-
getRequiredEmployeeSize
public int getRequiredEmployeeSize()
-
setRequiredEmployeeSize
public void setRequiredEmployeeSize(int requiredEmployeeSize)
-
getLabel
public String getLabel()
-
toString
public String toString()
- Overrides:
toStringin classAbstractPersistable
-
-