org.databene.benerator.engine.statement
Class WhileStatement

java.lang.Object
  extended by org.databene.benerator.engine.statement.ConditionStatement
      extended by org.databene.benerator.engine.statement.WhileStatement
All Implemented Interfaces:
Statement

public class WhileStatement
extends ConditionStatement

'While' loop statement.

Created: 19.02.2010 09:15:11

Since:
0.6.0
Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.databene.benerator.engine.statement.ConditionStatement
condition
 
Constructor Summary
WhileStatement(org.databene.commons.Expression<java.lang.Boolean> condition)
           
WhileStatement(org.databene.commons.Expression<java.lang.Boolean> condition, java.util.List<Statement> statements)
           
 
Method Summary
 void execute(BeneratorContext context)
           
 void setSubStatements(java.util.List<Statement> statements)
           
 
Methods inherited from class org.databene.benerator.engine.statement.ConditionStatement
getCondidition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhileStatement

public WhileStatement(org.databene.commons.Expression<java.lang.Boolean> condition)

WhileStatement

public WhileStatement(org.databene.commons.Expression<java.lang.Boolean> condition,
                      java.util.List<Statement> statements)
Method Detail

setSubStatements

public void setSubStatements(java.util.List<Statement> statements)

execute

public void execute(BeneratorContext context)


Copyright © 2011. All Rights Reserved.