Uses of Class
org.fastnate.generator.context.EntityClass
Packages that use EntityClass
-
Uses of EntityClass in org.fastnate.generator.context
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 TypeMethodDescriptionprotected 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) 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.