com.bm.datagen
Interface Generator<T>

Type Parameters:
T - - the type of the generator (e.g. java.util.Date)
All Known Implementing Classes:
BeanCollectionGenerator, ConstantIntegerGenerator, ConstantLongGenerator, ConstantStringGenerator, EmptyCollection, PrimitiveRandomBooleanGenerator, PrimitiveRandomDateGenerator, PrimitiveRandomDoubleGenerator, PrimitiveRandomFloatGenerator, PrimitiveRandomIntegerGenerator, PrimitiveRandomLongGenerator, PrimitiveRandomShortGenerator, PrimitiveRandomStringGenerator, RandomDateGenerator, RandomIntegerGenerator, RandomLongGenerator, RandomStringGenerator, SingleBeanGenerator

public interface Generator<T>

This interface represents a base generator contract.

Since:
07.10.2005
Author:
Daniel Wiese

Method Summary
 T getValue()
          Generates a value for a distinct type T for a specified field - the field is used as an additional information an can be the same for all calls.
 

Method Detail

getValue

T getValue()
Generates a value for a distinct type T for a specified field - the field is used as an additional information an can be the same for all calls.

Returns:
- the generated value


Copyright © 2008. All Rights Reserved.