public class SampleToParentSampleTransformer extends AbstractSourceItemTransformer
Modifier and Type | Field and Description |
---|---|
private boolean |
includeSourcesInTarget |
Constructor and Description |
---|
SampleToParentSampleTransformer(boolean includeSourcesInTarget)
Create a new sample to parent sample transformer.
|
Modifier and Type | Method and Description |
---|---|
Set<Integer> |
transform(TransformContext context,
Set<Integer> source)
Transform the given set of source item ID:s into a set of target item ID:s
|
getSourceItemType, getTargetItemType, safeIdList
public SampleToParentSampleTransformer(boolean includeSourcesInTarget)
includeSourcesInTarget
- TRUE to include the source items in the targetpublic Set<Integer> transform(TransformContext context, Set<Integer> source)
SourceItemTransformer