Drools Planner distribution 6.0.0.Alpha9

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

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

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

See Also:
Serialized Form

Constructor Summary
EmployeeConsecutiveWeekendAssignmentEnd(Employee employee, int sundayIndex)
           
 
Method Summary
 int compareTo(EmployeeConsecutiveWeekendAssignmentEnd other)
           
 boolean equals(Object o)
           
 Contract getContract()
           
 Employee getEmployee()
           
 int getSundayIndex()
           
 int hashCode()
           
 void setEmployee(Employee employee)
           
 void setSundayIndex(int sundayIndex)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

toString

public String toString()
Overrides:
toString in class Object

getContract

public Contract getContract()

Drools Planner distribution 6.0.0.Alpha9

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