01: package org.databene.benerator;
02:
03: /**
04: * Common parent interface for all number generators.<br/>
05: * <br/>
06: * Created: 28.12.2006 07:33:42
07: */
08: public interface NumberGenerator<E> extends Generator<E> {
09:
10: E getMin();
11:
12: void setMin(E min);
13:
14: E getMax();
15:
16: void setMax(E max);
17:
18: E getPrecision();
19:
20: void setPrecision(E precision);
21:
22: E getVariation1();
23:
24: void setVariation1(E variation1);
25:
26: E getVariation2();
27:
28: void setVariation2(E variation2);
29:
30: // it's the base class for specific generators, too
31: // Distribution getDistribution();
32: // void setDistribution(Distribution distribution);
33: }
|