org.databene.domain.finance
Class BankAccountGenerator

java.lang.Object
  extended by org.databene.benerator.util.AbstractGenerator<E>
      extended by org.databene.benerator.wrapper.CompositeGenerator<BankAccount>
          extended by org.databene.domain.finance.BankAccountGenerator
All Implemented Interfaces:
java.io.Closeable, Generator<BankAccount>, org.databene.commons.Resettable, org.databene.commons.ThreadAware

public class BankAccountGenerator
extends CompositeGenerator<BankAccount>

Generates German BankAccounts with low validity requirements.

Created at 24.06.2008 08:36:32

Since:
0.5.4
Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.databene.benerator.wrapper.CompositeGenerator
components, generatedType
 
Fields inherited from class org.databene.benerator.util.AbstractGenerator
context, state
 
Constructor Summary
BankAccountGenerator()
           
 
Method Summary
 BankAccount generate()
          Returns an instance of the generic type E.
 void init(GeneratorContext context)
           
 
Methods inherited from class org.databene.benerator.wrapper.CompositeGenerator
getGeneratedType, isParallelizable, isThreadSafe, registerComponent, registerComponent, registerComponents
 
Methods inherited from class org.databene.benerator.util.AbstractGenerator
assertInitialized, assertNotInitialized, close, reset, toString, wasInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BankAccountGenerator

public BankAccountGenerator()
Method Detail

init

public void init(GeneratorContext context)
Specified by:
init in interface Generator<BankAccount>
Overrides:
init in class AbstractGenerator<BankAccount>

generate

public BankAccount generate()
Description copied from interface: Generator
Returns an instance of the generic type E.



Copyright © 2011. All Rights Reserved.