Package net.sf.basedb.util.listable
Class ToSampleSourceItemTransformerFactory
java.lang.Object
net.sf.basedb.util.listable.AbstractSourceItemTransformerFactory
net.sf.basedb.util.listable.ToSampleSourceItemTransformerFactory
- All Implemented Interfaces:
SourceItemTransformerFactory
Transformer factory implementation for transforming to samples. The current
implementation support transforming from:
SyncFilter.SourceItemTransform.PARENT_TO_CHILD
: BIOSOURCE, SAMPLESyncFilter.SourceItemTransform.CHILD_TO_PARENT
: SAMPLE, EXTRACT, PHYSICALBIOASSAY, DERIVEDBIOASSAY, RAWBIOASSAY
- Since:
- 3.5
- Author:
- Nicklas
-
Field Summary
-
Constructor Summary
ConstructorDescriptionToSampleSourceItemTransformerFactory
(boolean includeChildrenThatPushToParent) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Item sourceItemType, SyncFilter.SourceItemTransform transform) Create a source item transformed that can transform between the given source item and theSourceItemTransformerFactory.getTargetItem()
.Methods inherited from class net.sf.basedb.util.listable.AbstractSourceItemTransformerFactory
getSupportedSourceItems, getTargetItem
-
Field Details
-
PARENT_TO_CHILD
-
CHILD_TO_PARENT
-
includeChildrenThatPushToParent
private final boolean includeChildrenThatPushToParent
-
-
Constructor Details
-
ToSampleSourceItemTransformerFactory
public ToSampleSourceItemTransformerFactory() -
ToSampleSourceItemTransformerFactory
public ToSampleSourceItemTransformerFactory(boolean includeChildrenThatPushToParent)
-
-
Method Details
-
create
Description copied from interface:SourceItemTransformerFactory
Create a source item transformed that can transform between the given source item and theSourceItemTransformerFactory.getTargetItem()
. Calling this method with an unsupported combination should result in a null return value.
-