|
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.core.data.BasicData net.sf.basedb.core.data.OwnedData net.sf.basedb.core.data.SharedData net.sf.basedb.core.data.CommonData net.sf.basedb.core.data.FormulaData
public class FormulaData
This class holds information about a formula used in the analysis of raw data and bioassay sets.
Formula
,
Data API - Other classesField Summary | |
---|---|
private int |
averageMethod
|
private int |
channels
|
private ColoringData |
coloring
|
private Date |
entryDate
|
private List<String> |
formulas
|
static int |
MAX_FORMULA_LENGTH
The maximum allowed length of a formula. |
static int |
MAX_RAWDATATYPE_LENGTH
The maximum allowed length of the raw data type name. |
private int |
parser
|
private String |
rawDataType
|
private Integer |
resultIntensityTransform
|
private Integer |
sourceIntensityTransform
|
private int |
type
|
private Integer |
valueType
|
Fields inherited from interface net.sf.basedb.core.data.NameableData |
---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
Constructor Summary | |
---|---|
FormulaData()
|
Method Summary | |
---|---|
int |
getAverageMethod()
The average method for thid formula: 0 = none, Formula.AverageMethod.NONE ;
no average is defined for this formula
1 = geometric mean, Formula.AverageMethod.GEOMETRIC_MEAN ;
this formula uses geometric mean
2 = arithmetic mean, Formula.AverageMethod.ARITHMETIC_MEAN ;
this formula uses arithmetic mean
3 = min, Formula.AverageMethod.MIN ;
this formula uses the min value as a "mean"
4 = max, Formula.AverageMethod.MAX ;
this formula uses the max value as a "mean"
|
int |
getChannels()
The number of required channels in the experiment to use this formula, or 0 if the number of channels doesn't matter. |
ColoringData |
getColoring()
Get the coloring information for this formula. |
Date |
getEntryDate()
Get the date this item was added to the database. |
List<String> |
getFormulas()
Get the list of formulas. |
int |
getParser()
Which parser to use to convert the formula to an expression or restriction. 1 = JEP |
String |
getRawDataType()
The name of raw data type this formula can be used on, or null if it can be used on any raw data type. |
Integer |
getResultIntensityTransform()
A flag indicating what kind of result spot data this formula generates, or null if it generates the same kind of data that is used as source. 0 = no transformation; 1 = 2-log; 2 = 10-log |
Integer |
getSourceIntensityTransform()
A flag indicating what kind of spot source data that the formula can be used with, or null if the formula can be used with any kind of source data. 0 = no transformation; 1 = 2-log; 2 = 10-log |
int |
getType()
The type of formula: 1 = intensity expression; raw data type required, 1 formula for each channel 2 = intensity transformation; raw data type or channels required, 1 formula for each channel 3 = column expression; raw data type or channels required, 1 formula only 4 = column restriction; raw data type or channels required, 1 formula only |
Integer |
getValueType()
The code for the value type. null = not known or doesn't care. |
void |
setAverageMethod(int averageMethod)
|
void |
setChannels(int channels)
|
void |
setColoring(ColoringData coloring)
|
void |
setEntryDate(Date entryDate)
|
(package private) void |
setFormulas(List<String> formulas)
|
void |
setParser(int parser)
|
void |
setRawDataType(String rawDataType)
|
void |
setResultIntensityTransform(Integer resultIntensityTransform)
|
void |
setSourceIntensityTransform(Integer sourceIntensityTransform)
|
void |
setType(int type)
|
void |
setValueType(Integer valueType)
|
Methods inherited from class net.sf.basedb.core.data.CommonData |
---|
getDescription, getName, isRemoved, setDescription, setName, setRemoved |
Methods inherited from class net.sf.basedb.core.data.SharedData |
---|
getItemKey, getProjectKey, setItemKey, setProjectKey |
Methods inherited from class net.sf.basedb.core.data.OwnedData |
---|
getOwner, setOwner |
Methods inherited from class net.sf.basedb.core.data.BasicData |
---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData |
---|
getId, getVersion |
Methods inherited from interface net.sf.basedb.core.data.OwnableData |
---|
getOwner, setOwner |
Field Detail |
---|
private Date entryDate
private int averageMethod
private int type
private Integer valueType
private Integer sourceIntensityTransform
private Integer resultIntensityTransform
private int parser
public static final int MAX_RAWDATATYPE_LENGTH
private String rawDataType
private int channels
public static final int MAX_FORMULA_LENGTH
private List<String> formulas
private ColoringData coloring
Constructor Detail |
---|
public FormulaData()
Method Detail |
---|
public Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(Date entryDate)
public int getAverageMethod()
Formula.AverageMethod.NONE
;
no average is defined for this formula
Formula.AverageMethod.GEOMETRIC_MEAN
;
this formula uses geometric mean
Formula.AverageMethod.ARITHMETIC_MEAN
;
this formula uses arithmetic mean
Formula.AverageMethod.MIN
;
this formula uses the min value as a "mean"
Formula.AverageMethod.MAX
;
this formula uses the max value as a "mean"
public void setAverageMethod(int averageMethod)
public int getType()
public void setType(int type)
public Integer getValueType()
public void setValueType(Integer valueType)
public Integer getSourceIntensityTransform()
public void setSourceIntensityTransform(Integer sourceIntensityTransform)
public Integer getResultIntensityTransform()
public void setResultIntensityTransform(Integer resultIntensityTransform)
public int getParser()
public void setParser(int parser)
public String getRawDataType()
public void setRawDataType(String rawDataType)
public int getChannels()
public void setChannels(int channels)
public List<String> getFormulas()
void setFormulas(List<String> formulas)
public ColoringData getColoring()
public void setColoring(ColoringData coloring)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |