Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.nurserostering.domain.solver
Class EmployeeConsecutiveAssignmentEnd

java.lang.Object
  extended by org.drools.planner.examples.nurserostering.domain.solver.EmployeeConsecutiveAssignmentEnd
All Implemented Interfaces:
Serializable, Comparable<EmployeeConsecutiveAssignmentEnd>

public class EmployeeConsecutiveAssignmentEnd
extends Object
implements Comparable<EmployeeConsecutiveAssignmentEnd>, Serializable

See Also:
Serialized Form

Constructor Summary
EmployeeConsecutiveAssignmentEnd(Employee employee, ShiftDate shiftDate)
           
 
Method Summary
 int compareTo(EmployeeConsecutiveAssignmentEnd other)
           
 boolean equals(Object o)
           
 Contract getContract()
           
 int getDistanceToLastDayOfWeekend()
           
 Employee getEmployee()
           
 ShiftDate getShiftDate()
           
 int getShiftDateDayIndex()
           
 int hashCode()
           
 boolean isWeekendAndNotLastDayOfWeekend()
           
 void setEmployee(Employee employee)
           
 void setShiftDate(ShiftDate shiftDate)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmployeeConsecutiveAssignmentEnd

public EmployeeConsecutiveAssignmentEnd(Employee employee,
                                        ShiftDate shiftDate)
Method Detail

getEmployee

public Employee getEmployee()

setEmployee

public void setEmployee(Employee employee)

getShiftDate

public ShiftDate getShiftDate()

setShiftDate

public void setShiftDate(ShiftDate shiftDate)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(EmployeeConsecutiveAssignmentEnd other)
Specified by:
compareTo in interface Comparable<EmployeeConsecutiveAssignmentEnd>

toString

public String toString()
Overrides:
toString in class Object

getContract

public Contract getContract()

getShiftDateDayIndex

public int getShiftDateDayIndex()

isWeekendAndNotLastDayOfWeekend

public boolean isWeekendAndNotLastDayOfWeekend()

getDistanceToLastDayOfWeekend

public int getDistanceToLastDayOfWeekend()

Drools Planner distribution 6.0.0.Alpha9

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.