public class PersonRandomizer extends DataRandomizer
Person
with random data.
Copyright (C) 2015 JIOWA Business Solutions GmbH, Bettinastr. 30 , D-60325 Frankfurt am Main, Germany
Homepage: www.jiowa.de
All rights reserved.
Download: www.jiowa.de/download.html
License: www.jiowa.de/license.html
Modifier and Type | Field and Description |
---|---|
protected AddressRandomizer |
addressRandom |
protected BirthdateRandomizer |
birthdateRandom |
protected FirstnameRandomizer |
firstnameRandom |
protected static PersonRandomizer |
INSTANCE |
protected LastnameRandomizer |
lastnameRandom |
COMMENT_SYMBOL
Modifier | Constructor and Description |
---|---|
protected |
PersonRandomizer() |
Modifier and Type | Method and Description |
---|---|
static PersonRandomizer |
getInstance() |
Person |
getRandom(int minAge,
int maxAge)
|
createResourceReader, readResourceAsListOfLines, readResourceAsString
protected static final PersonRandomizer INSTANCE
protected FirstnameRandomizer firstnameRandom
protected LastnameRandomizer lastnameRandom
protected BirthdateRandomizer birthdateRandom
protected AddressRandomizer addressRandom
public Person getRandom(int minAge, int maxAge)
minAge
- minimum age in yearsmaxAge
- miximum age in yearspublic static PersonRandomizer getInstance()