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 Employee
getEmployee()
Shift
getShift()
int
getWeight()
void
setEmployee(Employee employee)
void
setShift(Shift shift)
void
setWeight(int weight)
String
toString()
-
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:
toString
in classAbstractPersistable
-
-