ilog.rules.factory

Class IlrUpdateAction

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


    public class IlrUpdateAction
    extends IlrAction
    This class represents an update action 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 Summary

      Constructors 
      Constructor and Description
      IlrUpdateAction(IlrValue object)
      Constructs an IlrUpdateAction to represent an update applied to the passed value.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
      Explores the action and returns an object as a result.
      IlrValue getObject()
      Gets the object updated by this action.
      boolean isFlushing()
      Checks the type of update to the object.
      void setFlushing(boolean flag)
      Changes the way the object is updated.
      • Methods inherited from class java.lang.Object

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

      • IlrUpdateAction

        public IlrUpdateAction(IlrValue object)
        Constructs an IlrUpdateAction to represent an update applied to the passed value. The update action is set to use the default update mechanism.
        Parameters:
        object - The object to be updated.
    • Method Detail

      • getObject

        public final IlrValue getObject()
        Gets the object updated by this action.
        Returns:
        The object updated by this action.
      • setFlushing

        public final void setFlushing(boolean flag)
        Changes the way the object is updated. The passed parameter is true when a relational modification is requested.
        Parameters:
        flag - The flag which controls the type of modification.
      • isFlushing

        public final boolean isFlushing()
        Checks the type of update to the object.
        Returns:
        true when the update is relational, and false when the update is the default.
      • exploreStatement

        public java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
        Explores the action and returns an object as a result.
        Parameters:
        explorer - A 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