Uses of Class
org.fastnate.generator.context.EntityClass
Packages that use EntityClass
Package
Description
-
Uses of EntityClass in org.fastnate.generator
Methods in org.fastnate.generator with parameters of type EntityClassModifier and TypeMethodDescriptionprivate <E> voidEntitySqlGenerator.writeInserts(E entity, List<Object> postponedEntities, EntityClass<E> classDescription, ColumnExpression discriminator) -
Uses of EntityClass in org.fastnate.generator.context
Fields in org.fastnate.generator.context declared as EntityClassModifier and TypeFieldDescriptionprivate final EntityClass<E> GeneratedIdProperty.entityClassThe entity class that contains our property.private EntityClass<? super E> EntityClass.hierarchyRootThe description of the entity class that is the root of the current inheritance hierarchy.private EntityClass<? super E> EntityClass.joinedParentClassThe description of the next entity class that hasInheritanceType.JOINED, if any.private final EntityClass<K> MapProperty.keyEntityClassThe description of the key class,nullif not an entity.private final EntityClass<T> EntityProperty.targetClassThe description of the type of this property.private final EntityClass<T> PluralProperty.valueEntityClassThe description of thePluralProperty.valueClass,nullif not an entity (or something provider specific).Fields in org.fastnate.generator.context with type parameters of type EntityClassModifier and TypeFieldDescriptionprivate List<Consumer<EntityClass<E>>> EntityClass.builtListenersThe list of listeners that are informed when this class has finished to build all properties.private final Map<Class<?>, EntityClass<?>> GeneratorContext.descriptionsContains the extracted metadata to every known class of anEntity.private final Map<String, EntityClass<?>> GeneratorContext.descriptionsByNameThe mapping from thename of an entityto theextracted metadata.Methods in org.fastnate.generator.context that return EntityClassModifier and TypeMethodDescription<E> EntityClass<E> GeneratorContext.getDescription(E entity) Finds the description for the class of an entity.<E> EntityClass<E> GeneratorContext.getDescription(Class<E> entityClass) Finds the description for a class.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 hasInheritanceType.JOINED, if any.MapProperty.getKeyEntityClass()The description of the key class,nullif not an entity.EntityProperty.getTargetClass()The description of the type of this property.PluralProperty.getValueEntityClass()The description of thePluralProperty.valueClass,nullif not an entity (or something provider specific).Methods in org.fastnate.generator.context that return types with arguments of type EntityClassModifier and TypeMethodDescriptionMap<Class<?>, EntityClass<?>> GeneratorContext.getDescriptions()Contains the extracted metadata to every known class of anEntity.Map<String, EntityClass<?>> GeneratorContext.getDescriptionsByName()The mapping from thename of an entityto theextracted metadata.Methods in org.fastnate.generator.context with parameters of type EntityClassModifier and TypeMethodDescriptionprivate ColumnExpressionEntityClass.buildDiscriminator(EntityClass<?> c, jakarta.persistence.DiscriminatorColumn column) protected voidPluralProperty.buildEmbeddedProperties(EntityClass<?> sourceClass, Class<?> targetType) Builds the embedded properties of this property.voidContextModelListener.foundEntityClass(EntityClass<?> entityClass) Called when a new entity class was discovered.voidDefaultContextModelListener.foundEntityClass(EntityClass<?> entityClass) (package private) Map<Object, GenerationState> GeneratorContext.getStates(EntityClass<?> entityClass) The entity states for the given entity class.private voidPluralProperty.initializeIdColumnForMappingTable(EntityClass<?> sourceClass, AttributeAccessor attribute, jakarta.persistence.AssociationOverride override, jakarta.persistence.JoinTable joinTable, jakarta.persistence.CollectionTable collectionTable) private static GeneratorColumnEntityProperty.resolveJoinColumn(GeneratorTable containerTable, AttributeAccessor attribute, jakarta.persistence.AssociationOverride override, EntityClass<?> targetClass) Method parameters in org.fastnate.generator.context with type arguments of type EntityClassModifier and TypeMethodDescriptionvoidEntityClass.onPropertiesAvailable(Consumer<EntityClass<E>> listener) Registers a listener that is called as soon as all properties of this class are built.Constructors in org.fastnate.generator.context with parameters of type EntityClassModifierConstructorDescriptionCollectionProperty(EntityClass<?> sourceClass, AttributeAccessor attribute, jakarta.persistence.AssociationOverride associationOverride, jakarta.persistence.AttributeOverride attributeOverride) Creates a new collection property.EmbeddedProperty(EntityClass<?> entityClass, GeneratorTable table, AttributeAccessor attribute, Map<String, jakarta.persistence.AttributeOverride> surroundingAttributeOverrides, Map<String, jakarta.persistence.AssociationOverride> surroundingAssociationOverrides) Instantiates a new embedded property.GeneratedIdProperty(EntityClass<E> entityClass, AttributeAccessor attribute, jakarta.persistence.Column column) Creates a new instance ofGeneratedIdProperty.MapProperty(EntityClass<?> sourceClass, AttributeAccessor attribute, jakarta.persistence.AssociationOverride associationOverride, jakarta.persistence.AttributeOverride attributeOverride) Creates a new map property.protectedPluralProperty(EntityClass<?> sourceClass, AttributeAccessor attribute, jakarta.persistence.AssociationOverride associationOverride, jakarta.persistence.AttributeOverride attributeOverride, int valueClassParamIndex) Creates a new property. -
Uses of EntityClass in org.fastnate.generator.provider
Methods in org.fastnate.generator.provider with parameters of type EntityClassModifier and TypeMethodDescriptiondefault <E,X> Property <X, ?> JpaProvider.buildProperty(EntityClass<E> entityClass, GeneratorTable propertyTable, AttributeAccessor attribute, Map<String, jakarta.persistence.AttributeOverride> surroundingAttributeOverrides, Map<String, jakarta.persistence.AssociationOverride> surroundingAssociationOverrides) Builds the property for the given attribute.