Interface DynamicField
- All Superinterfaces:
ExportableField
- All Known Implementing Classes:
BaseFileExporterPlugin.ExtendedDynamicField
,JepDynamicField
,SimpleDynamicField
Represents a spot or reporter field that is going to be exported
from a bioassay set. An implementation needs to provide the following
information and services:
- An
Expression
that is added to the selection list of aDynamicQuery
. - A
Formatter
that is used to format the values that are selected by the expression before they are written to the file - A title that is used as a column header for the data
- Version:
- 2.12
- Author:
- Nicklas
- Last modified
- $Date: 2010-04-20 10:02:16 +0200 (ti, 20 apr 2010) $
-
Method Summary
Modifier and TypeMethodDescriptiongetExpression
(DbControl dc, DynamicQuery query, BioAssaySet source, boolean forAverage) Get an expression that selects the data that should be exported.Methods inherited from interface net.sf.basedb.util.export.spotdata.ExportableField
getFormatter, getTitle, getType
-
Method Details
-
getExpression
Get an expression that selects the data that should be exported.- Parameters:
dc
- The DbControl that is used for database accessquery
- The query the expression will be used withsource
- 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)
-