Class DynOExtractor<T extends DynO>

java.lang.Object
overit.geocallapp.utilities.core.data.DynOExtractor<T>
Type Parameters:
T - the generic type that extends DynO
Direct Known Subclasses:
BundleExtractor, CapacityPlanningScenarioDetailExtractor, DefaultDynOExtractor, ExpectedMaterialExtractor, InterventionAggregateExtractor, SchedulingProposalDetailExtractor, SerializedMaterialWithAccountExtractor, SharedResourceWithLogExtractor, SharedResourceWithLogExtractor, StockSerializedMaterialDetailExtractor, TransferRequestExtractor, TransferRequestItemExtractor, WarehouseMaterialDetailExtractor, WarehouseOperationExtractor, WarehouseOperationItemExtractor, WarehouseWOAgendaMaterialExtractor, WOAgendaMaterialExtractor, WorkOrderOperationAccountedMaterialExtractor

public abstract class DynOExtractor<T extends DynO> extends Object
Abstract class that defines a generic extractor for a DynO object.
Provides a framework for creating a map of objects starting from a specific DynO.
Since:
1.2
  • Constructor Details

    • DynOExtractor

      public DynOExtractor()
  • Method Details

    • initialize

      protected void initialize(List<T> objects, PoolKit poolKit)
      Initialize the extractor.
      Parameters:
      objects - the objects to whose values to extract
      poolKit - the PoolKit to use for the transaction
    • extract

      public abstract Map<String,Object> extract(T object)
      Creates a Map from the provided object of type T.
      Implementation-specific logic determines how the object is used to construct the map.
      Parameters:
      object - the object to use for map creation
      Returns:
      the Map object of type T