Package nl._42.beanie.generator
Class ReferencedTypeValueGenerator
java.lang.Object
nl._42.beanie.generator.PropertyValueGenerator
nl._42.beanie.generator.ReferencedTypeValueGenerator
- All Implemented Interfaces:
ValueGenerator
Dynamically generates a value of the referenced type.
- Since:
- Jun 8, 2016
- Author:
- Jeroen van Schagen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(PropertyReference reference, Class<?> propertyType) Generate a new value of the specified property.Methods inherited from class nl._42.beanie.generator.PropertyValueGenerator
generate
-
Constructor Details
-
ReferencedTypeValueGenerator
-
-
Method Details
-
generate
Generate a new value of the specified property.- Specified by:
generate
in classPropertyValueGenerator
- Parameters:
reference
- the property referencepropertyType
- the type of property- Returns:
- the generation property value
-