|
3.1.2: 2012-07-31 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.basedb.util.overview.loader.AbstractNodeLoader<I>
net.sf.basedb.util.overview.loader.BasicItemNodeLoader<PhysicalBioAssay>
net.sf.basedb.util.overview.loader.PhysicalBioAssayLoader
public class PhysicalBioAssayLoader
Node loader implementation for physical bioassays. There are two forward-loading directions:
Extract
:s -> PhysicalBioAssay
:s ->
DerivedBioAssay
:s.
ArraySlide
:s -> PhysicalBioAssay
:s ->
DerivedBioAssay
:s
Field Summary |
---|
Fields inherited from class net.sf.basedb.util.overview.loader.BasicItemNodeLoader |
---|
ALLOW_ROOT_NODE, allowAsRootNode, DENY_ROOT_NODE, factoryKey, nameGenerator |
Constructor Summary | |
---|---|
PhysicalBioAssayLoader()
|
Method Summary | |
---|---|
private Node |
createForwardNode(ArraySlide slide,
DbControl dc,
OverviewContext context,
Node parentNode)
Create a forward-loading bioassay node from an array slide. |
Node |
createForwardNode(DbControl dc,
OverviewContext context,
Node parentNode)
Create forward-loading physical bioassay nodes from either an extract or an array slide node. |
private Node |
createForwardNode(Extract extract,
DbControl dc,
OverviewContext context,
Node parentNode,
boolean onlyPushAnnotationTypes)
Create forward-loading bioassay nodes for the bioassays that has a given extract as a source. |
Node |
createPropertyNode(DbControl dc,
OverviewContext context,
Node parentNode)
A property node is created when moving in the reverse direction so that we can load child physical bioassays with the ItemSubtype.getPushAnnotations()
flag set. |
Node |
createReverseNode(DbControl dc,
OverviewContext context,
Node derivedBioAssayNode)
Create a reverse-loading bioassay node from the derived bioassay node. |
protected void |
loadForwardChildNodes(DbControl dc,
OverviewContext context,
Node bioAssayNode)
Load forward-loading child nodes: Derived bioassay sets (root): DerivedBioAssayLoader.createForwardNode(DbControl, OverviewContext, Node)
Array slide in reverse direction (if the parent node is an extract):
ArraySlideLoader.createReverseNode(DbControl, OverviewContext, Node)
Extracts in reverse direction (if the parent node is the array slide):
ExtractLoader.createReverseNode(DbControl, OverviewContext, Node)
|
protected void |
loadPropertyChildNodes(DbControl dc,
OverviewContext context,
Node bioAssayNode)
Loads property nodes of a physical bioassay. |
protected void |
loadReverseChildNodes(DbControl dc,
OverviewContext context,
Node bioAssayNode)
Load reverse child nodes: Extracts: ExtractLoader.createReverseNode(DbControl, OverviewContext, Node)
Array slide: ArraySlideLoader.createReverseNode(DbControl, OverviewContext, Node)
|
Methods inherited from class net.sf.basedb.util.overview.loader.BasicItemNodeLoader |
---|
createItemNode, createRootNode, getNodeFactory, getNodeFactory, getNodeLoader, getNodeLoaderFactory, getNodeValidator, getNodeValidatorFactory, postValidateFolder |
Methods inherited from class net.sf.basedb.util.overview.loader.AbstractNodeLoader |
---|
loadChildNodes, loadChildNodesOfFolderNode, loadChildNodesOfItemNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PhysicalBioAssayLoader()
Method Detail |
---|
public Node createForwardNode(DbControl dc, OverviewContext context, Node parentNode)
createForwardNode
in interface NodeLoader<PhysicalBioAssay>
createForwardNode
in class AbstractNodeLoader<PhysicalBioAssay>
dc
- The DbControl to use for database accesscontext
- The overview contextparentNode
- The parent node
public Node createReverseNode(DbControl dc, OverviewContext context, Node derivedBioAssayNode)
createReverseNode
in interface NodeLoader<PhysicalBioAssay>
createReverseNode
in class AbstractNodeLoader<PhysicalBioAssay>
dc
- The DbControl to use for database accesscontext
- The overview contextderivedBioAssayNode
- The child node
public Node createPropertyNode(DbControl dc, OverviewContext context, Node parentNode)
ItemSubtype.getPushAnnotations()
flag set. The parent node should be an extract node.
createPropertyNode
in interface NodeLoader<PhysicalBioAssay>
createPropertyNode
in class AbstractNodeLoader<PhysicalBioAssay>
dc
- The DbControl to use for database accesscontext
- The overview contextparentNode
- The parent node
protected void loadPropertyChildNodes(DbControl dc, OverviewContext context, Node bioAssayNode)
AnnotationLoader.createPropertyNode(DbControl, OverviewContext, Node)
ProtocolLoader.createPropertyNode(DbControl, OverviewContext, Node)
HardwareLoader.createPropertyNode(DbControl, OverviewContext, Node)
loadPropertyChildNodes
in class AbstractNodeLoader<PhysicalBioAssay>
protected void loadForwardChildNodes(DbControl dc, OverviewContext context, Node bioAssayNode)
DerivedBioAssayLoader.createForwardNode(DbControl, OverviewContext, Node)
ArraySlideLoader.createReverseNode(DbControl, OverviewContext, Node)
ExtractLoader.createReverseNode(DbControl, OverviewContext, Node)
loadForwardChildNodes
in class AbstractNodeLoader<PhysicalBioAssay>
protected void loadReverseChildNodes(DbControl dc, OverviewContext context, Node bioAssayNode)
ExtractLoader.createReverseNode(DbControl, OverviewContext, Node)
ArraySlideLoader.createReverseNode(DbControl, OverviewContext, Node)
loadReverseChildNodes
in class AbstractNodeLoader<PhysicalBioAssay>
private Node createForwardNode(Extract extract, DbControl dc, OverviewContext context, Node parentNode, boolean onlyPushAnnotationTypes)
private Node createForwardNode(ArraySlide slide, DbControl dc, OverviewContext context, Node parentNode)
|
3.1.2: 2012-07-31 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |