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

A

AbstractCsvDataProvider<E> - Class in org.fastnate.data.csv
Base class for converters that create SQL files from CSV files.
AbstractCsvDataProvider(File) - Constructor for class org.fastnate.data.csv.AbstractCsvDataProvider
Initializes the converter from a path.
AbstractCsvReader<R> - Class in org.fastnate.data.csv
Base class for reading a csv file into an object.
AbstractCsvReader(File) - Constructor for class org.fastnate.data.csv.AbstractCsvReader
Creates a new instance of AbstractCsvReader.
AbstractDataProvider - Class in org.fastnate.data
Implementations of this class will automatically instantiated by the EntityImporter.
AbstractDataProvider() - Constructor for class org.fastnate.data.AbstractDataProvider
 
AbstractValueConverter<T> - Class in org.fastnate.generator.converter
Base class for ValueConverter.
AbstractValueConverter() - Constructor for class org.fastnate.generator.converter.AbstractValueConverter
 
AccessStyle - Enum in org.fastnate.generator.context
Indicates how persistent attributes are accessed.
addColumnMapping(String, String) - Method in class org.fastnate.data.csv.AbstractCsvDataProvider
Defines the mapping from a column name to a property name.
addConverter(String, CsvPropertyConverter<?>) - Method in class org.fastnate.data.csv.AbstractCsvDataProvider
Registers the converter to use for a specific column.
addInsertExpression(E, InsertStatement) - Method in class org.fastnate.generator.context.EmbeddedProperty
 
addInsertExpression(E, InsertStatement) - Method in class org.fastnate.generator.context.EntityProperty
 
addInsertExpression(E, InsertStatement) - Method in class org.fastnate.generator.context.GeneratedIdProperty
 
addInsertExpression(E, InsertStatement) - Method in class org.fastnate.generator.context.PluralProperty
 
addInsertExpression(E, InsertStatement) - Method in class org.fastnate.generator.context.PrimitiveProperty
 
addInsertExpression(E, InsertStatement) - Method in class org.fastnate.generator.context.Property
Adds an expression according to the current value of the property for the given entity to an SQL insert statement.
addNextValue(InsertStatement, String, Number) - Method in class org.fastnate.generator.context.IdentityValue
 
addNextValue(InsertStatement, String, Number) - Method in class org.fastnate.generator.context.IdGenerator
Adds the generated value to the given statement.
addNextValue(InsertStatement, String, Number) - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
addNextValue(InsertStatement, String, Number) - Method in class org.fastnate.generator.context.TableIdGenerator
 
addPendingUpdate(E, Property<E, ?>, Object...) - Method in class org.fastnate.generator.context.GenerationState.PendingState
Adds an entity that has to be updated, as soon as the associated entity (of this state) was written.
addQuotedCharacter(StringBuilder, char) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Adds a quoted character to the result string buffer.
addQuotedCharacter(StringBuilder, char) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
addValue(String, String) - Method in class org.fastnate.generator.statements.TableStatement
Adds a value to the list of value expressions.
adjustNextIdentityValue(String, String, long) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Adjusts the next value of the given identity column to ensure that it is bigger than the last generated value.
adjustNextIdentityValue(String, String, long) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
adjustNextSequenceValue(String, long, long, int) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Adjusts the given sequence to ensure that the next value is exactly the given value.
adjustNextSequenceValue(String, long, long, int) - Method in class org.fastnate.generator.dialect.MySqlDialect
 
adjustNextSequenceValue(String, long, long, int) - Method in class org.fastnate.generator.dialect.OracleDialect
 
alignNextValue() - Method in class org.fastnate.generator.context.IdentityValue
 
alignNextValue() - Method in class org.fastnate.generator.context.IdGenerator
Creates all statements that are necessary to set the next value created from the database is currentValue + 1.
alignNextValue() - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
alignNextValue() - Method in class org.fastnate.generator.context.TableIdGenerator
 
AnnotationDefaults - Class in org.fastnate.generator.context
Creates an implementation of an annotation class to access the default values for the single values.
AnnotationDefaults() - Constructor for class org.fastnate.generator.context.AnnotationDefaults
 
applyColumn(E, String, String) - Method in class org.fastnate.data.csv.AbstractCsvDataProvider
Converts a column value to a property value and sets that property for an entity.
AttributeAccessor - Interface in org.fastnate.generator.context
Offers access to a persistent attribute in an entity class.

B

BooleanConverter - Class in org.fastnate.generator.converter
Converts a boolean to a SQL expression.
BooleanConverter() - Constructor for class org.fastnate.generator.converter.BooleanConverter
 
buildCurrentSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Builds the SQL expression that is used for referencing the current value of the given sequence.
buildCurrentSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.MySqlDialect
 
buildCurrentSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.OracleDialect
 
buildEmbeddedProperties(Class<?>) - Method in class org.fastnate.generator.context.PluralProperty
Builds the embedded properties of this property.
buildEntities() - Method in class org.fastnate.data.csv.AbstractCsvDataProvider
Starts the generation of the SQL file from the list of CSV files.
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.examples.data.PersonData
Creates the example data.
buildEntities() - Method in class org.fastnate.maven.test.MavenTestData
 
buildIdColumn(AttributeAccessor, AssociationOverride, CollectionTable, String) - Static method in class org.fastnate.generator.context.PluralProperty
Builds the name of the column that contains the ID of the entity for the given attribute.
buildIdColumn(AttributeAccessor, AssociationOverride, JoinTable, CollectionTable, String) - Static method in class org.fastnate.generator.context.PluralProperty
Builds the name of the column that contains the ID of the entity for the given attribute.
buildNextSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Builds the SQL expression resp. statement that is used for creating the next value of the given sequence.
buildNextSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.MySqlDialect
 
buildNextSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.OracleDialect
 
buildTableName(AttributeAccessor, AssociationOverride, JoinTable, CollectionTable, String) - Static method in class org.fastnate.generator.context.PluralProperty
Builds the name of the table of the association for the given field.
buildTableName(CollectionTable, String) - Static method in class org.fastnate.generator.context.PluralProperty
Builds the name of the table of the association for the given field.
buildValueColumn(AttributeAccessor, String) - Static method in class org.fastnate.generator.context.PluralProperty
Builds the name of the column that contains the value for the collection / map.

C

CalendarConverter - Class in org.fastnate.generator.converter
Converts a calendar property of an EntityClass to SQL.
CalendarConverter(AttributeAccessor, boolean) - Constructor for class org.fastnate.generator.converter.CalendarConverter
Creates a new instance of CalendarConverter.
CalendarConverter(TemporalType) - Constructor for class org.fastnate.generator.converter.CalendarConverter
Creates a new instance of CalendarConverter.
CharConverter - Class in org.fastnate.generator.converter
Describes a char property of an EntityClass.
CharConverter() - Constructor for class org.fastnate.generator.converter.CharConverter
 
ClassUtil - Class in org.fastnate.data.util
Helper for inspection of classes.
close() - Method in class org.fastnate.generator.EntitySqlGenerator
Writes any missing SQL and closes the target writer.
CollectionProperty<E,T> - Class in org.fastnate.generator.context
Describes a property of an EntityClass that contains more than one value.
CollectionProperty(EntityClass<?>, AttributeAccessor, AssociationOverride) - Constructor for class org.fastnate.generator.context.CollectionProperty
Creates a new collection property.
convert(Class<? extends Boolean>, String) - Method in class org.fastnate.data.csv.CsvBooleanConverter
 
convert(Class<? extends Character>, String) - Method in class org.fastnate.data.csv.CsvCharacterConverter
 
convert(Class<? extends Date>, String) - Method in class org.fastnate.data.csv.CsvDateConverter
 
convert(Class<? extends Enum<?>>, String) - Method in class org.fastnate.data.csv.CsvEnumConverter
 
convert(Class<? extends T>, String) - Method in class org.fastnate.data.csv.CsvFormatConverter
 
convert(Class<? extends T>, String) - Method in class org.fastnate.data.csv.CsvMapConverter
 
convert(Class<? extends Number>, String) - Method in class org.fastnate.data.csv.CsvNumberConverter
 
convert(Class<? extends T>, String) - Method in interface org.fastnate.data.csv.CsvPropertyConverter
Converts a value from CSV to Java.
convertBooleanValue(boolean) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Converts a boolean value for the current database type.
convertBooleanValue(boolean) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
convertColumn(String, Class<T>, String) - Method in class org.fastnate.data.csv.AbstractCsvDataProvider
Tries to convert the given string to a value of the given type for the given column.
convertTemporalValue(Date, TemporalType) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Converts a date to an appropriate SQL expression.
convertTemporalValue(Date, TemporalType) - Method in class org.fastnate.generator.dialect.OracleDialect
 
create(Map<N, V>, Class<N>) - Static method in class org.fastnate.data.csv.CsvMapConverter
Creates a new instance of a CsvMapConverter that uses numbers to lookup the values.
create(Map<String, V>) - Static method in class org.fastnate.data.csv.CsvMapConverter
Creates a new instance of a CsvMapConverter that uses strings to lookup the values.
create(Class<A>) - Static method in class org.fastnate.generator.context.AnnotationDefaults
Creates a proxy class that returns the default value from the annotation for every method.
create(Class<A>, Map<String, Object>) - Static method in class org.fastnate.generator.context.AnnotationDefaults
Creates a proxy class that returns the default value from the annotation for every method.
createBlobExpression(byte[]) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Converts the given byte array to an SQL expression for the current database.
createBlobExpression(byte[]) - Method in class org.fastnate.generator.dialect.H2Dialect
 
createBlobExpression(byte[]) - Method in class org.fastnate.generator.dialect.MySqlDialect
Create MySQL specific binary expression.
createBlobExpression(byte[]) - Method in class org.fastnate.generator.dialect.OracleDialect
 
createBlobExpression(byte[]) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
createConverter(AttributeAccessor, Class<T>, boolean) - Static method in class org.fastnate.generator.context.PrimitiveProperty
Creates a converter for a primitive type.
createEntities(Map<String, String>) - Method in class org.fastnate.data.csv.AbstractCsvDataProvider
Builds one or more entities from the given row.
createEntities(Map<String, String>) - Method in class org.fastnate.data.csv.AbstractCsvReader
Builds one or more entities from the given row.
createEntity() - Method in class org.fastnate.data.csv.AbstractCsvDataProvider
Creates a new empty entity for the current converter.
createEntity(Map<String, String>) - Method in class org.fastnate.data.csv.AbstractCsvDataProvider
Builds one entity from the given row.
createEntity(Map<String, String>) - Method in class org.fastnate.examples.data.OrganisationData
 
createHexBlobExpression(String, byte[], String) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Creates the hex presentation of the given blob.
createNextValue() - Method in class org.fastnate.generator.context.IdentityValue
 
createNextValue() - Method in class org.fastnate.generator.context.IdGenerator
Resolves the next value of this generator.
createNextValue(Class<N>) - Method in class org.fastnate.generator.context.IdGenerator
Resolves the next value of this generator.
createNextValue() - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
createNextValue() - Method in class org.fastnate.generator.context.TableIdGenerator
 
createPostInsertStatements(E) - Method in class org.fastnate.generator.context.CollectionProperty
 
createPostInsertStatements(E) - Method in class org.fastnate.generator.context.EmbeddedProperty
 
createPostInsertStatements(E) - Method in class org.fastnate.generator.context.EntityClass
Marks an entity as written and creates any pending update / insert statements.
createPostInsertStatements(E) - Method in class org.fastnate.generator.context.MapProperty
 
createPostInsertStatements(E) - Method in class org.fastnate.generator.context.Property
Creates additional SQL statements that are necessary after this property is written (e.g. for mapping tables) .
createPreInsertStatements(E) - Method in class org.fastnate.generator.context.EmbeddedProperty
 
createPreInsertStatements(E) - Method in class org.fastnate.generator.context.GeneratedIdProperty
 
createPreInsertStatements() - Method in class org.fastnate.generator.context.IdentityValue
 
createPreInsertStatements() - Method in class org.fastnate.generator.context.IdGenerator
Creates the statements that are needed in the output before IdGenerator.addNextValue(InsertStatement, String, Number).
createPreInsertStatements(E) - Method in class org.fastnate.generator.context.Property
Creates SQL statements that are necessary before this property is written (e.g. for updating the table generator).
createPreInsertStatements() - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
createPreInsertStatements() - Method in class org.fastnate.generator.context.TableIdGenerator
 
createSql(EntityStatement) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Creates an SQL statement from the given insert statement.
createSql(EntityStatement) - Method in class org.fastnate.generator.dialect.MySqlDialect
Replace any subselect in an insert statement, if the same table is selected.
CsvBooleanConverter - Class in org.fastnate.data.csv
Converts a string in a CSV file to a Boolean.
CsvBooleanConverter() - Constructor for class org.fastnate.data.csv.CsvBooleanConverter
 
CsvCharacterConverter - Class in org.fastnate.data.csv
Converts a string from a CSV file to a Character.
CsvCharacterConverter() - Constructor for class org.fastnate.data.csv.CsvCharacterConverter
 
CsvDateConverter - Class in org.fastnate.data.csv
Converts a string in a CSV file to a date.
CsvDateConverter() - Constructor for class org.fastnate.data.csv.CsvDateConverter
Creates a new instance of CsvDateConverter.
CsvEnumConverter - Class in org.fastnate.data.csv
Converts a string from a CSV file to an Enum value.
CsvEnumConverter() - Constructor for class org.fastnate.data.csv.CsvEnumConverter
 
CsvFormatConverter<T> - Class in org.fastnate.data.csv
Converts a string from a CSV file to a Java object using a Format.
CsvFormatConverter(Format...) - Constructor for class org.fastnate.data.csv.CsvFormatConverter
Creates a new instance of CsvFormatConverter.
CsvMapConverter<K,T> - Class in org.fastnate.data.csv
Converts a string from a CSV file to an object by using an explicit mapping.
CsvMapConverter() - Constructor for class org.fastnate.data.csv.CsvMapConverter
 
CsvNumberConverter - Class in org.fastnate.data.csv
Converts a string from a CSV file to a number.
CsvNumberConverter() - Constructor for class org.fastnate.data.csv.CsvNumberConverter
 
CsvPropertyConverter<T> - Interface in org.fastnate.data.csv
Used to convert a CSV string to an Java object.

D

DATA_FOLDER_KEY - Static variable in class org.fastnate.data.EntityImporter
Settings key for the folder that contains any data to import.
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.
DataProvider - Interface in org.fastnate.data
Implementations of this class will automatically instantiated by the EntityImporter.
DateConverter - Class in org.fastnate.generator.converter
Converts a date property of an EntityClass to SQL.
DateConverter(AttributeAccessor, boolean) - Constructor for class org.fastnate.generator.converter.DateConverter
Creates a new instance of DateConverter.
DateConverter(TemporalType) - Constructor for class org.fastnate.generator.converter.DateConverter
Creates a new instance of DateConverter.
DefaultValue - Annotation Type in org.fastnate.generator
Annotation for attributes of entities, which indicates default values during SQL generation.
derive(String) - Method in class org.fastnate.generator.context.IdGenerator
Some implementations (like the Hibernate table generator) create a different generator, depending on the table name.
derive(String) - Method in class org.fastnate.generator.context.TableIdGenerator
 
DIALECT_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for the target SQL dialect.

E

EmbeddedProperty<E,T> - Class in org.fastnate.generator.context
Handling of properties defined in Embeddables.
EmbeddedProperty(EntityClass<?>, AttributeAccessor) - Constructor for class org.fastnate.generator.context.EmbeddedProperty
Instantiates a new embedded property.
EntityClass<E> - Class in org.fastnate.generator.context
Describes the DB relevant metadata of an entity class.
EntityConverter - Class in org.fastnate.generator.converter
Converts the reference to an entity to an expression that uses the sequence value of that entity.
EntityConverter() - Constructor for class org.fastnate.generator.converter.EntityConverter
 
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(Properties) - Constructor for class org.fastnate.data.EntityImporter
Creates a new instance of an EntityImporter.
EntityImporter(Properties, File, GeneratorContext) - Constructor for class org.fastnate.data.EntityImporter
Creates a new instance of an EntityImporter.
EntityProperty<E,T> - Class in org.fastnate.generator.context
Describes a property of an EntityClass that references another entity.
EntityProperty(GeneratorContext, AttributeAccessor, AssociationOverride) - Constructor for class org.fastnate.generator.context.EntityProperty
Creates a new instance of EntityProperty.
EntitySqlGenerator - Class in org.fastnate.generator
Creates SQL statements for a set of entities using their JPA annotations.
EntitySqlGenerator(Writer) - Constructor for class org.fastnate.generator.EntitySqlGenerator
Creates a new instance of this EntitySqlGenerator.
EntityStatement - Class in org.fastnate.generator.statements
Base class for statements generated by an EntitySqlGenerator.
EntityStatement() - Constructor for class org.fastnate.generator.statements.EntityStatement
 
EnumConverter<E extends Enum<E>> - Class in org.fastnate.generator.converter
Describes a enum property of an EntityClass.
EnumConverter(AttributeAccessor, Class<E>, boolean) - Constructor for class org.fastnate.generator.converter.EnumConverter
Creates a new instance of this EnumConverter.
equals(Object) - Method in class org.fastnate.maven.test.MavenTestEntity
 
execute() - Method in class org.fastnate.maven.HelpMojo
execute() - Method in class org.fastnate.maven.ImportDataMojo
 

F

failIfRequired() - Method in class org.fastnate.generator.context.Property
Throws an IllegalArgumentException if the field was not filled.
findEntity(E) - Method in class org.fastnate.generator.EntitySqlGenerator
Tries to find an entity in an online store.
findReferencedEntities(E) - Method in class org.fastnate.generator.context.CollectionProperty
 
findReferencedEntities(E) - Method in class org.fastnate.generator.context.EmbeddedProperty
 
findReferencedEntities(E) - Method in class org.fastnate.generator.context.EntityProperty
 
findReferencedEntities(E) - Method in class org.fastnate.generator.context.MapProperty
 
findReferencedEntities(E) - Method in class org.fastnate.generator.context.Property
Finds all entities in the current property, that are referenced.

G

GeneratedIdProperty<E> - Class in org.fastnate.generator.context
Describes an Id property of an EntityClass.
GeneratedIdProperty(EntityClass<E>, AttributeAccessor, Column) - Constructor for class org.fastnate.generator.context.GeneratedIdProperty
Creates a new instance of GeneratedIdProperty.
generatePendingStatements(E, Object, Object...) - Method in class org.fastnate.generator.context.CollectionProperty
 
generatePendingStatements(E, Object, Object...) - Method in class org.fastnate.generator.context.EntityProperty
 
generatePendingStatements(Object) - Method in class org.fastnate.generator.context.GenerationState.PendingState
Generates the update statements for all entities that are required after the given entity was generated.
generatePendingStatements(E, Object, Object...) - Method in class org.fastnate.generator.context.MapProperty
 
generatePendingStatements(E, Object, Object...) - Method in class org.fastnate.generator.context.Property
Generates the update statements for an entity that are required after another entity was generated.
GENERATION_ABORTED_MESSAGE - Static variable in class org.fastnate.data.EntityImporter
The String in the SQL, if the generation was aborted.
GenerationState - Class in org.fastnate.generator.context
Encapsulates the state of a generated entity.
GenerationState.PendingState - Class in org.fastnate.generator.context
Marks all pending updates for an entity, that was not written up to now.
GeneratorContext - Class in org.fastnate.generator.context
Represents the configuration and state for one or more EntitySqlGenerators.
GeneratorContext() - Constructor for class org.fastnate.generator.context.GeneratorContext
Creates a default generator context.
GeneratorContext(GeneratorDialect) - Constructor for class org.fastnate.generator.context.GeneratorContext
Creates a generator context for a dialect.
GeneratorContext(Properties) - Constructor for class org.fastnate.generator.context.GeneratorContext
Creates a new instance of GeneratorContext.
GeneratorDialect - Class in org.fastnate.generator.dialect
Handles database specific conversions.
GeneratorDialect() - Constructor for class org.fastnate.generator.dialect.GeneratorDialect
 
getAccessStyle() - Method in interface org.fastnate.generator.context.AttributeAccessor
Describes how this attribute accesses the values below.
getActualTypeBinding(Class<? extends I>, Class<I>, int) - Static method in class org.fastnate.data.util.ClassUtil
Resolves the actual binding of a generic type that was specified in a superclass and bound in a subclass.
getAlignmentStatements() - Method in class org.fastnate.generator.context.GeneratorContext
Builds all statements that are necessary to align ID generators in the database with the current IDs.
getAutoGenerationType() - Method in class org.fastnate.generator.dialect.GeneratorDialect
Resolves the GenerationType used, if GenerationType.AUTO is set for a GeneratedValue.
getColumn() - Method in class org.fastnate.generator.context.SingularProperty
The name of the associated column.
getCurrentValue() - Method in class org.fastnate.generator.context.IdGenerator
The last value returned by IdGenerator.createNextValue(Class).
getCurrentValue() - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
getCurrentValue() - Method in class org.fastnate.generator.context.TableIdGenerator
 
getDeclaredAttributes(Class<E>) - Method in enum org.fastnate.generator.context.AccessStyle
Finds all attributes of the current access type that are referenced in the given class.
getDefaultEncoding() - Method in class org.fastnate.data.csv.AbstractCsvReader
Defines the default encoding for CSV files, if it can't be determined from the BOM.
getDefaultGeneratorTable() - Method in class org.fastnate.generator.provider.HibernateProvider
 
getDefaultGeneratorTable() - Method in interface org.fastnate.generator.provider.JpaProvider
The name of the default generator TableGenerator.table(), if none was specified for a table generator.
getDefaultGeneratorTablePkColumnName() - Method in class org.fastnate.generator.provider.HibernateProvider
 
getDefaultGeneratorTablePkColumnName() - Method in interface org.fastnate.generator.provider.JpaProvider
The name of the default generator TableGenerator.pkColumnName(), if none was specified for a table generator.
getDefaultGeneratorTablePkColumnValue() - Method in class org.fastnate.generator.provider.HibernateProvider
 
getDefaultGeneratorTablePkColumnValue() - Method in interface org.fastnate.generator.provider.JpaProvider
The name of the default generator TableGenerator.pkColumnValue(), if none was specified for a table generator.
getDefaultGeneratorTableValueColumnName() - Method in class org.fastnate.generator.provider.HibernateProvider
 
getDefaultGeneratorTableValueColumnName() - Method in interface org.fastnate.generator.provider.JpaProvider
The name of the default generator TableGenerator.valueColumnName(), if none was specified for a table generator.
getDefaultSequence() - Method in class org.fastnate.generator.provider.HibernateProvider
 
getDefaultSequence() - Method in interface org.fastnate.generator.provider.JpaProvider
The name of the default sequence, if none was specified for a sequence generator.
getDefaultValue(AttributeAccessor) - Method in class org.fastnate.generator.context.PrimitiveProperty
Finds the default value from the given attribute.
getDefaultValue(AttributeAccessor) - Method in class org.fastnate.generator.context.VersionProperty
 
getDescription(Class<E>) - Method in class org.fastnate.generator.context.GeneratorContext
Finds the description for a class.
getDescription(E) - Method in class org.fastnate.generator.context.GeneratorContext
Finds the description for the class of an entity.
getDialect() - Method in class org.fastnate.generator.context.PrimitiveProperty
Resolves the current dialect from the context.
getElement() - Method in interface org.fastnate.generator.context.AttributeAccessor
The actual field or method.
getEntities() - Method in class org.fastnate.data.AbstractDataProvider
The list of entities for which INSERT SQL statements will be generated.
getEntityClass() - Method in class org.fastnate.data.csv.AbstractCsvDataProvider
The class of the created entities.
getEntityReference(E, String, boolean) - Method in class org.fastnate.generator.context.EntityClass
Creates an expression that references the id of an entity of this class.
getEntityReference(Object, String, GeneratorContext, boolean) - Static method in class org.fastnate.generator.converter.EntityConverter
Creates an expression for an entity.
getExpression(E, boolean) - Method in class org.fastnate.generator.context.EntityProperty
 
getExpression(E, boolean) - Method in class org.fastnate.generator.context.GeneratedIdProperty
Creates the reference of an entity in SQL using its (relative or absolute) id.
getExpression(String, String, Number, boolean) - Method in class org.fastnate.generator.context.IdentityValue
 
getExpression(String, String, Number, boolean) - Method in class org.fastnate.generator.context.IdGenerator
Builds the reference to another entity that has the given ID.
getExpression(E, boolean) - Method in class org.fastnate.generator.context.PrimitiveProperty
 
getExpression(E, boolean) - Method in class org.fastnate.generator.context.Property
Creates the expression for the current value of the given entity in SQL.
getExpression(String, String, Number, boolean) - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
getExpression(String, String, Number, boolean) - Method in class org.fastnate.generator.context.TableIdGenerator
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.AbstractValueConverter
 
getExpression(Boolean, GeneratorContext) - Method in class org.fastnate.generator.converter.BooleanConverter
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.BooleanConverter
 
getExpression(Calendar, GeneratorContext) - Method in class org.fastnate.generator.converter.CalendarConverter
 
getExpression(Character, GeneratorContext) - Method in class org.fastnate.generator.converter.CharConverter
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.CharConverter
 
getExpression(Object, GeneratorContext) - Method in class org.fastnate.generator.converter.EntityConverter
 
getExpression(E, GeneratorContext) - Method in class org.fastnate.generator.converter.EnumConverter
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.EnumConverter
 
getExpression(Object, GeneratorContext) - Method in class org.fastnate.generator.converter.LobConverter
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.LobConverter
 
getExpression(Number, GeneratorContext) - Method in class org.fastnate.generator.converter.NumberConverter
 
getExpression(Serializable, GeneratorContext) - Method in class org.fastnate.generator.converter.SerializableConverter
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.StringConverter
 
getExpression(Date, GeneratorContext) - Method in class org.fastnate.generator.converter.TemporalConverter
Converts the given value into an SQL expression.
getExpression(Object, GeneratorContext) - Method in class org.fastnate.generator.converter.UnsupportedTypeConverter
 
getExpression(String, GeneratorContext) - Method in interface org.fastnate.generator.converter.ValueConverter
Builds the expression for writing the default value into an SQL clause.
getExpression(T, GeneratorContext) - Method in interface org.fastnate.generator.converter.ValueConverter
Builds the expression for writing the given value into an SQL clause.
getGenerator(GeneratedValue, String, String) - Method in class org.fastnate.generator.context.GeneratorContext
Finds the correct generator for the given annotation.
getGenericType() - Method in interface org.fastnate.generator.context.AttributeAccessor
The generic type of the accessed attribute.
getIdColumn() - Method in class org.fastnate.generator.context.PluralProperty
The name of the column that contains the ID of the entity that contains this collection.
getMatchingQuality(Property<?, ?>) - Static method in enum org.fastnate.generator.context.UniquePropertyQuality
Finds the best quality that matches the given property.
getName() - Method in interface org.fastnate.generator.context.AttributeAccessor
The name of the accessed attribute.
getName() - Method in class org.fastnate.generator.context.Property
The name of this property.
getOptionalTable() - Method in class org.fastnate.generator.dialect.GeneratorDialect
Returns the string to use when no table is required, e.g. for "SELECT 1, 2 FROM DUAL" this would return "FROM DUAL".
getOptionalTable() - Method in class org.fastnate.generator.dialect.MySqlDialect
 
getOptionalTable() - Method in class org.fastnate.generator.dialect.OracleDialect
 
getOrder() - Method in class org.fastnate.data.AbstractDataProvider
The order of a data provider in comparison to others, defaults to 0.
getOrder() - Method in class org.fastnate.data.csv.AbstractCsvDataProvider
Defaults to 0.
getOrder() - Method in interface org.fastnate.data.DataProvider
An additional helper to sort the output by its precedence.
getPredicate(E) - Method in class org.fastnate.generator.context.EmbeddedProperty
 
getPredicate(E) - Method in class org.fastnate.generator.context.EntityProperty
 
getPredicate(E) - Method in class org.fastnate.generator.context.PrimitiveProperty
 
getPredicate(E) - Method in class org.fastnate.generator.context.Property
Creates an SQL predicate that references all entities that have the same value as the given entity.
getPropertyArgument(AttributeAccessor, Class<T>, int) - Static method in class org.fastnate.generator.context.PluralProperty
Inspects the given attribute and searches for a generic type argument.
getStyle(AccessType) - Static method in enum org.fastnate.generator.context.AccessStyle
Determines the correct mapping to the style for the given accesstype.
getTable() - Method in class org.fastnate.generator.context.PluralProperty
The name of the table of this property, if any.
getType() - Method in interface org.fastnate.generator.context.AttributeAccessor
The type of the accessed attribute.
getValue(E) - Method in interface org.fastnate.generator.context.AttributeAccessor
Resolves the current value for the attribute on the given entity.
getValue(E) - Method in class org.fastnate.generator.context.CollectionProperty
 
getValue(E) - Method in class org.fastnate.generator.context.MapProperty
 
getValue(E) - Method in class org.fastnate.generator.context.Property
Resolves the current value for this property on the given entity.
getValueColumn() - Method in class org.fastnate.generator.context.PluralProperty
The name of the column that contains the values of the collection.

H

H2Dialect - Class in org.fastnate.generator.dialect
Handles H2 specific conversions.
H2Dialect() - Constructor for class org.fastnate.generator.dialect.H2Dialect
 
hashCode() - Method in class org.fastnate.maven.test.MavenTestEntity
 
HelpMojo - Class in org.fastnate.maven
Display help information on fastnate-maven-plugin.
HelpMojo() - Constructor for class org.fastnate.maven.HelpMojo
 
HibernateProvider - Class in org.fastnate.generator.provider
Encapsulates implementation details of Hibernate as JPA provider.
HibernateProvider() - Constructor for class org.fastnate.generator.provider.HibernateProvider
 

I

IdentityValue - Class in org.fastnate.generator.context
Contains the current value for a primary key of type GenerationType.IDENTITY.
IdentityValue() - Constructor for class org.fastnate.generator.context.IdentityValue
 
IdGenerator - Class in org.fastnate.generator.context
Saves the current value and increments the value for a GeneratedIdProperty.
IdGenerator() - Constructor for class org.fastnate.generator.context.IdGenerator
 
importData() - Method in class org.fastnate.data.EntityImporter
Imports the data and creates the default SQL file.
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 afterwards.
ImportDataMojo - Class in org.fastnate.maven
Creates an SQL file from all DataProvider.
ImportDataMojo() - Constructor for class org.fastnate.maven.ImportDataMojo
 
initialize(Properties) - Method in class org.fastnate.generator.provider.HibernateProvider
 
initialize(Properties) - Method in interface org.fastnate.generator.provider.JpaProvider
Initializes this provider from the given settings.
InsertStatement - Class in org.fastnate.generator.statements
Holds the information for an SQL Insert statement.
InsertStatement(String) - Constructor for class org.fastnate.generator.statements.InsertStatement
Creates a new instance of InsertStatement.
invoke(Object, Method, Object[]) - Method in class org.fastnate.generator.context.AnnotationDefaults
Finds the default value for the original method.
isAllowed(Property<?, ?>) - Method in enum org.fastnate.generator.context.UniquePropertyQuality
Indicates which type of property is allowed for this quality.
isDataFile(File) - Method in interface org.fastnate.data.DataChangeDetector
Indicates that the given file contains relevant data for the SQL generation.
isDataFile(File) - Method in class org.fastnate.maven.test.TestDetector
 
isEmbedded() - Method in class org.fastnate.generator.context.PluralProperty
Indicates that this propery is a ElementCollection that references Embeddables.
isEmptyStringEqualToNull() - Method in class org.fastnate.generator.dialect.GeneratorDialect
Indicates that the empty string is equal to null in this database.
isEmptyStringEqualToNull() - Method in class org.fastnate.generator.dialect.OracleDialect
 
isIdentitySupported() - Method in class org.fastnate.generator.dialect.GeneratorDialect
Indicates that identity columns are supported by the database.
isIdentitySupported() - Method in class org.fastnate.generator.dialect.OracleDialect
 
isJoinedDiscriminatorNeeded() - Method in class org.fastnate.generator.provider.HibernateProvider
 
isJoinedDiscriminatorNeeded() - Method in interface org.fastnate.generator.provider.JpaProvider
Indicates if the current JPA provider needs always a discriminator column for a JOINED table.
isNew(E) - Method in class org.fastnate.generator.context.EntityClass
Indicates that the given entity needs to be written.
isNew(E) - Method in class org.fastnate.generator.context.GeneratedIdProperty
Indicates that the given entity needs to be written.
isNextSequenceValueInInsertSupported() - Method in class org.fastnate.generator.dialect.GeneratorDialect
Indicates that a sequence may be updated in the insert statement.
isNextSequenceValueInInsertSupported() - Method in class org.fastnate.generator.dialect.MySqlDialect
 
isPersistent() - Method in interface org.fastnate.generator.context.AttributeAccessor
Indicates that this attribute is written to the database.
isPostIncrement() - Method in class org.fastnate.generator.context.IdentityValue
 
isPostIncrement() - Method in class org.fastnate.generator.context.IdGenerator
Indicates that IdGenerator.createNextValue(Class) should be called after the entity was written - as the value is not available before.
isPostIncrement() - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
isPostIncrement() - Method in class org.fastnate.generator.context.TableIdGenerator
 
isReference(E) - Method in class org.fastnate.generator.context.GeneratedIdProperty
Indicates that the given entity was not written before, but exists already in the database.
isRequired() - Method in class org.fastnate.generator.context.EmbeddedProperty
 
isRequired() - Method in class org.fastnate.generator.context.PluralProperty
 
isRequired() - Method in class org.fastnate.generator.context.Property
Indicates if this property is an required field in the database (needs to exist when the insert statement is written).
isSequenceInWhereSupported() - Method in class org.fastnate.generator.dialect.GeneratorDialect
Indicates that references to sequences in WHERE expressions are supported.
isSequenceInWhereSupported() - Method in class org.fastnate.generator.dialect.OracleDialect
 
isSequenceSupported() - Method in class org.fastnate.generator.dialect.GeneratorDialect
Indicates that sequences are supported by the database.
isSequenceSupported() - Method in class org.fastnate.generator.dialect.MySqlDialect
 
isTableColumn() - Method in class org.fastnate.generator.context.EmbeddedProperty
 
isTableColumn() - Method in class org.fastnate.generator.context.EntityProperty
 
isTableColumn() - Method in class org.fastnate.generator.context.PluralProperty
 
isTableColumn() - Method in class org.fastnate.generator.context.Property
Indicates that this property maps to a column from the parent table.
isTableColumn() - Method in class org.fastnate.generator.context.SingularProperty
 

J

JpaProvider - Interface in org.fastnate.generator.provider
Encapsulates details specific to the current JPA implementation.

L

LobConverter - Class in org.fastnate.generator.converter
Generates the expression for a property.
LobConverter() - Constructor for class org.fastnate.generator.converter.LobConverter
 

M

main(String[]) - Static method in class org.fastnate.data.EntityImporter
Starts the entity importer from the command line.
MapProperty<E,K,T> - Class in org.fastnate.generator.context
Describes a property of an EntityClass that is a Map.
MapProperty(EntityClass<?>, AttributeAccessor, AssociationOverride) - Constructor for class org.fastnate.generator.context.MapProperty
Creates a new map property.
markExistingEntities(Iterable<E>) - Method in class org.fastnate.generator.EntitySqlGenerator
Marks a set of entity references, where we don't know the ID in the database.
markExistingEntity(E) - Method in class org.fastnate.generator.context.EntityClass
Marks a entity reference, where we don't know the ID in the database.
markExistingEntity(E, Number) - Method in class org.fastnate.generator.EntitySqlGenerator
Marks an entity reference, where we know the ID in the database.
markPendingUpdates(E, V, Property<V, ?>, Object...) - Method in class org.fastnate.generator.context.EntityClass
Marks an update that is necessary when an entity is written (in the future).
markReference(E) - Method in class org.fastnate.generator.context.GeneratedIdProperty
Marks an entity as reference, where we don't know the ID database.
markReference(E, long) - Method in class org.fastnate.generator.context.GeneratedIdProperty
Marks an entity as reference, where we know the id in the database.
MavenTestCsvData - Class in org.fastnate.maven.test
Test class for importing CSV files using the maven plugin.
MavenTestCsvData(File) - Constructor for class org.fastnate.maven.test.MavenTestCsvData
Creates a new instance of MavenTestCsvData.
MavenTestData - Class in org.fastnate.maven.test
Data provider for the maven test.
MavenTestData() - Constructor for class org.fastnate.maven.test.MavenTestData
 
MavenTestEntity - Class in org.fastnate.maven.test
Entity for the maven test.
MavenTestEntity(String) - Constructor for class org.fastnate.maven.test.MavenTestEntity
Creates a new instance of MavenTestEntity.
ModelException - Exception in org.fastnate.generator.context
Thrown if the classes in the entity model are for some reason invalid.
ModelException(String) - Constructor for exception org.fastnate.generator.context.ModelException
Creates a new instance of ModelException.
ModelException(String, Throwable) - Constructor for exception org.fastnate.generator.context.ModelException
Creates a new instance of ModelException.
MsSqlDialect - Class in org.fastnate.generator.dialect
Handles MS SQL specific conversions.
MsSqlDialect() - Constructor for class org.fastnate.generator.dialect.MsSqlDialect
 
MySqlDialect - Class in org.fastnate.generator.dialect
Handles MySQL specific conversions.
MySqlDialect() - Constructor for class org.fastnate.generator.dialect.MySqlDialect
 

N

NoJpaTestClass - Class in org.fastnate.maven.test
Used to test modifications on uninteresting classes.
NoJpaTestClass() - Constructor for class org.fastnate.maven.test.NoJpaTestClass
 
NOW - Static variable in class org.fastnate.generator.dialect.GeneratorDialect
Represents the constant for writing the "now" function to SQL.
NULL_VALUES_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for GeneratorContext.writeNullValues.
NumberConverter - Class in org.fastnate.generator.converter
Converts a numeric value to a SQL expression.
NumberConverter() - Constructor for class org.fastnate.generator.converter.NumberConverter
 

O

openCsvListReader(File) - Method in class org.fastnate.data.csv.AbstractCsvReader
Opens a CSV file.
OracleDialect - Class in org.fastnate.generator.dialect
Handles Oracle specific conversions.
OracleDialect() - Constructor for class org.fastnate.generator.dialect.OracleDialect
 
org.fastnate.data - package org.fastnate.data
 
org.fastnate.data.csv - package org.fastnate.data.csv
 
org.fastnate.data.util - package org.fastnate.data.util
 
org.fastnate.examples.data - package org.fastnate.examples.data
 
org.fastnate.examples.model - package org.fastnate.examples.model
 
org.fastnate.generator - package org.fastnate.generator
 
org.fastnate.generator.context - package org.fastnate.generator.context
 
org.fastnate.generator.converter - package org.fastnate.generator.converter
 
org.fastnate.generator.dialect - package org.fastnate.generator.dialect
 
org.fastnate.generator.provider - package org.fastnate.generator.provider
 
org.fastnate.generator.statements - package org.fastnate.generator.statements
 
org.fastnate.maven - package org.fastnate.maven
 
org.fastnate.maven.test - package org.fastnate.maven.test
 
Organisation - Class in org.fastnate.examples.model
A simple example of an entity that is imported from a CSV file.
Organisation() - Constructor for class org.fastnate.examples.model.Organisation
 
OrganisationData - Class in org.fastnate.examples.data
Example DataProvider for importing a CSV file.
OrganisationData(File) - Constructor for class org.fastnate.examples.data.OrganisationData
Creates a new instance of OrganisationData.
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.
PendingState() - Constructor for class org.fastnate.generator.context.GenerationState.PendingState
 
PERSISTED - Static variable in class org.fastnate.generator.context.GenerationState
Marker for an entity, that was written already.
PERSISTENCE_FILE_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for the path to the persistence.xml, either relative to the current directory or absolute.
PERSISTENCE_UNIT_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for the name of the persistence unit in the persistence.xml.
Person - Class in org.fastnate.examples.model
A simple example of an entity for instances that are created with Java code.
Person(String, String) - Constructor for class org.fastnate.examples.model.Person
Creates a new person with his / her first and last name.
PersonData - Class in org.fastnate.examples.data
Generates some example data for a Person.
PersonData() - Constructor for class org.fastnate.examples.data.PersonData
 
PlainStatement - Class in org.fastnate.generator.statements
A single (unparsed) SQL statement.
PlainStatement() - Constructor for class org.fastnate.generator.statements.PlainStatement
 
PluralProperty<E,C,T> - Class in org.fastnate.generator.context
Base class for MapProperty and CollectionProperty.
PluralProperty(GeneratorContext, AttributeAccessor) - Constructor for class org.fastnate.generator.context.PluralProperty
Creates a new property.
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.
PostgresDialect - Class in org.fastnate.generator.dialect
Handles PostgreSQL specific conversions.
PostgresDialect() - Constructor for class org.fastnate.generator.dialect.PostgresDialect
 
postInsert(E) - Method in class org.fastnate.generator.context.GeneratedIdProperty
Called after the insert statement was written, to update any nessecary state in the context.
PREFER_SEQUENCE_CURRENT_VALUE - Static variable in class org.fastnate.generator.context.GeneratorContext
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.
PrimitiveProperty<E,T> - Class in org.fastnate.generator.context
Describes a singular primitive property of an EntityClass.
PrimitiveProperty(GeneratorContext, String, AttributeAccessor, Column) - Constructor for class org.fastnate.generator.context.PrimitiveProperty
Instantiates a new primitive property.
Property<E,T> - Class in org.fastnate.generator.context
Base class for the description of properties of an EntityClass.
Property(AttributeAccessor) - Constructor for class org.fastnate.generator.context.Property
Creates a new instance of a property.
PROVIDER_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for the JPA provider.

Q

quoteString(String) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Quotes the given string.
quoteString(String) - Method in class org.fastnate.generator.dialect.MySqlDialect
Create MySQL specific quoting of the string.
quoteString(String) - Method in class org.fastnate.generator.dialect.OracleDialect
 

R

readImportFiles() - Method in class org.fastnate.data.csv.AbstractCsvReader
Reads the import files.
registerGenerators(AnnotatedElement) - Method in class org.fastnate.generator.context.GeneratorContext
Registers the TableGenerator and SequenceGenerator declared at the given element.
RELATIVE_IDS_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for GeneratorContext.writeRelativeIds.

S

SequenceIdGenerator - Class in org.fastnate.generator.context
Stores the current value for a SequenceGenerator.
SequenceIdGenerator(SequenceGenerator, GeneratorDialect, boolean) - Constructor for class org.fastnate.generator.context.SequenceIdGenerator
Creates a new instance of SequenceIdGenerator.
SerializableConverter - Class in org.fastnate.generator.converter
Converts a Serializable to a SQL expression.
SerializableConverter() - Constructor for class org.fastnate.generator.converter.SerializableConverter
 
setSupervisor(Person) - Method in class org.fastnate.examples.model.Person
Sets the supervisor of this Person.
setValue(E, T) - Method in interface org.fastnate.generator.context.AttributeAccessor
Sets a new value for the attribute on the given entity.
setValue(E, T) - Method in class org.fastnate.generator.context.Property
Sets a new value for this property on the given entity.
SingularProperty<E,T> - Class in org.fastnate.generator.context
Represents a value that is exactly one column in the database.
SingularProperty(AttributeAccessor) - Constructor for class org.fastnate.generator.context.SingularProperty
Creates a new instance of a SingularProperty.
StringConverter - Class in org.fastnate.generator.converter
Converts a string property of an EntityClass.
StringConverter() - Constructor for class org.fastnate.generator.converter.StringConverter
Creates a new instance of a StringConverter that accepts strings of arbitrary length.
StringConverter(AttributeAccessor, boolean) - Constructor for class org.fastnate.generator.converter.StringConverter
Creates a new instance of a StringConverter for the given attribute.

T

TableIdGenerator - Class in org.fastnate.generator.context
Saves the current value for a TableGenerator.
TableIdGenerator(TableGenerator, GeneratorDialect, JpaProvider, boolean) - Constructor for class org.fastnate.generator.context.TableIdGenerator
Creates a new instance of SequenceIdGenerator.
TableStatement - Class in org.fastnate.generator.statements
A SQL statement that affects a table and a set of columns.
TableStatement() - Constructor for class org.fastnate.generator.statements.TableStatement
 
TemporalConverter<T> - Class in org.fastnate.generator.converter
Base class for converting a temporal property of an EntityClass.
TemporalConverter(AttributeAccessor, boolean) - Constructor for class org.fastnate.generator.converter.TemporalConverter
Creates a new instance of this TemporalConverter.
test(boolean, String, Object...) - Static method in exception org.fastnate.generator.context.ModelException
Throws a ModelException if the given condition is not met.
TestDetector - Class in org.fastnate.maven.test
Tests the call of the data change detector.
TestDetector() - Constructor for class org.fastnate.maven.test.TestDetector
 
toSql() - Method in class org.fastnate.generator.statements.EntityStatement
Prints this statement as SQL.
toSql() - Method in class org.fastnate.generator.statements.InsertStatement
 
toSql() - Method in class org.fastnate.generator.statements.PlainStatement
 
toSql() - Method in class org.fastnate.generator.statements.UpdateStatement
 
toString() - Method in class org.fastnate.examples.model.Organisation
 
toString() - Method in class org.fastnate.examples.model.Person
 
toString() - Method in class org.fastnate.generator.context.EntityClass
 
toString() - Method in class org.fastnate.generator.context.Property
 
toString() - Method in class org.fastnate.generator.statements.EntityStatement
 
toString() - Method in class org.fastnate.maven.test.MavenTestEntity
 

U

UNIQUE_PROPERTIES_MAX_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for the GeneratorContext.maxUniqueProperties.
UNIQUE_PROPERTIES_QUALITY_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for the GeneratorContext.uniquePropertyQuality.
UniquePropertyQuality - Enum in org.fastnate.generator.context
Possible values for GeneratorContext#setUniquePropertyQuality.
UnsupportedTypeConverter - Class in org.fastnate.generator.converter
Converter used for all types that we can't convert.
UnsupportedTypeConverter() - Constructor for class org.fastnate.generator.converter.UnsupportedTypeConverter
 
UpdateStatement - Class in org.fastnate.generator.statements
Holds the information for an SQL update statement.
UpdateStatement(String, String, String) - Constructor for class org.fastnate.generator.statements.UpdateStatement
Creates a new instance of UpdateStatement.
useTableColumns() - Method in class org.fastnate.data.csv.AbstractCsvDataProvider
Maps the table columns of the singular properties to the CSV columns.

V

ValueConverter<T> - Interface in org.fastnate.generator.converter
Converts a primitive value to an expression.
valueOf(String) - Static method in enum org.fastnate.generator.context.AccessStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.fastnate.generator.context.UniquePropertyQuality
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.fastnate.generator.context.AccessStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.fastnate.generator.context.UniquePropertyQuality
Returns an array containing the constants of this enum type, in the order they are declared.
VersionProperty<E,T> - Class in org.fastnate.generator.context
Represents a property marked with Version.
VersionProperty(GeneratorContext, String, AttributeAccessor, Column) - Constructor for class org.fastnate.generator.context.VersionProperty
Creates a new instance of VersionProperty.

W

write(E) - Method in class org.fastnate.generator.EntitySqlGenerator
Creates the Import-SQL for an entity.
write(Iterable<? extends E>) - Method in class org.fastnate.generator.EntitySqlGenerator
Creates the SQL for the given entities.
writeAlignmentStatements() - Method in class org.fastnate.generator.EntitySqlGenerator
Writes all statements that are necessary to align ID generators in the database with the current IDs.
writeComment(String) - Method in class org.fastnate.generator.EntitySqlGenerator
Writes a SQL comment to the associated writer.
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 class org.fastnate.data.csv.AbstractCsvDataProvider
Writes all created entities.
writeEntities(EntitySqlGenerator) - Method in interface org.fastnate.data.DataProvider
Adds all entities to the SQL file using the given generator.
writeStatement(EntityStatement) - Method in class org.fastnate.generator.EntitySqlGenerator
Writes the given statement to the EntitySqlGenerator.writer.
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2016 fastnate.org. All rights reserved.