org.drools.planner.examples.nurserostering.domain
Class NurseRoster

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
      extended by org.drools.planner.examples.nurserostering.domain.NurseRoster
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>, Solution<HardAndSoftScore>

public class NurseRoster
extends AbstractPersistable
implements Solution<HardAndSoftScore>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
NurseRoster()
           
 
Method Summary
 NurseRoster cloneSolution()
          Clone will only deep copy the shiftAssignmentList.
 boolean equals(Object o)
           
 String getCode()
           
 List<ContractLine> getContractLineList()
           
 List<Contract> getContractList()
           
 List<DayOffRequest> getDayOffRequestList()
           
 List<DayOnRequest> getDayOnRequestList()
           
 List<Employee> getEmployeeList()
           
 List<PatternContractLine> getPatternContractLineList()
           
 List<Pattern> getPatternList()
           
 Collection<? extends Object> getProblemFacts()
           
 HardAndSoftScore getScore()
           
 List<ShiftAssignment> getShiftAssignmentList()
           
 List<ShiftDate> getShiftDateList()
           
 List<Shift> getShiftList()
           
 List<ShiftOffRequest> getShiftOffRequestList()
           
 List<ShiftOnRequest> getShiftOnRequestList()
           
 List<ShiftType> getShiftTypeList()
           
 List<ShiftTypeSkillRequirement> getShiftTypeSkillRequirementList()
           
 List<Skill> getSkillList()
           
 List<SkillProficiency> getSkillProficiencyList()
           
 int hashCode()
           
 void setCode(String code)
           
 void setContractLineList(List<ContractLine> contractLineList)
           
 void setContractList(List<Contract> contractList)
           
 void setDayOffRequestList(List<DayOffRequest> dayOffRequestList)
           
 void setDayOnRequestList(List<DayOnRequest> dayOnRequestList)
           
 void setEmployeeList(List<Employee> employeeList)
           
 void setPatternContractLineList(List<PatternContractLine> patternContractLineList)
           
 void setPatternList(List<Pattern> patternList)
           
 void setScore(HardAndSoftScore score)
           
 void setShiftAssignmentList(List<ShiftAssignment> shiftAssignmentList)
           
 void setShiftDateList(List<ShiftDate> shiftDateList)
           
 void setShiftList(List<Shift> shiftList)
           
 void setShiftOffRequestList(List<ShiftOffRequest> shiftOffRequestList)
           
 void setShiftOnRequestList(List<ShiftOnRequest> shiftOnRequestList)
           
 void setShiftTypeList(List<ShiftType> shiftTypeList)
           
 void setShiftTypeSkillRequirementList(List<ShiftTypeSkillRequirement> shiftTypeSkillRequirementList)
           
 void setSkillList(List<Skill> skillList)
           
 void setSkillProficiencyList(List<SkillProficiency> skillProficiencyList)
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
compareTo, getId, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NurseRoster

public NurseRoster()
Method Detail

getCode

public String getCode()

setCode

public void setCode(String code)

getSkillList

public List<Skill> getSkillList()

setSkillList

public void setSkillList(List<Skill> skillList)

getShiftTypeList

public List<ShiftType> getShiftTypeList()

setShiftTypeList

public void setShiftTypeList(List<ShiftType> shiftTypeList)

getShiftTypeSkillRequirementList

public List<ShiftTypeSkillRequirement> getShiftTypeSkillRequirementList()

setShiftTypeSkillRequirementList

public void setShiftTypeSkillRequirementList(List<ShiftTypeSkillRequirement> shiftTypeSkillRequirementList)

getPatternList

public List<Pattern> getPatternList()

setPatternList

public void setPatternList(List<Pattern> patternList)

getContractList

public List<Contract> getContractList()

setContractList

public void setContractList(List<Contract> contractList)

getContractLineList

public List<ContractLine> getContractLineList()

setContractLineList

public void setContractLineList(List<ContractLine> contractLineList)

getPatternContractLineList

public List<PatternContractLine> getPatternContractLineList()

setPatternContractLineList

public void setPatternContractLineList(List<PatternContractLine> patternContractLineList)

getEmployeeList

public List<Employee> getEmployeeList()

setEmployeeList

public void setEmployeeList(List<Employee> employeeList)

getSkillProficiencyList

public List<SkillProficiency> getSkillProficiencyList()

setSkillProficiencyList

public void setSkillProficiencyList(List<SkillProficiency> skillProficiencyList)

getShiftDateList

public List<ShiftDate> getShiftDateList()

setShiftDateList

public void setShiftDateList(List<ShiftDate> shiftDateList)

getShiftList

public List<Shift> getShiftList()

setShiftList

public void setShiftList(List<Shift> shiftList)

getDayOffRequestList

public List<DayOffRequest> getDayOffRequestList()

setDayOffRequestList

public void setDayOffRequestList(List<DayOffRequest> dayOffRequestList)

getDayOnRequestList

public List<DayOnRequest> getDayOnRequestList()

setDayOnRequestList

public void setDayOnRequestList(List<DayOnRequest> dayOnRequestList)

getShiftOffRequestList

public List<ShiftOffRequest> getShiftOffRequestList()

setShiftOffRequestList

public void setShiftOffRequestList(List<ShiftOffRequest> shiftOffRequestList)

getShiftOnRequestList

public List<ShiftOnRequest> getShiftOnRequestList()

setShiftOnRequestList

public void setShiftOnRequestList(List<ShiftOnRequest> shiftOnRequestList)

getShiftAssignmentList

public List<ShiftAssignment> getShiftAssignmentList()

setShiftAssignmentList

public void setShiftAssignmentList(List<ShiftAssignment> shiftAssignmentList)

getScore

public HardAndSoftScore getScore()
Specified by:
getScore in interface Solution<HardAndSoftScore>

setScore

public void setScore(HardAndSoftScore score)
Specified by:
setScore in interface Solution<HardAndSoftScore>

getProblemFacts

public Collection<? extends Object> getProblemFacts()
Specified by:
getProblemFacts in interface Solution<HardAndSoftScore>

cloneSolution

public NurseRoster cloneSolution()
Clone will only deep copy the shiftAssignmentList.

Specified by:
cloneSolution in interface Solution<HardAndSoftScore>

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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