|
3.2.1: 2012-12-13 | ||||||||
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<BioSource>
net.sf.basedb.util.overview.loader.BioSourceLoader
public class BioSourceLoader
Node loader implementation for biosources. Biosources are
an endpoint node with the forward-loading direction going to
BioSource
:s -> Sample
: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 | |
---|---|
BioSourceLoader()
|
Method Summary | |
---|---|
Node |
createForwardNode(DbControl dc,
OverviewContext context,
Node parentNode)
Create forward-loading biosource nodes from a biomaterial list for the member biosources. |
Node |
createReverseNode(DbControl dc,
OverviewContext context,
Node sampleNode)
Create a reverse-loading biosource node from a sample node. |
protected void |
loadForwardChildNodes(DbControl dc,
OverviewContext context,
Node bioSourceNode)
Loads the sample nodes that has been created from the given biosource node. |
protected void |
loadPropertyChildNodes(DbControl dc,
OverviewContext context,
Node bioSourceNode)
Loads property nodes of an array design. |
protected void |
loadReverseChildNodes(DbControl dc,
OverviewContext context,
Node bioSourceNode)
A biosource usually don't have any reverse child nodes. |
Methods inherited from class net.sf.basedb.util.overview.loader.BasicItemNodeLoader |
---|
createItemNode, createRootNode, getNodeFactory, getNodeFactory, getNodeLoader, getNodeLoaderFactory, getNodeNameGenerator, getNodeValidator, getNodeValidatorFactory, postValidateFolder |
Methods inherited from class net.sf.basedb.util.overview.loader.AbstractNodeLoader |
---|
createPropertyNode, loadChildNodes, loadChildNodesOfFolderNode, loadChildNodesOfItemNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BioSourceLoader()
Method Detail |
---|
public Node createForwardNode(DbControl dc, OverviewContext context, Node parentNode)
createForwardNode
in interface NodeLoader<BioSource>
createForwardNode
in class AbstractNodeLoader<BioSource>
dc
- The DbControl to use for database accesscontext
- The overview contextparentNode
- The parent node
public Node createReverseNode(DbControl dc, OverviewContext context, Node sampleNode)
createReverseNode
in interface NodeLoader<BioSource>
createReverseNode
in class AbstractNodeLoader<BioSource>
dc
- The DbControl to use for database accesscontext
- The overview contextsampleNode
- The child node
protected void loadPropertyChildNodes(DbControl dc, OverviewContext context, Node bioSourceNode)
loadPropertyChildNodes
in class AbstractNodeLoader<BioSource>
protected void loadForwardChildNodes(DbControl dc, OverviewContext context, Node bioSourceNode)
loadForwardChildNodes
in class AbstractNodeLoader<BioSource>
ArrayBatchLoader.createForwardNode(DbControl, OverviewContext, Node)
protected void loadReverseChildNodes(DbControl dc, OverviewContext context, Node bioSourceNode)
ItemSubtype.getPushAnnotations()
flag set.
loadReverseChildNodes
in class AbstractNodeLoader<BioSource>
|
3.2.1: 2012-12-13 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |