public class ParentsTransformer<I extends MeasuredBioMaterial> extends Object implements CollectionTransformer<I,I>
Modifier and Type | Field and Description |
---|---|
private boolean |
copySources |
private DbControl |
dc |
private ItemQuery<I> |
query |
Constructor and Description |
---|
ParentsTransformer(DbControl dc,
boolean copySources,
ItemQuery<I> query) |
Modifier and Type | Method and Description |
---|---|
int |
transform(Collection<? extends I> source,
Collection<? super I> destination)
Transform the source collection and store the changes in the
destination collection.
|
private final DbControl dc
private final ItemQuery<I extends MeasuredBioMaterial> query
private final boolean copySources
public int transform(Collection<? extends I> source, Collection<? super I> destination)
CollectionTransformer
transform
in interface CollectionTransformer<I extends MeasuredBioMaterial,I extends MeasuredBioMaterial>
source
- The source collectiondestination
- The destination collection