2.17.2: 2011-06-17

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

All Known Subinterfaces:
AssayField, DynamicField
All Known Implementing Classes:
AnnotationAssayField, AssayPropertyField, BaseFileExporterPlugin.ExtendedDynamicField, JepDynamicField, SimpleDynamicField

public interface ExportableField

Interface that represents an exportable field. It is recommended that implementations override Object.equals(Object) and Object.hashCode() methods to make it possible for users to check if a given field is present or not in a list of already existing fields. A typical implementation should only compare itself to fields of the same class that export the same information with the same title.

Version:
2.12
Author:
Nicklas
Last modified
$Date: 2010-08-13 12:48:17 +0200 (Fri, 13 Aug 2010) $

Method Summary
 Formatter<?> getFormatter()
          Get a formatter that converts the values in this field to strings.
 String getTitle()
          Get the column header.
 Type getType()
          Get the data type of the field.
 

Method Detail

getTitle

String getTitle()
Get the column header.


getType

Type getType()
Get the data type of the field.

Returns:
A type object or null if not known
Since:
2.15

getFormatter

Formatter<?> getFormatter()
Get a formatter that converts the values in this field to strings.

Returns:
A formatter or null to use default formatting (normally this means calling the toString() method).

2.17.2: 2011-06-17