org.databene.benerator.composite
Class MultiComponentBuilder<E>
java.lang.Object
org.databene.benerator.composite.MultiComponentBuilder<E>
- All Implemented Interfaces:
- ComponentBuilder<E>, org.databene.commons.ThreadAware
- Direct Known Subclasses:
- AlternativeComponentBuilder
public abstract class MultiComponentBuilder<E>
- extends java.lang.Object
- implements ComponentBuilder<E>
Abstract parent class for all builders that relate to a group of components.
Created at 09.05.2008 13:38:33
- Since:
- 0.5.4
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.databene.commons.ThreadAware |
isParallelizable, isThreadSafe |
builders
protected ComponentBuilder<E>[] builders
MultiComponentBuilder
public MultiComponentBuilder(ComponentBuilder<E>[] builders)
getGeneratedType
public java.lang.Class<?> getGeneratedType()
- Specified by:
getGeneratedType in interface ComponentBuilder<E>
- Returns:
- the type of the generated components
init
public void init(GeneratorContext context)
- Description copied from interface:
ComponentBuilder
- Initializes the instance
- Specified by:
init in interface ComponentBuilder<E>
reset
public void reset()
- Description copied from interface:
ComponentBuilder
- resets the builder
- Specified by:
reset in interface ComponentBuilder<E>
close
public void close()
- Description copied from interface:
ComponentBuilder
- closes the builder
- Specified by:
close in interface ComponentBuilder<E>
buildRandomComponentFor
public boolean buildRandomComponentFor(E target)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011. All Rights Reserved.