Enum ComparisonOperator

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ComparisonOperator>

    public enum ComparisonOperator
    extends java.lang.Enum<ComparisonOperator>
    ComparisonOperator is used in the construction of Filter expressions.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BEGINS_WITH
      A value that represents the Begins With operator.
      CONTAINS
      A value that represents the Contains operator.
      ENDS_WITH
      A value that represents the Ends With operator.
      EQUALS
      A value that represents the Equals operator.
      GREATER_THAN
      A value that represents the Greater Than operator.
      GREATER_THAN_EQUALS
      A value that represents the Greater Than Or Equals operator.
      IN_LIST
      A value that represents the In list operator.
      LESS_THAN
      A value that represents the Less Than operator.
      LESS_THAN_EQUALS
      A value that represents the Less Than Or Equals operator.
      NOT_EQUALS
      A value that represents the Not Equals operator.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ComparisonOperator valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ComparisonOperator[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • EQUALS

        public static final ComparisonOperator EQUALS
        A value that represents the Equals operator.
      • GREATER_THAN

        public static final ComparisonOperator GREATER_THAN
        A value that represents the Greater Than operator.
      • LESS_THAN

        public static final ComparisonOperator LESS_THAN
        A value that represents the Less Than operator.
      • NOT_EQUALS

        public static final ComparisonOperator NOT_EQUALS
        A value that represents the Not Equals operator.
      • GREATER_THAN_EQUALS

        public static final ComparisonOperator GREATER_THAN_EQUALS
        A value that represents the Greater Than Or Equals operator.
      • LESS_THAN_EQUALS

        public static final ComparisonOperator LESS_THAN_EQUALS
        A value that represents the Less Than Or Equals operator.
      • BEGINS_WITH

        public static final ComparisonOperator BEGINS_WITH
        A value that represents the Begins With operator.
      • ENDS_WITH

        public static final ComparisonOperator ENDS_WITH
        A value that represents the Ends With operator.
      • CONTAINS

        public static final ComparisonOperator CONTAINS
        A value that represents the Contains operator.
      • IN_LIST

        public static final ComparisonOperator IN_LIST
        A value that represents the In list operator.
    • Method Detail

      • values

        public static ComparisonOperator[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ComparisonOperator c : ComparisonOperator.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ComparisonOperator valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null