Class ShiftOffRequest
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.nurserostering.domain.request.ShiftOffRequest
-
public class ShiftOffRequest extends AbstractPersistable
-
-
Field Summary
-
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
-
Constructor Summary
Constructors Constructor Description ShiftOffRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmployeegetEmployee()ShiftgetShift()intgetWeight()voidsetEmployee(Employee employee)voidsetShift(Shift shift)voidsetWeight(int weight)StringtoString()-
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
-
-
-
Method Detail
-
getEmployee
public Employee getEmployee()
-
setEmployee
public void setEmployee(Employee employee)
-
getShift
public Shift getShift()
-
setShift
public void setShift(Shift shift)
-
getWeight
public int getWeight()
-
setWeight
public void setWeight(int weight)
-
toString
public String toString()
- Overrides:
toStringin classAbstractPersistable
-
-