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 Y 

A

absoluteIds - Variable in class org.fastnate.generator.context.GeneratedIdProperty
Shortcut for the inverse of GeneratorContext.isWriteRelativeIds().
AbstractDateConverter<T> - Class in org.fastnate.generator.converter
Base class for converting a Date, Calendar, Date, Time or Timestamp property of an EntityClass to a SQL expression.
AbstractDateConverter(AttributeAccessor, boolean) - Constructor for class org.fastnate.generator.converter.AbstractDateConverter
Creates a new instance of this AbstractDateConverter.
AbstractDateConverter(TemporalType) - Constructor for class org.fastnate.generator.converter.AbstractDateConverter
 
AbstractStatementsWriter - Class in org.fastnate.generator.statements
Base class for implementations of StatementsWriter.
AbstractStatementsWriter() - Constructor for class org.fastnate.generator.statements.AbstractStatementsWriter
 
AbstractStatementsWriter.AbstractTableStatement - Class in org.fastnate.generator.statements
Base class for insert and update statements.
AbstractStatementsWriter.InsertStatement - Class in org.fastnate.generator.statements
Holds the information for an SQL Insert statement.
AbstractStatementsWriter.PlainStatement - Class in org.fastnate.generator.statements
A single (unparsed) SQL statement.
AbstractStatementsWriter.UpdateStatement - Class in org.fastnate.generator.statements
Holds the information for an SQL update statement.
AbstractTableStatement(GeneratorDialect, GeneratorTable) - Constructor for class org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
 
AccessStyle - Enum in org.fastnate.generator.context
Indicates how persistent attributes are accessed.
AccessStyle() - Constructor for enum org.fastnate.generator.context.AccessStyle
 
accessStyle - Variable in class org.fastnate.generator.context.EntityClass
The type of access that is used for the properties (field access or bean property access).
addColumns(StringBuilder, Collection<?>) - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.InsertStatement
Adds columns to an SQL expression.
addContextModelListener(ContextModelListener) - Method in class org.fastnate.generator.context.GeneratorContext
Adds a new listener to this context.
addContextObject(Map<K, ? super T>, BiConsumer<ContextModelListener, ? super T>, K, T) - Method in class org.fastnate.generator.context.GeneratorContext
 
addInsertExpression(TableStatement, E) - Method in class org.fastnate.generator.context.EmbeddedProperty
 
addInsertExpression(TableStatement, E) - Method in class org.fastnate.generator.context.EntityProperty
 
addInsertExpression(TableStatement, E) - Method in class org.fastnate.generator.context.GeneratedIdProperty
 
addInsertExpression(TableStatement, E) - Method in class org.fastnate.generator.context.PluralProperty
 
addInsertExpression(TableStatement, E) - Method in class org.fastnate.generator.context.PrimitiveProperty
 
addInsertExpression(TableStatement, E) - 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.
additionalProperties - Variable in class org.fastnate.generator.context.EntityClass
Properties of this entity, excluding the EntityClass.idProperty or properties from EntityClass.joinedParentClass.
addNextValue(TableStatement, GeneratorColumn, Number) - Method in class org.fastnate.generator.context.IdentityValue
 
addNextValue(TableStatement, GeneratorColumn, Number) - Method in class org.fastnate.generator.context.IdGenerator
Adds the generated value to the given statement.
addNextValue(TableStatement, GeneratorColumn, Number) - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
addNextValue(TableStatement, GeneratorColumn, 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.MsSqlDialect
 
addQuotedCharacter(StringBuilder, char) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
adjustNextIdentityValue(StatementsWriter, GeneratorTable, GeneratorColumn, 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(StatementsWriter, GeneratorTable, GeneratorColumn, long) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
adjustNextSequenceValue(StatementsWriter, 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(StatementsWriter, String, long, long, int) - Method in class org.fastnate.generator.dialect.OracleDialect
 
alignNextValue(StatementsWriter) - Method in class org.fastnate.generator.context.IdentityValue
 
alignNextValue(StatementsWriter) - 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(StatementsWriter) - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
alignNextValue(StatementsWriter) - Method in class org.fastnate.generator.context.TableIdGenerator
 
allocationSize - Variable in class org.fastnate.generator.context.SequenceIdGenerator
The amount to increment by when allocating sequence numbers from the sequence.
allocationSize - Variable in class org.fastnate.generator.context.TableIdGenerator
 
allProperties - Variable in class org.fastnate.generator.context.EntityClass
All properties of this entity, including EntityClass.idProperty and properties from EntityClass.joinedParentClass.
allUniqueProperties - Variable in class org.fastnate.generator.context.EntityClass
All available sets of properties that make up an additional unique identifier for the entities.
AnnotationDefaults - Class in org.fastnate.generator.context
Creates an implementation of an annotation class to access the default values for the single values.
AnnotationDefaults(Map<String, Object>) - Constructor for class org.fastnate.generator.context.AnnotationDefaults
 
anyClasses - Variable in class org.fastnate.generator.context.AnyMapping
Contains the mapping from a class to its id in the database.
anyColumn - Variable in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
anyColumn - Variable in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
anyDefName - Variable in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
anyDefName - Variable in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
AnyMapping<T> - Class in org.fastnate.generator.context
A column that is responsible to store the information for references to arbitrary entity types that are stored in the same attribute.
AnyMapping(GeneratorContext, AttributeAccessor, GeneratorTable, Column, String) - Constructor for class org.fastnate.generator.context.AnyMapping
Creates a new instance of AnyMapping.
anyMapping - Variable in class org.fastnate.generator.context.EntityProperty
Contains information about an addition class column, if Any is used.
anyMapping - Variable in class org.fastnate.generator.context.PluralProperty
Contains information about an addition class column, if ManyToAny is used.
appendSql(StringBuilder) - Method in interface org.fastnate.generator.statements.ColumnExpression
Adds the SQL for this expression to the given StringBuilder.
arguments - Variable in class org.fastnate.generator.context.GenerationState.PendingState.Update
 
associationOverrides - Variable in class org.fastnate.generator.context.EntityClass
All association overriddes of this class and the parent classes.
attribute - Variable in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
attribute - Variable in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
attribute - Variable in class org.fastnate.generator.context.Property
Used to access the value of the property.
AttributeAccessor - Interface in org.fastnate.generator.context
Offers access to a persistent attribute in an entity class.
attributeName - Variable in class org.fastnate.generator.converter.StringConverter
 
attributeName - Variable in class org.fastnate.generator.converter.UnsupportedTypeConverter
 
attributeOverrides - Variable in class org.fastnate.generator.context.EntityClass
All attribute overriddes of this class and the parent classes.
autoGenerated - Variable in class org.fastnate.generator.context.GeneratorColumn
Indicates that the values of this column are not part of an insert statement, because they are generated by the database.
availableColumns - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
availablePreparedStatements - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
All available prepared statements per table.
availablePreparedStatements - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter.ContextListener
 

B

batchCount - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
The count of statements executed in the current batch.
batchSupported - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
Indicates that the database connection supports batch statements.
BooleanConverter - Class in org.fastnate.generator.converter
Converts a boolean to a SQL expression.
BooleanConverter() - Constructor for class org.fastnate.generator.converter.BooleanConverter
 
build() - Method in class org.fastnate.generator.context.EntityClass
Reads the metadata from EntityClass.entityClass and fills all other properties.
buildAnyMapping(GeneratorContext, GeneratorTable) - Method in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
buildAnyMapping(GeneratorContext, GeneratorTable) - Method in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
buildConnection(GeneratorContext) - Static method in class org.fastnate.generator.statements.ConnectedStatementsWriter
 
buildCurrentSequenceValue(String, int, boolean) - 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, boolean) - Method in class org.fastnate.generator.dialect.MsSqlDialect
 
buildCurrentSequenceValue(String, int, boolean) - Method in class org.fastnate.generator.dialect.OracleDialect
 
buildCurrentSequenceValue(String, int, boolean) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
buildDiscriminator() - Method in class org.fastnate.generator.context.EntityClass
 
buildDiscriminator(EntityClass<?>, DiscriminatorColumn) - Method in class org.fastnate.generator.context.EntityClass
 
buildEmbeddedProperties(EntityClass<?>, Class<?>) - Method in class org.fastnate.generator.context.PluralProperty
Builds the embedded properties of this property.
buildErrorMessage(String, Object...) - Static method in exception org.fastnate.generator.context.ModelException
Builds the error message from the given message and parameters.
buildGenerators(Class<?>) - Method in class org.fastnate.generator.context.EntityClass
Fills the generators of the EntityClass.context.
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, JoinColumn[], String) - Static method in class org.fastnate.generator.context.PluralProperty
 
buildIdColumn(AttributeAccessor, AssociationOverride, JoinTable, CollectionTable, String) - Static method in class org.fastnate.generator.context.PluralProperty
 
buildIdProperty(Class<? super E>) - Method in class org.fastnate.generator.context.EntityClass
buildInheritance() - Method in class org.fastnate.generator.context.EntityClass
Determine the inheritance type and discriminator properties.
buildKeyColumn(GeneratorTable, MapKeyColumn, String) - Static method in class org.fastnate.generator.context.MapProperty
 
buildKeyColumn(GeneratorTable, MapKeyJoinColumn, String) - Static method in class org.fastnate.generator.context.MapProperty
 
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.MsSqlDialect
 
buildNextSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.OracleDialect
 
buildOverrides(Class<? super E>) - Method in class org.fastnate.generator.context.EntityClass
 
buildPrimaryKeyJoinColumn() - Method in class org.fastnate.generator.context.EntityClass
 
buildProperties(Class<? super E>, Class<? super E>) - Method in class org.fastnate.generator.context.EntityClass
buildProperty(GeneratorTable, AttributeAccessor, Map<String, AttributeOverride>, Map<String, AssociationOverride>) - Method in class org.fastnate.generator.context.EntityClass
Builds the property for the given attribute.
buildUniqueProperties(UniqueConstraint[]) - Method in class org.fastnate.generator.context.EntityClass
 
buildUniqueProperty(SingularProperty<E, ?>) - Method in class org.fastnate.generator.context.EntityClass
 
buildValueColumn(GeneratorTable, AssociationOverride, AttributeOverride, AttributeAccessor, String) - Static method in class org.fastnate.generator.context.PluralProperty
Builds the column that contains the value for the collection / map.
builtListeners - Variable in class org.fastnate.generator.context.EntityClass
The list of listeners that are informed when this class has finished to build all properties.
bulkWriters - Variable in class org.fastnate.generator.statements.PostgreSqlBulkWriter
The open bulk files for each table.

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.
catalog - Variable in class org.fastnate.generator.context.GeneratorTable
The optional name of the catalog that contains this table, null if the default catalog is used.
catalog - Variable in class org.fastnate.generator.context.SequenceIdGenerator
The (optional) catalog that contains the schema of the sequence.
changeSetAuthour - Variable in class org.fastnate.generator.statements.LiquibaseStatementsWriter
The author of the next created change set.
changeSetComment - Variable in class org.fastnate.generator.statements.LiquibaseStatementsWriter
The comment of the next created change set.
changeSetId - Variable in class org.fastnate.generator.statements.LiquibaseStatementsWriter
The ID of the next created change set.
changeSetStarted - Variable in class org.fastnate.generator.statements.LiquibaseStatementsWriter
Indicates if we are currently in a changeSet.
CharConverter - Class in org.fastnate.generator.converter
Describes a char property of an EntityClass.
CharConverter() - Constructor for class org.fastnate.generator.converter.CharConverter
 
checkUpdate(int, String) - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter
 
ClassUtil - Class in org.fastnate.util
Helper for inspection of classes.
ClassUtil() - Constructor for class org.fastnate.util.ClassUtil
 
close() - Method in class org.fastnate.generator.EntitySqlGenerator
Writes any missing SQL and closes any open resources.
close() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter
 
close() - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter
 
close() - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
close() - Method in class org.fastnate.generator.statements.FileStatementsWriter
 
close() - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
Writes the remaining elements.
close() - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter
 
closeBatch() - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter
 
closeBulkWriter(GeneratorTable) - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter
Closes the current writer of the given table (for example when the table structure has changed).
closeBulkWriters() - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter
 
closeConnection - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
Indicates that we should close the connection at the end.
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, AttributeOverride) - Constructor for class org.fastnate.generator.context.CollectionProperty
Creates a new collection property.
column - Variable in class org.fastnate.generator.context.AnyMapping
The name of the column that contains the id of the entity class, if Any is used.
column - Variable in class org.fastnate.generator.context.EntityProperty
The name of the join column.
column - Variable in class org.fastnate.generator.context.IdentityValue
 
column - Variable in class org.fastnate.generator.context.PrimitiveProperty
The column name in the table.
columnCount - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
ColumnExpression - Interface in org.fastnate.generator.statements
An expression for a column value in an TableStatement.
columns - Variable in class org.fastnate.generator.context.GeneratorTable
The known columns for this table.
composition - Variable in class org.fastnate.generator.context.EntityProperty
Indicates that, according to the CascadeType, we should remove the target entity when the current entity is removed.
composition - Variable in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
composition - Variable in class org.fastnate.generator.context.PluralProperty
Indicates that, according to the CascadeType, we should remove the target entities when the current entity is removed.
composition - Variable in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
ConnectedStatementsWriter - Class in org.fastnate.generator.statements
An implementation of a StatementsWriter which writes the SQL statements directly to a database connection.
ConnectedStatementsWriter(Connection, boolean, GeneratorContext) - Constructor for class org.fastnate.generator.statements.ConnectedStatementsWriter
 
ConnectedStatementsWriter(Connection, GeneratorContext) - Constructor for class org.fastnate.generator.statements.ConnectedStatementsWriter
Creates a new StatementsWriter that writes to a database connection.
ConnectedStatementsWriter(GeneratorContext) - Constructor for class org.fastnate.generator.statements.ConnectedStatementsWriter
Creates a new StatementsWriter that writes to a database connection.
ConnectedStatementsWriter.ContextListener - Class in org.fastnate.generator.statements
 
ConnectedStatementsWriter.PreparedInsertStatement - Class in org.fastnate.generator.statements
 
connection - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
The database connection that was used when creating this generator.
constructor - Variable in class org.fastnate.generator.context.EmbeddedProperty
 
context - Variable in class org.fastnate.generator.context.EntityClass
The current context.
context - Variable in class org.fastnate.generator.context.EntityProperty
The current context.
context - Variable in class org.fastnate.generator.context.GeneratorTable
The current generator context.
context - Variable in class org.fastnate.generator.context.IdentityValue
 
context - Variable in class org.fastnate.generator.context.PluralProperty
The current context.
context - Variable in class org.fastnate.generator.context.PrimitiveProperty
The current context.
context - Variable in class org.fastnate.generator.EntitySqlGenerator
Used to keep the state of indices and to store any configuration.
context - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
The generator context that is attached to this writer.
context - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter.ContextListener
 
context - Variable in class org.fastnate.generator.statements.PostgreSqlBulkWriter
The current generation context.
contextListener - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
The listener for model changes in the context when new classes are discovered.
ContextListener(GeneratorContext, Statement, List<ConnectedStatementsWriter.PreparedInsertStatement>, Map<GeneratorTable, List<ConnectedStatementsWriter.PreparedInsertStatement>>) - Constructor for class org.fastnate.generator.statements.ConnectedStatementsWriter.ContextListener
 
contextListener - Variable in class org.fastnate.generator.statements.PostgreSqlBulkWriter
The current generation context.
ContextListener() - Constructor for class org.fastnate.generator.statements.PostgreSqlBulkWriter.ContextListener
 
ContextModelListener - Interface in org.fastnate.generator.context
Implementations of this class are interested in the discovery of new entity classes or generators.
contextModelListeners - Variable in class org.fastnate.generator.context.GeneratorContext
All listeners of this context.
convertBooleanValue(boolean) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Converts a boolean value to an SQL expression for the current database type.
convertBooleanValue(boolean) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
converter - Variable in class org.fastnate.generator.context.PrimitiveProperty
The converter for any value.
converter - Variable in class org.fastnate.generator.statements.PrimitiveColumnExpression
Converts the primitive value to an SQL string.
convertNumber(Number, Class<N>) - Static method in class org.fastnate.util.ClassUtil
Tries to convert the given number to the given type.
convertNumberValue(Number) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Converts a numeric value to an SQL expression for the current database type.
convertTemporalValue(Date) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Builds the SQL expression for a date / time / timestamp.
convertTemporalValue(Date, TemporalType) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Converts a date to an appropriate SQL expression.
convertTemporalValue(Date) - Method in class org.fastnate.generator.dialect.MsSqlDialect
 
convertTemporalValue(Date, TemporalType) - Method in class org.fastnate.generator.dialect.MsSqlDialect
 
convertTemporalValue(Date, TemporalType) - Method in class org.fastnate.generator.dialect.OracleDialect
 
convertToDatabaseDate(Date, TemporalType) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Converts any Date value to a java.sql specific date object.
copySetting(Properties, String, String) - Static method in class org.fastnate.generator.provider.HibernateProvider
 
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.
create(N, GeneratorDialect) - Static method in class org.fastnate.generator.statements.PrimitiveColumnExpression
Creates a new instance of PrimitiveColumnExpression for a number.
create(String, GeneratorDialect) - Static method in class org.fastnate.generator.statements.PrimitiveColumnExpression
Creates a new instance of a PrimitiveColumnExpression for a string.
createAddDateExpression(String, long, String) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Creates an SQL expression to add a value to a date.
createAddDateExpression(String, long, String) - Method in class org.fastnate.generator.dialect.MySqlDialect
 
createAddDateExpression(String, long, String) - Method in class org.fastnate.generator.dialect.OracleDialect
 
createAddDateExpression(String, long, String) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
createBasicConverter(String, Class<T>) - Method in interface org.fastnate.generator.provider.JpaProvider
Creates a converter for a primitive database type.
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.MsSqlDialect
 
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) - Method in interface org.fastnate.generator.provider.JpaProvider
Creates a converter for an attribute that has a PrimitiveProperty.
createDirectValueStatement(StatementsWriter, E, ColumnExpression, ColumnExpression, T) - Method in class org.fastnate.generator.context.PluralProperty
Creates the statements for a (not embeddable) value from the collection.
createEmbeddedValueStatement(StatementsWriter, E, ColumnExpression, ColumnExpression, T) - Method in class org.fastnate.generator.context.PluralProperty
Writes all embedded properties of a value of a collection table.
createFallbackConverter(String, Class<T>) - Method in interface org.fastnate.generator.provider.JpaProvider
Creates the converter for a type that is unknown to us.
createHexBlobExpression(String, byte[], String) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Creates the hex presentation of the given blob.
createInsertStatement(GeneratorDialect, GeneratorTable) - Method in class org.fastnate.generator.statements.AbstractStatementsWriter
 
createInsertStatement(GeneratorDialect, GeneratorTable) - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter
 
createInsertStatement(GeneratorDialect, GeneratorTable) - Method in interface org.fastnate.generator.statements.StatementsWriter
Creates a container for a dedicated "insert into table" statement.
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
 
createPlainStatement(GeneratorDialect, String) - Method in class org.fastnate.generator.statements.AbstractStatementsWriter
 
createPlainStatement(GeneratorDialect, String) - Method in interface org.fastnate.generator.statements.StatementsWriter
Creates a container for a plain SQL statement, which is just executed "as is".
createPostInsertStatements(StatementsWriter, E) - Method in class org.fastnate.generator.context.CollectionProperty
 
createPostInsertStatements(StatementsWriter, E) - Method in class org.fastnate.generator.context.EmbeddedProperty
 
createPostInsertStatements(E, StatementsWriter) - Method in class org.fastnate.generator.context.EntityClass
Marks an entity as written and creates any pending update / insert statements.
createPostInsertStatements(StatementsWriter, E) - Method in class org.fastnate.generator.context.MapProperty
 
createPostInsertStatements(StatementsWriter, 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(StatementsWriter, E) - Method in class org.fastnate.generator.context.EmbeddedProperty
 
createPreInsertStatements(StatementsWriter, E) - Method in class org.fastnate.generator.context.GeneratedIdProperty
 
createPreInsertStatements(StatementsWriter) - Method in class org.fastnate.generator.context.IdGenerator
Creates the statements that are needed in the output before IdGenerator.addNextValue(TableStatement, GeneratorColumn, Number).
createPreInsertStatements(StatementsWriter, 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(StatementsWriter) - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
createPreInsertStatements(StatementsWriter) - Method in class org.fastnate.generator.context.TableIdGenerator
 
createUpdateStatement(GeneratorDialect, GeneratorTable, GeneratorColumn, ColumnExpression) - Method in class org.fastnate.generator.statements.AbstractStatementsWriter
 
createUpdateStatement(GeneratorDialect, GeneratorTable, GeneratorColumn, ColumnExpression) - Method in interface org.fastnate.generator.statements.StatementsWriter
Creates a container for a dedicated "update table" statement.
createValueExpression(E, ColumnExpression, T, ColumnExpression) - Method in class org.fastnate.generator.context.PluralProperty
Creates a SQL expression for a value of the collection, as long as it is not embedded.
createValueStatement(StatementsWriter, E, ColumnExpression, ColumnExpression, T) - Method in class org.fastnate.generator.context.PluralProperty
Adds a value statement to the list of collection statements.
currentSequenceValue - Variable in class org.fastnate.generator.context.SequenceIdGenerator
 
CurrentSequenceValueExpression - Class in org.fastnate.generator.statements
A ColumnExpression which references an ID using the current value of a sequence.
CurrentSequenceValueExpression(SequenceIdGenerator, long, boolean) - Constructor for class org.fastnate.generator.statements.CurrentSequenceValueExpression
Creates a new instance of an expression that references an ID by using the current value of a sequence.
currentValue - Variable in class org.fastnate.generator.context.IdentityValue
 
customConverter - Variable in class org.fastnate.generator.converter.CustomValueConverter
 
CustomValueConverter<T,C> - Class in org.fastnate.generator.converter
A value converter that uses an AttributeConverter.
CustomValueConverter(AttributeConverter<T, C>, ValueConverter<C>) - Constructor for class org.fastnate.generator.converter.CustomValueConverter
 

D

DATABASE_DRIVER_KEY - Static variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
Name of the setting that contains the connection driver class, if the writer create the a connection himself.
DATABASE_PASSWORD_KEY - Static variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
Name of the setting that contains the connection password, if the writer create the a connection himself.
DATABASE_URL_KEY - Static variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
Name of the setting that contains the connection URL, if the writer create the a connection himself.
DATABASE_USER_KEY - Static variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
Name of the setting that contains the connection user, if the writer create the a connection himself.
databaseValue - Variable in class org.fastnate.generator.statements.PrimitiveColumnExpression
The primitive database value (which may be used in an prepared statement).
DATE_PRECISIONS - Static variable in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
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.
DAYS - Static variable in class org.fastnate.generator.RelativeDate
Used for adding days to a reference date.
DEFAULT_BUFFER_SIZE - Static variable in class org.fastnate.generator.converter.SerializableConverter
Serializable objects tend to be big, so start not to small with the buffer.
DEFAULT_COLUMN_LENGTH - Static variable in class org.fastnate.generator.converter.StringConverter
 
DEFAULT_FORMATS - Static variable in class org.fastnate.generator.converter.AbstractDateConverter
 
DefaultContextModelListener - Class in org.fastnate.generator.context
Base implementation of a ContextModelListener with empty methods.
DefaultContextModelListener() - Constructor for class org.fastnate.generator.context.DefaultContextModelListener
 
defaultSequenceGenerator - Variable in class org.fastnate.generator.context.GeneratorContext
The default sequence generator, if none is explicitly specified in a GeneratedValue.
defaultTableGenerator - Variable in class org.fastnate.generator.context.GeneratorContext
The default table generator, if none is explicitly specified in a GeneratedValue.
defaultValue - Variable in class org.fastnate.generator.context.PrimitiveProperty
The default value.
DefaultValue - Annotation Type in org.fastnate.generator
Annotation for attributes of entities, which indicates default values during SQL generation.
derive(GeneratorTable) - 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(GeneratorTable) - Method in class org.fastnate.generator.context.TableIdGenerator
 
descriptions - Variable in class org.fastnate.generator.context.GeneratorContext
Contains the extracted metadata to every known class of an Entity.
descriptionsByName - Variable in class org.fastnate.generator.context.GeneratorContext
The mapping from the name of an entity to the extracted metadata.
dialect - Variable in class org.fastnate.generator.context.GeneratorContext
Identifies the SQL dialect for generating SQL statements.
dialect - Variable in class org.fastnate.generator.context.PluralProperty
The current database dialect, as defined in the context.
dialect - Variable in class org.fastnate.generator.context.SequenceIdGenerator
The current database dialect.
dialect - Variable in class org.fastnate.generator.context.TableIdGenerator
 
dialect - Variable in class org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
The current database dialect
DIALECT_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for the target SQL dialect.
difference - Variable in class org.fastnate.generator.statements.SequenceValueExpression
The difference of the referenced ID to the sequence value.
directory - Variable in class org.fastnate.generator.statements.PostgreSqlBulkWriter
The directory for the bulk files.
discriminator - Variable in class org.fastnate.generator.context.EntityClass
The SQL expression that is used for the disciminator column of this class.
discriminatorColumn - Variable in class org.fastnate.generator.context.EntityClass
DurationConverter - Class in org.fastnate.generator.converter
Converts a Duration to an SQL expression.
DurationConverter() - Constructor for class org.fastnate.generator.converter.DurationConverter
 

E

embeddedProperties - Variable in class org.fastnate.generator.context.EmbeddedProperty
The properties within the embedded object.
embeddedProperties - Variable in class org.fastnate.generator.context.PluralProperty
Contains all properties of an embedded element collection.
embeddedPropertiesByName - Variable in class org.fastnate.generator.context.PluralProperty
Contains all properties of an embedded element collection by their name.
EmbeddedProperty<E,T> - Class in org.fastnate.generator.context
Handling of properties defined in Embeddables.
EmbeddedProperty(EntityClass<?>, GeneratorTable, AttributeAccessor, Map<String, AttributeOverride>, Map<String, AssociationOverride>) - Constructor for class org.fastnate.generator.context.EmbeddedProperty
Instantiates a new embedded property.
encoding - Variable in class org.fastnate.generator.statements.PostgreSqlBulkWriter
The encoding of the bulk files.
ensureChangeSetStarted() - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
ensureDirectoryExists(File) - Static method in class org.fastnate.generator.statements.FileStatementsWriter
Ensures, that the parent directory of the given output file exists.
ensureIsNew(E) - Method in class org.fastnate.generator.context.GeneratedIdProperty
 
entity - Variable in class org.fastnate.generator.context.EntityClass.EntityId
 
entity - Variable in class org.fastnate.generator.context.GenerationState.PendingState.Update
 
EntityClass<E> - Class in org.fastnate.generator.context
Describes the DB relevant metadata of an entity class.
EntityClass(GeneratorContext, Class<E>) - Constructor for class org.fastnate.generator.context.EntityClass
Creates a new description of an entity class.
entityClass - Variable in class org.fastnate.generator.context.EntityClass
The represented class.
entityClass - Variable in class org.fastnate.generator.context.GeneratedIdProperty
The entity class that contains our property.
EntityClass.EntityId - Class in org.fastnate.generator.context
Helper object to use as key in the state map, if we have a GeneratedIdProperty.
entityConstructor - Variable in class org.fastnate.generator.context.EntityClass
The JPA constructor.
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
 
EntityId(Object) - Constructor for class org.fastnate.generator.context.EntityClass.EntityId
 
EntityMappingInformation(AttributeAccessor, AssociationOverride, int) - Constructor for class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
entityName - Variable in class org.fastnate.generator.context.EntityClass
The entity name.
EntityProperty<E,T> - Class in org.fastnate.generator.context
Describes a property of an EntityClass that references another entity.
EntityProperty(GeneratorContext, GeneratorTable, AttributeAccessor, AssociationOverride) - Constructor for class org.fastnate.generator.context.EntityProperty
Creates a new instance of EntityProperty.
EntityProperty.MappingInformation - Class in org.fastnate.generator.context
Helper for evaluating correct mapping information from the annotations.
entityReference - Variable in class org.fastnate.generator.context.PluralProperty
Indicates that entities are referenced by the collection.
EntitySqlGenerator - Class in org.fastnate.generator
Creates SQL statements for a set of entities using their JPA annotations.
EntitySqlGenerator(GeneratorContext, Connection) - Constructor for class org.fastnate.generator.EntitySqlGenerator
Creates a new instance for a database connection.
EntitySqlGenerator(GeneratorContext, Writer) - Constructor for class org.fastnate.generator.EntitySqlGenerator
Creates a new instance for a output writer.
EntitySqlGenerator(GeneratorContext, StatementsWriter) - Constructor for class org.fastnate.generator.EntitySqlGenerator
 
EntityStatement - Interface in org.fastnate.generator.statements
Base class for statements generated by a StatementsWriter.
entityStates - Variable in class org.fastnate.generator.context.EntityClass
The states of written entities.
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.generator.context.EntityClass.EntityId
 
equals(Object) - Method in class org.fastnate.generator.context.GeneratorContext.GeneratorId
 
ESCAPES - Static variable in class org.fastnate.generator.dialect.MySqlDialect
 
executeUpdate() - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
exportType - Variable in class org.fastnate.generator.converter.EnumConverter
 

F

failIfRequired(E) - Method in class org.fastnate.generator.context.Property
Throws an IllegalArgumentException if the field was not filled.
fileNumbers - Variable in class org.fastnate.generator.statements.PostgreSqlBulkWriter
Remembers for each table which files we've already generated.
FileStatementsWriter - Class in org.fastnate.generator.statements
Implementation of StatementsWriter which writes the statements into a Writer resp.
FileStatementsWriter(File) - Constructor for class org.fastnate.generator.statements.FileStatementsWriter
Creates a new instance for a specifc file and UTF-8 encoding.
FileStatementsWriter(File, Charset) - Constructor for class org.fastnate.generator.statements.FileStatementsWriter
Creates a new instance for a specifc file and encoding.
FileStatementsWriter(GeneratorContext) - Constructor for class org.fastnate.generator.statements.FileStatementsWriter
Creates a new instance of FileStatementsWriter.
FileStatementsWriter(Writer) - Constructor for class org.fastnate.generator.statements.FileStatementsWriter
 
fillMetaDefs(AttributeAccessor, Column, String, GeneratorContext) - Method in class org.fastnate.generator.context.AnyMapping
 
findBulkWriter(GeneratorTable, GeneratorDialect) - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter
 
findDesc(T) - Method in class org.fastnate.generator.context.AnyMapping
 
findElementMetaDef(AnnotatedElement, String) - Static method in class org.fastnate.generator.context.AnyMapping
 
findEntity(E) - Method in class org.fastnate.generator.EntitySqlGenerator
Tries to find an entity in an online store.
findGlobalMetaDef(AttributeAccessor, String) - Method in class org.fastnate.generator.context.AnyMapping
 
findHierarchyRoot(Class<? super E>) - Method in class org.fastnate.generator.context.EntityClass
 
findIdProperty(Iterable<AttributeAccessor>) - Method in class org.fastnate.generator.context.EntityClass
 
findMappedId(AttributeAccessor) - Static method in class org.fastnate.generator.context.PluralProperty
 
findMetaDefInClassHierarchy(Class<?>, String) - Method in class org.fastnate.generator.context.AnyMapping
 
findPropertyByColumnName(String) - Method in class org.fastnate.generator.context.EntityClass
 
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.
findValueConstructor(Class<T>) - Static method in class org.fastnate.generator.context.PluralProperty
 
finishPart(StringBuilder, String, int, int, boolean, boolean, String) - Static method in class org.fastnate.generator.dialect.GeneratorDialect
 
fireContextObjectAdded(BiConsumer<ContextModelListener, T>, T) - Method in class org.fastnate.generator.context.GeneratorContext
Fires an event to all listeners.
firstCall - Variable in class org.fastnate.generator.statements.CurrentSequenceValueExpression
 
flush() - Method in class org.fastnate.generator.EntitySqlGenerator
Writes any open and alignment statements.
flush() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter
 
flush() - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter
 
flush() - Method in class org.fastnate.generator.statements.FileStatementsWriter
 
flush() - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
flush() - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter
 
flush() - Method in interface org.fastnate.generator.statements.StatementsWriter
Flushes any open statements.
foundColumn(GeneratorColumn) - Method in interface org.fastnate.generator.context.ContextModelListener
Called when a new table column was discovered.
foundColumn(GeneratorColumn) - Method in class org.fastnate.generator.context.DefaultContextModelListener
 
foundColumn(GeneratorColumn) - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter.ContextListener
 
foundColumn(GeneratorColumn) - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter.ContextListener
 
foundEntityClass(EntityClass<?>) - Method in interface org.fastnate.generator.context.ContextModelListener
Called when a new entity class was discovered.
foundEntityClass(EntityClass<?>) - Method in class org.fastnate.generator.context.DefaultContextModelListener
 
foundGenerator(IdGenerator) - Method in interface org.fastnate.generator.context.ContextModelListener
Called when a new generator was discovered.
foundGenerator(IdGenerator) - Method in class org.fastnate.generator.context.DefaultContextModelListener
 
foundGenerator(IdGenerator) - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter.ContextListener
 
foundTable(GeneratorTable) - Method in interface org.fastnate.generator.context.ContextModelListener
Called when a new table was discovered.
foundTable(GeneratorTable) - Method in class org.fastnate.generator.context.DefaultContextModelListener
 

G

generatedFiles - Variable in class org.fastnate.generator.statements.PostgreSqlBulkWriter
All files generated by this writer.
GeneratedIdProperty<E,T extends Number> - 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(StatementsWriter, E, Object, Object...) - Method in class org.fastnate.generator.context.EntityProperty
 
generatePendingStatements(StatementsWriter, E, Object, Object...) - Method in class org.fastnate.generator.context.PluralProperty
 
generatePendingStatements(StatementsWriter, 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.
GenerationState - Class in org.fastnate.generator.context
Encapsulates the state of a generated entity.
GenerationState() - Constructor for class org.fastnate.generator.context.GenerationState
 
GenerationState.PendingState - Class in org.fastnate.generator.context
Marks all pending updates for an entity, that was not written up to now.
GenerationState.PendingState.Update<E> - Class in org.fastnate.generator.context
 
generator - Variable in class org.fastnate.generator.context.GeneratedIdProperty
The generator used for generating new values of this property.
GeneratorColumn - Class in org.fastnate.generator.context
Contains the metadata for a column from a GeneratorTable.
GeneratorColumn(GeneratorTable, int, String, boolean) - Constructor for class org.fastnate.generator.context.GeneratorColumn
 
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.
GeneratorContext.GeneratorId - Class in org.fastnate.generator.context
 
GeneratorDialect - Class in org.fastnate.generator.dialect
Handles database specific conversions.
GeneratorDialect() - Constructor for class org.fastnate.generator.dialect.GeneratorDialect
 
GeneratorId(String, GeneratorTable) - Constructor for class org.fastnate.generator.context.GeneratorContext.GeneratorId
 
generators - Variable in class org.fastnate.generator.context.GeneratorContext
Mapping from the name of a generator to the generator itself.
GeneratorTable - Class in org.fastnate.generator.context
Stores the metadata about existing database tables.
GeneratorTable(int, String, String, String, String, GeneratorContext) - Constructor for class org.fastnate.generator.context.GeneratorTable
 
generatorTable - Variable in class org.fastnate.generator.context.TableIdGenerator
 
getAccessStyle() - Method in interface org.fastnate.generator.context.AttributeAccessor
Describes how this attribute accesses the values below.
getAccessStyle() - Method in class org.fastnate.generator.context.EntityClass
The type of access that is used for the properties (field access or bean property access).
getAccociationOverrides(Map<String, AssociationOverride>, String, AnnotatedElement) - Static method in class org.fastnate.generator.context.EntityClass
Finds all association overrides that are attached to the given field, method or class, by taking the already defined overrides into account.
getActualTypeArgument(Class<? extends I>, Class<I>, int) - Static method in class org.fastnate.util.ClassUtil
 
getActualTypeBinding(Class<? extends I>, Class<I>, int) - Static method in class org.fastnate.util.ClassUtil
Resolves the actual binding of a generic type that was specified in a superclass and bound in a subclass.
getActualTypeBinding(Class<? extends I>, Class<I>, Type) - Static method in class org.fastnate.util.ClassUtil
Resolves the actual binding of a generic type to a specific class by inspecting type variables in the declaring class and the (sub)class of the object.
getAdditionalProperties() - Method in class org.fastnate.generator.context.EntityClass
Properties of this entity, excluding the EntityClass.idProperty or properties from EntityClass.joinedParentClass.
getAllocationSize() - Method in class org.fastnate.generator.context.SequenceIdGenerator
The amount to increment by when allocating sequence numbers from the sequence.
getAllocationSize() - Method in class org.fastnate.generator.context.TableIdGenerator
 
getAllProperties() - Method in class org.fastnate.generator.context.EntityClass
All properties of this entity, including EntityClass.idProperty and properties from EntityClass.joinedParentClass.
getAllUniqueProperties() - Method in class org.fastnate.generator.context.EntityClass
All available sets of properties that make up an additional unique identifier for the entities.
getAnyColumn() - Method in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
getAnyColumn() - Method in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
getAnyDefName() - Method in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
getAnyDefName() - Method in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
getAnyMapping() - Method in class org.fastnate.generator.context.EntityProperty
Contains information about an addition class column, if Any is used.
getAnyMapping() - Method in class org.fastnate.generator.context.PluralProperty
Contains information about an addition class column, if ManyToAny is used.
getArguments() - Method in class org.fastnate.generator.context.GenerationState.PendingState.Update
 
getAssociationOverrides() - Method in class org.fastnate.generator.context.EntityClass
All association overriddes of this class and the parent classes.
getAttribute() - Method in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
getAttribute() - Method in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
getAttribute() - Method in class org.fastnate.generator.context.Property
Used to access the value of the property.
getAttributeOverrides(Map<String, AttributeOverride>, String, AnnotatedElement) - Static method in class org.fastnate.generator.context.EntityClass
Finds all AttributeOverrides that are attached to the given field, method or class, by taking the already defined overrides into account.
getAttributeOverrides() - Method in class org.fastnate.generator.context.EntityClass
All attribute overriddes of this class and the parent classes.
getAutoGenerationType() - Method in class org.fastnate.generator.dialect.GeneratorDialect
Resolves the GenerationType used, if GenerationType.AUTO is set for a GeneratedValue.
getCallerMethod() - Static method in class org.fastnate.util.ClassUtil
Resolves the name of the method that called the caller of this method.
getCallerMethod(Class<?>) - Static method in class org.fastnate.util.ClassUtil
Resolves the name of the method that called the caller of this method.
getCatalog() - Method in class org.fastnate.generator.context.GeneratorTable
The optional name of the catalog that contains this table, null if the default catalog is used.
getCatalog() - Method in class org.fastnate.generator.context.SequenceIdGenerator
The (optional) catalog that contains the schema of the sequence.
getChangeSetAuthour() - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
The author of the next created change set.
getChangeSetComment() - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
The comment of the next created change set.
getChangeSetId() - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
The ID of the next created change set.
getColumn() - Method in class org.fastnate.generator.context.EntityProperty
The name of the join column.
getColumn() - Method in class org.fastnate.generator.context.PrimitiveProperty
The column name in the table.
getColumn() - Method in class org.fastnate.generator.context.SingularProperty
The associated column.
getColumnAnnotation(AttributeAccessor, Map<String, AttributeOverride>) - Static method in class org.fastnate.generator.context.EntityClass
 
getColumnCount() - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
getColumns() - Method in class org.fastnate.generator.context.GeneratorTable
The known columns for this table.
getConcatOperator() - Method in class org.fastnate.generator.dialect.GeneratorDialect
The operator used to concat two Strings.
getConcatOperator() - Method in class org.fastnate.generator.dialect.MsSqlDialect
 
getConnection() - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter
The database connection that was used when creating this generator.
getContext() - Method in class org.fastnate.generator.context.EntityClass
The current context.
getContext() - Method in class org.fastnate.generator.context.EntityProperty
The current context.
getContext() - Method in class org.fastnate.generator.context.GeneratorTable
The current generator context.
getContext() - Method in class org.fastnate.generator.context.PluralProperty
The current context.
getContext() - Method in class org.fastnate.generator.context.PrimitiveProperty
The current context.
getContext() - Method in class org.fastnate.generator.EntitySqlGenerator
Used to keep the state of indices and to store any configuration.
getContextModelListeners() - Method in class org.fastnate.generator.context.GeneratorContext
All listeners of this context.
getConverter() - Method in class org.fastnate.generator.context.PrimitiveProperty
The converter for any value.
getConverter() - Method in class org.fastnate.generator.statements.PrimitiveColumnExpression
Converts the primitive value to an SQL string.
getCurrentValue() - Method in class org.fastnate.generator.context.IdentityValue
 
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
 
getDatabaseValue() - Method in class org.fastnate.generator.statements.PrimitiveColumnExpression
The primitive database value (which may be used in an prepared statement).
getDeclaredAttributes(Class<E>, Class<? extends E>) - Method in enum org.fastnate.generator.context.AccessStyle
Finds all attributes of the current access type that are referenced in the given class.
getDeclaringClass() - Method in interface org.fastnate.generator.context.AttributeAccessor
The class that declared this attribute.
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.
getDefaultSequenceGenerator() - Method in class org.fastnate.generator.context.GeneratorContext
 
getDefaultTableGenerator() - Method in class org.fastnate.generator.context.GeneratorContext
 
getDefaultValue(AttributeAccessor) - Method in class org.fastnate.generator.context.PrimitiveProperty
Finds the default value from the given attribute.
getDefaultValue() - Method in class org.fastnate.generator.context.PrimitiveProperty
The default value.
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.
getDescriptions() - Method in class org.fastnate.generator.context.GeneratorContext
Contains the extracted metadata to every known class of an Entity.
getDescriptionsByName() - Method in class org.fastnate.generator.context.GeneratorContext
The mapping from the name of an entity to the extracted metadata.
getDialect() - Method in class org.fastnate.generator.context.GeneratorContext
Identifies the SQL dialect for generating SQL statements.
getDialect() - Method in class org.fastnate.generator.context.PluralProperty
The current database dialect, as defined in the context.
getDialect() - Method in class org.fastnate.generator.context.PrimitiveProperty
Resolves the current dialect from the context.
getDialect() - Method in class org.fastnate.generator.context.SequenceIdGenerator
The current database dialect.
getDialect() - Method in class org.fastnate.generator.context.TableIdGenerator
 
getDialect() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
The current database dialect
getDifference() - Method in class org.fastnate.generator.RelativeDate
The difference of the time to the RelativeDate.referenceDate.
getDifference() - Method in class org.fastnate.generator.statements.SequenceValueExpression
The difference of the referenced ID to the sequence value.
getDirectory() - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter
The directory for the bulk files.
getDiscriminator() - Method in class org.fastnate.generator.context.EntityClass
The SQL expression that is used for the disciminator column of this class.
getDiscriminatorColumn() - Method in class org.fastnate.generator.context.EntityClass
getElement() - Method in interface org.fastnate.generator.context.AttributeAccessor
The actual field or method.
getEmbeddedProperties() - Method in class org.fastnate.generator.context.EmbeddedProperty
The properties within the embedded object.
getEmbeddedProperties() - Method in class org.fastnate.generator.context.PluralProperty
Contains all properties of an embedded element collection.
getEmbeddedPropertiesByName() - Method in class org.fastnate.generator.context.PluralProperty
Contains all properties of an embedded element collection by their name.
getEmptyValuesExpression() - Method in class org.fastnate.generator.dialect.GeneratorDialect
The SQL expression to use in an empty insert statement.
getEmptyValuesExpression() - Method in class org.fastnate.generator.dialect.MySqlDialect
 
getEncoding() - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter
The encoding of the bulk files.
getEntity() - Method in class org.fastnate.generator.context.GenerationState.PendingState.Update
 
getEntityClass() - Method in class org.fastnate.generator.context.EntityClass
The represented class.
getEntityClass() - Method in class org.fastnate.generator.context.GeneratedIdProperty
The entity class that contains our property.
getEntityName() - Method in class org.fastnate.generator.context.EntityClass
The entity name.
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.
getEntityStates() - Method in class org.fastnate.generator.context.EntityClass
The states of written entities.
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(GeneratorTable, GeneratorColumn, Number, boolean) - Method in class org.fastnate.generator.context.IdentityValue
 
getExpression(GeneratorTable, GeneratorColumn, 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(GeneratorTable, GeneratorColumn, Number, boolean) - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
getExpression(GeneratorTable, GeneratorColumn, Number, boolean) - Method in class org.fastnate.generator.context.TableIdGenerator
 
getExpression(Date, GeneratorContext) - Method in class org.fastnate.generator.converter.AbstractDateConverter
Converts the given value into an SQL expression.
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.AbstractDateConverter
Use database independent default values.
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(T, GeneratorContext) - Method in class org.fastnate.generator.converter.CustomValueConverter
 
getExpression(Duration, GeneratorContext) - Method in class org.fastnate.generator.converter.DurationConverter
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.DurationConverter
 
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(String, 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(String, GeneratorContext) - Method in class org.fastnate.generator.converter.TemporalConverter
 
getExpression(T, GeneratorContext) - Method in class org.fastnate.generator.converter.TemporalConverter
 
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.
getGeneratedFiles() - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter
All files generated by this writer.
getGeneratedIdReference(E, boolean) - Method in class org.fastnate.generator.context.EntityClass
 
getGenerator() - Method in class org.fastnate.generator.context.GeneratedIdProperty
The generator used for generating new values of this property.
getGenerator(GeneratedValue, GeneratorTable, GeneratorColumn) - Method in class org.fastnate.generator.context.GeneratorContext
Finds the correct generator for the given annotation.
getGeneratorDialectFromConnectionDriver(Properties) - Static method in class org.fastnate.generator.provider.HibernateProvider
 
getGeneratorDialectFromConnectionUrl(Properties) - Static method in class org.fastnate.generator.provider.HibernateProvider
 
getGeneratorDialectFromHibernateDialect(Properties) - Static method in class org.fastnate.generator.provider.HibernateProvider
 
getGeneratorTable() - Method in class org.fastnate.generator.context.TableIdGenerator
 
getGenericType() - Method in interface org.fastnate.generator.context.AttributeAccessor
The generic type of the accessed attribute.
getHierarchyRoot() - Method in class org.fastnate.generator.context.EntityClass
The description of the entity class that is the root of the current inheritance hierarchy.
getIdColumn(AttributeAccessor) - Method in class org.fastnate.generator.context.EntityClass
Resolves the column for the id property of this entity class.
getIdColumn() - Method in class org.fastnate.generator.context.PluralProperty
The column that contains the id of the entity.
getIdColumn() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.UpdateStatement
 
getIdField() - Method in class org.fastnate.generator.context.EntityProperty
The name of the id for referencing an embedded id.
getIdProperty() - Method in class org.fastnate.generator.context.EntityClass
The property that contains the id for the entity.
getIdValue() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.UpdateStatement
 
getImplementationClass() - Method in interface org.fastnate.generator.context.AttributeAccessor
The class that is the type of every object that contains this attribute.
getIndex() - Method in class org.fastnate.generator.context.GeneratorColumn
The index of this column in the list of all columns of the associated table.
getIndex() - Method in class org.fastnate.generator.context.GeneratorTable
The index of this table in the list of all available tables.
getInheritanceType() - Method in class org.fastnate.generator.context.EntityClass
The inheritance type of this class.
getInitializedValue(E) - Method in class org.fastnate.generator.context.EmbeddedProperty
Ensures that the property of the given entity is initialized.
getInitialValue() - Method in class org.fastnate.generator.context.SequenceIdGenerator
The value from which the sequence object is to start generating.
getInitialValue() - Method in class org.fastnate.generator.context.TableIdGenerator
 
getInverseProperty() - Method in class org.fastnate.generator.context.EntityProperty
The opposite property of a bidirectional mapping.
getInverseProperty() - Method in class org.fastnate.generator.context.PluralProperty
The opposite property of a bidirectional mapping.
getJoinColumnName(JoinColumn[]) - Static method in class org.fastnate.generator.context.PluralProperty
 
getJoinedParentClass() - Method in class org.fastnate.generator.context.EntityClass
The description of the next entity class that has InheritanceType.JOINED, if any.
getKeyClass() - Method in class org.fastnate.generator.context.MapProperty
The class of the key of the map.
getKeyColumn() - Method in class org.fastnate.generator.context.CollectionProperty
 
getKeyColumn() - Method in class org.fastnate.generator.context.MapProperty
The name of the column that contains the key.
getKeyColumn() - Method in class org.fastnate.generator.context.PluralProperty
An optional column that contains the index / key of the values.
getKeyConverter() - Method in class org.fastnate.generator.context.MapProperty
The converter for the target value, null if not a primitive value.
getKeyEntityClass() - Method in class org.fastnate.generator.context.MapProperty
The description of the key class, null if not an entity.
getLetter() - Method in class org.fastnate.generator.dialect.GeneratorDialect
 
getMappedBy() - Method in class org.fastnate.generator.context.EntityProperty
The optional name of a property in the target type, that owns the relationship.
getMappedBy() - Method in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
getMappedBy() - Method in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
getMappedBy() - Method in class org.fastnate.generator.context.PluralProperty
Indicates that this property is defined by another property on the target type.
getMappedId() - Method in class org.fastnate.generator.context.PluralProperty
The property to use, if an id is embedded.
getMatchingQuality(Property<?, ?>) - Static method in enum org.fastnate.generator.context.UniquePropertyQuality
Finds the best quality that matches the given property.
getMaxAllocatedValue() - Method in class org.fastnate.generator.context.TableIdGenerator
The maximum allocated value.
getMaxUniqueProperties() - Method in class org.fastnate.generator.context.GeneratorContext
The maximum count of columns that are used when referencing an entity using it's unique properties.
getMillis() - Method in class org.fastnate.generator.RelativeDate.Precision
The precision of the unit in milliseconds.
getName() - Method in interface org.fastnate.generator.context.AttributeAccessor
The name of the accessed attribute.
getName() - Method in class org.fastnate.generator.context.GeneratorColumn
The name of this column.
getName() - Method in class org.fastnate.generator.context.GeneratorTable
The name of this table.
getName() - Method in class org.fastnate.generator.context.Property
The name of this property.
getNextValue() - Method in class org.fastnate.generator.context.TableIdGenerator
 
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
 
getOrderColumn() - Method in class org.fastnate.generator.context.CollectionProperty
The name of the column that saves the order of the entries in the collection.
getParentEntityClass() - Method in class org.fastnate.generator.context.EntityClass
Only used during EntityClass.build() to find the joinedParentClass even if that one references our class.
getPkColumn() - Method in class org.fastnate.generator.context.TableIdGenerator
 
getPkColumnValue() - Method in class org.fastnate.generator.context.TableIdGenerator
 
getPrecision() - Method in class org.fastnate.generator.RelativeDate
Finds the highest possible unit of the difference between the reference date and this date.
getPredicate(T) - Method in class org.fastnate.generator.context.AnyMapping
Builds a predicate to find the row with the given value.
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.
getPrimaryKeyJoinColumn() - Method in class org.fastnate.generator.context.EntityClass
The column that contains the id of this entity if EntityClass.joinedParentClass is not null.
getProperties() - Method in class org.fastnate.generator.context.EntityClass
Mapping from the name of all persistent properties to their description.
getProperty() - Method in class org.fastnate.generator.context.GenerationState.PendingState.Update
 
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.
getProvider() - Method in class org.fastnate.generator.context.GeneratorContext
Identifies the JPA provider to indicate implementation specific details.
getQualifiedName() - Method in class org.fastnate.generator.context.GeneratorTable
The fully qualified name of this table, including any optional catalog and schema name.
getQualifiedName() - Method in class org.fastnate.generator.context.SequenceIdGenerator
The fully qualfied name of the sequence, including the optional catalog and schema name.
getReferenceDate() - Method in class org.fastnate.generator.RelativeDate
The date that is the base for this date.
getRequiredEmbeddedProperties() - Method in class org.fastnate.generator.context.PluralProperty
Contains all properties of an embedded element collection which reference a required entity.
getSchema() - Method in class org.fastnate.generator.context.GeneratorTable
The optional name of the schema that contains this table, null if the default schema is used.
getSchema() - Method in class org.fastnate.generator.context.SequenceIdGenerator
The (optional) schema that contains the sequence.
getSequence() - Method in class org.fastnate.generator.statements.SequenceValueExpression
The written sequence.
getSequenceName() - Method in class org.fastnate.generator.context.SequenceIdGenerator
The name of the sequence.
getSettings() - Method in class org.fastnate.generator.context.GeneratorContext
Contains the settings that were given during creation, resp. as read from the persistence configuration.
getSql() - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
getStateId(E) - Method in class org.fastnate.generator.context.EntityClass
Finds the id for the given entity, for look up in the EntityClass.entityStates.
getStatement() - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
getStatements() - Method in class org.fastnate.generator.statements.ListStatementsWriter
 
getStatementsCount() - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter
The count of statements that we have executed up to now.
getStatementsCount() - Method in class org.fastnate.generator.statements.FileStatementsWriter
The count of written statements.
getStatementsCount() - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter
The count of written statements.
getStatementSeparator() - Method in class org.fastnate.generator.statements.FileStatementsWriter
The separator of the single statements, defaults to ";\n".
getStates(EntityClass<?>) - Method in class org.fastnate.generator.context.GeneratorContext
The entity states for the given entity class.
getStates() - Method in class org.fastnate.generator.context.GeneratorContext
Contains the state of single entities, maps from an entity name to the mapping of an id to its state.
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.EntityClass
The main table of the entity.
getTable() - Method in class org.fastnate.generator.context.GeneratorColumn
The table of this column.
getTable() - Method in class org.fastnate.generator.context.PluralProperty
The modified table.
getTable() - Method in class org.fastnate.generator.context.PrimitiveProperty
The table of the column.
getTable() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
The main table of this update / insert statement.
getTable() - Method in interface org.fastnate.generator.statements.TableStatement
The affected table of this update / insert statement.
getTables() - Method in class org.fastnate.generator.context.GeneratorContext
Mapping from the names of all known database table to their description (including column information).
getTargetClass() - Method in class org.fastnate.generator.context.EntityProperty
The description of the type of this property.
getType() - Method in interface org.fastnate.generator.context.AttributeAccessor
The type of the accessed attribute.
getType() - Method in class org.fastnate.generator.context.GeneratedIdProperty
The type of the numbers.
getType() - Method in class org.fastnate.generator.context.Property
The type of the property.
getUniqueProperties() - Method in class org.fastnate.generator.context.EntityClass
The properties that make up an additional unique identifier for the entity.
getUniquePropertiesQuality() - Method in class org.fastnate.generator.context.EntityClass
Indicates the quality of EntityClass.uniqueProperties.
getUniquePropertyQuality() - Method in class org.fastnate.generator.context.GeneratorContext
Indicates what kind of properties are used for referencing an entity with its unique properties.
getUnit() - Method in class org.fastnate.generator.RelativeDate.Precision
The name of the unit of this precision.
getUnknownIdMarker() - Method in class org.fastnate.generator.context.GeneratedIdProperty
Marker for the ID of an entity which needs to be referenced by its unique properties.
getUpdates() - Method in class org.fastnate.generator.context.GenerationState.PendingState
 
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.
getValue() - Method in class org.fastnate.generator.statements.PrimitiveColumnExpression
The original primitive value.
getValueClass() - Method in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
getValueClass() - Method in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
getValueClass() - Method in class org.fastnate.generator.context.PluralProperty
The class of the value of the collection.
getValueColumn() - Method in class org.fastnate.generator.context.PluralProperty
The column that contains the value (or the id of the value).
getValueColumn() - Method in class org.fastnate.generator.context.TableIdGenerator
 
getValueColumnValue() - Method in class org.fastnate.generator.context.TableIdGenerator
 
getValueConstructor() - Method in class org.fastnate.generator.context.PluralProperty
The noargs constructor for the values of the collection.
getValueConverter() - Method in class org.fastnate.generator.context.PluralProperty
The converter for the value of the collection, null if not a primitive value.
getValueEntityClass() - Method in class org.fastnate.generator.context.PluralProperty
The description of the PluralProperty.valueClass, null if not an entity or ManyToAny is used.
getValues() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
The columns and their values.
getWriter() - Method in class org.fastnate.generator.EntitySqlGenerator
The target of any generated SQL statement, e.g. a file or database.
getWriter() - Method in class org.fastnate.generator.statements.FileStatementsWriter
Used to write the SQL statements.
getWriter() - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
The receiver of our XML elements.

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.generator.context.EntityClass.EntityId
 
hashCode() - Method in class org.fastnate.generator.context.GeneratorContext.GeneratorId
 
hasPluralAnnotation(AttributeAccessor) - Static method in class org.fastnate.generator.context.PluralProperty
Indicates, that the given attribute has an annotation that indicates a plural property.
HibernateProvider - Class in org.fastnate.generator.provider
Encapsulates implementation details of Hibernate as JPA provider.
HibernateProvider() - Constructor for class org.fastnate.generator.provider.HibernateProvider
 
hierarchyRoot - Variable in class org.fastnate.generator.context.EntityClass
The description of the entity class that is the root of the current inheritance hierarchy.
HOURS - Static variable in class org.fastnate.generator.RelativeDate
Used for adding hours to a reference date.

I

id - Variable in class org.fastnate.generator.context.EmbeddedProperty
 
id - Variable in class org.fastnate.generator.context.GeneratorContext.GeneratorId
 
idColumn - Variable in class org.fastnate.generator.context.PluralProperty
The column that contains the id of the entity.
idColumn - Variable in class org.fastnate.generator.statements.AbstractStatementsWriter.UpdateStatement
 
IdentityValue - Class in org.fastnate.generator.context
Contains the current value for a primary key of type GenerationType.IDENTITY.
IdentityValue(GeneratorContext, GeneratorTable, GeneratorColumn) - Constructor for class org.fastnate.generator.context.IdentityValue
 
idField - Variable in class org.fastnate.generator.context.EntityProperty
The name of the id for referencing an embedded id.
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
 
idProperty - Variable in class org.fastnate.generator.context.EntityClass
The property that contains the id for the entity.
idValue - Variable in class org.fastnate.generator.statements.AbstractStatementsWriter.UpdateStatement
 
index - Variable in class org.fastnate.generator.context.GeneratorColumn
The index of this column in the list of all columns of the associated table.
index - Variable in class org.fastnate.generator.context.GeneratorTable
The index of this table in the list of all available tables.
inheritanceType - Variable in class org.fastnate.generator.context.EntityClass
The inheritance type of this class.
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.
initializeIdColumnForMappingTable(EntityClass<?>, AttributeAccessor, AssociationOverride, JoinTable, CollectionTable) - Method in class org.fastnate.generator.context.PluralProperty
 
initializeInverseProperty() - Method in class org.fastnate.generator.context.PluralProperty
 
initialValue - Variable in class org.fastnate.generator.context.SequenceIdGenerator
The value from which the sequence object is to start generating.
initialValue - Variable in class org.fastnate.generator.context.TableIdGenerator
 
InsertStatement(GeneratorDialect, GeneratorTable) - Constructor for class org.fastnate.generator.statements.AbstractStatementsWriter.InsertStatement
Creates a new instance of InsertStatement.
inspectUniqueConstraint(UniqueConstraint) - Method in class org.fastnate.generator.context.EntityClass
 
inverseProperty - Variable in class org.fastnate.generator.context.EntityProperty
The opposite property of a bidirectional mapping.
inverseProperty - Variable in class org.fastnate.generator.context.PluralProperty
The opposite property of a bidirectional mapping.
invoke(Object, Method, Object[]) - Method in class org.fastnate.generator.context.AnnotationDefaults
Finds the default value for the original method.
isAbsoluteIds() - Method in class org.fastnate.generator.context.GeneratedIdProperty
Shortcut for the inverse of GeneratorContext.isWriteRelativeIds().
isAllowed(Property<?, ?>) - Method in enum org.fastnate.generator.context.UniquePropertyQuality
Indicates which type of property is allowed for this quality.
isAutoGenerated() - Method in class org.fastnate.generator.context.GeneratorColumn
Indicates that the values of this column are not part of an insert statement, because they are generated by the database.
isBetterUniquePropertyQuality(UniquePropertyQuality) - Method in class org.fastnate.generator.context.EntityClass
 
isChangeSetStarted() - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
Indicates if we are currently in a changeSet.
isCollectionProperty(AttributeAccessor) - Static method in class org.fastnate.generator.context.CollectionProperty
Indicates that the given attribute references a collection and may be used by an CollectionProperty.
isComposition() - Method in class org.fastnate.generator.context.EntityProperty
Indicates that, according to the CascadeType, we should remove the target entity when the current entity is removed.
isComposition() - Method in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
isComposition() - Method in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
isComposition() - Method in class org.fastnate.generator.context.PluralProperty
Indicates that, according to the CascadeType, we should remove the target entities when the current entity is removed.
isComposition(CascadeType[]) - Static method in class org.fastnate.generator.context.Property
Indicates that the property is a composition according to the given cascade types.
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
 
isEmulatingSequences() - Method in class org.fastnate.generator.dialect.GeneratorDialect
Indicates that tables are used in place of sequences, if GenerationType.SEQUENCE is defined for a GeneratedValue.
isEmulatingSequences() - Method in class org.fastnate.generator.dialect.MsSqlDialect
 
isEmulatingSequences() - Method in class org.fastnate.generator.dialect.MySqlDialect
 
isEntityProperty(AttributeAccessor) - Static method in class org.fastnate.generator.context.EntityProperty
Indicates that the given attribute references an entity and may be used by an EntityProperty.
isEntityReference() - Method in class org.fastnate.generator.context.PluralProperty
Indicates that entities are referenced by the collection.
isFastInTransaction() - Method in class org.fastnate.generator.dialect.GeneratorDialect
Indicates that the database usually faster when all statements are executed within an transaction.
isFastInTransaction() - Method in class org.fastnate.generator.dialect.MySqlDialect
 
isFastInTransaction() - Method in class org.fastnate.generator.dialect.OracleDialect
 
isId() - Method in class org.fastnate.generator.context.EmbeddedProperty
 
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.
isMapProperty(AttributeAccessor) - Static method in class org.fastnate.generator.context.MapProperty
Indicates that the given attribute references a map and may be used by an MapProperty.
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.
ISO_DATETIMESECONDS_FORMAT - Static variable in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
isOptional() - Method in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
isPersistent() - Method in interface org.fastnate.generator.context.AttributeAccessor
Indicates that this attribute is written to the database.
isPlainExpressionAvailable() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
Indicates that at least one of the column expressions is not a primitive SQL value.
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
 
isPostponedInsert(List<Object>, E) - Static method in class org.fastnate.generator.EntitySqlGenerator
 
isPreferSequenceCurentValue() - Method in class org.fastnate.generator.context.GeneratorContext
Indiciates to use "currval" of a sequence if the referenced entity is the last created entity for that sequence before checking for unique properties.
isPrimitive() - Method in class org.fastnate.generator.context.GeneratedIdProperty
Indicates that the ID is never "null", because we have a primitive ID value.
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.
isRelativeDatesSupported() - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
Indicates if our liquibase version supports relative dates.
isRelativeIds() - Method in class org.fastnate.generator.context.SequenceIdGenerator
Indicates that the sequence is used when referencing existing IDs, instead of absolute IDs.
isRelativeIds() - Method in class org.fastnate.generator.context.TableIdGenerator
 
isRequired() - Method in class org.fastnate.generator.context.EmbeddedProperty
 
isRequired() - Method in class org.fastnate.generator.context.EntityProperty
Indicates, that this property needs a value.
isRequired() - Method in class org.fastnate.generator.context.PluralProperty
 
isRequired(AttributeAccessor) - Static method in class org.fastnate.generator.context.PrimitiveProperty
 
isRequired() - Method in class org.fastnate.generator.context.PrimitiveProperty
Indicates if the property required.
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).
isSelectFromSameTableInInsertSupported() - Method in class org.fastnate.generator.dialect.GeneratorDialect
Indicates that this dialect may select from the same table in a select.
isSelectFromSameTableInInsertSupported() - Method in class org.fastnate.generator.dialect.MySqlDialect
 
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.
isSettingIdentityAllowed() - Method in class org.fastnate.generator.dialect.GeneratorDialect
Indicates if this dialect supports writing absolute values to an GenerationType.IDENTITY column.
isSettingIdentityAllowed() - Method in class org.fastnate.generator.dialect.MsSqlDialect
 
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
 
isUseTargetTable() - Method in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
isUseTargetTable() - Method in class org.fastnate.generator.context.PluralProperty
Indicates to use a column of the target table.
isWriteNullValues() - Method in class org.fastnate.generator.context.GeneratorContext
Indicates to include null values in statements.
isWriteRelativeIds() - Method in class org.fastnate.generator.context.GeneratorContext
Indicates that we write into a schema that is not empty.

J

joinedParentClass - Variable in class org.fastnate.generator.context.EntityClass
The description of the next entity class that has InheritanceType.JOINED, if any.
JpaProvider - Interface in org.fastnate.generator.provider
Encapsulates details specific to the current JPA implementation.

K

keyClass - Variable in class org.fastnate.generator.context.MapProperty
The class of the key of the map.
keyColumn - Variable in class org.fastnate.generator.context.MapProperty
The name of the column that contains the key.
keyConverter - Variable in class org.fastnate.generator.context.MapProperty
The converter for the target value, null if not a primitive value.
keyEntityClass - Variable in class org.fastnate.generator.context.MapProperty
The description of the key class, null if not an entity.

L

lastLogTime - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
The last time that we have written a log message about the count of statements.
letter - Variable in class org.fastnate.generator.dialect.GeneratorDialect
 
LiquibaseStatementsWriter - Class in org.fastnate.generator.statements
Generates statements for the Liquibase changelog file.
LiquibaseStatementsWriter(GeneratorContext) - Constructor for class org.fastnate.generator.statements.LiquibaseStatementsWriter
Creates a new writer which generates an XML file with "UTF-8" encoding.
LiquibaseStatementsWriter(OutputStream, String) - Constructor for class org.fastnate.generator.statements.LiquibaseStatementsWriter
Creates a new writer which generates an XML file with "UTF-8" encoding.
LiquibaseStatementsWriter(XMLStreamWriter, String) - Constructor for class org.fastnate.generator.statements.LiquibaseStatementsWriter
Creates a new instance of LiquibaseStatementsWriter.
ListStatementsWriter - Class in org.fastnate.generator.statements
A simple StatementsWriter, which just stores all generated statements into a list.
ListStatementsWriter() - Constructor for class org.fastnate.generator.statements.ListStatementsWriter
 
LobConverter - Class in org.fastnate.generator.converter
Generates the expression for a property.
LobConverter() - Constructor for class org.fastnate.generator.converter.LobConverter
 
log - Static variable in class org.fastnate.generator.context.GeneratorContext
 
log - Static variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
 
log - Static variable in class org.fastnate.generator.statements.FileStatementsWriter
 
log - Static variable in class org.fastnate.generator.statements.PostgreSqlBulkWriter
 
LOG_STATEMENTS_KEY - Static variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
Name of the setting which turns logging of statements on or off.
logStatements - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
Indicates that we log each statement for debugging purposes.

M

mappedBy - Variable in class org.fastnate.generator.context.EntityProperty
The optional name of a property in the target type, that owns the relationship.
mappedBy - Variable in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
mappedBy - Variable in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
mappedBy - Variable in class org.fastnate.generator.context.PluralProperty
Indicates that this property is defined by another property on the target type.
mappedId - Variable in class org.fastnate.generator.context.PluralProperty
The property to use, if an id is embedded.
MappingInformation(AttributeAccessor) - Constructor for class org.fastnate.generator.context.EntityProperty.MappingInformation
 
MapProperty<E,K,T> - Class in org.fastnate.generator.context
Describes a property of an EntityClass that is a Map.
MapProperty(EntityClass<?>, AttributeAccessor, AssociationOverride, AttributeOverride) - 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, T) - Method in class org.fastnate.generator.context.GeneratedIdProperty
Marks an entity as reference, where we know the id in the database.
MAX_BATCH_SIZE_KEY - Static variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
Name of the setting which controls the maximum size of generated batches.
MAX_ESCAPE - Static variable in class org.fastnate.generator.dialect.MySqlDialect
 
MAX_VARCHAR_LENGTH - Static variable in class org.fastnate.generator.dialect.OracleDialect
 
maxAllocatedValue - Variable in class org.fastnate.generator.context.TableIdGenerator
The maximum allocated value.
maxBatchSize - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
The maximum count of statements per batch job.
maxSize - Variable in class org.fastnate.generator.converter.StringConverter
 
maxUniqueProperties - Variable in class org.fastnate.generator.context.GeneratorContext
The maximum count of columns that are used when referencing an entity using it's unique properties.
META_TYPES - Static variable in class org.fastnate.generator.context.AnyMapping
 
millis - Variable in class org.fastnate.generator.RelativeDate.Precision
The precision of the unit in milliseconds.
MILLISECONDS - Static variable in class org.fastnate.generator.RelativeDate
Used for adding milliseconds to a reference date.
MILLISECONDS_BETWEEN_LOG_MESSAGES - Static variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
The count of milliseconds to wait, until a log message with the current count of statements is written.
MINIMUM_JDBC_DRIVER_MAJOR_VERSION - Static variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
The minimum major version of the JDBC API that the driver needs to support.
MINIMUM_JDBC_DRIVER_MINOR_VERSION - Static variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
The minimum minor version of the JDBC API that the driver needs to support.
minSize - Variable in class org.fastnate.generator.converter.StringConverter
 
MINUTES - Static variable in class org.fastnate.generator.RelativeDate
Used for adding minutes to a reference date.
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
 
mustExist(Object, String, Object...) - Static method in exception org.fastnate.generator.context.ModelException
Throws a ModelException if the given value is null.
MySqlDialect - Class in org.fastnate.generator.dialect
Handles MySQL specific conversions.
MySqlDialect() - Constructor for class org.fastnate.generator.dialect.MySqlDialect
 

N

name - Variable in class org.fastnate.generator.context.GeneratorColumn
The name of this column.
name - Variable in class org.fastnate.generator.context.GeneratorTable
The name of this table.
needsAlignment - Variable in class org.fastnate.generator.context.IdentityValue
 
newElement() - Method in class org.fastnate.generator.context.PluralProperty
Tries to create a new instance of an element using the parameter-less constructor.
newInstance() - Method in class org.fastnate.generator.context.EntityClass
Creates a new entity of the represented class.
NextSequenceValueExpression - Class in org.fastnate.generator.statements
NextSequenceValueExpression(SequenceIdGenerator, long) - Constructor for class org.fastnate.generator.statements.NextSequenceValueExpression
Creates a new instance of an expression that references an ID by using the next value of a sequence.
nextValue - Variable in class org.fastnate.generator.context.SequenceIdGenerator
 
nextValue - Variable in class org.fastnate.generator.context.TableIdGenerator
 
NOW - Static variable in class org.fastnate.generator.dialect.GeneratorDialect
Deprecated.
Use RelativeDate.NOW instead
NOW - Static variable in class org.fastnate.generator.RelativeDate
Represents the constant for writing the "now" function to SQL.
NULL - Static variable in class org.fastnate.generator.statements.PrimitiveColumnExpression
Represents an expression of a null value.
NULL_VALUES_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for GeneratorContext.writeNullValues.
nullable - Variable in class org.fastnate.generator.converter.StringConverter
 
NUMBER_MAPPERS - Static variable in class org.fastnate.util.ClassUtil
Mapping from a number class to its mapping function.
NumberConverter - Class in org.fastnate.generator.converter
Converts a numeric value to a SQL expression.
NumberConverter(Class<? extends Number>) - Constructor for class org.fastnate.generator.converter.NumberConverter
Creates a new instance of NumberConverter.

O

onPropertiesAvailable(Consumer<EntityClass<E>>) - Method in class org.fastnate.generator.context.EntityClass
Registers a listener that is called as soon as all properties of this class are built.
optional - Variable in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
OracleDialect - Class in org.fastnate.generator.dialect
Handles Oracle specific conversions.
OracleDialect() - Constructor for class org.fastnate.generator.dialect.OracleDialect
 
orderColumn - Variable in class org.fastnate.generator.context.CollectionProperty
The name of the column that saves the order of the entries in the collection.
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.util - package org.fastnate.util
 
OUTPUT_ENCODING_KEY - Static variable in class org.fastnate.generator.statements.FileStatementsWriter
Settings key for the encoding of the generated SQL file, if not given in the constructor.
OUTPUT_FILE_KEY - Static variable in class org.fastnate.generator.statements.FileStatementsWriter
Settings key for the generated SQL file, if not given in the constructor.
OUTPUT_FILE_KEY - Static variable in class org.fastnate.generator.statements.LiquibaseStatementsWriter
Settings key for the generated XML file, if not given in the constructor.
outputStream - Variable in class org.fastnate.generator.statements.LiquibaseStatementsWriter
The outputstream to close, if this writer is closed.
overrides - Variable in class org.fastnate.generator.context.AnnotationDefaults
 

P

parameterIndices - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
parentEntityClass - Variable in class org.fastnate.generator.context.EntityClass
Only used during EntityClass.build() to find the joinedParentClass even if that one references our class.
parse - Variable in class org.fastnate.generator.converter.TemporalConverter
The method that creates the actual value from a string, which was defined as DefaultValue.
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.
pkColumn - Variable in class org.fastnate.generator.context.TableIdGenerator
 
pkColumnValue - Variable in class org.fastnate.generator.context.TableIdGenerator
 
PlainColumnExpression - Class in org.fastnate.generator.statements
An SQL expression, which is printed to SQL "as is".
PlainColumnExpression(String) - Constructor for class org.fastnate.generator.statements.PlainColumnExpression
 
plainExpressionAvailable - Variable in class org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
Indicates that at least one of the column expressions is not a primitive SQL value.
PlainStatement(String) - Constructor for class org.fastnate.generator.statements.AbstractStatementsWriter.PlainStatement
 
plainStatement - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter.ContextListener
 
plainStatement - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
Used to execute all plain SQL statements.
PluralProperty<E,C,T> - Class in org.fastnate.generator.context
Base class for MapProperty and CollectionProperty.
PluralProperty(EntityClass<?>, AttributeAccessor, AssociationOverride, AttributeOverride, int) - Constructor for class org.fastnate.generator.context.PluralProperty
Creates a new property.
PluralProperty.EntityMappingInformation - Class in org.fastnate.generator.context
Helper for evaluating correct mapping information from the annotations.
PostgresDialect - Class in org.fastnate.generator.dialect
Handles PostgreSQL specific conversions.
PostgresDialect() - Constructor for class org.fastnate.generator.dialect.PostgresDialect
 
PostgreSqlBulkWriter - Class in org.fastnate.generator.statements
Implementation of a StatementsWriter that writes bulk text files for each table, and references them in "COPY INTO".
PostgreSqlBulkWriter(GeneratorContext) - Constructor for class org.fastnate.generator.statements.PostgreSqlBulkWriter
Creates a new instance for a SQL file with UTF-8 encoding.
PostgreSqlBulkWriter(GeneratorContext, File) - Constructor for class org.fastnate.generator.statements.PostgreSqlBulkWriter
Creates a new instance for a SQL file with UTF-8 encoding.
PostgreSqlBulkWriter(GeneratorContext, File, Charset) - Constructor for class org.fastnate.generator.statements.PostgreSqlBulkWriter
Creates a new instance for a SQL file.
PostgreSqlBulkWriter(GeneratorContext, File, Writer, Charset) - Constructor for class org.fastnate.generator.statements.PostgreSqlBulkWriter
Creates a new instance of PostgreSqlBulkWriter.
PostgreSqlBulkWriter.ContextListener - Class in org.fastnate.generator.statements
 
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.
Precision(String, long) - Constructor for class org.fastnate.generator.RelativeDate.Precision
 
PRECISIONS - Static variable in class org.fastnate.generator.RelativeDate
All known precisions, from the smallest to the biggest.
PREFER_SEQUENCE_CURRENT_VALUE - Static variable in class org.fastnate.generator.context.GeneratorContext
preferSequenceCurentValue - Variable in class org.fastnate.generator.context.GeneratorContext
Indiciates to use "currval" of a sequence if the referenced entity is the last created entity for that sequence before checking for unique properties.
PreparedInsertStatement(GeneratorDialect, Connection, GeneratorTable) - Constructor for class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
preparedStatements - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter.ContextListener
 
preparedStatements - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
All prepared statements for the tables.
primaryKeyJoinColumn - Variable in class org.fastnate.generator.context.EntityClass
The column that contains the id of this entity if EntityClass.joinedParentClass is not null.
primitive - Variable in class org.fastnate.generator.context.GeneratedIdProperty
Indicates that the ID is never "null", because we have a primitive ID value.
PrimitiveColumnExpression<T> - Class in org.fastnate.generator.statements
A ColumnExpression which contains a primitive value.
PrimitiveColumnExpression(T, Function<T, String>) - Constructor for class org.fastnate.generator.statements.PrimitiveColumnExpression
Creates a new instance of an expression where the original value is the database value.
PrimitiveColumnExpression(T, T, Function<T, String>) - Constructor for class org.fastnate.generator.statements.PrimitiveColumnExpression
 
PrimitiveProperty<E,T> - Class in org.fastnate.generator.context
Describes a singular primitive property of an EntityClass.
PrimitiveProperty(GeneratorContext, GeneratorTable, AttributeAccessor, Column) - Constructor for class org.fastnate.generator.context.PrimitiveProperty
Instantiates a new primitive property.
PrimitiveProperty(GeneratorContext, GeneratorTable, AttributeAccessor, Column, boolean) - Constructor for class org.fastnate.generator.context.PrimitiveProperty
Instantiates a new primitive property.
properties - Variable in class org.fastnate.generator.context.EntityClass
Mapping from the name of all persistent properties to their description.
property - Variable in class org.fastnate.generator.context.GenerationState.PendingState.Update
 
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 - Variable in class org.fastnate.generator.context.GeneratorContext
Identifies the JPA provider to indicate implementation specific details.
PROVIDER_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for the JPA provider.

Q

qualifiedName - Variable in class org.fastnate.generator.context.GeneratorTable
The fully qualified name of this table, including any optional catalog and schema name.
qualifiedName - Variable in class org.fastnate.generator.context.SequenceIdGenerator
The fully qualfied name of the sequence, including the optional catalog and schema name.
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

readPersistenceFile(Properties) - Static method in class org.fastnate.generator.context.GeneratorContext
Tries to read any persistence file defined in the settings.
referenceDate - Variable in class org.fastnate.generator.RelativeDate
The date that is the base for this date.
ReferenceDate(long) - Constructor for class org.fastnate.generator.RelativeDate.ReferenceDate
Creates a new instance of RelativeDate.ReferenceDate.
registerGenerators(AnnotatedElement, GeneratorTable) - 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.
RelativeDate - Class in org.fastnate.generator
Used for date calculation when writing entities.
RelativeDate(long) - Constructor for class org.fastnate.generator.RelativeDate
Creates a new instance with the given millis as time.
RelativeDate(RelativeDate.ReferenceDate, long) - Constructor for class org.fastnate.generator.RelativeDate
Creates a new instance with the given millis as time and the given reference date.
RelativeDate(RelativeDate.ReferenceDate, long, RelativeDate.Precision) - Constructor for class org.fastnate.generator.RelativeDate
Creates a new difference to a given reference date.
RelativeDate.Precision - Class in org.fastnate.generator
The precision of a difference between a reference date and a date property.
RelativeDate.ReferenceDate - Class in org.fastnate.generator
relativeDatesSupported - Variable in class org.fastnate.generator.statements.LiquibaseStatementsWriter
Indicates if our liquibase version supports relative dates.
relativeIds - Variable in class org.fastnate.generator.context.SequenceIdGenerator
Indicates that the sequence is used when referencing existing IDs, instead of absolute IDs.
relativeIds - Variable in class org.fastnate.generator.context.TableIdGenerator
 
removeContextModelListener(ContextModelListener) - Method in class org.fastnate.generator.context.GeneratorContext
Removes a listener from this context.
required - Variable in class org.fastnate.generator.context.EntityProperty
Indicates, that this property needs a value.
required - Variable in class org.fastnate.generator.context.PrimitiveProperty
Indicates if the property required.
requiredEmbeddedProperties - Variable in class org.fastnate.generator.context.PluralProperty
Contains all properties of an embedded element collection which reference a required entity.
reset() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
Resets the content of this statement to reuse it.
reset() - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
resolveAnnotationAttribute(AssociationOverride, JoinTable, CollectionTable, Function<JoinTable, String>, Function<CollectionTable, String>, String) - Static method in class org.fastnate.generator.context.PluralProperty
 
resolveColumn(String) - Method in class org.fastnate.generator.context.GeneratorTable
Adds or finds a column which is part of an insert statement to this statement.
resolveColumn(String, boolean) - Method in class org.fastnate.generator.context.GeneratorTable
Adds or finds a column which is part of this table.
resolveTable(AssociationOverride, A, Function<A, String>, Function<A, String>, Function<A, String>, String) - Method in class org.fastnate.generator.context.GeneratorContext
Finds resp. builds the metadata to the given table from the given (optional) annotation.
resolveTable(String, String, String) - Method in class org.fastnate.generator.context.GeneratorContext
Finds resp. builds the metadata to the given table.
resolveTable(GeneratorContext, AssociationOverride, JoinTable, CollectionTable, GeneratorTable, String) - Static method in class org.fastnate.generator.context.PluralProperty
 

S

schema - Variable in class org.fastnate.generator.context.GeneratorTable
The optional name of the schema that contains this table, null if the default schema is used.
schema - Variable in class org.fastnate.generator.context.SequenceIdGenerator
The (optional) schema that contains the sequence.
SECONDS - Static variable in class org.fastnate.generator.RelativeDate
Used for adding seconds to a reference date.
sequence - Variable in class org.fastnate.generator.statements.SequenceValueExpression
The written sequence.
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.
sequenceName - Variable in class org.fastnate.generator.context.SequenceIdGenerator
The name of the sequence.
SequenceValueExpression - Class in org.fastnate.generator.statements
Base class for ColumnExpressions which reference an ID by using the value of a sequence.
SequenceValueExpression(SequenceIdGenerator, long) - Constructor for class org.fastnate.generator.statements.SequenceValueExpression
 
SerializableConverter - Class in org.fastnate.generator.converter
Converts a Serializable to a SQL expression.
SerializableConverter() - Constructor for class org.fastnate.generator.converter.SerializableConverter
 
serialVersionUID - Static variable in exception org.fastnate.generator.context.ModelException
 
serialVersionUID - Static variable in class org.fastnate.generator.RelativeDate.ReferenceDate
 
serialVersionUID - Static variable in class org.fastnate.generator.RelativeDate
 
setColumnValue(TableStatement, T) - Method in class org.fastnate.generator.context.AnyMapping
Sets the mapping value for the given value to the statement.
setColumnValue(GeneratorColumn, ColumnExpression) - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
Sets the value for a specific column.
setColumnValue(GeneratorColumn, ColumnExpression) - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
setColumnValue(GeneratorColumn, ColumnExpression) - Method in interface org.fastnate.generator.statements.TableStatement
Sets a plain expression for a specific column.
setContextModelListeners(List<ContextModelListener>) - Method in class org.fastnate.generator.context.GeneratorContext
All listeners of this context.
setCurrentValue(long) - Method in class org.fastnate.generator.context.IdentityValue
 
setCurrentValue(long) - Method in class org.fastnate.generator.context.IdGenerator
Sets a new start value.
setCurrentValue(long) - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
setCurrentValue(long) - Method in class org.fastnate.generator.context.TableIdGenerator
 
setDate(int) - Method in class org.fastnate.generator.RelativeDate.ReferenceDate
 
setDefaultSequenceGenerator(SequenceIdGenerator) - Method in class org.fastnate.generator.context.GeneratorContext
The default sequence generator, if none is explicitly specified in a GeneratedValue.
setDefaultTableGenerator(TableIdGenerator) - Method in class org.fastnate.generator.context.GeneratorContext
The default table generator, if none is explicitly specified in a GeneratedValue.
setDialect(GeneratorDialect) - Method in class org.fastnate.generator.context.GeneratorContext
Identifies the SQL dialect for generating SQL statements.
setHours(int) - Method in class org.fastnate.generator.RelativeDate.ReferenceDate
 
setInverseProperty(Property<T, ?>) - Method in class org.fastnate.generator.context.EntityProperty
The opposite property of a bidirectional mapping.
setMaxUniqueProperties(int) - Method in class org.fastnate.generator.context.GeneratorContext
The maximum count of columns that are used when referencing an entity using it's unique properties.
setMinutes(int) - Method in class org.fastnate.generator.RelativeDate.ReferenceDate
 
setMonth(int) - Method in class org.fastnate.generator.RelativeDate.ReferenceDate
 
setPreferSequenceCurentValue(boolean) - Method in class org.fastnate.generator.context.GeneratorContext
Indiciates to use "currval" of a sequence if the referenced entity is the last created entity for that sequence before checking for unique properties.
setProvider(JpaProvider) - Method in class org.fastnate.generator.context.GeneratorContext
Identifies the JPA provider to indicate implementation specific details.
setSeconds(int) - Method in class org.fastnate.generator.RelativeDate.ReferenceDate
 
setStatementSeparator(String) - Method in class org.fastnate.generator.statements.FileStatementsWriter
The separator of the single statements, defaults to ";\n".
setTime(long) - Method in class org.fastnate.generator.RelativeDate.ReferenceDate
 
settings - Variable in class org.fastnate.generator.context.GeneratorContext
Contains the settings that were given during creation, resp. as read from the persistence configuration.
setUniquePropertyQuality(UniquePropertyQuality) - Method in class org.fastnate.generator.context.GeneratorContext
Indicates what kind of properties are used for referencing an entity with its unique properties.
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.
setWriteNullValues(boolean) - Method in class org.fastnate.generator.context.GeneratorContext
Indicates to include null values in statements.
setWriteRelativeIds(boolean) - Method in class org.fastnate.generator.context.GeneratorContext
Indicates that we write into a schema that is not empty.
setYear(int) - Method in class org.fastnate.generator.RelativeDate.ReferenceDate
 
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.
sql - Variable in class org.fastnate.generator.statements.AbstractStatementsWriter.PlainStatement
 
sql - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
sql - Variable in class org.fastnate.generator.statements.PlainColumnExpression
 
startNextChangeSet(String, String, String) - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
Closes the current change set (if any was started) and sets the infos of the next change set.
statement - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter.PreparedInsertStatement
 
statements - Variable in class org.fastnate.generator.statements.ListStatementsWriter
 
statementsCount - Variable in class org.fastnate.generator.statements.ConnectedStatementsWriter
The count of statements that we have executed up to now.
statementsCount - Variable in class org.fastnate.generator.statements.FileStatementsWriter
The count of written statements.
statementsCount - Variable in class org.fastnate.generator.statements.PostgreSqlBulkWriter
The count of written statements.
statementSeparator - Variable in class org.fastnate.generator.statements.FileStatementsWriter
The separator of the single statements, defaults to ";\n".
StatementsWriter - Interface in org.fastnate.generator.statements
Responsible to write EntityStatements to a file or to the database.
states - Variable in class org.fastnate.generator.context.GeneratorContext
Contains the state of single entities, maps from an entity name to the mapping of an id to its state.
stringConstructor - Variable in class org.fastnate.generator.converter.NumberConverter
 
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.
StringConverter(Column, boolean) - Constructor for class org.fastnate.generator.converter.StringConverter
Creates a new instance of a StringConverter for the given column definition.

T

table - Variable in class org.fastnate.generator.context.EntityClass
The main table of the entity.
table - Variable in class org.fastnate.generator.context.GeneratorColumn
The table of this column.
table - Variable in class org.fastnate.generator.context.GeneratorContext.GeneratorId
 
table - Variable in class org.fastnate.generator.context.IdentityValue
 
table - Variable in class org.fastnate.generator.context.PluralProperty
The modified table.
table - Variable in class org.fastnate.generator.context.PrimitiveProperty
The table of the column.
table - Variable in class org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
The main table of this update / insert statement.
TableIdGenerator - Class in org.fastnate.generator.context
Saves the current value for a TableGenerator.
TableIdGenerator(TableGenerator, GeneratorContext) - Constructor for class org.fastnate.generator.context.TableIdGenerator
Creates a new instance of SequenceIdGenerator.
TableIdGenerator(GeneratorDialect, boolean, GeneratorTable, GeneratorColumn, ColumnExpression, GeneratorColumn, int, long, long, long) - Constructor for class org.fastnate.generator.context.TableIdGenerator
 
tables - Variable in class org.fastnate.generator.context.GeneratorContext
Mapping from the names of all known database table to their description (including column information).
TableStatement - Interface in org.fastnate.generator.statements
A SQL statement that affects a table and a set of columns.
targetClass - Variable in class org.fastnate.generator.context.EntityProperty
The description of the type of this property.
targetType - Variable in class org.fastnate.generator.converter.EnumConverter
 
TemporalConverter<T extends Temporal> - Class in org.fastnate.generator.converter
Converts the Temporal types from java.time to SQL expressions.
TemporalConverter(Class<?>) - Constructor for class org.fastnate.generator.converter.TemporalConverter
Creates a new converter.
test(boolean, String, Object...) - Static method in exception org.fastnate.generator.context.ModelException
Throws a ModelException if the given condition is not met.
TODAY - Static variable in class org.fastnate.generator.RelativeDate
Represents the constant for writing the "today" function to SQL.
toSql() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.InsertStatement
 
toSql() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.PlainStatement
 
toSql() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.UpdateStatement
 
toSql() - Method in interface org.fastnate.generator.statements.ColumnExpression
Generates the SQL for this expression.
toSql() - Method in class org.fastnate.generator.statements.CurrentSequenceValueExpression
 
toSql() - Method in interface org.fastnate.generator.statements.EntityStatement
Prints this statement as SQL.
toSql() - Method in class org.fastnate.generator.statements.NextSequenceValueExpression
 
toSql() - Method in class org.fastnate.generator.statements.PlainColumnExpression
 
toSql() - Method in class org.fastnate.generator.statements.PrimitiveColumnExpression
 
toSql(String) - Method in class org.fastnate.generator.statements.SequenceValueExpression
Builds the SQL expression by using the given SQL and the current SequenceValueExpression.difference.
toString() - Method in class org.fastnate.generator.context.EntityClass
 
toString() - Method in class org.fastnate.generator.context.GeneratorColumn
 
toString() - Method in class org.fastnate.generator.context.GeneratorContext.GeneratorId
 
toString() - Method in class org.fastnate.generator.context.GeneratorTable
 
toString() - Method in class org.fastnate.generator.context.Property
 
toString - Variable in class org.fastnate.generator.converter.TemporalConverter
The method that creates the SQL string from a temporal.
toString() - Method in class org.fastnate.generator.RelativeDate.Precision
 
toString() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
 
toString() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter.PlainStatement
 
toString() - Method in class org.fastnate.generator.statements.PlainColumnExpression
 
toString() - Method in class org.fastnate.generator.statements.PrimitiveColumnExpression
 
truncateTable(StatementsWriter, GeneratorTable) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Adds a "truncate table" statement to the given writer.
truncateTable(StatementsWriter, GeneratorTable) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
truncateTables(GeneratorContext) - Method in interface org.fastnate.generator.statements.StatementsWriter
Truncates all discovered tables before any data is written to that tables.
type - Variable in class org.fastnate.generator.context.GeneratedIdProperty
The type of the numbers.
type - Variable in class org.fastnate.generator.converter.AbstractDateConverter
 

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.
uniqueProperties - Variable in class org.fastnate.generator.context.EntityClass
The properties that make up an additional unique identifier for the entity.
uniquePropertiesQuality - Variable in class org.fastnate.generator.context.EntityClass
Indicates the quality of EntityClass.uniqueProperties.
uniquePropertyQuality - Variable in class org.fastnate.generator.context.GeneratorContext
Indicates what kind of properties are used for referencing an entity with its unique properties.
UniquePropertyQuality - Enum in org.fastnate.generator.context
UniquePropertyQuality() - Constructor for enum org.fastnate.generator.context.UniquePropertyQuality
 
unit - Variable in class org.fastnate.generator.RelativeDate.Precision
The name of the unit of this precision.
unknownIdMarker - Variable in class org.fastnate.generator.context.GeneratedIdProperty
Marker for the ID of an entity which needs to be referenced by its unique properties.
UnsupportedTypeConverter - Class in org.fastnate.generator.converter
Converter used for all types that we can't convert.
UnsupportedTypeConverter(String) - Constructor for class org.fastnate.generator.converter.UnsupportedTypeConverter
 
Update(E, Property<E, ?>, Object[]) - Constructor for class org.fastnate.generator.context.GenerationState.PendingState.Update
 
updates - Variable in class org.fastnate.generator.context.GenerationState.PendingState
 
UpdateStatement(GeneratorDialect, GeneratorTable, GeneratorColumn, ColumnExpression) - Constructor for class org.fastnate.generator.statements.AbstractStatementsWriter.UpdateStatement
Creates a new instance of UpdateStatement.
useTargetTable - Variable in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
useTargetTable(AttributeAccessor, AssociationOverride) - Static method in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
useTargetTable - Variable in class org.fastnate.generator.context.PluralProperty
Indicates to use a column of the target table.

V

value - Variable in class org.fastnate.generator.statements.PrimitiveColumnExpression
The original primitive value.
valueClass - Variable in class org.fastnate.generator.context.EntityProperty.MappingInformation
 
valueClass - Variable in class org.fastnate.generator.context.PluralProperty.EntityMappingInformation
 
valueClass - Variable in class org.fastnate.generator.context.PluralProperty
The class of the value of the collection.
valueColumn - Variable in class org.fastnate.generator.context.PluralProperty
The column that contains the value (or the id of the value).
valueColumn - Variable in class org.fastnate.generator.context.TableIdGenerator
 
valueConstructor - Variable in class org.fastnate.generator.context.PluralProperty
The noargs constructor for the values of the collection.
valueConverter - Variable in class org.fastnate.generator.context.PluralProperty
The converter for the value of the collection, null if not a primitive value.
valueConverter - Variable in class org.fastnate.generator.converter.CustomValueConverter
 
ValueConverter<T> - Interface in org.fastnate.generator.converter
Converts a primitive value to an expression.
valueEntityClass - Variable in class org.fastnate.generator.context.PluralProperty
The description of the PluralProperty.valueClass, null if not an entity or ManyToAny is used.
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.
values - Variable in class org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
The columns and their values.
VERSION_KEY - Static variable in class org.fastnate.generator.statements.LiquibaseStatementsWriter
Settings key for the generated liquibase version, if not given in the constructor.
VersionProperty<E,T> - Class in org.fastnate.generator.context
Represents a property marked with Version.
VersionProperty(GeneratorContext, GeneratorTable, AttributeAccessor, Column) - Constructor for class org.fastnate.generator.context.VersionProperty
Creates a new instance of VersionProperty.

W

WEEKS - Static variable in class org.fastnate.generator.RelativeDate
Used for adding weeks to a reference date.
write(E) - Method in class org.fastnate.generator.EntitySqlGenerator
Creates the Import-SQL for an entity.
write(E, List<Object>) - 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.
write(String) - Method in class org.fastnate.generator.statements.FileStatementsWriter
Writes a bunch of SQL statements to the file.
writeAlignmentStatements(StatementsWriter) - 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.
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.
writeColumnExpression(ColumnExpression) - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
writeComment(String) - Method in class org.fastnate.generator.EntitySqlGenerator
Writes a SQL comment to the target writer.
writeComment(String) - Method in class org.fastnate.generator.statements.AbstractStatementsWriter
 
writeComment(String) - Method in class org.fastnate.generator.statements.FileStatementsWriter
 
writeComment(String) - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
writeComment(String) - Method in interface org.fastnate.generator.statements.StatementsWriter
Writes a SQL comment to the target.
writeDateExpression(ColumnExpression, Date, Date) - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
writeInserts(E, List<Object>, EntityClass<E>, ColumnExpression) - Method in class org.fastnate.generator.EntitySqlGenerator
 
writeNullValues - Variable in class org.fastnate.generator.context.GeneratorContext
Indicates to include null values in statements.
writePendingStatements(StatementsWriter, 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.
writePlainStatement(String) - Method in class org.fastnate.generator.EntitySqlGenerator
Writes a plain SQL statement to the target writer.
writePlainStatement(GeneratorDialect, String) - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter
 
writePlainStatement(String) - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter
 
writePlainStatement(GeneratorDialect, String) - Method in class org.fastnate.generator.statements.FileStatementsWriter
 
writePlainStatement(GeneratorDialect, String) - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
writePlainStatement(GeneratorDialect, String) - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter
 
writePlainStatement(String) - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter
 
writePlainStatement(GeneratorDialect, String) - Method in interface org.fastnate.generator.statements.StatementsWriter
Writes a plain SQL statement.
writePrimitiveExpression(PrimitiveColumnExpression<?>) - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
writer - Variable in class org.fastnate.generator.EntitySqlGenerator
The target of any generated SQL statement, e.g. a file or database.
writer - Variable in class org.fastnate.generator.statements.FileStatementsWriter
Used to write the SQL statements.
writer - Variable in class org.fastnate.generator.statements.LiquibaseStatementsWriter
The receiver of our XML elements.
writeRelativeDateExpression(ColumnExpression, Date) - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
writeRelativeIds - Variable in class org.fastnate.generator.context.GeneratorContext
Indicates that we write into a schema that is not empty.
writeSectionSeparator() - Method in class org.fastnate.generator.EntitySqlGenerator
Writes a new line to the target to separate different sections in the SQL file.
writeSectionSeparator() - Method in class org.fastnate.generator.statements.AbstractStatementsWriter
 
writeSectionSeparator() - Method in class org.fastnate.generator.statements.FileStatementsWriter
 
writeSectionSeparator() - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
writeSectionSeparator() - Method in interface org.fastnate.generator.statements.StatementsWriter
Writes a new line to the target file to separate different sections in the SQL file.
writeSequenceExpression(SequenceValueExpression) - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
writeStatement(EntityStatement) - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter
 
writeStatement(EntityStatement) - Method in class org.fastnate.generator.statements.FileStatementsWriter
 
writeStatement(EntityStatement) - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
writeStatement(EntityStatement) - Method in class org.fastnate.generator.statements.ListStatementsWriter
 
writeStatement(EntityStatement) - Method in class org.fastnate.generator.statements.PostgreSqlBulkWriter
 
writeStatement(EntityStatement) - Method in interface org.fastnate.generator.statements.StatementsWriter
Writes the given statement to a file or database.
writeString(ColumnExpression, String) - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 
writeTableEntities(E, List<Object>, Collection<Property<? super E, ?>>) - Method in class org.fastnate.generator.EntitySqlGenerator
 
writeTableStatement(String) - Method in class org.fastnate.generator.statements.ConnectedStatementsWriter
 
writeTableStatement(AbstractStatementsWriter.AbstractTableStatement) - Method in class org.fastnate.generator.statements.LiquibaseStatementsWriter
 

Y

YEARS - Static variable in class org.fastnate.generator.RelativeDate
Used for adding years to a reference date.
A B C D E F G H I J K L M N O P Q R S T U V W Y 
Skip navigation links

Copyright © 2022 fastnate.org. All rights reserved.