|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<OperatorId>
com.smartgwt.client.types.OperatorId
public enum OperatorId
An operator is used as part of a Criterion when specifying
AdvancedCriteria.
This list of operators indicates the set
of operators built into Smart GWT DataSources, which can be used for both client and
server-side filtering. You can extend the list of operators with DataSource.addSearchOperator.
| Enum Constant Summary | |
|---|---|
AND
all subcriteria (criterion.criteria) are true |
|
BETWEEN
shortcut for greaterThan + lessThan + and. |
|
BETWEEN_INCLUSIVE
shortcut for greaterOrEqual + lessOrEqual + and. |
|
CONTAINS
Contains as sub-string (match case) |
|
CONTAINS_FIELD
Contains as sub-string (match case) another field value (specify fieldName as criterion.value) |
|
ENDS_WITH
Ends with (match case) |
|
ENDS_WITH_FIELD
Ends with (match case) another field value (specify fieldName as criterion.value) |
|
EQUALS
exactly equal to |
|
EQUALS_FIELD
matches another field (specify fieldName as criterion.value) |
|
GREATER_OR_EQUAL
Greater than or equal to |
|
GREATER_OR_EQUAL_FIELD
Greater than or equal to another field (specify fieldName as criterion.value) |
|
GREATER_THAN
Greater than |
|
GREATER_THAN_FIELD
Greater than another field (specify fieldName as criterion.value) |
|
ICONTAINS
Contains as sub-string (case insensitive) |
|
IENDS_WITH
Ends with (case insensitive) |
|
IEQUALS
exactly equal to, if case is disregarded |
|
IN_SET
value is in a set of values. |
|
INOT_CONTAINS
Does not contain as sub-string (case insensitive) |
|
INOT_ENDS_WITH
Does not end with (case insensitive) |
|
INOT_EQUAL
not equal to, if case is disregarded |
|
INOT_STARTS_WITH
Does not start with (case insensitive) |
|
IREGEXP
Regular expression match (case insensitive) |
|
IS_NULL
value is null |
|
ISTARTS_WITH
Starts with (case insensitive) |
|
LESS_OR_EQUAL
Less than or equal to |
|
LESS_OR_EQUAL_FIELD
Less than or equal to another field (specify fieldName as criterion.value) |
|
LESS_THAN
Less than |
|
LESS_THAN_FIELD
Less than another field (specify fieldName as criterion.value) |
|
NOT
all subcriteria (criterion.criteria) are false |
|
NOT_CONTAINS
Does not contain as sub-string (match case) |
|
NOT_ENDS_WITH
Does not end with (match case) |
|
NOT_EQUAL
not equal to |
|
NOT_EQUAL_FIELD
does not match another field (specify fieldName as criterion.value) |
|
NOT_IN_SET
value is not in a set of values. |
|
NOT_NULL
value is non-null. |
|
NOT_STARTS_WITH
Does not start with (match case) |
|
OR
at least one subcriteria (criterion.criteria) is true |
|
REGEXP
Regular expression match |
|
STARTS_WITH
Starts with (match case) |
|
STARTS_WITH_FIELD
Starts with (match case) another field value (specify fieldName as criterion.value) |
|
| Method Summary | |
|---|---|
String |
getValue()
|
static OperatorId |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OperatorId[] |
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 OperatorId EQUALS
public static final OperatorId NOT_EQUAL
public static final OperatorId IEQUALS
public static final OperatorId INOT_EQUAL
public static final OperatorId GREATER_THAN
public static final OperatorId LESS_THAN
public static final OperatorId GREATER_OR_EQUAL
public static final OperatorId LESS_OR_EQUAL
public static final OperatorId CONTAINS
public static final OperatorId STARTS_WITH
public static final OperatorId ENDS_WITH
public static final OperatorId ICONTAINS
public static final OperatorId ISTARTS_WITH
public static final OperatorId IENDS_WITH
public static final OperatorId NOT_CONTAINS
public static final OperatorId NOT_STARTS_WITH
public static final OperatorId NOT_ENDS_WITH
public static final OperatorId INOT_CONTAINS
public static final OperatorId INOT_STARTS_WITH
public static final OperatorId INOT_ENDS_WITH
public static final OperatorId REGEXP
public static final OperatorId IREGEXP
public static final OperatorId IS_NULL
public static final OperatorId NOT_NULL
public static final OperatorId IN_SET
public static final OperatorId NOT_IN_SET
public static final OperatorId EQUALS_FIELD
public static final OperatorId NOT_EQUAL_FIELD
public static final OperatorId GREATER_THAN_FIELD
public static final OperatorId LESS_THAN_FIELD
public static final OperatorId GREATER_OR_EQUAL_FIELD
public static final OperatorId LESS_OR_EQUAL_FIELD
public static final OperatorId CONTAINS_FIELD
public static final OperatorId STARTS_WITH_FIELD
public static final OperatorId ENDS_WITH_FIELD
public static final OperatorId AND
public static final OperatorId NOT
public static final OperatorId OR
public static final OperatorId BETWEEN
public static final OperatorId BETWEEN_INCLUSIVE
| Method Detail |
|---|
public static OperatorId[] values()
for (OperatorId c : OperatorId.values()) System.out.println(c);
public static OperatorId 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 getValue()
getValue in interface ValueEnum
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||