org.databene.domain.address
Class AddressGenerator
java.lang.Object
org.databene.benerator.util.AbstractGenerator<E>
org.databene.benerator.wrapper.CompositeGenerator<Address>
org.databene.domain.address.AddressGenerator
- All Implemented Interfaces:
- java.io.Closeable, Generator<Address>, org.databene.commons.Resettable, org.databene.commons.ThreadAware
public class AddressGenerator
- extends CompositeGenerator<Address>
Generates Address objects.
Created: 11.06.2006 08:07:40
- Since:
- 0.1
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AddressGenerator
public AddressGenerator()
AddressGenerator
public AddressGenerator(Country country)
setCountry
public void setCountry(Country country)
setDataset
public void setDataset(java.lang.String dataset)
init
public void init(GeneratorContext context)
- Specified by:
init in interface Generator<Address>- Overrides:
init in class AbstractGenerator<Address>
generate
public Address generate()
throws IllegalGeneratorStateException
- Description copied from interface:
Generator
- Returns an instance of the generic type E.
- Throws:
IllegalGeneratorStateException
toString
public java.lang.String toString()
- Overrides:
toString in class AbstractGenerator<Address>
Copyright © 2011. All Rights Reserved.