3.0.4: 2012-03-05

net.sf.basedb.clients.web.plugins
Class ParentBioMaterialLoader

java.lang.Object
  extended by net.sf.basedb.clients.web.plugins.ItemQueryLoader<MeasuredBioMaterial>
      extended by 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 a MeasuredBioMaterial

Version:
2.12
Author:
martin
Last modified
$Date: 2011-06-23 11:53:05 +0200 (Thu, 23 Jun 2011) $

Constructor Summary
ParentBioMaterialLoader(ItemQuery<? extends BioMaterial> query, String parameterName)
           
 
Method Summary
 Object getData(ExportedProperty exportedProperty, MeasuredBioMaterial item)
          Get the value for the specified property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParentBioMaterialLoader

public ParentBioMaterialLoader(ItemQuery<? extends BioMaterial> query,
                               String parameterName)
Method Detail

getData

public Object getData(ExportedProperty exportedProperty,
                      MeasuredBioMaterial item)
               throws Exception
Description copied from interface: DataLoader
Get the value for the specified property.

Specified by:
getData in interface DataLoader<MeasuredBioMaterial>
Overrides:
getData in class ItemQueryLoader<MeasuredBioMaterial>
Parameters:
exportedProperty - The property to get the value for
item - The item that holds the value
Throws:
Exception - If failing to get the data.

3.0.4: 2012-03-05