Class SampleToExtractTransformer

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

public class SampleToExtractTransformer
extends AbstractSourceItemTransformer
Source item transformer that transform sample items to their child extract. This implementation will only transform to the sample:s immediate child extracts. Grandchildren are not included. To do this, combine this transformer with a SampleToChildSampleTransformer and ExtractToChildExtractTransformer.
Since:
3.5
Author:
Nicklas
  • Constructor Details

    • SampleToExtractTransformer

      public SampleToExtractTransformer()
  • Method Details

    • transform

      public Set<Integer> transform​(TransformContext context, Set<Integer> source)
      Load the ID of all extracts that are immediate children to the given set of samples.