Package org.databene.benerator.primitive

Implements Generators for simple Java types.

See:
          Description

Class Summary
AddingConsumer Consumer implementation which sums up the values of a 'feature' of all objects it consumes and return the sum as 'sum' property of type 'type'.
BooleanGenerator Generates boolean values with a configurable quota of true values.
CharacterGenerator Generates Character values from a character set or a regular expression.
ConcatenatingGenerator Generator implementation that wraps several String generators and concatenates their results to a composite String.
DigitsGenerator Generates Strings composed of numerical digits.
DynamicCountGenerator Behaves similar to the DynamicLongGenerator, but generates maxFallback values, if max is set to null.
DynamicLongGenerator Generator implementation that generates Long numbers, redefining the underlying distribution on each reset() by evaluating the min, max, precision, distribution and unique values.
HibUUIDGenerator Creates UUIDs evaluating IP address, a JVM ID and timestamp.
HiLoGenerator Combines the output of a 'slow' generator (e.g. a remote hiGenerator) with quickly generated numbers in a range: value = hi * maxLo + local.
IncrementalIdGenerator Generates unique long values incrementally.
IncrementGenerator Generates long values by continuously incrementing a base (min) value.
LocalSequenceGenerator Local implementation of an increment Generator that behaves like a database sequence.
LongGenerator Abstract parent class for Generators that generate Long values.
LuhnGenerator Generates numbers that pass a Luhn test.
ScriptGenerator Creates Objects based on a Script.
SeedSentenceGenerator Generates sentences based on a seed sentence set.
SeedWordGenerator Generates words based on a word seed.
TokenCombiner Generator implementation which takes cells from a CSV file as input and combines the cells by taking a cell value from a random row for each column and concatenating them to a string.
UniqueFixedLengthStringGenerator Generates unique strings of fixed length.
UniqueStringGenerator Generates unique strings of variable length.
UnluckyNumberValidator Checks if a String contains an 'unlucky' number like 13 in western cultures or 4 in east-asian cultures.
UUIDGenerator Creates UUIDs using UUID.randomUUID().
ValueMapper Converter implementation that maps input values in a 'Map' style.
 

Annotation Types Summary
UnluckyNumber Annotation to mark a JavaBean field that may not contain an 'unluck number'.
 

Package org.databene.benerator.primitive Description

Implements Generators for simple Java types.



Copyright © 2011. All Rights Reserved.