|
||||||||||
| 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.ujoframework.criterion.Operator
public enum Operator
The value criterion operator enum.
| Enum Constant Summary | |
|---|---|
CONTAINS
Only for a CharSequence subtypes (include String) |
|
CONTAINS_CASE_INSENSITIVE
Only for a CharSequence subtypes (include String) |
|
ENDS
Only for a CharSequence subtypes (include String) |
|
ENDS_CASE_INSENSITIVE
Only for a CharSequence subtypes (include String) |
|
EQ
Equals the value |
|
EQUALS_CASE_INSENSITIVE
Only for a CharSequence subtypes (include String) |
|
GE
Great or equals the value |
|
GT
Great then the value |
|
IN
Operator to compare a property to collection |
|
LE
Less or equals the value |
|
LT
Less then the value |
|
NOT_EQ
Not equals the value |
|
NOT_IN
Negation operator to compare a property to collection |
|
NOT_REGEXP
Negation of the regular expression |
|
REGEXP
Regular expression |
|
STARTS
Only for a CharSequence subtypes (include String) |
|
STARTS_CASE_INSENSITIVE
Only for a CharSequence subtypes (include String) |
|
USER
This operator can have their own SQL condition by a SqlDialect solution. |
|
XFIXED
The operator for an internal use only where a result is not dependent on the value. |
|
| Method Summary | |
|---|---|
java.lang.Enum |
getEnum()
Returns Enum |
boolean |
isBinary()
The implementace is a VALUE type (not a binary one) |
static Operator |
valueOf(java.lang.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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Operator EQ
public static final Operator NOT_EQ
public static final Operator GT
public static final Operator GE
public static final Operator LT
public static final Operator LE
public static final Operator IN
public static final Operator NOT_IN
public static final Operator REGEXP
public static final Operator NOT_REGEXP
public static final Operator EQUALS_CASE_INSENSITIVE
public static final Operator STARTS
public static final Operator STARTS_CASE_INSENSITIVE
public static final Operator ENDS
public static final Operator ENDS_CASE_INSENSITIVE
public static final Operator CONTAINS
public static final Operator CONTAINS_CASE_INSENSITIVE
public static final Operator USER
SqlDialect.getCriterionTemplate(org.ujoframework.criterion.ValueCriterion)public static final Operator XFIXED
| Method Detail |
|---|
public static Operator[] values()
for (Operator c : Operator.values()) System.out.println(c);
public static Operator 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 name
java.lang.NullPointerException - if the argument is nullpublic final boolean isBinary()
isBinary in interface AbstractOperatorpublic final java.lang.Enum getEnum()
getEnum in interface AbstractOperator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||