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
      • pushOnly

        private boolean pushOnly
    • 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,
                                                 boolean childrensThatPushOnly)
        Create a new extract to parent extract transformer that only load parents to extracts that has a subtype with "push annotations" set. This functionality should only be used in the first transformation step.
        Since:
        3.16
        See Also:
        PushToParentsTransformer
      • 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