ilog.rules.engine

Class IlrFunction

  • java.lang.Object
    • ilog.rules.engine.IlrFunction
  • All Implemented Interfaces:
    java.io.Serializable

    Deprecated. 
    As of IBM ODM 8.9, the Classic Rule Engine is deprecated.

    public class IlrFunction
    extends java.lang.Object
    implements java.io.Serializable

    Instances of the IlrFunction class are functions in a ruleset. Functions are created using the parsing methods of IlrRuleset and are then exhibited by the ruleset.

    See Also:
    Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Class[] getArgumentTypes()
      Deprecated. 
      Returns the argument types array.
      java.lang.String getFormalComment()
      Deprecated. 

      Returns the formal comment associated with the function as a string.

      java.lang.String getName()
      Deprecated. 

      Returns the fully qualified name of the function.

      IlrPackage getPackage()
      Deprecated. 
      Returns the package in which the function is defined.
      java.lang.Class getReturnType()
      Deprecated. 

      Returns the returned type of the function.

      java.lang.String getShortName()
      Deprecated. 

      Returns the short name of the function.

      java.lang.String getSignature()
      Deprecated. 

      Returns the signature of the function.

      IlrFunctionFactory makeActions(IlrPackageFactory pkgF)
      Deprecated. 
      Explores the function statements.This method shall be called after makeDeclaration.
      IlrFunctionFactory makeDeclaration(IlrPackageFactory pkgF)
      Deprecated. 

      Declares the function signature without exploring its statement.

      IlrFunctionFactory makeFactory()
      Deprecated. 
      Builds a factory object that represents this function.
      IlrFunctionFactory makeFactory(IlrPackageFactory pkgF)
      Deprecated. 

      Builds a factory object to represent this function.

      • Methods inherited from class java.lang.Object

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

      • getName

        public final java.lang.String getName()
        Deprecated. 

        Returns the fully qualified name of the function.

        Returns:
        The fully qualified name of the function.
      • getShortName

        public java.lang.String getShortName()
        Deprecated. 

        Returns the short name of the function.

      • getFormalComment

        public final java.lang.String getFormalComment()
        Deprecated. 

        Returns the formal comment associated with the function as a string. If the function does not have a formal comment null is returned.

        Returns:
        The formal comment attached to the function.
      • getReturnType

        public java.lang.Class getReturnType()
        Deprecated. 

        Returns the returned type of the function.

        Returns:
        The function returned type.
      • getArgumentTypes

        public java.lang.Class[] getArgumentTypes()
        Deprecated. 
        Returns the argument types array.
        Returns:
        An array containing the function argument types.
      • getSignature

        public java.lang.String getSignature()
        Deprecated. 

        Returns the signature of the function.

        Returns:
        The function signature.
      • makeFactory

        public final IlrFunctionFactory makeFactory()
        Deprecated. 
        Builds a factory object that represents this function. Do not call this method when the ruleset contained in this function is executed inside:
        • a rule action
        • an IlrTool method
        Returns:
        The factory object that represents this function.
      • makeFactory

        public final IlrFunctionFactory makeFactory(IlrPackageFactory pkgF)
        Deprecated. 

        Builds a factory object to represent this function.

        Parameters:
        pkgF - The package containing the function.
        Returns:
        The factory object of this rule.
      • makeDeclaration

        public final IlrFunctionFactory makeDeclaration(IlrPackageFactory pkgF)
        Deprecated. 

        Declares the function signature without exploring its statement.

        Parameters:
        pkgF - The package containing the function.
        Returns:
        The factory object of this function.
      • makeActions

        public final IlrFunctionFactory makeActions(IlrPackageFactory pkgF)
        Deprecated. 
        Explores the function statements.This method shall be called after makeDeclaration.
        Parameters:
        pkgF - The package containing the function.
        Returns:
        The factory object of this function.
      • getPackage

        public IlrPackage getPackage()
        Deprecated. 
        Returns the package in which the function is defined.
        Returns:
        The package that contains the function.

© Copyright IBM Corp. 1987, 2017