Enum ConditionalOperator
- java.lang.Object
-
- java.lang.Enum<ConditionalOperator>
-
- org.fulib.scenarios.ast.expr.conditional.ConditionalOperator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ConditionalOperator>
public enum ConditionalOperator extends java.lang.Enum<ConditionalOperator>
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.String,ConditionalOperator>opMap
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConditionalOperatorgetByOp(java.lang.String op)java.lang.StringgetNumberAssertion()java.lang.StringgetNumberOperator()java.lang.StringgetObjectAssertion()java.lang.StringgetObjectOperator()java.lang.StringgetPlural()java.lang.StringgetSingular()static ConditionalOperatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConditionalOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OR
public static final ConditionalOperator OR
-
AND
public static final ConditionalOperator AND
-
IS
public static final ConditionalOperator IS
-
IS_NOT
public static final ConditionalOperator IS_NOT
-
IS_SAME
public static final ConditionalOperator IS_SAME
-
IS_NOT_SAME
public static final ConditionalOperator IS_NOT_SAME
-
LT
public static final ConditionalOperator LT
-
NOT_LT
public static final ConditionalOperator NOT_LT
-
LE
public static final ConditionalOperator LE
-
GT
public static final ConditionalOperator GT
-
GE
public static final ConditionalOperator GE
-
NOT_GT
public static final ConditionalOperator NOT_GT
-
CONTAINS
public static final ConditionalOperator CONTAINS
-
NOT_CONTAINS
public static final ConditionalOperator NOT_CONTAINS
-
-
Field Detail
-
opMap
public static final java.util.Map<java.lang.String,ConditionalOperator> opMap
-
-
Method Detail
-
values
public static ConditionalOperator[] 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 (ConditionalOperator c : ConditionalOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConditionalOperator valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getByOp
public static ConditionalOperator getByOp(java.lang.String op)
-
getSingular
public java.lang.String getSingular()
-
getPlural
public java.lang.String getPlural()
-
getNumberOperator
public java.lang.String getNumberOperator()
-
getObjectOperator
public java.lang.String getObjectOperator()
-
getNumberAssertion
public java.lang.String getNumberAssertion()
-
getObjectAssertion
public java.lang.String getObjectAssertion()
-
-