Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.nurserostering.persistence
Class NurseRosteringSolutionImporter.NurseRosteringInputBuilder

java.lang.Object
  extended by org.drools.planner.examples.common.persistence.AbstractXmlSolutionImporter.XmlInputBuilder
      extended by org.drools.planner.examples.nurserostering.persistence.NurseRosteringSolutionImporter.NurseRosteringInputBuilder
Enclosing class:
NurseRosteringSolutionImporter

public class NurseRosteringSolutionImporter.NurseRosteringInputBuilder
extends AbstractXmlSolutionImporter.XmlInputBuilder


Field Summary
protected  Map<String,Contract> contractMap
           
protected  Map<List<String>,Shift> dateAndShiftTypeToShiftMap
           
protected  Map<List<Object>,List<Shift>> dayOfWeekAndShiftTypeToShiftListMap
           
protected  Map<String,Employee> employeeMap
           
protected  Map<String,Pattern> patternMap
           
protected  Map<String,ShiftDate> shiftDateMap
           
protected  Map<String,ShiftType> shiftTypeMap
           
protected  Map<String,Skill> skillMap
           
 
Fields inherited from class org.drools.planner.examples.common.persistence.AbstractXmlSolutionImporter.XmlInputBuilder
document, inputFile
 
Constructor Summary
NurseRosteringSolutionImporter.NurseRosteringInputBuilder()
           
 
Method Summary
 Solution readSolution()
           
 
Methods inherited from class org.drools.planner.examples.common.persistence.AbstractXmlSolutionImporter.XmlInputBuilder
assertElementName, getInputId, setDocument, setInputFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shiftDateMap

protected Map<String,ShiftDate> shiftDateMap

skillMap

protected Map<String,Skill> skillMap

shiftTypeMap

protected Map<String,ShiftType> shiftTypeMap

dateAndShiftTypeToShiftMap

protected Map<List<String>,Shift> dateAndShiftTypeToShiftMap

dayOfWeekAndShiftTypeToShiftListMap

protected Map<List<Object>,List<Shift>> dayOfWeekAndShiftTypeToShiftListMap

patternMap

protected Map<String,Pattern> patternMap

contractMap

protected Map<String,Contract> contractMap

employeeMap

protected Map<String,Employee> employeeMap
Constructor Detail

NurseRosteringSolutionImporter.NurseRosteringInputBuilder

public NurseRosteringSolutionImporter.NurseRosteringInputBuilder()
Method Detail

readSolution

public Solution readSolution()
                      throws IOException,
                             org.jdom.JDOMException
Specified by:
readSolution in class AbstractXmlSolutionImporter.XmlInputBuilder
Throws:
IOException
org.jdom.JDOMException

Drools Planner distribution 6.0.0.Alpha9

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