Class DataCollectionValueConverter
java.lang.Object
overit.geocallapp.wfm.core.bl.datacollection.converter.sheet.node.DataCollectionValueConverter
- Direct Known Subclasses:
DataCollectionAttachmentToAttachmentValueConverter,DataCollectionBarcodeToBarcodeValueConverter,DataCollectionBooleanToBooleanValueConverter,DataCollectionComboboxToSelectionValueConverter,DataCollectionCoordinateToCoordinatesValueConverter,DataCollectionDateToDateValueConverter,DataCollectionDoubleToDoubleValueConverter,DataCollectionEuroToDoubleValueConverter,DataCollectionMultiSelectToMultiSelectionValueConverter,DataCollectionNumberToLongValueConverter,DataCollectionSignatureToSignatureValueConverter,DataCollectionTimeToTimeValueConverter,DataCollectionUnsupportedValueConverter,DataCollectionVarcharToTextValueConverter
This class is the base for value converters. It manages the conversion result.
All value converter are added to the
This is the class to extend to build a custom Value Converter.
All value converter are added to the
DataCollectionNodeConverterBucket and associated to
the node type they convert. This is the class to extend to build a custom Value Converter.
- Since:
- 13.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(overit.geocallapp.wfm.srd.scheda.SchedaTree oldSheet, DataCollectionNode newNode) Manage the value conversion e the result creation.abstract voidconvertBody(overit.geocallapp.wfm.srd.scheda.SchedaTree oldSheet, DataCollectionNode newNode) Contains the logic to convert the node value.
-
Constructor Details
-
DataCollectionValueConverter
public DataCollectionValueConverter()
-
-
Method Details
-
convertBody
public abstract void convertBody(overit.geocallapp.wfm.srd.scheda.SchedaTree oldSheet, DataCollectionNode newNode) throws Exception Contains the logic to convert the node value.- Parameters:
oldSheet- the old nodenewNode- the new node- Throws:
Exception- the exception
-
convert
public DataCollectionValueConversionResult convert(overit.geocallapp.wfm.srd.scheda.SchedaTree oldSheet, DataCollectionNode newNode) Manage the value conversion e the result creation.- Parameters:
oldSheet- the old nodenewNode- the new node- Returns:
- the value conversion result
- See Also:
-