Class DataCollectionNodeConverterBucket

java.lang.Object
overit.geocallapp.wfm.core.bl.datacollection.converter.template.structure.DataCollectionNodeConverterBucket

public class DataCollectionNodeConverterBucket extends Object
This class is responsible for registering and obtaining the mapping between old node type and its Node Converter.
Since:
13.0
  • Constructor Details

    • DataCollectionNodeConverterBucket

      public DataCollectionNodeConverterBucket()
  • Method Details

    • initNodeConverters

      protected void initNodeConverters()
      Initialize the Node Converter Map with standard Node Converter
    • registerNodeConverter

      public <T extends DataCollectionNodeConverter> void registerNodeConverter(Long nodeType, Class<T> nodeConverterClass)
      Allow to register a new Node Converter for old node type
      Type Parameters:
      T - must extends DataCollectionNodeConverter
      Parameters:
      nodeType - the old node type
      nodeConverterClass - the Node Converter class
    • getNodeConverter

      public DataCollectionNodeConverter getNodeConverter(Long nodeType)
      Get the Node Converter for old node type
      Parameters:
      nodeType - the old node type
      Returns:
      the Node Converter