ABLE 2.0.0 07/02/2003 10:25:01

com.ibm.able.rules
Interface AbleIterationRule

All Known Implementing Classes:
AbleForLoopRule, AbleDoWhileRule, AbleDoUntilRule, AbleWhileDoRule

public interface AbleIterationRule

This interface defines an iteration rule, that has a boolean test expression and and a list of actions (consequent clauses).


Method Summary
 java.util.Vector getDoActions()
          Retrieve the rule's list of "do" action (AbleConsequent) clauses.
 int getNumberOfDoActions()
          Retrieve the number of "do" actions in this rule.
 AbleExpression getTestExpression()
          Retrieve the rule's test expression.
 

Method Detail

getTestExpression

public AbleExpression getTestExpression()
Retrieve the rule's test expression.
Returns:
A Boolean test expression associated with this rule.

getNumberOfDoActions

public int getNumberOfDoActions()
Retrieve the number of "do" actions in this rule.
Returns:
The number of "do" actions.

getDoActions

public java.util.Vector getDoActions()
Retrieve the rule's list of "do" action (AbleConsequent) clauses.
Returns:
A reference to the actual list of do action clauses. This list may not be empty.

ABLE 2.0.0 07/02/2003 10:25:01

(C) Copyright IBM Corporation 1999, 2003