org.drools.planner.examples.nurserostering.domain.solver
Class EmployeeConsecutiveAssignmentStart
java.lang.Object
org.drools.planner.examples.nurserostering.domain.solver.EmployeeConsecutiveAssignmentStart
- All Implemented Interfaces:
- Serializable, Comparable<EmployeeConsecutiveAssignmentStart>
public class EmployeeConsecutiveAssignmentStart
- extends Object
- implements Comparable<EmployeeConsecutiveAssignmentStart>, Serializable
- See Also:
- Serialized Form
EmployeeConsecutiveAssignmentStart
public EmployeeConsecutiveAssignmentStart(Employee employee,
ShiftDate shiftDate)
getEmployee
public Employee getEmployee()
setEmployee
public void setEmployee(Employee employee)
getShiftDate
public ShiftDate getShiftDate()
setShiftDate
public void setShiftDate(ShiftDate shiftDate)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(EmployeeConsecutiveAssignmentStart other)
- Specified by:
compareTo
in interface Comparable<EmployeeConsecutiveAssignmentStart>
toString
public String toString()
- Overrides:
toString
in class Object
getContract
public Contract getContract()
getShiftDateDayIndex
public int getShiftDateDayIndex()
isWeekendAndNotFirstDayOfWeekend
public boolean isWeekendAndNotFirstDayOfWeekend()
getDistanceToFirstDayOfWeekend
public int getDistanceToFirstDayOfWeekend()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.