01: package com.bm.datagen;
02:
03: /**
04: * This intrface represents a base generator contract.
05: *
06: * @author Daniel Wiese
07: * @param <T> -
08: * the type of the generator (e.g. java.util.Date)
09: * @since 07.10.2005
10: */
11: public interface Generator<T extends Object> {
12:
13: /**
14: * Generates a value for a distinct type T for a specified field - the field
15: * is used as an additional information an can be the same for all calls.
16: *
17: * @return - the generated value
18: */
19: T getValue();
20: }
|