org.apache.openjpa.persistence.query
Enum BinaryConditionalOperator
java.lang.Object
java.lang.Enum<BinaryConditionalOperator>
org.apache.openjpa.persistence.query.BinaryConditionalOperator
- All Implemented Interfaces:
- Serializable, Comparable<BinaryConditionalOperator>
public enum BinaryConditionalOperator
- extends Enum<BinaryConditionalOperator>
Enumeration of conditional operator that operates on ordered pair of
expression to generate a predicate.
- Author:
- Pinaki Poddar
- See Also:
BinaryExpressionPredicate
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
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(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
toString
public String toString()
- Overrides:
toString
in class Enum<BinaryConditionalOperator>
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.