E
- data object holding the schedule elementsF
- data object holding the schedule dependenciespublic class ScheduleDurationFlatFileLoader<E extends DataObject<E> & UniqueidentifiedInterface<E> & TimeslotInterface<E> & ScheduleInterface<E,F>,F extends DataObject<F> & UniqueidentifiedInterface<F> & ScheduledependencyInterface<F,E> & AutolinkobjectInterface<F,E>> extends FlatFileLoaderColumn<E>
FlatFileLoaderColumn.LinePreparation<E extends DataObject<E>>, FlatFileLoaderColumn.LinePreparationExtra<E extends DataObject<E>>
Constructor and Description |
---|
ScheduleDurationFlatFileLoader(DataObjectDefinition<E> dataobjectdefinition,
ScheduleDefinition<E,F> scheduledefinition,
PropertyExtractor<E> propertyextractor,
ChoiceValue<ApplocaleChoiceDefinition> locale) |
Modifier and Type | Method and Description |
---|---|
boolean |
load(E object,
java.lang.Object value,
PostUpdateProcessingStore<E> postupdateprocessingstore)
performs the load
|
protected boolean |
putContentInCell(E currentobject,
org.apache.poi.ss.usermodel.Cell cell,
java.lang.String context)
A flat file loader should be able to extract from an object the value, and
put it in a cell.
|
finalpostprocessing, generateLinePreparatorExtra, getValueRestriction, initComplexExtractorForObject, isComplexExtractor, isDiscarded, isLinePreparator, isLinePreparatorExtra, isStaticPreProcessing, LinePreparation, postprocessLine, processAfterLineInsertion, secondpass, staticpreprocessor
public ScheduleDurationFlatFileLoader(DataObjectDefinition<E> dataobjectdefinition, ScheduleDefinition<E,F> scheduledefinition, PropertyExtractor<E> propertyextractor, ChoiceValue<ApplocaleChoiceDefinition> locale)
public boolean load(E object, java.lang.Object value, PostUpdateProcessingStore<E> postupdateprocessingstore)
FlatFileLoaderColumn
load
in class FlatFileLoaderColumn<E extends DataObject<E> & UniqueidentifiedInterface<E> & TimeslotInterface<E> & ScheduleInterface<E,F>>
object
- the object on which to load datavalue
- an object, either Date, String or Doublepostupdateprocessingstore
- a store to perform post processing after the
single updateprotected boolean putContentInCell(E currentobject, org.apache.poi.ss.usermodel.Cell cell, java.lang.String context)
FlatFileLoaderColumn
putContentInCell
in class FlatFileLoaderColumn<E extends DataObject<E> & UniqueidentifiedInterface<E> & TimeslotInterface<E> & ScheduleInterface<E,F>>
currentobject
- the object to analyzecell
- cell to put the data incontext
- a context in case of multiple lines per same object