Class EmployeeFreeSequence
- java.lang.Object
-
- org.optaplanner.examples.nurserostering.score.drools.EmployeeFreeSequence
-
- All Implemented Interfaces:
Comparable<EmployeeFreeSequence>
public class EmployeeFreeSequence extends Object implements Comparable<EmployeeFreeSequence>
-
-
Constructor Summary
Constructors Constructor Description EmployeeFreeSequence(Employee employee, int firstDayIndex, int lastDayIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(EmployeeFreeSequence other)booleanequals(Object o)intgetDayLength()EmployeegetEmployee()intgetFirstDayIndex()intgetLastDayIndex()inthashCode()voidsetEmployee(Employee employee)voidsetFirstDayIndex(int firstDayIndex)voidsetLastDayIndex(int lastDayIndex)StringtoString()
-
-
-
Constructor Detail
-
EmployeeFreeSequence
public EmployeeFreeSequence(Employee employee, int firstDayIndex, int lastDayIndex)
-
-
Method Detail
-
getEmployee
public Employee getEmployee()
-
setEmployee
public void setEmployee(Employee employee)
-
getFirstDayIndex
public int getFirstDayIndex()
-
setFirstDayIndex
public void setFirstDayIndex(int firstDayIndex)
-
getLastDayIndex
public int getLastDayIndex()
-
setLastDayIndex
public void setLastDayIndex(int lastDayIndex)
-
compareTo
public int compareTo(EmployeeFreeSequence other)
- Specified by:
compareToin interfaceComparable<EmployeeFreeSequence>
-
getDayLength
public int getDayLength()
-
-