public class CollectExtracts
extends java.lang.Object
collectFromDerivedBioAssays(boolean)
and collectFromRawBioAssays()
methods to create transformers that can be inserted
into the chain of SourceItemTransformerChain
.Modifier and Type | Class and Description |
---|---|
(package private) class |
CollectExtracts.CollectChildren
Transformer implementation that collect the child extracts from
the source or collected extracts.
|
(package private) class |
CollectExtracts.CollectFromDerivedBioAssays
Transformer implementation that given a set of derived bioassays
load their linked extracts and store that in the parent class.
|
(package private) class |
CollectExtracts.CollectFromExtracts
Transformer implementation that store the given set of
extracts in the parent class.
|
(package private) class |
CollectExtracts.CollectFromRawBioAssays
Transformer implementation that given a set of raw bioassays
load their linked extracts and store that in the parent class.
|
(package private) class |
CollectExtracts.CollectParents
Transformer implementation that collect the parent extracts from
the source or collected extracts.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Set<java.lang.Integer> |
children |
private java.util.Set<java.lang.Integer> |
collected |
private java.util.Set<java.lang.Integer> |
parents |
Constructor and Description |
---|
CollectExtracts()
Create a new derived bioassay to physical bioassay transformer.
|
Modifier and Type | Method and Description |
---|---|
SourceItemTransformer |
collectChildrenOfCollected(boolean includeCollected)
The created transformer collect the ID:s of all child
extracts to the already collected extracts and store them in the
getCollectedChildren() . |
SourceItemTransformer |
collectChildrenOfSource(boolean includeSource)
The created transformer collect the ID:s of all child
extracts to the source extracts and store them in the
getCollectedChildren() . |
SourceItemTransformer |
collectFromDerivedBioAssays(boolean loadParents)
The created transformer collect the ID:s of all extracts linked from
the source derived bioassays and then return the same set of derived
bioassays again.
|
SourceItemTransformer |
collectFromExtracts()
The created transformer collect the ID:s of all extracts in the
source collection and return same set of extracts again.
|
SourceItemTransformer |
collectFromRawBioAssays()
The created transformer collect the ID:s of all extracts linked from
the source raw bioassays and then return the same set of raw bioassays
again.
|
SourceItemTransformer |
collectParentsOfCollected(boolean includeCollected)
The created transformer collect the ID:s of all parent
extracts to the already collected extracts and store them in the
getCollectedParents() . |
SourceItemTransformer |
collectParentsOfSource(boolean includeSource)
The created transformer collect the ID:s of all parent
extracts to the source extracts and store them in the
getCollectedParents() . |
java.util.Set<java.lang.Integer> |
getCollected()
Get all extracts that has been collected.
|
java.util.Set<java.lang.Integer> |
getCollectedChildren()
Get child extracts that was collected by the
collectChildrenOfCollected(boolean) and/or
collectChildrenOfSource(boolean) collectors. |
java.util.Set<java.lang.Integer> |
getCollectedParents()
Get parent extracts that was collected by the
collectParentsOfSource(boolean) or
collectParentsOfCollected(boolean) collector. |
private final java.util.Set<java.lang.Integer> collected
private final java.util.Set<java.lang.Integer> parents
private final java.util.Set<java.lang.Integer> children
public CollectExtracts()
public SourceItemTransformer collectFromDerivedBioAssays(boolean loadParents)
DerivedBioAssayToParentDerivedBioAssayTransformer
).public SourceItemTransformer collectFromRawBioAssays()
public SourceItemTransformer collectFromExtracts()
public SourceItemTransformer collectParentsOfCollected(boolean includeCollected)
getCollectedParents()
. If the 'includeCollected' flag
is set, the collected extracts are included among the parents.public SourceItemTransformer collectParentsOfSource(boolean includeSource)
getCollectedParents()
. If the 'includeSource' flag
is set, the source extracts are included among the parents.public SourceItemTransformer collectChildrenOfCollected(boolean includeCollected)
getCollectedChildren()
. If the 'includeCollected' flag
is set, the collected extracts are included among the children.public SourceItemTransformer collectChildrenOfSource(boolean includeSource)
getCollectedChildren()
. If the 'includeSource' flag
is set, the source extracts are included among the parents.public java.util.Set<java.lang.Integer> getCollected()
public java.util.Set<java.lang.Integer> getCollectedParents()
collectParentsOfSource(boolean)
or
collectParentsOfCollected(boolean)
collector.public java.util.Set<java.lang.Integer> getCollectedChildren()
collectChildrenOfCollected(boolean)
and/or
collectChildrenOfSource(boolean)
collectors.