net.sf.basedb.plugins
Class BaseFileExporterPlugin.ExtendedDynamicField
java.lang.Object
net.sf.basedb.plugins.BaseFileExporterPlugin.ExtendedDynamicField
- All Implemented Interfaces:
- DynamicField, ExportableField
- Enclosing class:
- BaseFileExporterPlugin
public static class BaseFileExporterPlugin.ExtendedDynamicField
- extends Object
- implements DynamicField
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
private final String id
parent
private final DynamicField parent
guiTitle
private final String guiTitle
reporterField
private final boolean reporterField
BaseFileExporterPlugin.ExtendedDynamicField
public BaseFileExporterPlugin.ExtendedDynamicField(String id,
boolean reporterField,
DynamicField parent)
BaseFileExporterPlugin.ExtendedDynamicField
public BaseFileExporterPlugin.ExtendedDynamicField(String id,
String guiTitle,
boolean reporterField,
DynamicField parent)
getExpression
public Expression getExpression(DbControl dc,
BioAssaySet source,
boolean forAverage)
- Description copied from interface:
DynamicField
- Get an expression that selects the data that should be exported.
- Specified by:
getExpression
in interface DynamicField
- Parameters:
dc
- The DbControl that is used for database accesssource
- The source bioassay setforAverage
- TRUE if the expression should generate an
average of multiple values
- Returns:
- An expression, or null if it is not possible to create an
expression in the given case (this will normally be replaced with
an empty column in the output)
getFormatter
public Formatter<?> getFormatter()
- Description copied from interface:
ExportableField
- Get a formatter that converts the values in this field to strings.
- Specified by:
getFormatter
in interface ExportableField
- Returns:
- A formatter or null to use default formatting (normally this means
calling the toString() method).
getTitle
public String getTitle()
- Description copied from interface:
ExportableField
- Get the column header.
- Specified by:
getTitle
in interface ExportableField
getId
public String getId()
getGuiTitle
public String getGuiTitle()
isReporterField
public boolean isReporterField()