public enum IndicatorType extends Enum<IndicatorType>
Enum Constant and Description |
---|
DATA
A regular indicator containing raw data.
|
FORMULA
An indicator whose value is calculated through a formula.
|
GROUP
An indicator group.
|
Modifier and Type | Method and Description |
---|---|
static IndicatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndicatorType |
valueOfJson(String jsonType)
Returns the indicator type matching the given string type from JSON.
|
static IndicatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndicatorType DATA
public static final IndicatorType FORMULA
public static final IndicatorType GROUP
public static IndicatorType[] values()
for (IndicatorType c : IndicatorType.values()) System.out.println(c);
public static IndicatorType 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 IndicatorType valueOfJson(String jsonType)
jsonType
- string type from JSONCopyright © 2014. All rights reserved.