Class Operator
java.lang.Object
com.appiancorp.suiteapi.personalization.Operator
- All Implemented Interfaces:
Serializable
Holds the operator id and its display name. Operator id is required for
searches. Default search operators include:
Used in conjunction with
LIKE
EQUALS
GREATER_THAN
LESS_THAN
GREATER_THAN_OR_EQUALS
LESS_THAN_OR_EQUALS
DOES_NOT_EQUAL
CONTAINS
STARTS_WITH
ENDS_WITH
Used in conjunction with
GroupTypeService.getOperatorsForDataType(int)
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
LIKE
-
EQUALS
-
GREATER_THAN
-
LESS_THAN
-
GREATER_THAN_OR_EQUALS
-
LESS_THAN_OR_EQUALS
-
DOES_NOT_EQUAL
-
CONTAINS
-
STARTS_WITH
-
ENDS_WITH
-
-
Constructor Details
-
Operator
public Operator()
-
-
Method Details
-
getId
operator id - can be one of: LIKE, EQUALS, GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUALS, LESS_THAN_OR_EQUALS, DOES_NOT_EQUAL, CONTAINS, STARTS_WITH,ENDS_WITH- Returns:
- Integer
-
getName
operator name- Returns:
- String
-
setId
Sets the operator id.- Parameters:
id_
- The oid to set
-
setName
Sets the operator name.- Parameters:
name_
- The onm to set
-