2.17.2: 2011-06-17

net.sf.basedb.util.overview.loader
Class ExperimentLoader

java.lang.Object
  extended by net.sf.basedb.util.overview.loader.AbstractNodeLoader<I>
      extended by net.sf.basedb.util.overview.loader.BasicItemNodeLoader<Experiment>
          extended by net.sf.basedb.util.overview.loader.ExperimentLoader
All Implemented Interfaces:
NodeLoader<Experiment>

public class ExperimentLoader
extends BasicItemNodeLoader<Experiment>

Node loader implementation for experiments. An experiment is the endpoint of the forward-direction. The reverse direction goes to the RawBioAssay:s included in the experiment.

Version:
2.10
Author:
Nicklas
Last modified
$Date: 2010-11-18 08:26:30 +0100 (Thu, 18 Nov 2010) $

Field Summary
 
Fields inherited from class net.sf.basedb.util.overview.loader.BasicItemNodeLoader
ALLOW_ROOT_NODE, allowAsRootNode, DENY_ROOT_NODE, factoryKey, nameGenerator
 
Constructor Summary
ExperimentLoader()
           
 
Method Summary
 Node createForwardNode(DbControl dc, OverviewContext context, Node rawBioAssayNode)
          Create property-loading experiment nodes from a given rawbioassay node.
protected  void loadPropertyChildNodes(DbControl dc, OverviewContext context, Node experimentNode)
          Load property nodes for an experiment: Experimental factors: ExperimentalFactorLoader.createPropertyNode(DbControl, OverviewContext, Node)
protected  void loadReverseChildNodes(DbControl dc, OverviewContext context, Node experimentNode)
          Loads the raw bioassay nodes that are part of this experiment
 
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
createPropertyNode, createReverseNode, loadChildNodes, loadChildNodesOfFolderNode, loadChildNodesOfItemNode, loadForwardChildNodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExperimentLoader

public ExperimentLoader()
Method Detail

createForwardNode

public Node createForwardNode(DbControl dc,
                              OverviewContext context,
                              Node rawBioAssayNode)
Create property-loading experiment nodes from a given rawbioassay node. The returned node is a folder-type node containing item nodes for each experiment were the raw bioassay is used.

Specified by:
createForwardNode in interface NodeLoader<Experiment>
Overrides:
createForwardNode in class AbstractNodeLoader<Experiment>
Parameters:
dc - The DbControl to use for database access
context - The overview context
rawBioAssayNode - The parent node
Returns:
The folder node for the experiments

loadPropertyChildNodes

protected void loadPropertyChildNodes(DbControl dc,
                                      OverviewContext context,
                                      Node experimentNode)
Load property nodes for an experiment:

Overrides:
loadPropertyChildNodes in class AbstractNodeLoader<Experiment>

loadReverseChildNodes

protected void loadReverseChildNodes(DbControl dc,
                                     OverviewContext context,
                                     Node experimentNode)
Loads the raw bioassay nodes that are part of this experiment

Overrides:
loadReverseChildNodes in class AbstractNodeLoader<Experiment>
See Also:
RawBioAssayLoader.createReverseNode(DbControl, OverviewContext, Node)

2.17.2: 2011-06-17