Package org.fastnate.examples.data
Class PersonData
java.lang.Object
org.fastnate.data.AbstractDataProvider
org.fastnate.examples.data.PersonData
- All Implemented Interfaces:
org.fastnate.data.DataProvider
public class PersonData
extends org.fastnate.data.AbstractDataProvider
Generates some example data for a
Person.- Author:
- Tobias Liefke
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.fastnate.data.EntityRegistrationContains any entities imported by the generic importers.private OrganisationDataContains the organisations imported from organisations.csv. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCreates the example data.Methods inherited from class org.fastnate.data.AbstractDataProvider
writeEntitiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.fastnate.data.DataProvider
getOrder
-
Field Details
-
organisationData
Contains the organisations imported from organisations.csv. -
entityRegistration
private org.fastnate.data.EntityRegistration entityRegistrationContains any entities imported by the generic importers. -
entities
-
-
Constructor Details
-
PersonData
public PersonData()
-
-
Method Details
-
buildEntities
Creates the example data.- Throws:
IOException
-
getEntities
- Specified by:
getEntitiesin classorg.fastnate.data.AbstractDataProvider
-