Class ParentBioMaterialLoader
- java.lang.Object
-
- net.sf.basedb.clients.web.plugins.ItemQueryLoader<MeasuredBioMaterial>
-
- net.sf.basedb.clients.web.plugins.ParentBioMaterialLoader
-
- All Implemented Interfaces:
DataLoader<MeasuredBioMaterial>
public class ParentBioMaterialLoader extends ItemQueryLoader<MeasuredBioMaterial>
This class get data from the parents to aMeasuredBioMaterial
- Version:
- 2.12
- Author:
- martin
- Last modified
- $Date: 2012-03-27 15:11:38 +0200 (ti, 27 mar 2012) $
-
-
Constructor Summary
Constructors Constructor Description ParentBioMaterialLoader(ItemQuery<? extends BioMaterial> query, String parameterName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getData(DbControl dc, ExportedProperty exportedProperty, MeasuredBioMaterial item)
Get the value for the specified property.
-
-
-
Constructor Detail
-
ParentBioMaterialLoader
public ParentBioMaterialLoader(ItemQuery<? extends BioMaterial> query, String parameterName)
-
-
Method Detail
-
getData
public Object getData(DbControl dc, ExportedProperty exportedProperty, MeasuredBioMaterial item) throws Exception
Description copied from interface:DataLoader
Get the value for the specified property.- Specified by:
getData
in interfaceDataLoader<MeasuredBioMaterial>
- Overrides:
getData
in classItemQueryLoader<MeasuredBioMaterial>
exportedProperty
- The property to get the value foritem
- The item that holds the value- Throws:
Exception
- If failing to get the data.
-
-