ilog.rules.dvs.rbtesting.asserts

Enum IlrRelationalOperator

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


    public enum IlrRelationalOperator
    extends java.lang.Enum<IlrRelationalOperator>
    An operator that tests the type of relation between two entities. These tests include:
    • numerical equality such as 5 == 5
    • inequalities such as 4 >= 3
    If the conditional relationship between two operands is correct, true is returned.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      COLLECTION_EQUALS_ORDERED
      Test the equality of two collections or arrays, ensuring the elements are in the same order.
      COLLECTION_EQUALS_UNORDERED
      Test the equality of two collections or arrays, regardless of the order of the elements.
      CONTAINS
      Test that the first entity contains the second one.
      DOES_NOT_CONTAIN
      Test that the first entity does not contain the second one.
      DOES_NOT_EQUAL
      Test that the two entities are not equal.
      EQUALS
      Test the equality of the two entities.
      IS_GREATER_THAN
      Test that the first entity is greater than the second one.
      IS_GREATER_THAN_OR_EQUALS
      Test that the first entity is greater than or equal to the second one.
      IS_LOWER_THAN
      Test that the first entity is less than the second one.
      IS_LOWER_THAN_OR_EQUALS
      Test that the first entity is less than or equal to the second one.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getDisplayName(java.util.Locale theLocale)
      Retrieves the display name of the relational operator for a given locale.
      static IlrRelationalOperator valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static IlrRelationalOperator[] 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

      • COLLECTION_EQUALS_ORDERED

        public static final IlrRelationalOperator COLLECTION_EQUALS_ORDERED
        Test the equality of two collections or arrays, ensuring the elements are in the same order.
      • COLLECTION_EQUALS_UNORDERED

        public static final IlrRelationalOperator COLLECTION_EQUALS_UNORDERED
        Test the equality of two collections or arrays, regardless of the order of the elements.
      • DOES_NOT_EQUAL

        public static final IlrRelationalOperator DOES_NOT_EQUAL
        Test that the two entities are not equal.
      • IS_GREATER_THAN

        public static final IlrRelationalOperator IS_GREATER_THAN
        Test that the first entity is greater than the second one.
      • IS_GREATER_THAN_OR_EQUALS

        public static final IlrRelationalOperator IS_GREATER_THAN_OR_EQUALS
        Test that the first entity is greater than or equal to the second one.
      • IS_LOWER_THAN

        public static final IlrRelationalOperator IS_LOWER_THAN
        Test that the first entity is less than the second one.
      • IS_LOWER_THAN_OR_EQUALS

        public static final IlrRelationalOperator IS_LOWER_THAN_OR_EQUALS
        Test that the first entity is less than or equal to the second one.
      • CONTAINS

        public static final IlrRelationalOperator CONTAINS
        Test that the first entity contains the second one.
      • DOES_NOT_CONTAIN

        public static final IlrRelationalOperator DOES_NOT_CONTAIN
        Test that the first entity does not contain the second one.
    • Method Detail

      • values

        public static IlrRelationalOperator[] values()
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IlrRelationalOperator valueOf(java.lang.String name)
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
      • getDisplayName

        public java.lang.String getDisplayName(java.util.Locale theLocale)
        Retrieves the display name of the relational operator for a given locale.
        Parameters:
        theLocale - The locale.
        Returns:
        The display name of the relational operator for a given locale.

© Copyright IBM Corp. 1987, 2017