Class BioWellLoader
java.lang.Object
net.sf.basedb.util.overview.loader.AbstractNodeLoader<I>
net.sf.basedb.util.overview.loader.BasicItemNodeLoader<MeasuredBioMaterial>
net.sf.basedb.util.overview.loader.BioWellLoader
- All Implemented Interfaces:
NodeLoader<MeasuredBioMaterial>
Node loader implementation that load biomaterial on a bioplate.
This loader is only user in the forward-loading direction from a
bioplate to the biomaterial. Note that the loader returns biomaterial nodes,
NOT biowell nodes. It can be used as a root node or in the reverse direction.
- Since:
- 3.2
- Author:
- nicklas
-
Field Summary
Fields inherited from class net.sf.basedb.util.overview.loader.BasicItemNodeLoader
ALLOW_ROOT_NODE, allowAsRootNode, DENY_ROOT_NODE, factoryKey, nameGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Node
createForwardNode
(BioPlate plate, DbControl dc, OverviewContext context, Node plateNode) Create all-loading biomaterial nodes for each non-empty well on the bioplate.createForwardNode
(DbControl dc, OverviewContext context, Node parentNode) Create forward-loading biomaterial nodes from a given bioplate The biomaterial nodes are created directly as child nodes to the bioplate.boolean
loadChildNodes
(DbControl dc, OverviewContext context, Node node) Delegate loading of child nodes to the actual item loader that this node is representing.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, createReverseNode, loadChildNodesOfFolderNode, loadChildNodesOfItemNode, loadForwardChildNodes, loadPropertyChildNodes, loadReverseChildNodes
-
Constructor Details
-
BioWellLoader
public BioWellLoader()
-
-
Method Details
-
createForwardNode
Create forward-loading biomaterial nodes from a given bioplate The biomaterial nodes are created directly as child nodes to the bioplate. No intermediate folder node is used so this method return null.- Specified by:
createForwardNode
in interfaceNodeLoader<MeasuredBioMaterial>
- Overrides:
createForwardNode
in classAbstractNodeLoader<MeasuredBioMaterial>
- Parameters:
dc
- The DbControl to use for database accesscontext
- The overview contextparentNode
- The parent node- Returns:
- Always null (but child nodes are added to the parent node)
-
loadChildNodes
Delegate loading of child nodes to the actual item loader that this node is representing.- Specified by:
loadChildNodes
in interfaceNodeLoader<MeasuredBioMaterial>
- Overrides:
loadChildNodes
in classAbstractNodeLoader<MeasuredBioMaterial>
- Parameters:
dc
- The DbControl to use for database accesscontext
- The overview contextnode
- The node- Returns:
- TRUE if the call resulted in new nodes being loaded, FALSE otherwise
-
createForwardNode
private Node createForwardNode(BioPlate plate, DbControl dc, OverviewContext context, Node plateNode) Create all-loading biomaterial nodes for each non-empty well on the bioplate.
-