org.databene.benerator.engine.statement
Class ConsumptionStatement

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

public class ConsumptionStatement
extends java.lang.Object
implements Statement

Statement that consumes the current entity of a GeneratorContext using a Consumer.

Created: 01.09.2011 15:51:27

Since:
0.7.0
Author:
Volker Bergmann

Constructor Summary
ConsumptionStatement(Consumer consumer, boolean start, boolean finish)
           
 
Method Summary
 boolean execute(BeneratorContext context)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConsumptionStatement

public ConsumptionStatement(Consumer consumer,
                            boolean start,
                            boolean finish)
Method Detail

execute

public boolean execute(BeneratorContext context)
Specified by:
execute in interface Statement

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013. All Rights Reserved.