|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.util.export.spotdata.AbstractFieldConverter net.sf.basedb.util.export.spotdata.StandardFieldConverter net.sf.basedb.util.export.spotdata.Base1FieldConverter
public class Base1FieldConverter
Exportable field converter that support BASE 1 naming conventions. This implementation rely in most cases on formulas with the same name as the BASE 1 field. BASE 1 fields that happens to have the same name in BASE 2 doesn't need formulas.
This class extends the standard field converter and only overrides
methods that is used by the Base1PluginExecuter
so thatit can work as expected. The major differences are the name of
intensity fields and the _xc_ prefix on extra value fields.
Constructor Summary | |
---|---|
Base1FieldConverter(DbControl dc,
BioAssaySet source)
Create a new converter for the given bioassay set. |
Method Summary | |
---|---|
protected DynamicField |
getIntensityField(String fieldName,
String exportTitle)
Create a dynamic field for spot intensity if the field name has the pattern 'intensityX' where 'X' is a channel number between 1 and the number of channels in the raw data type used by the source bioassay set. |
DynamicField |
getReporterField(String name,
boolean required)
Convert a reporter field. |
DynamicField |
getSpotField(String name,
boolean required)
Convert a spot field. |
Methods inherited from class net.sf.basedb.util.export.spotdata.StandardFieldConverter |
---|
getAssayField |
Methods inherited from class net.sf.basedb.util.export.spotdata.AbstractFieldConverter |
---|
getAssayAnnotationField, getAssayPropertyField, getDbControl, getExperimentalFactorField, getExtraValueField, getFormulaField, getRawDataProperty, getReporterProperty, getSnapshotManager, getSource, setSnapshotManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Base1FieldConverter(DbControl dc, BioAssaySet source)
dc
- A DbControl to use for database accesssource
- The source bioassay setMethod Detail |
---|
public DynamicField getReporterField(String name, boolean required)
getReporterField
in interface ExportableFieldConverter
getReporterField
in class StandardFieldConverter
name
- The BASE 1 field namerequired
- Controls if null is returned or an exception is thrown when
a field is not found
public DynamicField getSpotField(String name, boolean required)
getSpotField
in interface ExportableFieldConverter
getSpotField
in class StandardFieldConverter
name
- The BASE 1 field namerequired
- Controls if null is returned or an exception is thrown when
a field is not found
protected DynamicField getIntensityField(String fieldName, String exportTitle)
getIntensityField
in class AbstractFieldConverter
fieldName
- The field name
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |