2.17.2: 2011-06-17

net.sf.basedb.util.export.spotdata
Interface ExportableFieldConverter

All Known Implementing Classes:
AbstractFieldConverter, AdvancedFieldConverter, Base1FieldConverter, StandardFieldConverter

public interface ExportableFieldConverter

Defines method for converting a string representation to an exportable assay or dynamic field that can be used with AbstractBioAssaySetExporter implementations. String representations are useful for plug-ins that need to store multiple fields related to different types of properties. For example, a converter may lookup experimental factors, formulas or reporter properties based on the name.

Since:
2.15
Author:
nicklas

Method Summary
 AssayField getAssayField(String name, boolean required)
          Create an assay field for the given name.
 DynamicField getReporterField(String name, boolean required)
          Create a reporter dynamic field for the given name.
 DynamicField getSpotField(String name, boolean required)
          Create a spot dynamic field for the given name.
 

Method Detail

getReporterField

DynamicField getReporterField(String name,
                              boolean required)
Create a reporter dynamic field for the given name. The interpretation of the name is implementation-specific. The returned field is typically added to the exporter with AbstractBioAssaySetExporter.addReporterField(DynamicField).

Parameters:
name - The name to look for
required - TRUE if this field is required
Returns:
A dynamic field or null if no field is found, but if required = TRUE an exception is thrown instead

getSpotField

DynamicField getSpotField(String name,
                          boolean required)
Create a spot dynamic field for the given name. The interpretation of the name is implementation-specific. The returned field is typically added to the exporter with AbstractBioAssaySetExporter.addSpotField(DynamicField).

Parameters:
name - The name to look for
required - TRUE if this field is required
Returns:
A dynamic field or null if no field is found, but if required = TRUE an exception is thrown instead

getAssayField

AssayField getAssayField(String name,
                         boolean required)
Create an assay field for the given name. The interpretation of the name is implementation-specific. The returned field is typically added to the exporter with AbstractBioAssaySetExporter.addAssayField(AssayField).

Parameters:
name - The name to look for
required - TRUE if this field is required
Returns:
A dynamic field or null if no field is found, but if required = TRUE an exception is thrown instead

2.17.2: 2011-06-17