Drools Planner distribution 6.0.0.Alpha9

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

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

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

See Also:
Serialized Form

Constructor Summary
EmployeeConsecutiveWeekendAssignmentStart(Employee employee, int sundayIndex)
           
 
Method Summary
 int compareTo(EmployeeConsecutiveWeekendAssignmentStart 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

EmployeeConsecutiveWeekendAssignmentStart

public EmployeeConsecutiveWeekendAssignmentStart(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(EmployeeConsecutiveWeekendAssignmentStart other)
Specified by:
compareTo in interface Comparable<EmployeeConsecutiveWeekendAssignmentStart>

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.