|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Operator>
org.modeshape.jcr.api.query.qom.Operator
public enum Operator
Enum Constant Summary | |
---|---|
EQUAL_TO
|
|
GREATER_THAN
|
|
GREATER_THAN_OR_EQUAL_TO
|
|
LESS_THAN
|
|
LESS_THAN_OR_EQUAL_TO
|
|
LIKE
|
|
NOT_EQUAL_TO
|
Method Summary | |
---|---|
static Operator |
forSymbol(String symbol)
Attempt to find the Operator given a symbol. |
boolean |
isRangeOperator()
Determine whether this operator is one that is used to define a range of values: < ,
> , <= , or >= . |
Operator |
reverse()
Get the equivalent operator if the operands are to be reversed. |
String |
symbol()
Get the symbol for this operator |
String |
toString()
|
static Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Operator[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Operator EQUAL_TO
public static final Operator NOT_EQUAL_TO
public static final Operator LESS_THAN
public static final Operator LESS_THAN_OR_EQUAL_TO
public static final Operator GREATER_THAN
public static final Operator GREATER_THAN_OR_EQUAL_TO
public static final Operator LIKE
Method Detail |
---|
public static Operator[] values()
for (Operator c : Operator.values()) System.out.println(c);
public static Operator valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String symbol()
public Operator reverse()
public boolean isRangeOperator()
<
,
>
, <=
, or >=
.
public String toString()
toString
in class Enum<Operator>
Enum.toString()
public static Operator forSymbol(String symbol)
symbol
- the symbol
IllegalArgumentException
- if the symbol is null
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |