|
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.FieldConverter
Base1FieldConverter
@Deprecated public class FieldConverter
Class for converting string-based spot and reporter names into
dynamic field representation suitable for bioassay set exporter.
This class is for example used by the Base1PluginExecuter
to convert BASE 1 names into BASE 2 expressions. This feature rely
in most cases on the use of 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.
Field Summary | |
---|---|
private DbControl |
dc
Deprecated. |
private ItemQuery<ExtraValue> |
extraQuery
Deprecated. |
private ItemQuery<Formula> |
formulaQuery
Deprecated. |
private BioAssaySet |
source
Deprecated. |
Constructor Summary | |
---|---|
FieldConverter(DbControl dc,
BioAssaySet source)
Deprecated. Create a new converter for the given bioassay set. |
Method Summary | |
---|---|
DynamicField |
getExtraValueField(String externalId,
ExtraValue.CoordinateType type,
String exportTitle)
Deprecated. Find an extra value with the given external id and coordinate type and create a dynamic field from it using exportTitle as the title. |
DynamicField |
getFormulaField(String formulaName,
String exportTitle)
Deprecated. Find a formula with the given name and create a dynamic field from it using exportTitle as the title. |
DynamicField |
getIntensityField(String fieldName)
Deprecated. 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 |
getRawdataProperty(String name,
String exportTitle)
Deprecated. Find an extended raw data property with the given name and create a dynamic field from it using exportTitle as the title. |
DynamicField |
getReporterField(String fieldName)
Deprecated. Convert a reporter field. |
DynamicField |
getReporterProperty(String name,
String exportTitle)
Deprecated. Find an extended reporter property with the given name and create a dynamic field from it using exportTitle as the title. |
DynamicField |
getSpotField(String fieldName)
Deprecated. Convert a spot field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final DbControl dc
private final BioAssaySet source
private ItemQuery<Formula> formulaQuery
private ItemQuery<ExtraValue> extraQuery
Constructor Detail |
---|
public FieldConverter(DbControl dc, BioAssaySet source)
dc
- A DbControl to use for database accesssource
- The source bioassay setMethod Detail |
---|
public DynamicField getReporterField(String fieldName)
fieldName
- The BASE 1 field name
public DynamicField getSpotField(String fieldName)
fieldName
- The BASE 1 field name
public DynamicField getFormulaField(String formulaName, String exportTitle)
Formula.Type.COLUMN_EXPRESSION
and be suitable for the
RawDataType
and IntensityTransform
used by the
source bioassay set.
formulaName
- The name of the formula to look forexportTitle
- The exported title, or null to use the formula name
public DynamicField getExtraValueField(String externalId, ExtraValue.CoordinateType type, String exportTitle)
externalId
- The external id of the ExtraValueType
type
- The coordinate type of the extra value (eg. POSITION for reporter
extra values, and SPOT for spot extra values)exportTitle
- The exported title or null to use the name (not the external id)
of the extra value type
public DynamicField getReporterProperty(String name, String exportTitle)
name
- The name of the extended reporter propertyexportTitle
- The exported title or null to use the title
of the extended property (which can be different from the name)
public DynamicField getRawdataProperty(String name, String exportTitle)
name
- The name of the extended raw data propertyexportTitle
- The exported title or null to use the title
of the extended property (which can be different from the name)
public DynamicField getIntensityField(String fieldName)
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 |