ilog.rules.factory

Class IlrStatementBlock

    • Constructor Summary

      Constructors 
      Modifier Constructor and Description
      protected IlrStatementBlock(IlrStatement[] statements)
      Constructs a statement block using an array of statements.
    • Constructor Detail

      • IlrStatementBlock

        protected IlrStatementBlock(IlrStatement[] statements)
        Constructs a statement block using an array of statements.
        Parameters:
        statements - An array of statements.
    • Method Detail

      • addStatement

        public final void addStatement(IlrStatement statement)
        Adds a statement to this block.
        Parameters:
        statement - The statement to be added.
      • removeStatement

        public final void removeStatement(IlrStatement statement)
        Removes a statement from the statement block.
        Parameters:
        statement - The statement to be removed.
      • getStatementCount

        public final int getStatementCount()
        Gets the number of statements in this block.
        Returns:
        The number of statements in this block.
      • getStatements

        public final IlrStatement[] getStatements()
        Gets the statements in this statement block.
        Returns:
        An array of statements. The array can be of length 0.
      • enumerateStatements

        public final java.util.Enumeration enumerateStatements()
        Returns an enumeration to visit all the statements of this action.
        Returns:
        An enumeration of the statements.

© Copyright IBM Corp. 1987, 2017