Package net.sf.basedb.util.listable
Class ExtractToChildExtractTransformer
java.lang.Object
net.sf.basedb.util.listable.AbstractSourceItemTransformer
net.sf.basedb.util.listable.ExtractToChildExtractTransformer
- All Implemented Interfaces:
SourceItemTransformer
Source item transformer implementation that transform extract items to their
child extract items. From the given set of extract ID:s the transformer will
recursively load as many child extracts as possible. The source items
may optionally be included in the target set.
- Since:
- 3.5
- Author:
- Nicklas
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final boolean
-
Constructor Summary
ConstructorDescriptionExtractToChildExtractTransformer
(boolean includeSourcesInTarget) Create a new extract to child extract transformer.ExtractToChildExtractTransformer
(boolean includeSourcesInTarget, boolean childrensThatPushOnly) Create a new extract to child extract transformer that only load children has a subtype with "push annotations" set. -
Method Summary
Methods inherited from class net.sf.basedb.util.listable.AbstractSourceItemTransformer
getSourceItemType, getTargetItemType, safeIdList
-
Field Details
-
includeSourcesInTarget
private final boolean includeSourcesInTarget -
pushOnly
private final boolean pushOnly
-
-
Constructor Details
-
ExtractToChildExtractTransformer
public ExtractToChildExtractTransformer(boolean includeSourcesInTarget) Create a new extract to child extract transformer.- Parameters:
includeSourcesInTarget
- TRUE to include the source items in the target
-
ExtractToChildExtractTransformer
public ExtractToChildExtractTransformer(boolean includeSourcesInTarget, boolean childrensThatPushOnly) Create a new extract to child extract transformer that only load children has a subtype with "push annotations" set.- Since:
- 3.19.5
-
-
Method Details
-
transform
Description copied from interface:SourceItemTransformer
Transform the given set of source item ID:s into a set of target item ID:s
-