eteg.sinon.core
Class LoopStep

java.lang.Object
  extended by eteg.sinon.core.LoopStep
All Implemented Interfaces:
Step

public class LoopStep
extends java.lang.Object
implements Step

Class that represents a loop positioning step.

Version:
$Revision: 1.2 $
Author:
Thiago H. de Paula Figueiredo, Last modified by $Author: thiagohp $

Constructor Summary
LoopStep()
          Constructor without parameters.
 
Method Summary
 void addStep(Step step)
          Adds a Step to this loop.
 java.lang.String getCondition()
          Returns the value of the condition property.
 Step[] getSteps()
          Returns the value of the steps property.
 java.lang.String getValue()
          Returns the value of the value property.
 boolean isAction()
          Returns false.
 boolean isDataExtraction()
          Returns false.
 boolean isLoop()
          Returns true.
 boolean isPositioningStep()
          Returns false.
 void setCondition(java.lang.String condition)
          Sets the value of the condition property.
 void setValue(java.lang.String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoopStep

public LoopStep()
Constructor without parameters.

Method Detail

getCondition

public java.lang.String getCondition()
Returns the value of the condition property.

Returns:
a String.

setCondition

public void setCondition(java.lang.String condition)
Sets the value of the condition property.

Parameters:
condition - the new condition value.

getValue

public java.lang.String getValue()
Returns the value of the value property.

Returns:
a String.

setValue

public void setValue(java.lang.String value)
Sets the value of the value property.

Parameters:
value - the new value value.

addStep

public void addStep(Step step)
Adds a Step to this loop.

Parameters:
step - a Step instance.

getSteps

public Step[] getSteps()
Returns the value of the steps property.

Returns:
a Step array.

isDataExtraction

public boolean isDataExtraction()
Returns false.

Specified by:
isDataExtraction in interface Step
Returns:
false.

isPositioningStep

public boolean isPositioningStep()
Returns false.

Specified by:
isPositioningStep in interface Step
Returns:
false.

isAction

public boolean isAction()
Returns false.

Specified by:
isAction in interface Step
Returns:
false.

isLoop

public boolean isLoop()
Returns true.

Specified by:
isLoop in interface Step
Returns:
true.


Copyright © 2004-2005 ETEG Internet Ltda.. All Rights Reserved.