public class BioSourceLoader extends BasicItemNodeLoader<BioSource>
BioSource
:s -> Sample
:s.ALLOW_ROOT_NODE, allowAsRootNode, DENY_ROOT_NODE, factoryKey, nameGenerator
Constructor and Description |
---|
BioSourceLoader() |
Modifier and Type | Method and Description |
---|---|
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.
|
createItemNode, createRootNode, getNodeFactory, getNodeFactory, getNodeLoader, getNodeLoaderFactory, getNodeNameGenerator, getNodeValidator, getNodeValidatorFactory, postValidateFolder
createPropertyNode, loadChildNodes, loadChildNodesOfFolderNode, loadChildNodesOfItemNode
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 nodepublic 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 nodeprotected 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>