Package org.fastnate.examples.data
Class OrganisationData
java.lang.Object
org.fastnate.data.AbstractDataProvider
org.fastnate.examples.data.OrganisationData
- All Implemented Interfaces:
org.fastnate.data.DataProvider
public class OrganisationData
extends org.fastnate.data.AbstractDataProvider
Example DataProvider for importing the CSV file src/main/data/organisations.csv.
- Author:
- Tobias Liefke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.fastnate.generator.context.GeneratorContextorg.fastnate.data.files.DataFolderprotected Collection<?> org.fastnate.data.EntityRegistrationMethods 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
-
Constructor Details
-
OrganisationData
public OrganisationData()
-
-
Method Details
-
buildEntities
- Throws:
IOException
-
getEntities
- Specified by:
getEntitiesin classorg.fastnate.data.AbstractDataProvider
-
getDataFolder
public org.fastnate.data.files.DataFolder getDataFolder() -
getContext
public org.fastnate.generator.context.GeneratorContext getContext() -
getEntityRegistration
public org.fastnate.data.EntityRegistration getEntityRegistration() -
getOrganisations
-