| java.lang.Object com.bm.creators.EntityInstanceCreator
EntityInstanceCreator | public class EntityInstanceCreator (Code) | | This class creates instances of different classes with random data, like
entity beans, inner classes etc..
author: Daniel Wiese< Parameters: T - > -the type of the class to create since: 07.10.2005 |
Method Summary | |
public void | cleanup() This method should be called every time before an entity creation task >
this method tells every generator to call his clenup method (annotation). | public T | createInstance() Creates a instance of the class (filled with random data). | public void | prepare() This method should be called every time before an entity creation task >
this method tells every generator to call his prepare method(annotation). |
EntityInstanceCreator | public EntityInstanceCreator(Introspector<T> intro, Class<T> toCreate, List<Generator> generators)(Code) | | Default constructor.
Parameters: intro - -different types of introspectors Parameters: toCreate - -the class to create Parameters: generators - -the generator list |
cleanup | public void cleanup()(Code) | | This method should be called every time before an entity creation task >
this method tells every generator to call his clenup method (annotation).
|
createInstance | public T createInstance()(Code) | | Creates a instance of the class (filled with random data).
-a filled instance of the class (@see DataGenerator) |
prepare | public void prepare()(Code) | | This method should be called every time before an entity creation task >
this method tells every generator to call his prepare method(annotation).
|
|
|