|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Formula.Type> net.sf.basedb.core.Formula.Type
public static enum Formula.Type
The type of formula indicats in which situations it can be used.
Enum Constant Summary | |
---|---|
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. |
Field Summary | |
---|---|
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
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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.
Field Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- 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
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |