| Package | Description |
|---|---|
| org.fastnate.generator.context |
| Modifier and Type | Method and Description |
|---|---|
<E> EntityClass<E> |
GeneratorContext.getDescription(Class<E> entityClass)
Finds the description for a class.
|
<E> EntityClass<E> |
GeneratorContext.getDescription(E entity)
Finds the description for the class of an entity.
|
EntityClass<E> |
GeneratedIdProperty.getEntityClass()
The entity class that contains our property.
|
EntityClass<? super E> |
EntityClass.getHierarchyRoot()
The description of the entity class that is the root of the current inheritance hierarchy.
|
EntityClass<? super E> |
EntityClass.getJoinedParentClass()
The description of the next entity class that has
InheritanceType.JOINED, if any. |
EntityClass<K> |
MapProperty.getKeyEntityClass()
The description of the key class,
null if not an entity. |
EntityClass<T> |
EntityProperty.getTargetClass()
The description of the type of this property.
|
EntityClass<T> |
PluralProperty.getValueEntityClass()
|
| Modifier and Type | Method and Description |
|---|---|
Map<Class<?>,EntityClass<?>> |
GeneratorContext.getDescriptions()
Contains the extracted metadata to every known class of an
Entity. |
Map<String,EntityClass<?>> |
GeneratorContext.getDescriptionsByName()
The mapping from the
name of an entity to the extracted metadata. |
| Modifier and Type | Method and Description |
|---|---|
void |
ContextModelListener.foundEntityClass(EntityClass<?> entityClass)
Called when a new entity class was discovered.
|
void |
DefaultContextModelListener.foundEntityClass(EntityClass<?> entityClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityClass.onPropertiesAvailable(Consumer<EntityClass<E>> listener)
Registers a listener that is called as soon as all properties of this class are built.
|
| Constructor and Description |
|---|
CollectionProperty(EntityClass<?> sourceClass,
AttributeAccessor attribute,
javax.persistence.AssociationOverride override)
Creates a new collection property.
|
EmbeddedProperty(EntityClass<?> entityClass,
AttributeAccessor attribute)
Instantiates a new embedded property.
|
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.
|
Copyright © 2020 fastnate.org. All rights reserved.