OptaPlanner distribution 6.0.0-SNAPSHOT

org.optaplanner.examples.nurserostering.persistence
Class NurseRosteringImporter.NurseRosteringInputBuilder

java.lang.Object
  extended by org.optaplanner.examples.common.persistence.AbstractSolutionImporter.InputBuilder
      extended by org.optaplanner.examples.common.persistence.AbstractXmlSolutionImporter.XmlInputBuilder
          extended by org.optaplanner.examples.nurserostering.persistence.NurseRosteringImporter.NurseRosteringInputBuilder
Enclosing class:
NurseRosteringImporter

public class NurseRosteringImporter.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.optaplanner.examples.common.persistence.AbstractXmlSolutionImporter.XmlInputBuilder
document, inputFile
 
Constructor Summary
NurseRosteringImporter.NurseRosteringInputBuilder()
           
 
Method Summary
 Solution readSolution()
           
 
Methods inherited from class org.optaplanner.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

NurseRosteringImporter.NurseRosteringInputBuilder

public NurseRosteringImporter.NurseRosteringInputBuilder()
Method Detail

readSolution

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

OptaPlanner distribution 6.0.0-SNAPSHOT

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