| org.databene.benerator.sample.ConstantGenerator
ConstantGenerator | public class ConstantGenerator extends LightweightGenerator (Code) | | Generator implementation that always returns the same value.
Created: 08.06.2006 20:26:22
|
ConstantGenerator | public ConstantGenerator()(Code) | | |
ConstantGenerator | public ConstantGenerator(E value)(Code) | | Initializes the generator to generate the specified value
|
generate | public E generate()(Code) | | Returns the value of property 'value'
|
getGeneratedType | public Class<E> getGeneratedType()(Code) | | |
getValue | public E getValue()(Code) | | Returns the property 'value'
|
setValue | public void setValue(E value)(Code) | | Sets the property 'value'
|
setValues | public void setValues(E[] value)(Code) | | convenience setter for generic setup
|
|
|