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

A

AbstractValueConverter<T> - Class in org.fastnate.generator.converter
Base class for ValueConverter.
AbstractValueConverter() - Constructor for class org.fastnate.generator.converter.AbstractValueConverter
 
AccessStyle - Enum in org.fastnate.generator.context
Indicates how persistent attributes are accessed.
addContextModelListener(ContextModelListener) - Method in class org.fastnate.generator.context.GeneratorContext
Adds a new listener to this context.
addInsertExpression(E, InsertStatement) - Method in class org.fastnate.generator.context.EmbeddedProperty
 
addInsertExpression(E, InsertStatement) - Method in class org.fastnate.generator.context.EntityProperty
 
addInsertExpression(E, InsertStatement) - Method in class org.fastnate.generator.context.GeneratedIdProperty
 
addInsertExpression(E, InsertStatement) - Method in class org.fastnate.generator.context.PluralProperty
 
addInsertExpression(E, InsertStatement) - Method in class org.fastnate.generator.context.PrimitiveProperty
 
addInsertExpression(E, InsertStatement) - Method in class org.fastnate.generator.context.Property
Adds an expression according to the current value of the property for the given entity to an SQL insert statement.
addNextValue(InsertStatement, String, Number) - Method in class org.fastnate.generator.context.IdentityValue
 
addNextValue(InsertStatement, String, Number) - Method in class org.fastnate.generator.context.IdGenerator
Adds the generated value to the given statement.
addNextValue(InsertStatement, String, Number) - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
addNextValue(InsertStatement, String, Number) - Method in class org.fastnate.generator.context.TableIdGenerator
 
addPendingUpdate(E, Property<E, ?>, Object...) - Method in class org.fastnate.generator.context.GenerationState.PendingState
Adds an entity that has to be updated, as soon as the associated entity (of this state) was written.
addQuotedCharacter(StringBuilder, char) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Adds a quoted character to the result string buffer.
addQuotedCharacter(StringBuilder, char) - Method in class org.fastnate.generator.dialect.MsSqlDialect
 
addQuotedCharacter(StringBuilder, char) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
addValue(String, String) - Method in class org.fastnate.generator.statements.TableStatement
Adds a value to the list of value expressions.
adjustNextIdentityValue(String, String, long) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Adjusts the next value of the given identity column to ensure that it is bigger than the last generated value.
adjustNextIdentityValue(String, String, long) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
adjustNextSequenceValue(String, long, long, int) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Adjusts the given sequence to ensure that the next value is exactly the given value.
adjustNextSequenceValue(String, long, long, int) - Method in class org.fastnate.generator.dialect.OracleDialect
 
alignNextValue() - Method in class org.fastnate.generator.context.IdentityValue
 
alignNextValue() - Method in class org.fastnate.generator.context.IdGenerator
Creates all statements that are necessary to set the next value created from the database is currentValue + 1.
alignNextValue() - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
alignNextValue() - Method in class org.fastnate.generator.context.TableIdGenerator
 
AnnotationDefaults - Class in org.fastnate.generator.context
Creates an implementation of an annotation class to access the default values for the single values.
AnnotationDefaults(Map<String, Object>) - Constructor for class org.fastnate.generator.context.AnnotationDefaults
 
AttributeAccessor - Interface in org.fastnate.generator.context
Offers access to a persistent attribute in an entity class.

B

BooleanConverter - Class in org.fastnate.generator.converter
Converts a boolean to a SQL expression.
BooleanConverter() - Constructor for class org.fastnate.generator.converter.BooleanConverter
 
buildCurrentSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Builds the SQL expression that is used for referencing the current value of the given sequence.
buildCurrentSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.MsSqlDialect
 
buildCurrentSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.OracleDialect
 
buildEmbeddedProperties(Class<?>) - Method in class org.fastnate.generator.context.PluralProperty
Builds the embedded properties of this property.
buildIdColumn(AttributeAccessor, AssociationOverride, CollectionTable, String) - Static method in class org.fastnate.generator.context.PluralProperty
Builds the name of the column that contains the ID of the entity for the given attribute.
buildIdColumn(AttributeAccessor, AssociationOverride, JoinTable, CollectionTable, String) - Static method in class org.fastnate.generator.context.PluralProperty
Builds the name of the column that contains the ID of the entity for the given attribute.
buildNextSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Builds the SQL expression resp. statement that is used for creating the next value of the given sequence.
buildNextSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.MsSqlDialect
 
buildNextSequenceValue(String, int) - Method in class org.fastnate.generator.dialect.OracleDialect
 
buildTableName(AttributeAccessor, AssociationOverride, JoinTable, CollectionTable, String) - Static method in class org.fastnate.generator.context.PluralProperty
Builds the name of the table of the association for the given field.
buildTableName(CollectionTable, String) - Static method in class org.fastnate.generator.context.PluralProperty
Builds the name of the table of the association for the given field.
buildValueColumn(AttributeAccessor, String) - Static method in class org.fastnate.generator.context.PluralProperty
Builds the name of the column that contains the value for the collection / map.

C

CalendarConverter - Class in org.fastnate.generator.converter
Converts a calendar property of an EntityClass to SQL.
CalendarConverter(AttributeAccessor, boolean) - Constructor for class org.fastnate.generator.converter.CalendarConverter
Creates a new instance of CalendarConverter.
CalendarConverter(TemporalType) - Constructor for class org.fastnate.generator.converter.CalendarConverter
Creates a new instance of CalendarConverter.
CharConverter - Class in org.fastnate.generator.converter
Describes a char property of an EntityClass.
CharConverter() - Constructor for class org.fastnate.generator.converter.CharConverter
 
ClassUtil - Class in org.fastnate.util
Helper for inspection of classes.
close() - Method in class org.fastnate.generator.ConnectedEntitySqlGenerator
 
close() - Method in class org.fastnate.generator.EntitySqlGenerator
Writes any missing SQL and closes any open resources.
close() - Method in class org.fastnate.generator.WriterEntitySqlGenerator
 
CollectionProperty<E,T> - Class in org.fastnate.generator.context
Describes a property of an EntityClass that contains more than one value.
CollectionProperty(EntityClass<?>, AttributeAccessor, AssociationOverride) - Constructor for class org.fastnate.generator.context.CollectionProperty
Creates a new collection property.
ConnectedEntitySqlGenerator - Class in org.fastnate.generator
An extension of an EntitySqlGenerator which writes the SQL statements directly to a database connection.
ConnectedEntitySqlGenerator(Connection) - Constructor for class org.fastnate.generator.ConnectedEntitySqlGenerator
Creates a new generator that writes to a database connection.
ConnectedEntitySqlGenerator(Connection, GeneratorContext) - Constructor for class org.fastnate.generator.ConnectedEntitySqlGenerator
Creates a new generator that writes to a database connection.
ContextModelListener - Interface in org.fastnate.generator.context
Implementations of this class are interested in the discovery of new entity classes or generators.
convertBooleanValue(boolean) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Converts a boolean value for the current database type.
convertBooleanValue(boolean) - Method in class org.fastnate.generator.dialect.PostgresDialect
 
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
 
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.
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
 
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) - Static method in class org.fastnate.generator.context.PrimitiveProperty
Creates a converter for a primitive type.
createDirectValueStatement(E, String, String, T) - Method in class org.fastnate.generator.context.PluralProperty
Creates the statements for a (not embeddable) value from the collection.
createHexBlobExpression(String, byte[], String) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Creates the hex presentation of the given blob.
createNextValue() - Method in class org.fastnate.generator.context.IdentityValue
 
createNextValue() - Method in class org.fastnate.generator.context.IdGenerator
Resolves the next value of this generator.
createNextValue(Class<N>) - Method in class org.fastnate.generator.context.IdGenerator
Resolves the next value of this generator.
createNextValue() - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
createNextValue() - Method in class org.fastnate.generator.context.TableIdGenerator
 
createPostInsertStatements(E) - Method in class org.fastnate.generator.context.CollectionProperty
 
createPostInsertStatements(E) - Method in class org.fastnate.generator.context.EmbeddedProperty
 
createPostInsertStatements(E) - Method in class org.fastnate.generator.context.EntityClass
Marks an entity as written and creates any pending update / insert statements.
createPostInsertStatements(E) - Method in class org.fastnate.generator.context.MapProperty
 
createPostInsertStatements(E) - Method in class org.fastnate.generator.context.Property
Creates additional SQL statements that are necessary after this property is written (e.g. for mapping tables) .
createPreInsertStatements(E) - Method in class org.fastnate.generator.context.EmbeddedProperty
 
createPreInsertStatements(E) - Method in class org.fastnate.generator.context.GeneratedIdProperty
 
createPreInsertStatements() - Method in class org.fastnate.generator.context.IdentityValue
 
createPreInsertStatements() - Method in class org.fastnate.generator.context.IdGenerator
Creates the statements that are needed in the output before IdGenerator.addNextValue(InsertStatement, String, Number).
createPreInsertStatements(E) - Method in class org.fastnate.generator.context.Property
Creates SQL statements that are necessary before this property is written (e.g. for updating the table generator).
createPreInsertStatements() - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
createPreInsertStatements() - Method in class org.fastnate.generator.context.TableIdGenerator
 
createSql(EntityStatement) - Method in class org.fastnate.generator.dialect.GeneratorDialect
Creates an SQL statement from the given insert statement.
createSql(EntityStatement) - Method in class org.fastnate.generator.dialect.MySqlDialect
Replace any subselect in an insert statement, if the same table is selected.
createValueExpression(E, String, T, String) - 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(E, String, String, T) - Method in class org.fastnate.generator.context.PluralProperty
Adds a value statement to the list of collection statements.

D

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.
DefaultValue - Annotation Type in org.fastnate.generator
Annotation for attributes of entities, which indicates default values during SQL generation.
derive(String) - Method in class org.fastnate.generator.context.IdGenerator
Some implementations (like the Hibernate table generator) create a different generator, depending on the table name.
derive(String) - Method in class org.fastnate.generator.context.TableIdGenerator
 
DIALECT_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for the target SQL dialect.

E

EmbeddedProperty<E,T> - Class in org.fastnate.generator.context
Handling of properties defined in Embeddables.
EmbeddedProperty(EntityClass<?>, AttributeAccessor) - Constructor for class org.fastnate.generator.context.EmbeddedProperty
Instantiates a new embedded property.
EntityClass<E> - Class in org.fastnate.generator.context
Describes the DB relevant metadata of an entity class.
EntityConverter - Class in org.fastnate.generator.converter
Converts the reference to an entity to an expression that uses the sequence value of that entity.
EntityConverter() - Constructor for class org.fastnate.generator.converter.EntityConverter
 
EntityProperty<E,T> - Class in org.fastnate.generator.context
Describes a property of an EntityClass that references another entity.
EntityProperty(GeneratorContext, AttributeAccessor, AssociationOverride) - Constructor for class org.fastnate.generator.context.EntityProperty
Creates a new instance of EntityProperty.
EntitySqlGenerator - Class in org.fastnate.generator
Creates SQL statements for a set of entities using their JPA annotations.
EntitySqlGenerator(GeneratorContext) - Constructor for class org.fastnate.generator.EntitySqlGenerator
 
EntityStatement - Class in org.fastnate.generator.statements
Base class for statements generated by an EntitySqlGenerator.
EntityStatement() - Constructor for class org.fastnate.generator.statements.EntityStatement
 
EnumConverter<E extends Enum<E>> - Class in org.fastnate.generator.converter
Describes a enum property of an EntityClass.
EnumConverter(AttributeAccessor, Class<E>, boolean) - Constructor for class org.fastnate.generator.converter.EnumConverter
Creates a new instance of this EnumConverter.

F

failIfRequired(E) - Method in class org.fastnate.generator.context.Property
Throws an IllegalArgumentException if the field was not filled.
findEntity(E) - Method in class org.fastnate.generator.EntitySqlGenerator
Tries to find an entity in an online store.
findReferencedEntities(E) - Method in class org.fastnate.generator.context.CollectionProperty
 
findReferencedEntities(E) - Method in class org.fastnate.generator.context.EmbeddedProperty
 
findReferencedEntities(E) - Method in class org.fastnate.generator.context.EntityProperty
 
findReferencedEntities(E) - Method in class org.fastnate.generator.context.MapProperty
 
findReferencedEntities(E) - Method in class org.fastnate.generator.context.Property
Finds all entities in the current property, that are referenced.
foundEntityClass(EntityClass<?>) - Method in interface org.fastnate.generator.context.ContextModelListener
Called whenn a new entity class was created.
foundGenerator(IdGenerator) - Method in interface org.fastnate.generator.context.ContextModelListener
Called whenn a new generator was created.

G

GeneratedIdProperty<E> - Class in org.fastnate.generator.context
Describes an Id property of an EntityClass.
GeneratedIdProperty(EntityClass<E>, AttributeAccessor, Column) - Constructor for class org.fastnate.generator.context.GeneratedIdProperty
Creates a new instance of GeneratedIdProperty.
generatePendingStatements(E, Object, Object...) - Method in class org.fastnate.generator.context.EntityProperty
 
generatePendingStatements(Object) - Method in class org.fastnate.generator.context.GenerationState.PendingState
Generates the update statements for all entities that are required after the given entity was generated.
generatePendingStatements(E, Object, Object...) - Method in class org.fastnate.generator.context.PluralProperty
 
generatePendingStatements(E, Object, Object...) - Method in class org.fastnate.generator.context.Property
Generates the update statements for an entity that are required after another entity was generated.
GenerationState - Class in org.fastnate.generator.context
Encapsulates the state of a generated entity.
GenerationState.PendingState - Class in org.fastnate.generator.context
Marks all pending updates for an entity, that was not written up to now.
GeneratorContext - Class in org.fastnate.generator.context
Represents the configuration and state for one or more EntitySqlGenerators.
GeneratorContext() - Constructor for class org.fastnate.generator.context.GeneratorContext
Creates a default generator context.
GeneratorContext(GeneratorDialect) - Constructor for class org.fastnate.generator.context.GeneratorContext
Creates a generator context for a dialect.
GeneratorContext(Properties) - Constructor for class org.fastnate.generator.context.GeneratorContext
Creates a new instance of GeneratorContext.
GeneratorDialect - Class in org.fastnate.generator.dialect
Handles database specific conversions.
GeneratorDialect() - Constructor for class org.fastnate.generator.dialect.GeneratorDialect
 
getAccessStyle() - Method in interface org.fastnate.generator.context.AttributeAccessor
Describes how this attribute accesses the values below.
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).
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.
getAlignmentStatements() - Method in class org.fastnate.generator.context.GeneratorContext
Builds all statements that are necessary to align ID generators in the database with the current IDs.
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.
getAnyClasses() - Method in class org.fastnate.generator.context.EntityProperty
Contains the mapping from a class to its id in the database.
getAnyColumn() - Method in class org.fastnate.generator.context.EntityProperty
The name of the column that contains the id of the entity class, if Any or ManyToAny is used.
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.Property
Used to access the value of the property.
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.
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 name of the associated column.
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.ConnectedEntitySqlGenerator
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.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.
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
 
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.
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 per entity class.
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.PrimitiveProperty
Resolves the current dialect from the context.
getDialect() - Method in class org.fastnate.generator.context.TableIdGenerator
 
getDifference() - Method in class org.fastnate.generator.RelativeDate
The difference of the time to the RelativeDate.referenceDate.
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.
getEntityClass() - Method in class org.fastnate.generator.context.EntityClass
The represented class.
getEntityClass() - Method in class org.fastnate.generator.context.GeneratedIdProperty
The containing entity class.
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(String, String, Number, boolean) - Method in class org.fastnate.generator.context.IdentityValue
 
getExpression(String, String, Number, boolean) - Method in class org.fastnate.generator.context.IdGenerator
Builds the reference to another entity that has the given ID.
getExpression(E, boolean) - Method in class org.fastnate.generator.context.PrimitiveProperty
 
getExpression(E, boolean) - Method in class org.fastnate.generator.context.Property
Creates the expression for the current value of the given entity in SQL.
getExpression(String, String, Number, boolean) - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
getExpression(String, String, Number, boolean) - Method in class org.fastnate.generator.context.TableIdGenerator
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.AbstractValueConverter
 
getExpression(Boolean, GeneratorContext) - Method in class org.fastnate.generator.converter.BooleanConverter
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.BooleanConverter
 
getExpression(Calendar, GeneratorContext) - Method in class org.fastnate.generator.converter.CalendarConverter
 
getExpression(Character, GeneratorContext) - Method in class org.fastnate.generator.converter.CharConverter
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.CharConverter
 
getExpression(Object, GeneratorContext) - Method in class org.fastnate.generator.converter.EntityConverter
 
getExpression(E, GeneratorContext) - Method in class org.fastnate.generator.converter.EnumConverter
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.EnumConverter
 
getExpression(Object, GeneratorContext) - Method in class org.fastnate.generator.converter.LobConverter
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.LobConverter
 
getExpression(Number, GeneratorContext) - Method in class org.fastnate.generator.converter.NumberConverter
 
getExpression(Serializable, GeneratorContext) - Method in class org.fastnate.generator.converter.SerializableConverter
 
getExpression(String, GeneratorContext) - Method in class org.fastnate.generator.converter.StringConverter
 
getExpression(Date, GeneratorContext) - Method in class org.fastnate.generator.converter.TemporalConverter
Converts the given value into an SQL expression.
getExpression(Object, GeneratorContext) - Method in class org.fastnate.generator.converter.UnsupportedTypeConverter
 
getExpression(String, GeneratorContext) - Method in interface org.fastnate.generator.converter.ValueConverter
Builds the expression for writing the default value into an SQL clause.
getExpression(T, GeneratorContext) - Method in interface org.fastnate.generator.converter.ValueConverter
Builds the expression for writing the given value into an SQL clause.
getGenerator() - Method in class org.fastnate.generator.context.GeneratedIdProperty
The generator used for generating new values of this property.
getGenerator(GeneratedValue, String, String) - Method in class org.fastnate.generator.context.GeneratorContext
Finds the correct generator for the given annotation.
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() - Method in class org.fastnate.generator.context.PluralProperty
The name of the column that contains the id of the entity.
getIdColumn() - Method in class org.fastnate.generator.statements.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.UpdateStatement
 
getImplementationClass() - Method in interface org.fastnate.generator.context.AttributeAccessor
The class that is the type of every object that contains this attribute.
getInheritanceType() - Method in class org.fastnate.generator.context.EntityClass
The inheritance type of this class.
getInitialValue() - Method in class org.fastnate.generator.context.TableIdGenerator
 
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
Indicates if this property is defined by another property on the target type.
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.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.
getPkColumnName() - 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(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 list of persistent properties (except the EntityClass.idProperty) and properties from EntityClass.joinedParentClass.
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.
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.
getSettings() - Method in class org.fastnate.generator.context.GeneratorContext
Contains the settings that were given during creation, resp. as read from the persistence configuration.
getStatementsCount() - Method in class org.fastnate.generator.ConnectedEntitySqlGenerator
The count of statements that we executed up to now.
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 table name of the entity.
getTable() - Method in class org.fastnate.generator.context.PluralProperty
The name of 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.TableStatement
The main table of this update / insert statement.
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.
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.
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.
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 name of the column that contains the value (or the id of the value).
getValueColumnName() - Method in class org.fastnate.generator.context.TableIdGenerator
 
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.
getValues() - Method in class org.fastnate.generator.statements.TableStatement
The columns and their values.
getWriter() - Method in class org.fastnate.generator.WriterEntitySqlGenerator
Used to write the SQL statements.

H

H2Dialect - Class in org.fastnate.generator.dialect
Handles H2 specific conversions.
H2Dialect() - Constructor for class org.fastnate.generator.dialect.H2Dialect
 
HibernateProvider - Class in org.fastnate.generator.provider
Encapsulates implementation details of Hibernate as JPA provider.
HibernateProvider() - Constructor for class org.fastnate.generator.provider.HibernateProvider
 
HOURS - Static variable in class org.fastnate.generator.RelativeDate
Used for adding hours to a reference date.

I

IdentityValue - Class in org.fastnate.generator.context
Contains the current value for a primary key of type GenerationType.IDENTITY.
IdentityValue(GeneratorContext, String, String) - Constructor for class org.fastnate.generator.context.IdentityValue
 
IdGenerator - Class in org.fastnate.generator.context
Saves the current value and increments the value for a GeneratedIdProperty.
IdGenerator() - Constructor for class org.fastnate.generator.context.IdGenerator
 
initialize(Properties) - Method in class org.fastnate.generator.provider.HibernateProvider
 
initialize(Properties) - Method in interface org.fastnate.generator.provider.JpaProvider
Initializes this provider from the given settings.
InsertStatement - Class in org.fastnate.generator.statements
Holds the information for an SQL Insert statement.
InsertStatement(String) - Constructor for class org.fastnate.generator.statements.InsertStatement
Creates a new instance of InsertStatement.
invoke(Object, Method, Object[]) - Method in class org.fastnate.generator.context.AnnotationDefaults
Finds the default value for the original method.
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.
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
 
isEntityReference() - Method in class org.fastnate.generator.context.PluralProperty
Indicates that entities are referenced by the collection.
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.
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.
isPersistent() - Method in interface org.fastnate.generator.context.AttributeAccessor
Indicates that this attribute is written to the database.
isPostIncrement() - Method in class org.fastnate.generator.context.IdentityValue
 
isPostIncrement() - Method in class org.fastnate.generator.context.IdGenerator
Indicates that IdGenerator.createNextValue(Class) should be called after the entity was written - as the value is not available before.
isPostIncrement() - Method in class org.fastnate.generator.context.SequenceIdGenerator
 
isPostIncrement() - Method in class org.fastnate.generator.context.TableIdGenerator
 
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.
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() - 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).
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
Indicates to use a column of the target table.
isWriteNullValues() - Method in class org.fastnate.generator.context.GeneratorContext
Indicates to include null values explictly in statements.
isWriteRelativeIds() - Method in class org.fastnate.generator.context.GeneratorContext
Indicates that we write into a schema that is not empty.

J

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

L

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

M

MapProperty<E,K,T> - Class in org.fastnate.generator.context
Describes a property of an EntityClass that is a Map.
MapProperty(EntityClass<?>, AttributeAccessor, AssociationOverride) - Constructor for class org.fastnate.generator.context.MapProperty
Creates a new map property.
markExistingEntities(Iterable<E>) - Method in class org.fastnate.generator.EntitySqlGenerator
Marks a set of entity references, where we don't know the ID in the database.
markExistingEntity(E) - Method in class org.fastnate.generator.context.EntityClass
Marks a entity reference, where we don't know the ID in the database.
markExistingEntity(E, Number) - Method in class org.fastnate.generator.EntitySqlGenerator
Marks an entity reference, where we know the ID in the database.
markPendingUpdates(E, V, Property<V, ?>, Object...) - Method in class org.fastnate.generator.context.EntityClass
Marks an update that is necessary when an entity is written (in the future).
markReference(E) - Method in class org.fastnate.generator.context.GeneratedIdProperty
Marks an entity as reference, where we don't know the ID database.
markReference(E, long) - Method in class org.fastnate.generator.context.GeneratedIdProperty
Marks an entity as reference, where we know the id in the database.
MILLISECONDS - Static variable in class org.fastnate.generator.RelativeDate
Used for adding milliseconds to a reference date.
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
 
MySqlDialect - Class in org.fastnate.generator.dialect
Handles MySQL specific conversions.
MySqlDialect() - Constructor for class org.fastnate.generator.dialect.MySqlDialect
 

N

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_VALUES_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for GeneratorContext.writeNullValues.
NumberConverter - Class in org.fastnate.generator.converter
Converts a numeric value to a SQL expression.
NumberConverter() - Constructor for class org.fastnate.generator.converter.NumberConverter
 

O

OracleDialect - Class in org.fastnate.generator.dialect
Handles Oracle specific conversions.
OracleDialect() - Constructor for class org.fastnate.generator.dialect.OracleDialect
 
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
 

P

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.
PlainStatement - Class in org.fastnate.generator.statements
A single (unparsed) SQL statement.
PlainStatement(String) - Constructor for class org.fastnate.generator.statements.PlainStatement
 
PluralProperty<E,C,T> - Class in org.fastnate.generator.context
Base class for MapProperty and CollectionProperty.
PluralProperty(EntityClass<?>, AttributeAccessor, AssociationOverride, int) - Constructor for class org.fastnate.generator.context.PluralProperty
Creates a new property.
PostgresDialect - Class in org.fastnate.generator.dialect
Handles PostgreSQL specific conversions.
PostgresDialect() - Constructor for class org.fastnate.generator.dialect.PostgresDialect
 
postInsert(E) - Method in class org.fastnate.generator.context.GeneratedIdProperty
Called after the insert statement was written, to update any nessecary state in the context.
PREFER_SEQUENCE_CURRENT_VALUE - Static variable in class org.fastnate.generator.context.GeneratorContext
PrimitiveProperty<E,T> - Class in org.fastnate.generator.context
Describes a singular primitive property of an EntityClass.
PrimitiveProperty(GeneratorContext, String, AttributeAccessor, Column) - Constructor for class org.fastnate.generator.context.PrimitiveProperty
Instantiates a new primitive property.
Property<E,T> - Class in org.fastnate.generator.context
Base class for the description of properties of an EntityClass.
Property(AttributeAccessor) - Constructor for class org.fastnate.generator.context.Property
Creates a new instance of a property.
PROVIDER_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for the JPA provider.

Q

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

R

registerGenerators(AnnotatedElement, String) - 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
removeContextModelListener(ContextModelListener) - Method in class org.fastnate.generator.context.GeneratorContext
Removes a listener from this context.

S

SECONDS - Static variable in class org.fastnate.generator.RelativeDate
Used for adding seconds to a reference date.
SequenceIdGenerator - Class in org.fastnate.generator.context
Stores the current value for a SequenceGenerator.
SequenceIdGenerator(SequenceGenerator, GeneratorDialect, boolean) - Constructor for class org.fastnate.generator.context.SequenceIdGenerator
Creates a new instance of SequenceIdGenerator.
SerializableConverter - Class in org.fastnate.generator.converter
Converts a Serializable to a SQL expression.
SerializableConverter() - Constructor for class org.fastnate.generator.converter.SerializableConverter
 
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
 
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
 
setTime(long) - Method in class org.fastnate.generator.RelativeDate.ReferenceDate
 
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 explictly 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.
StringConverter - Class in org.fastnate.generator.converter
Converts a string property of an EntityClass.
StringConverter() - Constructor for class org.fastnate.generator.converter.StringConverter
Creates a new instance of a StringConverter that accepts strings of arbitrary length.
StringConverter(AttributeAccessor, boolean) - Constructor for class org.fastnate.generator.converter.StringConverter
Creates a new instance of a StringConverter for the given attribute.

T

TableIdGenerator - Class in org.fastnate.generator.context
Saves the current value for a TableGenerator.
TableIdGenerator(TableGenerator, GeneratorDialect, JpaProvider, boolean) - Constructor for class org.fastnate.generator.context.TableIdGenerator
Creates a new instance of SequenceIdGenerator.
TableStatement - Class in org.fastnate.generator.statements
A SQL statement that affects a table and a set of columns.
TableStatement(String) - Constructor for class org.fastnate.generator.statements.TableStatement
 
TemporalConverter<T> - Class in org.fastnate.generator.converter
Base class for converting a temporal property of an EntityClass.
TemporalConverter(AttributeAccessor, boolean) - Constructor for class org.fastnate.generator.converter.TemporalConverter
Creates a new instance of this TemporalConverter.
TemporalConverter(TemporalType) - Constructor for class org.fastnate.generator.converter.TemporalConverter
 
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.EntityStatement
Prints this statement as SQL.
toSql() - Method in class org.fastnate.generator.statements.InsertStatement
 
toSql() - Method in class org.fastnate.generator.statements.PlainStatement
 
toSql() - Method in class org.fastnate.generator.statements.UpdateStatement
 
toString() - Method in class org.fastnate.generator.context.EntityClass
 
toString() - Method in class org.fastnate.generator.context.Property
 
toString() - Method in class org.fastnate.generator.statements.EntityStatement
 

U

UNIQUE_PROPERTIES_MAX_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for the GeneratorContext.maxUniqueProperties.
UNIQUE_PROPERTIES_QUALITY_KEY - Static variable in class org.fastnate.generator.context.GeneratorContext
The settings key for the GeneratorContext.uniquePropertyQuality.
UniquePropertyQuality - Enum in org.fastnate.generator.context
UnsupportedTypeConverter - Class in org.fastnate.generator.converter
Converter used for all types that we can't convert.
UnsupportedTypeConverter(AttributeAccessor) - Constructor for class org.fastnate.generator.converter.UnsupportedTypeConverter
 
UpdateStatement - Class in org.fastnate.generator.statements
Holds the information for an SQL update statement.
UpdateStatement(String, String, String) - Constructor for class org.fastnate.generator.statements.UpdateStatement
Creates a new instance of UpdateStatement.

V

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

W

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(Iterable<? extends E>) - Method in class org.fastnate.generator.EntitySqlGenerator
Creates the SQL for the given entities.
writeAlignmentStatements() - Method in class org.fastnate.generator.EntitySqlGenerator
Writes all statements that are necessary to align ID generators in the database with the current IDs.
writeComment(String) - Method in class org.fastnate.generator.ConnectedEntitySqlGenerator
 
writeComment(String) - Method in class org.fastnate.generator.EntitySqlGenerator
Writes a SQL comment to the target.
writeComment(String) - Method in class org.fastnate.generator.WriterEntitySqlGenerator
 
WriterEntitySqlGenerator - Class in org.fastnate.generator
Extension of EntitySqlGenerator which writes the statements into a Writer resp.
WriterEntitySqlGenerator(Writer) - Constructor for class org.fastnate.generator.WriterEntitySqlGenerator
Creates a new generator for a given writer.
WriterEntitySqlGenerator(Writer, GeneratorContext) - Constructor for class org.fastnate.generator.WriterEntitySqlGenerator
Creates a new instance of WriterEntitySqlGenerator.
writeSectionSeparator() - Method in class org.fastnate.generator.ConnectedEntitySqlGenerator
 
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.WriterEntitySqlGenerator
 
writeStatement(EntityStatement) - Method in class org.fastnate.generator.ConnectedEntitySqlGenerator
 
writeStatement(EntityStatement) - Method in class org.fastnate.generator.EntitySqlGenerator
Writes the given statement to the target.
writeStatement(EntityStatement) - Method in class org.fastnate.generator.WriterEntitySqlGenerator
 

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 L M N O P Q R S T U V W Y 
Skip navigation links

Copyright © 2017 fastnate.org. All rights reserved.