public interface RandomField
| Modifier and Type | Method and Description |
|---|---|
default void |
init(Map<String,Object> context)
This method is called before
nextValue() to give the RandomFields
for a POJO the chance to communicate. |
Object |
nextValue()
Returns a random value.
|
static final Random RND
default void init(Map<String,Object> context)
nextValue() to give the RandomFields
for a POJO the chance to communicate. All already generated properties can be read
using context.get(propertyName).context - the contextObject nextValue()
Copyright © 2020. All rights reserved.