Class ExtractToParentExtractTransformer

  • All Implemented Interfaces:
    SourceItemTransformer

    public class ExtractToParentExtractTransformer
    extends AbstractSourceItemTransformer
    Source item transformer implementation that transform extract items to their parent extract items. From the given set of extract ID:s the transformer will recursively load as many parent extracts as possible. The source items may optionally be included in the target set.
    Since:
    3.5
    Author:
    Nicklas
    • Field Detail

      • includeSourcesInTarget

        private final boolean includeSourcesInTarget
    • Constructor Detail

      • ExtractToParentExtractTransformer

        public ExtractToParentExtractTransformer​(boolean includeSourcesInTarget)
        Create a new extract to parent extract transformer.
        Parameters:
        includeSourcesInTarget - TRUE to include the source items in the target
      • ExtractToParentExtractTransformer

        public ExtractToParentExtractTransformer​(boolean includeSourcesInTarget,
                                                 CollectExtracts collectedExtracts)
        Create a new extract to parent extract transformer that is considering extracts collected on downstream derived and raw bioassays.
        Parameters:
        includeSourcesInTarget - TRUE to include the source items in the target
        collectedExtracts - Information about extracts found on downstream derived and raw bioassays