Class DataCollectionValueConverterBucket
java.lang.Object
overit.geocallapp.wfm.core.bl.datacollection.converter.sheet.DataCollectionValueConverterBucket
This class is responsible for registering and obtaining the mapping between old node type and its Value Converter.
- Since:
- 13.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValueConverter(Long nodeType) Get the Value Converter for old node typeprotected voidInitialize the Value Converter Map with standard Value Converter<T extends DataCollectionValueConverter>
voidregisterValueConverter(Long nodeType, Class<T> nodeConverterClass) Allow to register a new Value Converter for old node type
-
Constructor Details
-
DataCollectionValueConverterBucket
public DataCollectionValueConverterBucket()
-
-
Method Details
-
initValueConverters
protected void initValueConverters()Initialize the Value Converter Map with standard Value Converter -
registerValueConverter
public <T extends DataCollectionValueConverter> void registerValueConverter(Long nodeType, Class<T> nodeConverterClass) Allow to register a new Value Converter for old node type- Type Parameters:
T- must extendsDataCollectionValueConverter- Parameters:
nodeType- the old node typenodeConverterClass- the Value Converter class
-
getValueConverter
Get the Value Converter for old node type- Parameters:
nodeType- the old node type- Returns:
- the Value Converter
-