ilog.rules.factory

Class IlrFunctionInvocation

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


    public class IlrFunctionInvocation
    extends IlrNaryValue
    implements IlrStatement
    This class represents a function invocation of the rule 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

      • IlrFunctionInvocation

        public IlrFunctionInvocation(IlrReflect reflect)
        Constructs an uninitialized function invocation.
        Parameters:
        reflect - A reflect.
      • IlrFunctionInvocation

        public IlrFunctionInvocation(IlrFunctionFactory function,
                             IlrValue[] arguments)
        Constructs a function invocation using a function declaration and an argument list.
        Parameters:
        function - A function.
        arguments - The arguments.
    • Method Detail

      • setFunction

        public void setFunction(IlrFunctionFactory function)
        Sets the function.
        Parameters:
        function - The function.
      • getFunction

        public IlrFunctionFactory getFunction()
        Gets the function of the IlrFunctionInvocation.
        Returns:
        The function of this function invocation.
      • getName

        public java.lang.String getName()
        Gets the name of the IlrFunctionInvocation function.
        Returns:
        The name of the function of this function invocation.
      • exploreValue

        public java.lang.Object exploreValue(IlrFactoryExplorer explorer)
        Explores this 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.
      • exploreStatement

        public java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
        Explores this function as a statement using a factory explorer and returns an object as a result.
        Specified by:
        exploreStatement in interface IlrStatement
        Parameters:
        explorer - The factory explorer.
        Returns:
        An object, the result of the exploration, or null if the method does not return a value.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

© Copyright IBM Corp. 1987, 2017