Enum GeneralType
- java.lang.Object
-
- java.lang.Enum<GeneralType>
-
- ubic.gemma.model.common.quantitationtype.GeneralType
-
- All Implemented Interfaces:
Serializable
,Comparable<GeneralType>
public enum GeneralType extends Enum<GeneralType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CATEGORICAL
For categorical data.QUANTITATIVE
For quantitative data.UNKNOWN
Indicate an unknown type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeneralType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GeneralType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUANTITATIVE
public static final GeneralType QUANTITATIVE
For quantitative data.The following types are allowed:
-
CATEGORICAL
public static final GeneralType CATEGORICAL
For categorical data.The following types are allowed:
-
UNKNOWN
public static final GeneralType UNKNOWN
Indicate an unknown type.
-
-
Method Detail
-
values
public static GeneralType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GeneralType c : GeneralType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeneralType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-