org.databene.benerator.composite
Class SimpleTypeEntityGenerator
java.lang.Object
org.databene.benerator.util.AbstractGenerator<P>
org.databene.benerator.wrapper.GeneratorWrapper<java.lang.Object,Entity>
org.databene.benerator.composite.SimpleTypeEntityGenerator
- All Implemented Interfaces:
- java.io.Closeable, Generator<Entity>, org.databene.commons.Resettable, org.databene.commons.ThreadAware
public class SimpleTypeEntityGenerator
- extends GeneratorWrapper<java.lang.Object,Entity>
Generates Entities that wrap a content of simple type.
Created at 11.05.2008 23:37:42
- Since:
- 0.5.4
- Author:
- Volker Bergmann
|
Method Summary |
Entity |
generate()
Returns an instance of the generic type E. |
java.lang.Class<Entity> |
getGeneratedType()
Declares the type of the objects returned by the generate() method. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SimpleTypeEntityGenerator
public SimpleTypeEntityGenerator(Generator<?> source,
ComplexTypeDescriptor complexType)
getGeneratedType
public java.lang.Class<Entity> getGeneratedType()
- Description copied from interface:
Generator
- Declares the type of the objects returned by the generate() method.
generate
public Entity generate()
- Description copied from interface:
Generator
- Returns an instance of the generic type E.
Copyright © 2011. All Rights Reserved.