net.sf.basedb.util.overview.loader
Class BioSourceLoader
java.lang.Object
net.sf.basedb.util.overview.loader.AbstractNodeLoader<I>
net.sf.basedb.util.overview.loader.BasicItemNodeLoader<BioSource>
net.sf.basedb.util.overview.loader.BioSourceLoader
- All Implemented Interfaces:
- NodeLoader<BioSource>
public class BioSourceLoader
- extends BasicItemNodeLoader<BioSource>
Node loader implementation for biosources. Biosources are
an endpoint node with the forward-loading direction going to
BioSource
:s -> Sample
:s.
- Version:
- 2.10
- Author:
- Nicklas
- Last modified
- $Date: 2010-11-18 08:26:30 +0100 (Thu, 18 Nov 2010) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BioSourceLoader
public BioSourceLoader()
createReverseNode
public Node createReverseNode(DbControl dc,
OverviewContext context,
Node sampleNode)
- Create a reverse-loading biosource node from a sample node.
- Specified by:
createReverseNode
in interface NodeLoader<BioSource>
- Overrides:
createReverseNode
in class AbstractNodeLoader<BioSource>
- Parameters:
dc
- The DbControl to use for database accesscontext
- The overview contextsampleNode
- The child node
- Returns:
- A biosource node, which can be null if validation fails
loadPropertyChildNodes
protected void loadPropertyChildNodes(DbControl dc,
OverviewContext context,
Node bioSourceNode)
- Loads property nodes of an array design.
- Overrides:
loadPropertyChildNodes
in class AbstractNodeLoader<BioSource>
loadForwardChildNodes
protected void loadForwardChildNodes(DbControl dc,
OverviewContext context,
Node bioSourceNode)
- Loads the sample nodes that has been created from the given biosource node.
- Overrides:
loadForwardChildNodes
in class AbstractNodeLoader<BioSource>
- See Also:
ArrayBatchLoader.createForwardNode(DbControl, OverviewContext, Node)