public enum OperationType extends java.lang.Enum<OperationType>
Operation
Modifier and Type | Method and Description |
---|---|
static OperationType |
getOperator(java.lang.String str) |
static java.lang.String[] |
getOperators() |
java.lang.String |
toADQL() |
java.lang.String |
toString() |
static OperationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationType SUM
public static final OperationType SUB
public static final OperationType MULT
public static final OperationType DIV
public static OperationType[] values()
for (OperationType c : OperationType.values()) System.out.println(c);
public static OperationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.lang.String[] getOperators()
public static OperationType getOperator(java.lang.String str) throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
public java.lang.String toADQL()
public java.lang.String toString()
toString
in class java.lang.Enum<OperationType>