Package | Description |
---|---|
org.fastnate.generator | |
org.fastnate.generator.context |
Modifier and Type | Method and Description |
---|---|
private <E,T> void |
EntitySqlGenerator.writeTableEntities(E entity,
List<Object> postponedEntities,
Collection<Property<? super E,?>> properties) |
Modifier and Type | Class and Description |
---|---|
class |
CollectionProperty<E,T>
Describes a property of an
EntityClass that contains more than one value. |
class |
EmbeddedProperty<E,T>
Handling of properties defined in
Embeddable s. |
class |
EntityProperty<E,T>
Describes a property of an
EntityClass that references another entity. |
class |
GeneratedIdProperty<E,T extends Number>
Describes an
Id property of an EntityClass . |
class |
MapProperty<E,K,T>
Describes a property of an
EntityClass that is a Map . |
class |
PluralProperty<E,C,T>
Base class for
MapProperty and CollectionProperty . |
class |
PrimitiveProperty<E,T>
Describes a singular primitive property of an
EntityClass . |
class |
SingularProperty<E,T>
Represents a value that is exactly one column in the database.
|
class |
VersionProperty<E,T>
Represents a property marked with
Version . |
Modifier and Type | Field and Description |
---|---|
private Property<? super E,?> |
EntityClass.idProperty
The property that contains the id for the entity.
|
private Property<T,?> |
EntityProperty.inverseProperty
The opposite property of a bidirectional mapping.
|
private Property<T,?> |
PluralProperty.inverseProperty
The opposite property of a bidirectional mapping.
|
private Property<E,?> |
GenerationState.PendingState.Update.property |
Modifier and Type | Field and Description |
---|---|
private List<Property<? super E,?>> |
EntityClass.additionalProperties
Properties of this entity, excluding the
EntityClass.idProperty or properties from EntityClass.joinedParentClass . |
private List<Property<? super E,?>> |
EntityClass.allProperties
All properties of this entity, including
EntityClass.idProperty and properties from EntityClass.joinedParentClass . |
private Map<String,Property<? super T,?>> |
EmbeddedProperty.embeddedProperties
The properties within the embedded object.
|
private List<Property<T,?>> |
PluralProperty.embeddedProperties
Contains all properties of an embedded element collection.
|
private Map<String,Property<T,?>> |
PluralProperty.embeddedPropertiesByName
Contains all properties of an embedded element collection by their name.
|
private Map<String,Property<? super E,?>> |
EntityClass.properties
Mapping from the name of all persistent properties to their description.
|
Modifier and Type | Method and Description |
---|---|
(package private) <X> Property<X,?> |
EntityClass.buildProperty(GeneratorTable propertyTable,
AttributeAccessor attribute,
Map<String,javax.persistence.AttributeOverride> surroundingAttributeOverrides,
Map<String,javax.persistence.AssociationOverride> surroundingAssociationOverrides)
Builds the property for the given attribute.
|
Property<? super E,?> |
EntityClass.getIdProperty()
The property that contains the id for the entity.
|
Property<T,?> |
EntityProperty.getInverseProperty()
The opposite property of a bidirectional mapping.
|
Property<T,?> |
PluralProperty.getInverseProperty()
The opposite property of a bidirectional mapping.
|
Property<E,?> |
GenerationState.PendingState.Update.getProperty() |
Modifier and Type | Method and Description |
---|---|
List<Property<? super E,?>> |
EntityClass.getAdditionalProperties()
Properties of this entity, excluding the
EntityClass.idProperty or properties from EntityClass.joinedParentClass . |
List<Property<? super E,?>> |
EntityClass.getAllProperties()
All properties of this entity, including
EntityClass.idProperty and properties from EntityClass.joinedParentClass . |
Map<String,Property<? super T,?>> |
EmbeddedProperty.getEmbeddedProperties()
The properties within the embedded object.
|
List<Property<T,?>> |
PluralProperty.getEmbeddedProperties()
Contains all properties of an embedded element collection.
|
Map<String,Property<T,?>> |
PluralProperty.getEmbeddedPropertiesByName()
Contains all properties of an embedded element collection by their name.
|
Map<String,Property<? super E,?>> |
EntityClass.getProperties()
Mapping from the name of all persistent properties to their description.
|
Modifier and Type | Method and Description |
---|---|
<E> void |
GenerationState.PendingState.addPendingUpdate(E entity,
Property<E,?> property,
Object... arguments)
Adds an entity that has to be updated, as soon as the associated entity (of this state) was written.
|
static UniquePropertyQuality |
UniquePropertyQuality.getMatchingQuality(Property<?,?> property)
Finds the best quality that matches the given property.
|
abstract boolean |
UniquePropertyQuality.isAllowed(Property<?,?> property)
Indicates which type of property is allowed for this quality.
|
<V> void |
EntityClass.markPendingUpdates(E pendingEntity,
V entityToUpdate,
Property<V,?> propertyToUpdate,
Object... arguments)
Marks an update that is necessary when an entity is written (in the future).
|
(package private) void |
EntityProperty.setInverseProperty(Property<T,?> inverseProperty)
The opposite property of a bidirectional mapping.
|
Constructor and Description |
---|
Update(E entity,
Property<E,?> property,
Object[] arguments) |
Copyright © 2022 fastnate.org. All rights reserved.