public static enum Formula.Parser extends Enum<Formula.Parser>
Enum Constant and Description |
---|
JEP
Use the JEP parser.
|
Modifier and Type | Field and Description |
---|---|
private String |
displayValue |
private int |
value |
private static Map<Integer,Formula.Parser> |
valueMapping
Maps the integer that is stored in the database.
|
Modifier and Type | Method and Description |
---|---|
static Formula.Parser |
fromValue(int value)
Get the
Formula.Parser object when you know the integer code. |
int |
getValue()
Get the integer value that is used when storing a
Formula.Parser
in the database. |
String |
toString() |
static Formula.Parser |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Formula.Parser[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Formula.Parser JEP
private static final Map<Integer,Formula.Parser> valueMapping
private final int value
private final String displayValue
public static Formula.Parser[] values()
for (Formula.Parser c : Formula.Parser.values()) System.out.println(c);
public static Formula.Parser 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.Parser fromValue(int value)
Formula.Parser
object when you know the integer code.value
- The integer value.public String toString()
toString
in class Enum<Formula.Parser>
public int getValue()
Formula.Parser
in the database.