public static enum Formula.Type extends Enum<Formula.Type>
Enum Constant and Description |
---|
COLUMN_EXPRESSION
An arbitrary expression that specify one formula only.
|
COLUMN_RESTRICTION
An arbitraty expression that specify one formula only.
|
INTENSITY_EXPRESSION
The formula represents an intensity measurement expression.
|
INTENSITY_TRANSFORMATION
The formula represents a intensity transformation expression.
|
Modifier and Type | Field and Description |
---|---|
private boolean |
canUseColoring |
private String |
displayValue |
private boolean |
supportsAverage |
private int |
value |
private static Map<Integer,Formula.Type> |
valueMapping
Maps the integer that is stored in the database.
|
private Type |
valueType |
Modifier and Type | Method and Description |
---|---|
boolean |
canUseColoring()
If a formula of this type can use coloring or not.
|
static Formula.Type |
fromValue(int value)
Get the
Formula.Type object when you know the integer code. |
int |
getValue()
Get the integer value that is used when storing a
Formula.Type
in the database. |
Type |
getValueType()
Get the type of values that formulas of this type must produce or
null if it can be any type of values.
|
boolean |
supportsAverage()
If a formula of this type can be used in an average expression or not.
|
String |
toString() |
(package private) abstract void |
validate(Formula formula) |
static Formula.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Formula.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Formula.Type INTENSITY_EXPRESSION
public static final Formula.Type INTENSITY_TRANSFORMATION
public static final Formula.Type COLUMN_EXPRESSION
public static final Formula.Type COLUMN_RESTRICTION
Restriction
. A raw data type or the number
of channels must are also required. A formula of this type is typically used
to create a filtered bioassay set.private static final Map<Integer,Formula.Type> valueMapping
private final int value
private final String displayValue
private final boolean canUseColoring
private final boolean supportsAverage
private final Type valueType
public static Formula.Type[] values()
for (Formula.Type c : Formula.Type.values()) System.out.println(c);
public static Formula.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static Formula.Type fromValue(int value)
Formula.Type
object when you know the integer code.value
- The integer value.public String toString()
toString
in class Enum<Formula.Type>
public int getValue()
Formula.Type
in the database.public boolean canUseColoring()
public boolean supportsAverage()
public Type getValueType()
abstract void validate(Formula formula) throws InvalidDataException
InvalidDataException