Class BioSourceToSampleTransformer

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

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

    • BioSourceToSampleTransformer

      public BioSourceToSampleTransformer()
  • Method Details

    • transform

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