- entities - Variable in class org.fastnate.data.EntityRegistration
-
Mapping from the type of the entity to the name of the uniqe properties with their values and entities.
- entities - Variable in class org.fastnate.data.files.GenericDataProvider
-
The entities as returned from the importers, to prevent useless allocation of another list.
- ENTITIES_FOLDER - Static variable in class org.fastnate.data.files.GenericDataProvider
-
- ENTITY_PACKAGES_KEY - Static variable in class org.fastnate.data.EntityImporter
-
Settings key for the packages to scan for entity classes on startup (separated by ';', ',', ':' or whitespaces).
- entityClass - Variable in class org.fastnate.data.xml.JaxbImporter
-
The type of the imported entities.
- EntityImporter - Class in org.fastnate.data
-
Main class for importing entities.
- EntityImporter() - Constructor for class org.fastnate.data.EntityImporter
-
Creates a new default instance of an EntityImporter.
- EntityImporter(GeneratorContext) - Constructor for class org.fastnate.data.EntityImporter
-
Creates a new instance of an EntityImporter.
- EntityImporter(Properties) - Constructor for class org.fastnate.data.EntityImporter
-
Creates a new instance of an EntityImporter.
- EntityRegistration - Class in org.fastnate.data
-
Registers entities by their unique properties to offer them to other data providers.
- EntityRegistration(GeneratorContext) - Constructor for class org.fastnate.data.EntityRegistration
-
- entityRegistration - Variable in class org.fastnate.data.files.GenericDataProvider
-
Contains all already discovered entities with their unique property.
- entityRegistration - Variable in class org.fastnate.data.properties.DefaultEntityConverter
-
Used to find the entities.
- entityRegistration - Variable in class org.fastnate.data.properties.UniquePropertyEntityConverter
-
Used to find the entities.
- entityRegistration - Variable in class org.fastnate.data.xml.XmlDataImporter
-
Contains all entities, that have a unique property.
- EntityRegistration.InvokeLaterHandle<E> - Class in org.fastnate.data
-
- EntityRegistration.UniqueKey - Class in org.fastnate.data
-
- EnumConverter - Class in org.fastnate.data.properties
-
Converts a string in an import file to an
Enum
value.
- EnumConverter() - Constructor for class org.fastnate.data.properties.EnumConverter
-
- equals(Object) - Method in class org.fastnate.data.EntityRegistration.UniqueKey
-
- equals(Object) - Method in class org.fastnate.data.InjectDataProviderFactory.Dependency
-
- GENERATION_ABORTED_MESSAGE - Static variable in class org.fastnate.data.EntityImporter
-
The String in the SQL, if the generation was aborted.
- GenericDataProvider - Class in org.fastnate.data.files
-
- GenericDataProvider() - Constructor for class org.fastnate.data.files.GenericDataProvider
-
- GenericXmlDataProvider - Class in org.fastnate.data.xml
-
- GenericXmlDataProvider() - Constructor for class org.fastnate.data.xml.GenericXmlDataProvider
-
- getCollection() - Method in class org.fastnate.data.properties.PluralPropertyContents
-
- getCollection() - Method in class org.fastnate.data.properties.PluralPropertyContents.ListCollection
-
- getCollection() - Method in class org.fastnate.data.properties.PluralPropertyContents.MapCollection
-
- getCollection() - Method in class org.fastnate.data.properties.PluralPropertyContents.SetCollection
-
- getColumn() - Method in exception org.fastnate.data.DataImportException
-
The optional column that had the error (-1 if unknown).
- getConsumer() - Method in class org.fastnate.data.EntityRegistration.InvokeLaterHandle
-
- getContext() - Method in class org.fastnate.data.EntityImporter
-
- getContext() - Method in class org.fastnate.data.files.GenericDataProvider
-
The context of the current generator, with the description of the entity classes and settings.
- getDataFolder() - Method in class org.fastnate.data.EntityImporter
-
- getDataProviders() - Method in class org.fastnate.data.EntityImporter
-
- getEncoding() - Method in class org.fastnate.data.EntityImporter
-
- getEntities() - Method in class org.fastnate.data.AbstractDataProvider
-
The list of entities for which INSERT SQL statements will be generated.
- getEntityRegistration() - Method in class org.fastnate.data.files.GenericDataProvider
-
Contains all already discovered entities with their unique property.
- getFile() - Method in exception org.fastnate.data.DataImportException
-
The optional file name that had the error.
- getFile() - Method in class org.fastnate.data.files.FsDataFile
-
The represented file from the file system.
- getFiles() - Method in interface org.fastnate.data.files.DataFolder
-
Finds all files inside this folder.
- getFiles() - Method in class org.fastnate.data.files.FsDataFolder
-
- getFiles() - Method in class org.fastnate.data.files.VfsDataFolder
-
- getFolder() - Method in interface org.fastnate.data.files.DataFile
-
The folder that contains this file.
- getFolder(String) - Method in interface org.fastnate.data.files.DataFolder
-
Finds a sub folder in this folder.
- getFolder() - Method in class org.fastnate.data.files.FsDataFile
-
- getFolder() - Method in class org.fastnate.data.files.FsDataFolder
-
The directory from the filesystem
- getFolder() - Method in class org.fastnate.data.files.UrlDataFile
-
The parent folder, if any.
- getFolder() - Method in class org.fastnate.data.files.VfsDataFile
-
- getFolders() - Method in interface org.fastnate.data.files.DataFolder
-
Finds the all sub folders inside this folder.
- getFolders() - Method in class org.fastnate.data.files.FsDataFolder
-
- getFolders() - Method in class org.fastnate.data.files.VfsDataFolder
-
- getFormats() - Method in class org.fastnate.data.properties.FormatConverter
-
All formats to test.
- getInstance() - Method in class org.fastnate.data.InjectDataProviderFactory.Injection
-
- getLine() - Method in exception org.fastnate.data.DataImportException
-
The optional line that had the error (-1 if unknown).
- getName() - Method in interface org.fastnate.data.files.DataFile
-
The name of this file.
- getName() - Method in interface org.fastnate.data.files.DataFolder
-
The name of this folder.
- getName() - Method in class org.fastnate.data.files.FsDataFile
-
- getName() - Method in class org.fastnate.data.files.FsDataFolder
-
- getName() - Method in class org.fastnate.data.files.UrlDataFile
-
- getName() - Method in class org.fastnate.data.files.VfsDataFile
-
- getName() - Method in class org.fastnate.data.files.VfsDataFolder
-
The name of this folder, null
if this represents the root folder.
- getOrder() - Method in interface org.fastnate.data.DataProvider
-
An additional helper to sort the output by its precedence.
- getOrder() - Method in class org.fastnate.data.InjectDataProviderFactory.Injection
-
- getParent() - Method in interface org.fastnate.data.files.DataFolder
-
The parent folder of this folder.
- getParent() - Method in class org.fastnate.data.files.FsDataFolder
-
- getParent() - Method in class org.fastnate.data.files.VfsDataFolder
-
The parent directory, null
if this represents the root folder.
- getPath(String) - Method in interface org.fastnate.data.files.DataFolder
-
Splits the given path by '/' and returns the folder according to the single path elements.
- getProperties() - Method in class org.fastnate.data.EntityRegistration.UniqueKey
-
- getSettings() - Method in class org.fastnate.data.EntityImporter
-
- getUrl() - Method in class org.fastnate.data.files.UrlDataFile
-
The represented file as URL.
- getValue() - Method in class org.fastnate.data.DefaultDataProviderFactory.MaxOrder
-
- getValues() - Method in class org.fastnate.data.EntityRegistration.UniqueKey
-
- importAttribute(XMLEventReader, StartElement, E, Map<String, ? extends Property<? super E, ?>>, Attribute) - Method in class org.fastnate.data.xml.XmlDataImporter
-
Imports an attribute from XML.
- importData() - Method in class org.fastnate.data.EntityImporter
-
Imports the data and creates the SQL.
- importData(Connection) - Method in class org.fastnate.data.EntityImporter
-
Asks the data providers to generate their entities and writes the SQL to a database connection at the end.
- importData(EntitySqlGenerator) - Method in class org.fastnate.data.EntityImporter
-
Asks the data providers to generate their entities and writes the SQL afterwards.
- importData(EntitySqlGenerator, Connection) - Method in class org.fastnate.data.EntityImporter
-
- importData(File) - Method in class org.fastnate.data.EntityImporter
-
Imports the data and creates the given SQL file.
- importData(Writer) - Method in class org.fastnate.data.EntityImporter
-
Asks the data providers to generate their entities and writes the SQL to a file at the end.
- importElement(XMLEventReader, StartElement, E, Map<String, ? extends Property<? super E, ?>>, StartElement) - Method in class org.fastnate.data.xml.XmlDataImporter
-
Imports an element from XML for an entity.
- importEmbeddedProperty(XMLEventReader, StartElement, E, EmbeddedProperty<? super E, T>) - Method in class org.fastnate.data.xml.XmlDataImporter
-
Imports a property which contains an embedded object
from XML.
- importEntity(XMLEventReader, StartElement, EntityClass<E>, boolean, Consumer<E>) - Method in class org.fastnate.data.xml.XmlDataImporter
-
Imports an entity and invokes a function as soon the entity is imported.
- importEntityProperty(XMLEventReader, E, EntityProperty<E, T>) - Method in class org.fastnate.data.xml.XmlDataImporter
-
Imports a property which contains an entity
from XML.
- importer - Variable in class org.fastnate.data.InjectDataProviderFactory
-
- importFile(DataFile) - Method in class org.fastnate.data.files.GenericDataProvider
-
Tries to import the given file.
- importFile(DataFile) - Method in class org.fastnate.data.xml.GenericXmlDataProvider
-
- importFile(DataFile) - Method in class org.fastnate.data.xml.JaxbImporter
-
Imports the entity from the given file.
- importFile(DataFile) - Method in class org.fastnate.data.xml.XmlDataImporter
-
Imports all entites found in the given XML file.
- importPluralProperty(XMLEventReader, E, PluralProperty<? super E, ?, T>) - Method in class org.fastnate.data.xml.XmlDataImporter
-
- importPrimitiveProperty(XMLEventReader, E, PrimitiveProperty<E, T>) - Method in class org.fastnate.data.xml.XmlDataImporter
-
Imports the given property from XML.
- importPrimitiveProperty(XMLEventReader, E, PrimitiveProperty<E, T>, T) - Method in class org.fastnate.data.xml.XmlDataImporter
-
Imports the given value for the given property from XML.
- importProperties(XMLEventReader, StartElement, Map<String, ? extends Property<? super E, ?>>, E) - Method in class org.fastnate.data.xml.XmlDataImporter
-
Imports the given set of properties from the XML file for the given entity.
- importProperty(XMLEventReader, StartElement, Property<? super E, T>, E) - Method in class org.fastnate.data.xml.XmlDataImporter
-
Imports one property from the XML file.
- InjectDataProviderFactory - Class in org.fastnate.data
-
- InjectDataProviderFactory() - Constructor for class org.fastnate.data.InjectDataProviderFactory
-
- InjectDataProviderFactory.Dependency - Class in org.fastnate.data
-
- InjectDataProviderFactory.Injection - Class in org.fastnate.data
-
- injectFields(Class<?>, Object, InjectDataProviderFactory.Injection) - Method in class org.fastnate.data.InjectDataProviderFactory
-
- Injection() - Constructor for class org.fastnate.data.InjectDataProviderFactory.Injection
-
- Injection(int, Object) - Constructor for class org.fastnate.data.InjectDataProviderFactory.Injection
-
- injections - Variable in class org.fastnate.data.InjectDataProviderFactory
-
- injectSetters(Class<?>, Set<String>, Object, InjectDataProviderFactory.Injection) - Method in class org.fastnate.data.InjectDataProviderFactory
-
- instance - Variable in class org.fastnate.data.InjectDataProviderFactory.Injection
-
- InvokeLaterHandle() - Constructor for class org.fastnate.data.EntityRegistration.InvokeLaterHandle
-
- invokeOnEntity(Class<E>, Object, Consumer<E>) - Method in class org.fastnate.data.EntityRegistration
-
Invokes an action on a specific entity as soon as this entity was
registered
.
- invokeOnEntity(Class<E>, String, Object, Consumer<E>) - Method in class org.fastnate.data.EntityRegistration
-
Invokes an action on a specific entity as soon as this entity was
registered
.
- invokeOnEntity(Class<E>, String[], Object[], Consumer<E>) - Method in class org.fastnate.data.EntityRegistration
-
Invokes an action on a specific entity as soon as this entity was
registered
.
- invokeOnEntity(E, Consumer<E>) - Method in class org.fastnate.data.EntityRegistration
-
Invokes an action on a specific entity as soon as this entity was
registered
.
- invokeOnEntity(EntityClass<E>, Object, Consumer<E>) - Method in class org.fastnate.data.EntityRegistration
-
Invokes an action on a specific entity as soon as this entity was
registered
.
- invokePostConstruct(Class<?>, Set<String>, DataProvider) - Method in class org.fastnate.data.DefaultDataProviderFactory
-
- invokePostInitialize(Class<?>, Set<String>, Object) - Method in class org.fastnate.data.InjectDataProviderFactory
-
- isDataFile(File) - Method in interface org.fastnate.data.DataChangeDetector
-
Indicates that the given file contains relevant data for the SQL generation.
- isEntityReference(StartElement) - Static method in class org.fastnate.data.xml.XmlDataImporter
-
- isFileFromFolder(Vfs.File) - Method in class org.fastnate.data.files.VfsDataFolder
-
- isImportFile(DataFile) - Method in class org.fastnate.data.files.GenericDataProvider
-
Indicates that the given file is imported.
- isImportFile(DataFile) - Method in class org.fastnate.data.xml.GenericXmlDataProvider
-