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 Details

    • organisationData

      private OrganisationData organisationData
      Contains the organisations imported from organisations.csv.
    • entityRegistration

      private org.fastnate.data.EntityRegistration entityRegistration
      Contains any entities imported by the generic importers.
    • entities

      private final List<Person> entities
  • Constructor Details

    • PersonData

      public PersonData()
  • Method Details

    • buildEntities

      public void buildEntities() throws IOException
      Creates the example data.
      Throws:
      IOException
    • getEntities

      public List<Person> getEntities()
      Specified by:
      getEntities in class org.fastnate.data.AbstractDataProvider