Class EmployeeConsecutiveWeekendAssignmentStart
java.lang.Object
org.optaplanner.examples.nurserostering.optional.score.EmployeeConsecutiveWeekendAssignmentStart
- All Implemented Interfaces:
Comparable<EmployeeConsecutiveWeekendAssignmentStart>
public class EmployeeConsecutiveWeekendAssignmentStart
extends Object
implements Comparable<EmployeeConsecutiveWeekendAssignmentStart>
-
Constructor Summary
ConstructorsConstructorDescriptionEmployeeConsecutiveWeekendAssignmentStart(Employee employee, int sundayIndex) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanintinthashCode()voidsetEmployee(Employee employee) voidsetSundayIndex(int sundayIndex) toString()
-
Constructor Details
-
EmployeeConsecutiveWeekendAssignmentStart
-
-
Method Details
-
getEmployee
-
setEmployee
-
getSundayIndex
public int getSundayIndex() -
setSundayIndex
public void setSundayIndex(int sundayIndex) -
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<EmployeeConsecutiveWeekendAssignmentStart>
-
toString
-
getContract
-