| Package | Description |
|---|---|
| org.fastnate.generator.context | |
| org.fastnate.generator.converter | |
| org.fastnate.generator.provider |
| Modifier and Type | Method and Description |
|---|---|
AttributeAccessor |
Property.getAttribute()
Used to access the value of the property.
|
| Modifier and Type | Method and Description |
|---|---|
abstract <E> Iterable<AttributeAccessor> |
AccessStyle.getDeclaredAttributes(Class<E> inspectedClass,
Class<? extends E> implementationClass)
Finds all attributes of the current access type that are referenced in the given class.
|
| Modifier and Type | Method and Description |
|---|---|
protected static String |
PluralProperty.buildIdColumn(AttributeAccessor attribute,
javax.persistence.AssociationOverride override,
javax.persistence.CollectionTable collectionMetadata,
String defaultIdColumn)
Builds the name of the column that contains the ID of the entity for the given attribute.
|
protected static GeneratorColumn |
PluralProperty.buildValueColumn(GeneratorTable table,
javax.persistence.AssociationOverride override,
AttributeAccessor attribute,
String defaultColumnName)
Builds the column that contains the value for the collection / map.
|
protected String |
PrimitiveProperty.getDefaultValue(AttributeAccessor attribute)
Finds the default value from the given attribute.
|
protected String |
VersionProperty.getDefaultValue(AttributeAccessor attribute) |
protected static <T> Class<T> |
PluralProperty.getPropertyArgument(AttributeAccessor attribute,
Class<T> explicitClass,
int argumentIndex)
Inspects the given attribute and searches for a generic type argument.
|
protected static boolean |
PluralProperty.hasPluralAnnotation(AttributeAccessor attribute)
Indicates, that the given attribute has an annotation that indicates a plural property.
|
| Constructor and Description |
|---|
AnyMapping(GeneratorContext context,
AttributeAccessor attribute,
GeneratorTable containerTabble,
javax.persistence.Column typeColumn,
String metaDefName)
Creates a new instance of
AnyMapping. |
CollectionProperty(EntityClass<?> sourceClass,
AttributeAccessor attribute,
javax.persistence.AssociationOverride override)
Creates a new collection property.
|
EmbeddedProperty(EntityClass<?> entityClass,
AttributeAccessor attribute)
Instantiates a new embedded property.
|
EntityProperty(GeneratorContext context,
GeneratorTable containerTable,
AttributeAccessor attribute,
javax.persistence.AssociationOverride override)
Creates a new instance of
EntityProperty. |
GeneratedIdProperty(EntityClass<E> entityClass,
AttributeAccessor attribute,
javax.persistence.Column column)
Creates a new instance of
GeneratedIdProperty. |
MapProperty(EntityClass<?> sourceClass,
AttributeAccessor attribute,
javax.persistence.AssociationOverride override)
Creates a new map property.
|
PluralProperty(EntityClass<?> sourceClass,
AttributeAccessor attribute,
javax.persistence.AssociationOverride override,
int valueClassParamIndex)
Creates a new property.
|
PrimitiveProperty(GeneratorContext context,
GeneratorTable table,
AttributeAccessor attribute,
javax.persistence.Column columnMetadata)
Instantiates a new primitive property.
|
PrimitiveProperty(GeneratorContext context,
GeneratorTable table,
AttributeAccessor attribute,
javax.persistence.Column columnMetadata,
boolean autogenerated)
Instantiates a new primitive property.
|
Property(AttributeAccessor attribute)
Creates a new instance of a property.
|
SingularProperty(AttributeAccessor attribute)
Creates a new instance of a SingularProperty.
|
VersionProperty(GeneratorContext context,
GeneratorTable table,
AttributeAccessor attribute,
javax.persistence.Column column)
Creates a new instance of
VersionProperty. |
| Constructor and Description |
|---|
CalendarConverter(AttributeAccessor attribute,
boolean mapKey)
Creates a new instance of
CalendarConverter. |
DateConverter(AttributeAccessor attribute,
boolean mapKey)
Creates a new instance of
DateConverter. |
EnumConverter(AttributeAccessor attribute,
Class<E> targetType,
boolean mapKey)
Creates a new instance of this
EnumConverter. |
StringConverter(AttributeAccessor attribute,
boolean mapKey)
Creates a new instance of a StringConverter for the given attribute.
|
TemporalConverter(AttributeAccessor attribute,
boolean mapKey)
Creates a new instance of this
TemporalConverter. |
| Modifier and Type | Method and Description |
|---|---|
default <T> ValueConverter<T> |
JpaProvider.createConverter(AttributeAccessor attribute,
Class<T> targetType,
boolean mapKey)
Creates a converter for an attribute that has a
PrimitiveProperty. |
Copyright © 2020 fastnate.org. All rights reserved.