org.optaplanner.examples.nurserostering.domain
Class ShiftAssignment
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.nurserostering.domain.ShiftAssignment
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>
public class ShiftAssignment
- extends AbstractPersistable
- See Also:
- Serialized Form
ShiftAssignment
public ShiftAssignment()
getShift
public Shift getShift()
setShift
public void setShift(Shift shift)
getIndexInShift
public int getIndexInShift()
setIndexInShift
public void setIndexInShift(int indexInShift)
getEmployee
public Employee getEmployee()
setEmployee
public void setEmployee(Employee employee)
getShiftDate
public ShiftDate getShiftDate()
getShiftType
public ShiftType getShiftType()
getShiftDateDayIndex
public int getShiftDateDayIndex()
getShiftDateDayOfWeek
public DayOfWeek getShiftDateDayOfWeek()
getContract
public Contract getContract()
isWeekend
public boolean isWeekend()
getWeekendSundayIndex
public int getWeekendSundayIndex()
toString
public String toString()
- Overrides:
toString
in class AbstractPersistable
Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.