public class FormulaData extends CommonData implements RegisteredData, LoggableData
Formula
,
Developer documentation: Other classesModifier and Type | Field and Description |
---|---|
private int |
averageMethod |
private int |
channels |
private ColoringData |
coloring |
private java.util.Date |
entryDate |
private java.util.List<java.lang.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 java.lang.String |
rawDataType |
private java.lang.Integer |
resultIntensityTransform |
private java.lang.Integer |
sourceIntensityTransform |
private int |
type |
private java.lang.Integer |
valueType |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
FormulaData() |
Modifier and Type | Method and Description |
---|---|
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.
|
java.util.Date |
getEntryDate()
Get the date this item was added to the database.
|
java.util.List<java.lang.String> |
getFormulas()
Get the list of formulas.
|
int |
getParser()
Which parser to use to convert the formula to an expression or restriction.
1 = JEP
|
java.lang.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.
|
java.lang.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
|
java.lang.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
|
java.lang.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(java.util.Date entryDate) |
(package private) void |
setFormulas(java.util.List<java.lang.String> formulas) |
void |
setParser(int parser) |
void |
setRawDataType(java.lang.String rawDataType) |
void |
setResultIntensityTransform(java.lang.Integer resultIntensityTransform) |
void |
setSourceIntensityTransform(java.lang.Integer sourceIntensityTransform) |
void |
setType(int type) |
void |
setValueType(java.lang.Integer valueType) |
getDescription, getName, getRemovedBy, setDescription, setName, setRemovedBy
getItemKey, getProjectKey, setItemKey, setProjectKey
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
getOwner, setOwner
private java.util.Date entryDate
private int averageMethod
private int type
private java.lang.Integer valueType
private java.lang.Integer sourceIntensityTransform
private java.lang.Integer resultIntensityTransform
private int parser
public static final int MAX_RAWDATATYPE_LENGTH
private java.lang.String rawDataType
private int channels
public static final int MAX_FORMULA_LENGTH
private java.util.List<java.lang.String> formulas
private ColoringData coloring
public java.util.Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(java.util.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 java.lang.Integer getValueType()
public void setValueType(java.lang.Integer valueType)
public java.lang.Integer getSourceIntensityTransform()
public void setSourceIntensityTransform(java.lang.Integer sourceIntensityTransform)
public java.lang.Integer getResultIntensityTransform()
public void setResultIntensityTransform(java.lang.Integer resultIntensityTransform)
public int getParser()
public void setParser(int parser)
public java.lang.String getRawDataType()
public void setRawDataType(java.lang.String rawDataType)
public int getChannels()
public void setChannels(int channels)
public java.util.List<java.lang.String> getFormulas()
void setFormulas(java.util.List<java.lang.String> formulas)
public ColoringData getColoring()
public void setColoring(ColoringData coloring)