Package net.sf.basedb.util.listable
Class ToBioSourceSourceItemTransformerFactory
java.lang.Object
net.sf.basedb.util.listable.AbstractSourceItemTransformerFactory
net.sf.basedb.util.listable.ToBioSourceSourceItemTransformerFactory
- All Implemented Interfaces:
SourceItemTransformerFactory
public class ToBioSourceSourceItemTransformerFactory extends AbstractSourceItemTransformerFactory
Transformer factory implementation for transforming to biosources. The current
implementation support transforming from:
SyncFilter.SourceItemTransform.PARENT_TO_CHILD
: NoneSyncFilter.SourceItemTransform.CHILD_TO_PARENT
: SAMPLE, EXTRACT, PHYSICALBIOASSAY, DERIVEDBIOASSAY, RAWBIOASSAY
- Since:
- 3.5
- Author:
- Nicklas
-
Field Summary
Fields Modifier and Type Field Description private static Item[]
CHILD_TO_PARENT
private static Item[]
PARENT_TO_CHILD
-
Constructor Summary
Constructors Constructor Description ToBioSourceSourceItemTransformerFactory()
-
Method Summary
Modifier and Type Method Description SourceItemTransformer
create(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
-
-
Constructor Details
-
ToBioSourceSourceItemTransformerFactory
public ToBioSourceSourceItemTransformerFactory()
-
-
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.
-