Class DayOffRequest
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.nurserostering.domain.request.DayOffRequest
-
public class DayOffRequest extends AbstractPersistable
-
-
Field Summary
-
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
-
Constructor Summary
Constructors Constructor Description DayOffRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Employee
getEmployee()
ShiftDate
getShiftDate()
int
getWeight()
void
setEmployee(Employee employee)
void
setShiftDate(ShiftDate shiftDate)
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)
-
getShiftDate
public ShiftDate getShiftDate()
-
setShiftDate
public void setShiftDate(ShiftDate shiftDate)
-
getWeight
public int getWeight()
-
setWeight
public void setWeight(int weight)
-
toString
public String toString()
- Overrides:
toString
in classAbstractPersistable
-
-