org.databene.benerator.engine
Class CurrentProductGeneration

java.lang.Object
  extended by org.databene.benerator.engine.CurrentProductGeneration
All Implemented Interfaces:
java.io.Closeable, LifeCycleHolder, Statement, org.databene.commons.Resettable

public class CurrentProductGeneration
extends java.lang.Object
implements Statement, LifeCycleHolder

Uses a Generator to create the currently processed object.

Created: 01.09.2011 19:03:38

Since:
0.7.0
Author:
Volker Bergmann

Constructor Summary
CurrentProductGeneration(java.lang.String instanceName, Generator<?> source)
           
 
Method Summary
 void close()
           
 boolean execute(BeneratorContext context)
           
 void init(BeneratorContext context)
           
 void reset()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CurrentProductGeneration

public CurrentProductGeneration(java.lang.String instanceName,
                                Generator<?> source)
Method Detail

init

public void init(BeneratorContext context)
Specified by:
init in interface LifeCycleHolder

execute

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

reset

public void reset()
Specified by:
reset in interface org.databene.commons.Resettable

close

public void close()
Specified by:
close in interface java.io.Closeable

toString

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


Copyright © 2013. All Rights Reserved.