Enum BinaryConditionalOperator
- java.lang.Object
-
- java.lang.Enum<BinaryConditionalOperator>
-
- org.apache.openjpa.persistence.query.BinaryConditionalOperator
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BinaryConditionalOperator>
public enum BinaryConditionalOperator extends java.lang.Enum<BinaryConditionalOperator>
Enumeration of conditional operator that operates on ordered pair of expression to generate a predicate.- Author:
- Pinaki Poddar
- See Also:
BinaryExpressionPredicate
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BETWEEN
BETWEEN_NOT
EQUAL
EQUAL_NOT
GREATER
GREATEREQUAL
IN
IN_NOT
LESS
LESSEQUAL
LIKE
LIKE_NOT
MEMBER
MEMBER_NOT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static BinaryConditionalOperator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BinaryConditionalOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BETWEEN
public static final BinaryConditionalOperator BETWEEN
-
BETWEEN_NOT
public static final BinaryConditionalOperator BETWEEN_NOT
-
EQUAL
public static final BinaryConditionalOperator EQUAL
-
EQUAL_NOT
public static final BinaryConditionalOperator EQUAL_NOT
-
GREATER
public static final BinaryConditionalOperator GREATER
-
GREATEREQUAL
public static final BinaryConditionalOperator GREATEREQUAL
-
IN
public static final BinaryConditionalOperator IN
-
IN_NOT
public static final BinaryConditionalOperator IN_NOT
-
LESS
public static final BinaryConditionalOperator LESS
-
LESSEQUAL
public static final BinaryConditionalOperator LESSEQUAL
-
LIKE
public static final BinaryConditionalOperator LIKE
-
LIKE_NOT
public static final BinaryConditionalOperator LIKE_NOT
-
MEMBER
public static final BinaryConditionalOperator MEMBER
-
MEMBER_NOT
public static final BinaryConditionalOperator MEMBER_NOT
-
-
Method Detail
-
values
public static BinaryConditionalOperator[] 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 (BinaryConditionalOperator c : BinaryConditionalOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BinaryConditionalOperator 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<BinaryConditionalOperator>
-
-