Class SampleToChildSampleTransformer

java.lang.Object
net.sf.basedb.util.listable.AbstractSourceItemTransformer
net.sf.basedb.util.listable.SampleToChildSampleTransformer
All Implemented Interfaces:
SourceItemTransformer

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

    • includeSourcesInTarget

      private final boolean includeSourcesInTarget
    • pushOnly

      private final boolean pushOnly
  • Constructor Details

    • SampleToChildSampleTransformer

      public SampleToChildSampleTransformer​(boolean includeSourcesInTarget)
      Create a new sample to child sample transformer.
      Parameters:
      includeSourcesInTarget - TRUE to include the source items in the target
    • SampleToChildSampleTransformer

      public SampleToChildSampleTransformer​(boolean includeSourcesInTarget, boolean childrensThatPushOnly)
      Create a new sample to child sample transformer that only load children that has a subtype with "push annotations" set.
      Since:
      3.19.5
  • Method Details