Class Operator

java.lang.Object
com.appiancorp.suiteapi.personalization.Operator
All Implemented Interfaces:
Serializable

public class Operator extends Object implements Serializable
Holds the operator id and its display name. Operator id is required for searches. Default search operators include:
Used in conjunction with GroupTypeService.getOperatorsForDataType(int)
See Also:
  • Field Details

    • LIKE

      public static final Integer LIKE
    • EQUALS

      public static final Integer EQUALS
    • GREATER_THAN

      public static final Integer GREATER_THAN
    • LESS_THAN

      public static final Integer LESS_THAN
    • GREATER_THAN_OR_EQUALS

      public static final Integer GREATER_THAN_OR_EQUALS
    • LESS_THAN_OR_EQUALS

      public static final Integer LESS_THAN_OR_EQUALS
    • DOES_NOT_EQUAL

      public static final Integer DOES_NOT_EQUAL
    • CONTAINS

      public static final Integer CONTAINS
    • STARTS_WITH

      public static final Integer STARTS_WITH
    • ENDS_WITH

      public static final Integer ENDS_WITH
  • Constructor Details

    • Operator

      public Operator()
  • Method Details

    • getId

      public Integer 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

      public String getName()
      operator name
      Returns:
      String
    • setId

      public void setId(Integer id_)
      Sets the operator id.
      Parameters:
      id_ - The oid to set
    • setName

      public void setName(String name_)
      Sets the operator name.
      Parameters:
      name_ - The onm to set