net.sf.adatagenerator.api
Interface FieldGenerator<B,F>
- Type Parameters:
B - the bean type for which fields will be generatedC - an extension of the bean type. The generated fields may depend on
fields defined only by the extension, even though extension-only
fields themselves will not be generated.
- All Known Implementing Classes:
- AbstractFieldGenerator, DefaultFrequencyBasedGenerator, FebrlAgeGenerator, FebrlBirthDateGenerator, FebrlFamilyRoleGenerator, FebrlFirstNameGenerator, FebrlGenderGenerator, FebrlGroupIdGenerator, FebrlLastNameGenerator, FebrlPairIdGenerator, FebrlRecordIdGenerator, FebrlRoleGenerator, FebrlTitleGenerator, FieldGeneratorChain, NullFieldGenerator
public interface FieldGenerator<B,F>
An object that generates values of type F for a bean of type
B.
- Author:
- chirag
generateValue
F generateValue(Map<String,Object> dependencyValues)
throws GenerationException
- Throws:
GenerationException
getDependency
FieldDependency<B> getDependency()
Copyright © 2011-2012. All Rights Reserved.