Class EmployeeWorkSequence

java.lang.Object
org.optaplanner.examples.nurserostering.optional.score.EmployeeWorkSequence
All Implemented Interfaces:
Comparable<EmployeeWorkSequence>

public class EmployeeWorkSequence extends Object implements Comparable<EmployeeWorkSequence>
  • Constructor Details

    • EmployeeWorkSequence

      public EmployeeWorkSequence(Employee employee, int firstDayIndex, int lastDayIndex)
  • Method Details

    • 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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(EmployeeWorkSequence other)
      Specified by:
      compareTo in interface Comparable<EmployeeWorkSequence>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getDayLength

      public int getDayLength()