ilog.rules.factory

Class IlrUnknownTest

  • All Implemented Interfaces:
    ilog.rules.factory.IlrSourceElement, IlrTest, java.io.Serializable


    public class IlrUnknownTest
    extends IlrBaseTest
    This class represents an unknown test of the rule language. An unknown test checks whether the value of an expression is of a given type.

    Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of IBM Decision Server.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrUnknownTest(IlrValue value, boolean unknown)
      Constructs an unknown test using a value.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object exploreTest(IlrFactoryExplorer explorer)
      Explores this test using a factory explorer and returns an object as a result.
      boolean getUnknown()
      Gets the unknown argument of the test.
      IlrValue getValue()
      Gets the value argument of the test.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrUnknownTest

        public IlrUnknownTest(IlrValue value,
                      boolean unknown)
        Constructs an unknown test using a value.
        Parameters:
        value - An expression whose type is to be checked.
    • Method Detail

      • getValue

        public final IlrValue getValue()
        Gets the value argument of the test.
        Returns:
        The value argument of the current test.
      • getUnknown

        public final boolean getUnknown()
        Gets the unknown argument of the test.
        Returns:
        The unknown argument of the current test.
      • exploreTest

        public java.lang.Object exploreTest(IlrFactoryExplorer explorer)
        Explores this test using a factory explorer and returns an object as a result.
        Parameters:
        explorer - The factory explorer.
        Returns:
        An object, the result of the exploration, or null if the method does not return a value.

© Copyright IBM Corp. 1987, 2017