E
- public class TimeslotEndTimeFlatFileLoader<E extends DataObject<E> & TimeslotInterface<E>> extends FlatFileLoaderColumn<E>
FlatFileLoaderColumn.LinePreparation<E extends DataObject<E>>, FlatFileLoaderColumn.LinePreparationExtra<E extends DataObject<E>>
Constructor and Description |
---|
TimeslotEndTimeFlatFileLoader(DataObjectDefinition<E> dataobjectdefinition,
TimeslotDefinition<E> timeslotdefinition,
java.lang.String dateformat,
PropertyExtractor<E> propertyextractor)
creates the loader for the end time of the timeslot property
|
Modifier and Type | Method and Description |
---|---|
boolean |
finalpostprocessing() |
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.
|
generateLinePreparatorExtra, getValueRestriction, initComplexExtractorForObject, isComplexExtractor, isDiscarded, isLinePreparator, isLinePreparatorExtra, isStaticPreProcessing, LinePreparation, postprocessLine, processAfterLineInsertion, secondpass, staticpreprocessor
public TimeslotEndTimeFlatFileLoader(DataObjectDefinition<E> dataobjectdefinition, TimeslotDefinition<E> timeslotdefinition, java.lang.String dateformat, PropertyExtractor<E> propertyextractor)
dataobjectdefinition
- definition of the objecttimeslotdefinition
- definition of the propertydateformat
- specified date formatpropertyextractor
- extractor to get the property from a data objectpublic boolean load(E object, java.lang.Object value, PostUpdateProcessingStore<E> postupdateprocessingstore)
FlatFileLoaderColumn
load
in class FlatFileLoaderColumn<E extends DataObject<E> & TimeslotInterface<E>>
object
- the object on which to load datavalue
- an object, either Date, String or Doublepostupdateprocessingstore
- a store to perform post processing after the
single updatepublic boolean finalpostprocessing()
finalpostprocessing
in class FlatFileLoaderColumn<E extends DataObject<E> & TimeslotInterface<E>>
protected boolean putContentInCell(E currentobject, org.apache.poi.ss.usermodel.Cell cell, java.lang.String context)
FlatFileLoaderColumn
putContentInCell
in class FlatFileLoaderColumn<E extends DataObject<E> & TimeslotInterface<E>>
currentobject
- the object to analyzecell
- cell to put the data incontext
- a context in case of multiple lines per same object