ilog.rules.factory

Class IlrTestValue

  • All Implemented Interfaces:
    java.io.Serializable


    public class IlrTestValue
    extends IlrValue
    This class provides the facility to build a test interpreted as a value. It represents the bridge between the test and the value hierarchies. The statement return (v == 2); is accepted in the IRL language.

    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 Detail

      • IlrTestValue

        public IlrTestValue(IlrReflect reflect,
                    IlrTest test)
        Constructs a test value from the given test, within the specified reflect.
        Parameters:
        reflect - The object model in which classes and class members used by this value are found.
        test - The test encapsulated as a value by the built object.
    • Method Detail

      • getTest

        public IlrTest getTest()
        Returns the test encapsulated by the value.
        Returns:
        The test interpreted as a value.
      • exploreValue

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

© Copyright IBM Corp. 1987, 2017