ilog.rules.brl.translation

Class IlrActionStatement

    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrActionStatement(IlrSyntaxTree.Node astNode)
      Builds a new action statement with the specified Abstract Syntax Tree node.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      IlrConcept getConcept()
      Gets the concept of this action statement.
      IlrBlockActionStatement getParent()
      Gets the block action containing this action.
      java.lang.String getVarName()
      Gets the name of the object to be updated.
      void setConcept(IlrConcept concept)
      Sets the concept of this action.
      void setVarName(java.lang.String name)
      Sets the name of the variable to be updated.
      • Methods inherited from class java.lang.Object

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

      • IlrActionStatement

        public IlrActionStatement(IlrSyntaxTree.Node astNode)
        Builds a new action statement with the specified Abstract Syntax Tree node.
        Parameters:
        astNode - The Abstract Syntax Tree node.
    • Method Detail

      • setVarName

        public void setVarName(java.lang.String name)
        Sets the name of the variable to be updated. Used when the action statement is of kind UPDATE_OBJECT.
        Parameters:
        name - The name of the variable.
      • getVarName

        public java.lang.String getVarName()
        Gets the name of the object to be updated. Used when the action statement is of kind UPDATE_OBJECT.
        Specified by:
        getVarName in interface IlrNamedStatement
        Returns:
        The name of the variable.
      • setConcept

        public void setConcept(IlrConcept concept)
        Sets the concept of this action.
      • getConcept

        public IlrConcept getConcept()
        Gets the concept of this action statement.
        Returns:
        The concept of this action statement.
      • getParent

        public IlrBlockActionStatement getParent()
        Gets the block action containing this action. If this action is a top level action, this method returns null.
        Returns:
        The parent block action, or null.

© Copyright IBM Corp. 1987, 2017