org.databene.benerator.nullable
Class NullableGeneratorWrapper<S,P>

java.lang.Object
  extended by org.databene.benerator.nullable.AbstractNullableGenerator<P>
      extended by org.databene.benerator.nullable.NullableGeneratorWrapper<S,P>
All Implemented Interfaces:
java.io.Closeable, NullableGenerator<P>, org.databene.commons.Resettable, org.databene.commons.ThreadAware
Direct Known Subclasses:
ConvertingNullableGeneratorProxy, NullInjectingGeneratorProxy, ValidatingNullableGeneratorProxy

public abstract class NullableGeneratorWrapper<S,P>
extends AbstractNullableGenerator<P>

Proxy for a NullableGenerator.

Created: 18.02.2010 11:21:46

Since:
0.6.0
Author:
Volker Bergmann

Field Summary
protected  NullableGenerator<S> realGenerator
           
 
Fields inherited from class org.databene.benerator.nullable.AbstractNullableGenerator
state
 
Constructor Summary
NullableGeneratorWrapper(NullableGenerator<S> realGenerator)
           
 
Method Summary
 void close()
           
 void init(GeneratorContext context)
           
 boolean isParallelizable()
           
 boolean isThreadSafe()
           
 void reset()
           
 
Methods inherited from class org.databene.benerator.nullable.AbstractNullableGenerator
assertInitialized, assertNotInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.databene.benerator.nullable.NullableGenerator
generate, getGeneratedType
 

Field Detail

realGenerator

protected NullableGenerator<S> realGenerator
Constructor Detail

NullableGeneratorWrapper

public NullableGeneratorWrapper(NullableGenerator<S> realGenerator)
Method Detail

close

public void close()

reset

public void reset()

init

public void init(GeneratorContext context)
          throws InvalidGeneratorSetupException
Specified by:
init in interface NullableGenerator<P>
Overrides:
init in class AbstractNullableGenerator<P>
Throws:
InvalidGeneratorSetupException

isThreadSafe

public boolean isThreadSafe()

isParallelizable

public boolean isParallelizable()


Copyright © 2011. All Rights Reserved.