org.databene.benerator.composite
Class AbstractComponentBuilder<E>
java.lang.Object
org.databene.benerator.composite.AbstractComponentBuilder<E>
- All Implemented Interfaces:
- ComponentBuilder<E>, org.databene.commons.ThreadAware
- Direct Known Subclasses:
- DefaultComponentBuilder
public abstract class AbstractComponentBuilder<E>
- extends java.lang.Object
- implements ComponentBuilder<E>
Parent class for facilitating individual ComponentBuilder implementation.
Created: 30.04.2010 09:34:42
- Since:
- 0.6.1
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
source
protected NullableGenerator<?> source
AbstractComponentBuilder
public AbstractComponentBuilder(Generator<?> source,
double nullQuota)
AbstractComponentBuilder
public AbstractComponentBuilder(NullableGenerator<?> source)
getSource
public NullableGenerator<?> getSource()
getGeneratedType
public java.lang.Class<?> getGeneratedType()
- Specified by:
getGeneratedType in interface ComponentBuilder<E>
- Returns:
- the type of the generated components
close
public void close()
- Description copied from interface:
ComponentBuilder
- closes the builder
- Specified by:
close in interface ComponentBuilder<E>
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>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
isParallelizable
public boolean isParallelizable()
- Specified by:
isParallelizable in interface org.databene.commons.ThreadAware
isThreadSafe
public boolean isThreadSafe()
- Specified by:
isThreadSafe in interface org.databene.commons.ThreadAware
Copyright © 2011. All Rights Reserved.