Class EmployeeConsecutiveWeekendAssignmentStart
- java.lang.Object
-
- org.optaplanner.examples.nurserostering.score.drools.EmployeeConsecutiveWeekendAssignmentStart
-
- All Implemented Interfaces:
Comparable<EmployeeConsecutiveWeekendAssignmentStart>
public class EmployeeConsecutiveWeekendAssignmentStart extends Object implements Comparable<EmployeeConsecutiveWeekendAssignmentStart>
-
-
Constructor Summary
Constructors Constructor Description EmployeeConsecutiveWeekendAssignmentStart(Employee employee, int sundayIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(EmployeeConsecutiveWeekendAssignmentStart other)booleanequals(Object o)ContractgetContract()EmployeegetEmployee()intgetSundayIndex()inthashCode()voidsetEmployee(Employee employee)voidsetSundayIndex(int sundayIndex)StringtoString()
-
-
-
Constructor Detail
-
EmployeeConsecutiveWeekendAssignmentStart
public EmployeeConsecutiveWeekendAssignmentStart(Employee employee, int sundayIndex)
-
-
Method Detail
-
getEmployee
public Employee getEmployee()
-
setEmployee
public void setEmployee(Employee employee)
-
getSundayIndex
public int getSundayIndex()
-
setSundayIndex
public void setSundayIndex(int sundayIndex)
-
compareTo
public int compareTo(EmployeeConsecutiveWeekendAssignmentStart other)
- Specified by:
compareToin interfaceComparable<EmployeeConsecutiveWeekendAssignmentStart>
-
getContract
public Contract getContract()
-
-