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