Class DataCollectionValueConverterBucket

java.lang.Object
overit.geocallapp.wfm.core.bl.datacollection.converter.sheet.DataCollectionValueConverterBucket

public class DataCollectionValueConverterBucket extends Object
This class is responsible for registering and obtaining the mapping between old node type and its Value Converter.
Since:
13.0
  • 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 extends DataCollectionValueConverter
      Parameters:
      nodeType - the old node type
      nodeConverterClass - the Value Converter class
    • getValueConverter

      public DataCollectionValueConverter getValueConverter(Long nodeType)
      Get the Value Converter for old node type
      Parameters:
      nodeType - the old node type
      Returns:
      the Value Converter