Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X 

A

AbstractDataProvider - Class in org.fastnate.data
Implementations of this class will automatically instantiated by the EntityImporter.
AbstractDataProvider() - Constructor for class org.fastnate.data.AbstractDataProvider
 
AbstractDataProviderFactory - Class in org.fastnate.data
Base classes for implementations of DataProviderFactory.
AbstractDataProviderFactory() - Constructor for class org.fastnate.data.AbstractDataProviderFactory
 
add(DataProvider) - Method in class org.fastnate.data.DefaultDataProviderFactory.MaxOrder
Adds the order of the given provider to this order agglomeration.
addConverter(Class<T>, PropertyConverter<T>) - Method in class org.fastnate.data.properties.PropertyDataImporter
Registers the converter to use for a specific type.
addDataProvider(DataProvider) - Method in class org.fastnate.data.EntityImporter
Adds a provider to the list of available providers.
addDataProvider(DataProvider, int) - Method in class org.fastnate.data.EntityImporter
Adds a provider to the list of available providers.
addElement(E) - Method in class org.fastnate.data.properties.PluralPropertyContents
Adds an element to the end of the collection.
addElement(E) - Method in class org.fastnate.data.properties.PluralPropertyContents.ListCollection
 
addEntity(Map<EntityRegistration.UniqueKey, Object>, E, String[], Object[]) - Method in class org.fastnate.data.EntityRegistration
 
addProvider(EntityImporter, Class<C>) - Method in class org.fastnate.data.DefaultDataProviderFactory
Tries to instantiate the provider from the given class.
addProvider(EntityImporter, Constructor<C>) - Method in class org.fastnate.data.DefaultDataProviderFactory
Tries to create a provider using the given constructor and adds it to list of providers in the EntityImporter.
apply(String) - Method in class org.fastnate.data.properties.BooleanConverter
 
apply(String) - Method in class org.fastnate.data.properties.CharacterConverter
 
apply(String) - Method in class org.fastnate.data.properties.MapConverter
 

B

BOOLEAN_PATTERN - Static variable in class org.fastnate.data.properties.BooleanConverter
 
BooleanConverter - Class in org.fastnate.data.properties
Converts a string in an import file to a Boolean.
BooleanConverter() - Constructor for class org.fastnate.data.properties.BooleanConverter
 
buildEntities() - Method in interface org.fastnate.data.DataProvider
Builds the entities that are accessed later using DataProvider.writeEntities(EntitySqlGenerator).
buildEntities() - Method in class org.fastnate.data.EntityRegistration
 
buildEntities() - Method in class org.fastnate.data.files.GenericDataProvider
 
buildInjection(Class<C>) - Method in class org.fastnate.data.InjectDataProviderFactory
 
buildReflections(EntityImporter) - Method in class org.fastnate.data.AbstractDataProviderFactory
Builds the reflections object for scanning for data providers.

C

CharacterConverter - Class in org.fastnate.data.properties
Converts a string from an import file to a Character.
CharacterConverter() - Constructor for class org.fastnate.data.properties.CharacterConverter
 
check(boolean, XMLEvent, String, Object...) - Static method in class org.fastnate.data.xml.XmlDataImporter
 
checkEndElement(XMLEvent, String) - Static method in class org.fastnate.data.xml.XmlDataImporter
 
checkExists(T, XMLEvent, String, Object...) - Static method in class org.fastnate.data.xml.XmlDataImporter
 
collection - Variable in class org.fastnate.data.properties.PluralPropertyContents.ListCollection
 
collection - Variable in class org.fastnate.data.properties.PluralPropertyContents.MapCollection
 
collection - Variable in class org.fastnate.data.properties.PluralPropertyContents.SetCollection
 
column - Variable in exception org.fastnate.data.DataImportException
The optional column that had the error (-1 if unknown).
consumer - Variable in class org.fastnate.data.EntityRegistration.InvokeLaterHandle
 
context - Variable in class org.fastnate.data.EntityImporter
 
context - Variable in class org.fastnate.data.EntityRegistration
The generation context contains the description of the entity classes, especially unique properties.
context - Variable in class org.fastnate.data.files.GenericDataProvider
The context of the current generator, with the description of the entity classes and settings.
context - Variable in class org.fastnate.data.xml.XmlDataImporter
The generation context.
convert(Class<? extends Boolean>, String) - Method in class org.fastnate.data.properties.BooleanConverter
 
convert(Class<? extends Character>, String) - Method in class org.fastnate.data.properties.CharacterConverter
 
convert(Class<? extends D>, String) - Method in class org.fastnate.data.properties.DateConverter
 
convert(Class<? extends Object>, String) - Method in class org.fastnate.data.properties.DefaultEntityConverter
 
convert(Class<? extends Enum<?>>, String) - Method in class org.fastnate.data.properties.EnumConverter
 
convert(Class<? extends T>, String) - Method in class org.fastnate.data.properties.FormatConverter
 
convert(Class<? extends T>, String) - Method in class org.fastnate.data.properties.MapConverter
 
convert(Class<? extends Number>, String) - Method in class org.fastnate.data.properties.NumberConverter
 
convert(Class<? extends T>, String) - Method in interface org.fastnate.data.properties.PropertyConverter
Converts a value from import file to Java.
convert(Class<? extends Object>, String) - Method in class org.fastnate.data.properties.UniquePropertyEntityConverter
 
convert(XMLEvent, String, String, Class<T>) - Method in class org.fastnate.data.xml.XmlDataImporter
 
converters - Variable in class org.fastnate.data.properties.PropertyDataImporter
The converters to use as default for specific property classes.
create(Map<N, V>, Class<N>) - Static method in class org.fastnate.data.properties.MapConverter
Creates a new instance of a MapConverter that uses numbers to lookup the values.
create(Map<String, V>) - Static method in class org.fastnate.data.properties.MapConverter
Creates a new instance of a MapConverter that uses strings to lookup the values.
create(E, PluralProperty<E, C, V>) - Static method in class org.fastnate.data.properties.PluralPropertyContents
Creates a wrapper around the contents of the given property in the given entity.
create() - Method in class org.fastnate.data.properties.PluralPropertyContents
 
create() - Method in class org.fastnate.data.properties.PluralPropertyContents.ListCollection
 
create() - Method in class org.fastnate.data.properties.PluralPropertyContents.MapCollection
 
create() - Method in class org.fastnate.data.properties.PluralPropertyContents.SetCollection
 
createDataProviders(EntityImporter) - Method in interface org.fastnate.data.DataProviderFactory
Discovers, builds and registers all DataProviders that are available for the current environment.
createDataProviders(EntityImporter) - Method in class org.fastnate.data.DefaultDataProviderFactory
 
createDataProviders(EntityImporter) - Method in class org.fastnate.data.InjectDataProviderFactory
 

D

DATA_FOLDER_KEY - Static variable in class org.fastnate.data.EntityImporter
Settings key for the folder that contains any data to import.
DatabaseStartupImport - Class in org.fastnate.data
Imports data on startup of Hibernate, if schema auto tooling is set either to SchemaAutoTooling.CREATE or SchemaAutoTooling.CREATE_DROP.
DatabaseStartupImport() - Constructor for class org.fastnate.data.DatabaseStartupImport
 
DataChangeDetector - Interface in org.fastnate.data
Used to check if the generation of the SQL file has to start, because a changed file contains relevant data.
DataFile - Interface in org.fastnate.data.files
Represents one file from the class path or the file system which is imported with a DataProvider.
dataFolder - Variable in class org.fastnate.data.EntityImporter
 
DataFolder - Interface in org.fastnate.data.files
Represents a folder from the file system or the classpath that contains data to import with a DataProvider.
dataFolder - Variable in class org.fastnate.data.files.GenericDataProvider
The data folder defined for the entity importer.
DataImportException - Exception in org.fastnate.data
A runtime exception that can be used by all data providers to indicate the exact position of an error during import of data.
DataImportException(String) - Constructor for exception org.fastnate.data.DataImportException
Creates a new exception.
DataImportException(String, String) - Constructor for exception org.fastnate.data.DataImportException
Creates a new exception.
DataImportException(String, String, int) - Constructor for exception org.fastnate.data.DataImportException
Creates a new exception.
DataImportException(String, String, int, int) - Constructor for exception org.fastnate.data.DataImportException
Creates a new exception.
DataImportException(String, String, int, int, Throwable) - Constructor for exception org.fastnate.data.DataImportException
Creates a new exception.
DataImportException(String, String, int, Throwable) - Constructor for exception org.fastnate.data.DataImportException
Creates a new exception.
DataImportException(String, String, Throwable) - Constructor for exception org.fastnate.data.DataImportException
Creates a new exception.
DataImportException(String, Throwable) - Constructor for exception org.fastnate.data.DataImportException
Creates a new exception.
DataProvider - Interface in org.fastnate.data
Implementations of this class will automatically instantiated by the EntityImporter.
DataProviderFactory - Interface in org.fastnate.data
Finds and builds all implementations of DataProvider for the current environment.
dataProviders - Variable in class org.fastnate.data.EntityImporter
 
DateConverter<D extends Date> - Class in org.fastnate.data.properties
Converts a string in an import file file to a date.
DateConverter() - Constructor for class org.fastnate.data.properties.DateConverter
Creates a new converter with the default formats for the default timezone.
DateConverter(TimeZone) - Constructor for class org.fastnate.data.properties.DateConverter
Creates a new instance for a specific timezone.
DEFAULT_CONVERTERS - Static variable in class org.fastnate.data.properties.PropertyDataImporter
The default list of known converters for each class.
DEFAULT_VALUE - Static variable in class org.fastnate.data.properties.FormatConverter
The value to use if the column content is empty.
DefaultDataProviderFactory - Class in org.fastnate.data
Finds and builds all implementations of DataProvider from the class path.
DefaultDataProviderFactory() - Constructor for class org.fastnate.data.DefaultDataProviderFactory
 
DefaultDataProviderFactory.MaxOrder - Class in org.fastnate.data
 
DefaultEntityConverter - Class in org.fastnate.data.properties
Uses the EntityRegistration to resolve entities by their unique property.
DefaultEntityConverter(EntityRegistration) - Constructor for class org.fastnate.data.properties.DefaultEntityConverter
 
Dependency(Annotation, Class<?>) - Constructor for class org.fastnate.data.InjectDataProviderFactory.Dependency
 
dirs - Variable in class org.fastnate.data.files.VfsDataFolder
All root directories.

E

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
The folder in the GenericDataProvider.dataFolder that contains the entity files.
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
 

F

FACTORY_KEY - Static variable in class org.fastnate.data.EntityImporter
Settings key for the fully qualified name of a class that scans and instantiates the DataProvider.
file - Variable in exception org.fastnate.data.DataImportException
The optional file name that had the error.
file - Variable in class org.fastnate.data.files.FsDataFile
The represented file from the file system.
file - Variable in class org.fastnate.data.files.VfsDataFile
The file that is wrapped by this DataFile.
fillInjection(InjectDataProviderFactory.Injection, Constructor<C>) - Method in class org.fastnate.data.InjectDataProviderFactory
 
fillParameters(Executable, InjectDataProviderFactory.Injection) - Method in class org.fastnate.data.InjectDataProviderFactory
 
findConverter(Class<T>) - Method in class org.fastnate.data.properties.PropertyDataImporter
Finds the converter for the given type.
findDataFolder(GeneratorContext) - Static method in class org.fastnate.data.EntityImporter
 
findDataProvider(Class<P>) - Method in class org.fastnate.data.EntityImporter
Resolves the first provider that is an instance of the given class.
findDependency(EntityImporter, Class<E>, DefaultDataProviderFactory.MaxOrder) - Method in class org.fastnate.data.DefaultDataProviderFactory
 
findDependency(Member, AnnotatedType, InjectDataProviderFactory.Injection) - Method in class org.fastnate.data.InjectDataProviderFactory
 
findEntity(Class<E>, Object) - Method in class org.fastnate.data.EntityRegistration
Find an entity, that was registered with EntityRegistration.registerEntity(Object) before.
findEntity(Class<E>, String, Object) - Method in class org.fastnate.data.EntityRegistration
Find an entity, that was registered with EntityRegistration.registerEntity(Object) before.
findEntity(Class<E>, String[], Object[]) - Method in class org.fastnate.data.EntityRegistration
Find an entity, that was registered with EntityRegistration.registerEntity(Object) before.
findEntityClass(DataFile) - Method in class org.fastnate.data.files.GenericDataProvider
Tries to guess the class of the imported entities from the file or directory name.
findFile(String) - Method in interface org.fastnate.data.files.DataFolder
Finds a file in this folder.
findFile(String) - Method in class org.fastnate.data.files.FsDataFolder
 
findFile(String) - Method in class org.fastnate.data.files.VfsDataFolder
 
findFolder(String) - Method in interface org.fastnate.data.files.DataFolder
Finds a sub folder in this folder.
findFolder(String) - Method in class org.fastnate.data.files.FsDataFolder
 
findFolder(String) - Method in class org.fastnate.data.files.VfsDataFolder
 
findImporterDependency(EntityImporter, Class<E>) - Method in class org.fastnate.data.AbstractDataProviderFactory
Models dependencies from the importer.
findProviderClasses(Reflections) - Method in class org.fastnate.data.AbstractDataProviderFactory
Finds all provider classes from the class path, that implement DataProvider.
findQualifier(AnnotatedElement) - Static method in class org.fastnate.data.InjectDataProviderFactory
 
findResourceFields(EntityImporter, Class<?>, List<Consumer<DataProvider>>, DefaultDataProviderFactory.MaxOrder) - Method in class org.fastnate.data.DefaultDataProviderFactory
 
findResourceSetters(EntityImporter, Class<?>, List<Consumer<DataProvider>>, Set<String>, DefaultDataProviderFactory.MaxOrder) - Method in class org.fastnate.data.DefaultDataProviderFactory
 
folder - Variable in class org.fastnate.data.files.FsDataFolder
The directory from the filesystem
folder - Variable in class org.fastnate.data.files.UrlDataFile
The parent folder, if any.
forAllFiles(BiConsumer<DataFolder, DataFile>) - Method in interface org.fastnate.data.files.DataFolder
Finds all files in this folder and in all sub folders and handles them with the given consumer.
forAllFiles(Consumer<DataFile>) - Method in interface org.fastnate.data.files.DataFolder
Finds all files in this folder and in all sub folders and handles them with the given consumer.
FormatConverter<T> - Class in org.fastnate.data.properties
Converts a string from an import file to a Java object using a list of Formats.
FormatConverter(Format...) - Constructor for class org.fastnate.data.properties.FormatConverter
Creates a new instance of a FormatConverter.
formats - Variable in class org.fastnate.data.properties.FormatConverter
All formats to test.
FsDataFile - Class in org.fastnate.data.files
Represents a data file from the file system.
FsDataFile(File) - Constructor for class org.fastnate.data.files.FsDataFile
 
FsDataFolder - Class in org.fastnate.data.files
Represents a folder from the file system.
FsDataFolder(File) - Constructor for class org.fastnate.data.files.FsDataFolder
 

G

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
Imports all entities from all files in $dataFolder/entities that match a specific pattern.
GenericDataProvider() - Constructor for class org.fastnate.data.files.GenericDataProvider
 
GenericXmlDataProvider - Class in org.fastnate.data.xml
Imports all entities from all XML files in $dataFolder/entities.
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
The settings of the context.
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
 

H

hashCode - Variable in class org.fastnate.data.EntityRegistration.UniqueKey
 
hashCode() - Method in class org.fastnate.data.EntityRegistration.UniqueKey
 
hashCode() - Method in class org.fastnate.data.InjectDataProviderFactory.Dependency
 
HASHCODE_MULTIPLIER - Static variable in class org.fastnate.data.EntityRegistration.UniqueKey
 

I

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
Imports a Collection or Map property from XML.
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
Find and initializes DataProviders on the classpath.
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
 

J

JaxbImporter<T> - Class in org.fastnate.data.xml
Imports an entity from an XML file using JAXB.
JaxbImporter(Class<T>) - Constructor for class org.fastnate.data.xml.JaxbImporter
 

K

KEY_ATTRIBUTE - Static variable in class org.fastnate.data.xml.XmlDataImporter
Name of the attribute that contains the key for a map entry (the value is always the content of the element).
keyConverter - Variable in class org.fastnate.data.properties.MapConverter
Converts the string in the import file to the key in the mapping.

L

line - Variable in exception org.fastnate.data.DataImportException
The optional line that had the error (-1 if unknown).
ListCollection() - Constructor for class org.fastnate.data.properties.PluralPropertyContents.ListCollection
 
log - Static variable in class org.fastnate.data.EntityImporter
 
log - Static variable in class org.fastnate.data.files.GenericDataProvider
 

M

main(String[]) - Static method in class org.fastnate.data.EntityImporter
Starts the entity importer from the command line.
map - Variable in class org.fastnate.data.properties.MapConverter
The mapping from the keys in the import file to the target value.
MapCollection() - Constructor for class org.fastnate.data.properties.PluralPropertyContents.MapCollection
 
MapConverter<K,T> - Class in org.fastnate.data.properties
Converts a string from an import file to an object by using an explicit mapping.
MapConverter(Map<K, T>, Function<String, K>) - Constructor for class org.fastnate.data.properties.MapConverter
 
MaxOrder() - Constructor for class org.fastnate.data.DefaultDataProviderFactory.MaxOrder
 

N

name - Variable in class org.fastnate.data.files.VfsDataFolder
The name of this folder, null if this represents the root folder.
nextEvent(XMLEventReader) - Static method in class org.fastnate.data.xml.XmlDataImporter
 
nextEventIsStartElement(XMLEventReader) - Static method in class org.fastnate.data.xml.XmlDataImporter
 
NOOP_CONSUMER - Static variable in class org.fastnate.data.xml.XmlDataImporter
 
NumberConverter - Class in org.fastnate.data.properties
Converts a string from an import file to a number.
NumberConverter() - Constructor for class org.fastnate.data.properties.NumberConverter
 

O

of(Function<String, T>) - Static method in interface org.fastnate.data.properties.PropertyConverter
Converts a function to a PropertyConverter.
open() - Method in interface org.fastnate.data.files.DataFile
Opens this file for input.
open() - Method in class org.fastnate.data.files.FsDataFile
 
open() - Method in class org.fastnate.data.files.UrlDataFile
 
open() - Method in class org.fastnate.data.files.VfsDataFile
 
order - Variable in class org.fastnate.data.InjectDataProviderFactory.Injection
 
org.fastnate.data - package org.fastnate.data
 
org.fastnate.data.files - package org.fastnate.data.files
 
org.fastnate.data.properties - package org.fastnate.data.properties
 
org.fastnate.data.xml - package org.fastnate.data.xml
 
OUTPUT_ENCODING_KEY - Static variable in class org.fastnate.data.EntityImporter
Settings key for the encoding of the generated SQL file.
OUTPUT_FILE_KEY - Static variable in class org.fastnate.data.EntityImporter
Settings key for the generated SQL file.

P

PACKAGES_KEY - Static variable in class org.fastnate.data.EntityImporter
Settings key for the packages to scan (separated by ';', ',', ':' or whitespaces).
parent - Variable in class org.fastnate.data.files.VfsDataFile
The parent directory.
parent - Variable in class org.fastnate.data.files.VfsDataFolder
The parent directory, null if this represents the root folder.
PluralPropertyContents<E> - Class in org.fastnate.data.properties
Wraps the contents of a PluralProperty to use a common interface during import, independent of the actual subtype.
PluralPropertyContents() - Constructor for class org.fastnate.data.properties.PluralPropertyContents
 
PluralPropertyContents.ListCollection<E> - Class in org.fastnate.data.properties
 
PluralPropertyContents.MapCollection<E> - Class in org.fastnate.data.properties
 
PluralPropertyContents.SetCollection<E,V> - Class in org.fastnate.data.properties
 
POSTFIX_KEY - Static variable in class org.fastnate.data.EntityImporter
Settings key for a part to write into the output file after the generated content.
PREFIX_KEY - Static variable in class org.fastnate.data.EntityImporter
Settings key for a part to write into the output file before the generated content.
properties - Variable in class org.fastnate.data.EntityRegistration.UniqueKey
 
PropertyConverter<T> - Interface in org.fastnate.data.properties
Used to convert a string from an import file to a Java object.
PropertyDataImporter - Class in org.fastnate.data.properties
Base class for all importers that work with PropertyConverters.
PropertyDataImporter() - Constructor for class org.fastnate.data.properties.PropertyDataImporter
 

Q

qualifier - Variable in class org.fastnate.data.InjectDataProviderFactory.Dependency
 

R

readCharacters(XMLEventReader, String) - Static method in class org.fastnate.data.xml.XmlDataImporter
 
readImportFile(DataFile) - Method in class org.fastnate.data.files.GenericDataProvider
 
REFERENCE_ATTRIBUTE - Static variable in class org.fastnate.data.xml.XmlDataImporter
Name of the attribute that indicates that an entity property is only the reference to an existing entity.
reflections - Variable in class org.fastnate.data.InjectDataProviderFactory
Contains the class path scanner with the data provider packages.
registerEntity(E) - Method in class org.fastnate.data.EntityRegistration
Registers the entity under all of its unique properties.
registerEntity(E, String[], Object[]) - Method in class org.fastnate.data.EntityRegistration
Registers the entity under the given unique combination of properties.
relativePath - Variable in class org.fastnate.data.files.VfsDataFolder
The full path to this folder from VfsDataFolder.dirs, null if this represents the root folder.

S

serialVersionUID - Static variable in class org.fastnate.data.DatabaseStartupImport
 
serialVersionUID - Static variable in exception org.fastnate.data.DataImportException
 
sessionFactoryClosed(SessionFactory) - Method in class org.fastnate.data.DatabaseStartupImport
 
sessionFactoryCreated(SessionFactory) - Method in class org.fastnate.data.DatabaseStartupImport
 
setCollection(Object) - Method in class org.fastnate.data.properties.PluralPropertyContents.ListCollection
 
setCollection(Object) - Method in class org.fastnate.data.properties.PluralPropertyContents.MapCollection
 
setCollection(Object) - Method in class org.fastnate.data.properties.PluralPropertyContents
 
SetCollection() - Constructor for class org.fastnate.data.properties.PluralPropertyContents.SetCollection
 
setCollection(Object) - Method in class org.fastnate.data.properties.PluralPropertyContents.SetCollection
 
setElement(int, Object, E) - Method in class org.fastnate.data.properties.PluralPropertyContents.ListCollection
 
setElement(int, Object, E) - Method in class org.fastnate.data.properties.PluralPropertyContents.MapCollection
 
setElement(int, Object, V) - Method in class org.fastnate.data.properties.PluralPropertyContents.SetCollection
 
setElement(int, Object, E) - Method in class org.fastnate.data.properties.PluralPropertyContents
Sets an element in the collection resp. map.
setInstance(Object) - Method in class org.fastnate.data.InjectDataProviderFactory.Injection
 
setOrder(int) - Method in class org.fastnate.data.InjectDataProviderFactory.Injection
 
setValue(int) - Method in class org.fastnate.data.DefaultDataProviderFactory.MaxOrder
 
skipWhitespaces(XMLEventReader) - Static method in class org.fastnate.data.xml.XmlDataImporter
 
STATEMENTS_WRITER_KEY - Static variable in class org.fastnate.data.EntityImporter
Settings key that indicates the type of the used StatementsWriter.

T

toString() - Method in exception org.fastnate.data.DataImportException
 
toString() - Method in class org.fastnate.data.EntityRegistration.UniqueKey
 
toString() - Method in class org.fastnate.data.InjectDataProviderFactory.Dependency
 
toString() - Method in class org.fastnate.data.InjectDataProviderFactory.Injection
 
type - Variable in class org.fastnate.data.InjectDataProviderFactory.Dependency
 

U

UniqueKey(String[], Object[]) - Constructor for class org.fastnate.data.EntityRegistration.UniqueKey
Creates a new instance of EntityRegistration.UniqueKey.
uniqueProperty - Variable in class org.fastnate.data.properties.UniquePropertyEntityConverter
The name of the unique properties.
UniquePropertyEntityConverter - Class in org.fastnate.data.properties
Uses the EntityRegistration to resolve entities by a specific unique property.
UniquePropertyEntityConverter(EntityRegistration, String) - Constructor for class org.fastnate.data.properties.UniquePropertyEntityConverter
 
url - Variable in class org.fastnate.data.files.UrlDataFile
The represented file as URL.
UrlDataFile - Class in org.fastnate.data.files
Represents a data file from an URL.
UrlDataFile(URL) - Constructor for class org.fastnate.data.files.UrlDataFile
Creates a new file from an URL without information about the parent folder.
UrlDataFile(DataFolder, URL) - Constructor for class org.fastnate.data.files.UrlDataFile
 

V

value - Variable in class org.fastnate.data.DefaultDataProviderFactory.MaxOrder
 
values - Variable in class org.fastnate.data.EntityRegistration.UniqueKey
 
VfsDataFile - Class in org.fastnate.data.files
Represents a file from the class path.
VfsDataFile(VfsDataFolder, Vfs.File) - Constructor for class org.fastnate.data.files.VfsDataFile
 
VfsDataFolder - Class in org.fastnate.data.files
Represents a folder from the class path.
VfsDataFolder(List<Vfs.Dir>) - Constructor for class org.fastnate.data.files.VfsDataFolder
Creates a new root folder.
VfsDataFolder(List<Vfs.Dir>, VfsDataFolder, String, String) - Constructor for class org.fastnate.data.files.VfsDataFolder
 

W

wrapRuntimeException(RuntimeException, DataFile, XMLEvent) - Static method in class org.fastnate.data.xml.XmlDataImporter
 
wrapStreamException(XMLStreamException, DataFile) - Static method in class org.fastnate.data.xml.XmlDataImporter
 
writeEntities(EntitySqlGenerator) - Method in class org.fastnate.data.AbstractDataProvider
The default implementation just writes all entities that were created during DataProvider.buildEntities().
writeEntities(EntitySqlGenerator) - Method in interface org.fastnate.data.DataProvider
Adds all entities to the SQL file using the given generator.
writeEntities(EntitySqlGenerator) - Method in class org.fastnate.data.EntityRegistration
 
writeEntities(EntitySqlGenerator) - Method in class org.fastnate.data.files.GenericDataProvider
 
writePropertyPart(EntitySqlGenerator, String) - Method in class org.fastnate.data.EntityImporter
Writes a section from a property to the writer of the SQL generator.

X

XmlDataImporter - Class in org.fastnate.data.xml
Imports entities from a set of XML files in the following format: <ArbitraryRoot> <EntityName primitivePropertyName="... value ..."
XmlDataImporter() - Constructor for class org.fastnate.data.xml.XmlDataImporter
Creates a new instance of XmlDataImporter.
XmlDataImporter(GeneratorContext, EntityRegistration) - Constructor for class org.fastnate.data.xml.XmlDataImporter
 
A B C D E F G H I J K L M N O P Q R S T U V W X 
Skip navigation links

Copyright © 2022 fastnate.org. All rights reserved.