|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bm.datagen.utils.BaseUniqueValueGenerator<T>
T - public abstract class BaseUniqueValueGenerator<T>
Hleper class which helps to generate unique values.
| Constructor Summary | |
|---|---|
BaseUniqueValueGenerator()
|
|
| Method Summary | |
|---|---|
protected abstract T |
generateCadidate()
This method genrates a cadidate - thiscandidate will be automatcally checked for uniqueness |
protected T |
getUniqueValueForEachPkField(Property forProperty,
Introspector<? extends java.lang.Object> introspector)
Generates a unique value for each field (if the field is a PK field) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseUniqueValueGenerator()
| Method Detail |
|---|
protected T getUniqueValueForEachPkField(Property forProperty,
Introspector<? extends java.lang.Object> introspector)
forProperty - -the fieldintrospector - -
the introspector
protected abstract T generateCadidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||