public class ToExtractSourceItemTransformerFactory extends AbstractSourceItemTransformerFactory
SyncFilter.SourceItemTransform.PARENT_TO_CHILD
: BIOSOURCE, SAMPLE, EXTRACT
SyncFilter.SourceItemTransform.CHILD_TO_PARENT
: EXTRACT, PHYSICALBIOASSAY, DERIVEDBIOASSAY, RAWBIOASSAY
Modifier and Type | Field and Description |
---|---|
private static Item[] |
CHILD_TO_PARENT |
private static Item[] |
PARENT_TO_CHILD |
Constructor and Description |
---|
ToExtractSourceItemTransformerFactory() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
childToParentChain(List<SourceItemTransformer> chain,
Item sourceItemType,
Item targetItemType)
Utility method for creating the transformer chain from child items
up to extracts.
|
SourceItemTransformer |
create(Item sourceItemType,
SyncFilter.SourceItemTransform transform)
Create a source item transformed that can transform between the given
source item and the
SourceItemTransformerFactory.getTargetItem() . |
getSupportedSourceItems, getTargetItem
private static Item[] PARENT_TO_CHILD
private static Item[] CHILD_TO_PARENT
public ToExtractSourceItemTransformerFactory()
public SourceItemTransformer create(Item sourceItemType, SyncFilter.SourceItemTransform transform)
SourceItemTransformerFactory
SourceItemTransformerFactory.getTargetItem()
. Calling this method
with an unsupported combination should result in a null return value.static void childToParentChain(List<SourceItemTransformer> chain, Item sourceItemType, Item targetItemType)