Class Shift
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.nurserostering.domain.Shift
- All Implemented Interfaces:
Labeled
-
Field Summary
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()getLabel()intvoidsetIndex(int index) voidsetRequiredEmployeeSize(int requiredEmployeeSize) voidsetShiftDate(ShiftDate shiftDate) voidsetShiftType(ShiftType shiftType) toString()Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
Constructor Details
-
Shift
public Shift() -
Shift
public Shift(long id) -
Shift
-
-
Method Details
-
getShiftDate
-
setShiftDate
-
getShiftType
-
setShiftType
-
getIndex
public int getIndex() -
setIndex
public void setIndex(int index) -
getRequiredEmployeeSize
public int getRequiredEmployeeSize() -
setRequiredEmployeeSize
public void setRequiredEmployeeSize(int requiredEmployeeSize) -
getLabel
-
toString
- Overrides:
toStringin classAbstractPersistable
-