Package de.cuioss.test.generator.domain
Class PersonGenerator
- java.lang.Object
-
- de.cuioss.test.generator.domain.PersonGenerator
-
- All Implemented Interfaces:
TypedGenerator<Person>
public class PersonGenerator extends Object implements TypedGenerator<Person>
Creates arbitraryPersonobjects- Author:
- Oliver Wolff
-
-
Constructor Summary
Constructors Constructor Description PersonGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Personnext()Generates the next instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.cuioss.test.generator.TypedGenerator
getType
-
-
-
-
Constructor Detail
-
PersonGenerator
public PersonGenerator()
-
-
Method Detail
-
next
public Person next()
Description copied from interface:TypedGeneratorGenerates the next instance.- Specified by:
nextin interfaceTypedGenerator<Person>- Returns:
- a newly created instance
-
-