|
ThinkUI Data Generator 1.0.2 API | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectthinkui.datagen.AbstractAttributeValueGenerator
thinkui.datagen.generators.IntegerGenerator
Implements an AttributeValueGenerator for generating Integer values. The values will be distributed based on the specified probability model and will be bounded between the optional minimum and maximum values of the attribute value range constraints.
| Field Summary |
| Fields inherited from interface thinkui.datagen.AttributeValueGenerator |
ALL_MODES, BERNOULLI_MODE, BINOMIAL_MODE, CONSTANT_MODE, DEFAULT_MODE, EXPONENTIAL_MODE, MILLIS_PER_DAY, MILLIS_PER_HOUR, MILLIS_PER_MINUTE, MILLIS_PER_SECOND, NORMAL_MODE, POISON_MODE, SEQUENTIAL_MODE, UNIFORM_MODE |
| Constructor Summary | |
IntegerGenerator()
IntegerGenerator constructor. |
|
IntegerGenerator(Attribute attribute)
IntegerGenerator constructor. |
|
| Method Summary | |
static IntegerGenerator |
createConstantGenerator(java.lang.Integer constant)
Create an IntegerGenerator that always generate the given constant value. |
java.lang.Object |
generateValue()
Generate a value for the attribute. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IntegerGenerator()
public IntegerGenerator(Attribute attribute)
| Method Detail |
public static final IntegerGenerator createConstantGenerator(java.lang.Integer constant)
public final java.lang.Object generateValue()
throws java.lang.Exception
generateValue in interface AttributeValueGeneratorgenerateValue in class AbstractAttributeValueGeneratorjava.lang.Exception
|
ThinkUI Data Generator 1.0.2 API | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.