net.sf.basedb.util.overview.loader
Class BioPlateLoader
java.lang.Object
net.sf.basedb.util.overview.loader.AbstractNodeLoader<I>
net.sf.basedb.util.overview.loader.BasicItemNodeLoader<BioPlate>
net.sf.basedb.util.overview.loader.BioPlateLoader
- All Implemented Interfaces:
- NodeLoader<BioPlate>
public class BioPlateLoader
- extends BasicItemNodeLoader<BioPlate>
Node loader implementation for bioplates. Bioplates are
loaded as root nodes, or as property nodes of a biomaterial.
The forward-loading direction goes to the biomaterial that is
located on the plate. The reverse direction is not loading
anything.
- Since:
- 3.2
- Author:
- nicklas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BioPlateLoader
public BioPlateLoader()
createPropertyNode
public Node createPropertyNode(DbControl dc,
OverviewContext context,
Node parentNode)
- Create a bioplate property node from a biomaterial that is located on a plate.
- Specified by:
createPropertyNode
in interface NodeLoader<BioPlate>
- Overrides:
createPropertyNode
in class AbstractNodeLoader<BioPlate>
- Parameters:
dc
- The DbControl to use for database accesscontext
- The overview contextparentNode
- The parent node
- Returns:
- A bioplate node, or null if the biomaterial is not located on a plate
loadForwardChildNodes
protected void loadForwardChildNodes(DbControl dc,
OverviewContext context,
Node plateNode)
- Loads the non-empty biowells on the bioplate.
- Overrides:
loadForwardChildNodes
in class AbstractNodeLoader<BioPlate>
- See Also:
BioWellLoader.createForwardNode(DbControl, OverviewContext, Node)
loadPropertyChildNodes
protected void loadPropertyChildNodes(DbControl dc,
OverviewContext context,
Node plateNode)
- Load the freezer node.
- Overrides:
loadPropertyChildNodes
in class AbstractNodeLoader<BioPlate>
- See Also:
HardwareLoader.createPropertyNode(DbControl, OverviewContext, Node)}
createPropertyNode
private Node createPropertyNode(MeasuredBioMaterial bioMaterial,
DbControl dc,
OverviewContext context,
Node parentNode)
- Create a propert node when the parent item is a biomaterial.