ilog.rules.factory

Class IlrReturnStatement

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


    public final class IlrReturnStatement
    extends IlrBaseStatement
    This class represents a return statement 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
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
      Explores the return statement using a factory explorer and returns an object as a result.
      IlrValue getValue()
      Gets the returned value.
      • Methods inherited from class java.lang.Object

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

      • IlrReturnStatement

        public IlrReturnStatement(IlrValue value)
        Constructs a return statement.
        Parameters:
        value - The return value of the instruction.
      • IlrReturnStatement

        public IlrReturnStatement()
        Constructs a return statement.
    • Method Detail

      • getValue

        public IlrValue getValue()
        Gets the returned value.
        Returns:
        The value of the variable.
      • exploreStatement

        public java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
        Explores the return statement using a factory explorer and returns an object as a result.
        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