Uses of Interface
org.fastnate.generator.context.AttributeAccessor
Packages that use AttributeAccessor
Package
Description
-
Uses of AttributeAccessor in org.fastnate.generator.context
Fields in org.fastnate.generator.context declared as AttributeAccessorModifier and TypeFieldDescriptionprivate final AttributeAccessorProperty.attributeUsed to access the value of the property.Methods in org.fastnate.generator.context that return AttributeAccessorModifier and TypeMethodDescriptionProperty.getAttribute()Used to access the value of the property.Methods in org.fastnate.generator.context that return types with arguments of type AttributeAccessorModifier and TypeMethodDescriptionabstract <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.Methods in org.fastnate.generator.context with parameters of type AttributeAccessorModifier and TypeMethodDescriptionprotected static StringPluralProperty.buildIdColumn(AttributeAccessor attribute, jakarta.persistence.AssociationOverride override, jakarta.persistence.CollectionTable collectionMetadata, String defaultIdColumn) Builds the name of the column that contains the ID of the entity for the given attribute.private static StringPluralProperty.buildIdColumn(AttributeAccessor attribute, jakarta.persistence.AssociationOverride override, jakarta.persistence.JoinColumn[] joinColumns, String defaultIdColumn) private static StringPluralProperty.buildIdColumn(AttributeAccessor attribute, jakarta.persistence.AssociationOverride override, jakarta.persistence.JoinTable joinTable, jakarta.persistence.CollectionTable tableMetadata, String defaultIdColumn) private static GeneratorColumnPluralProperty.buildValueColumn(GeneratorTable table, jakarta.persistence.AssociationOverride asscoiationOverride, jakarta.persistence.AttributeOverride attributeOverride, AttributeAccessor attribute, String defaultColumnName) Builds the column that contains the value for the collection / map.protected EntityProperty.MappingInformationEntityProperty.findEntityMappingInformation(AttributeAccessor attribute) Builds the mapping information for a reference to an entity.protected PluralProperty.EntityMappingInformationPluralProperty.findEntityMappingInformation(AttributeAccessor attribute, jakarta.persistence.AssociationOverride associationOverride, int valueClassParamIndex) Builds the mapping information for a entity collection.private static StringPluralProperty.findMappedId(AttributeAccessor attribute) private static jakarta.persistence.ColumnEntityClass.getColumnAnnotation(AttributeAccessor attribute, Map<String, jakarta.persistence.AttributeOverride> overrides) protected StringPrimitiveProperty.getDefaultValue(AttributeAccessor attribute) Finds the default value from the given attribute.protected StringVersionProperty.getDefaultValue(AttributeAccessor attribute) (package private) GeneratorColumnEntityClass.getIdColumn(AttributeAccessor attribute) Resolves the column for theid propertyof this entity class.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 booleanPluralProperty.hasPluralAnnotation(AttributeAccessor attribute) Indicates, that the given attribute has an annotation that indicates a plural property.private voidPluralProperty.initializeIdColumnForMappingTable(EntityClass<?> sourceClass, AttributeAccessor attribute, jakarta.persistence.AssociationOverride override, jakarta.persistence.JoinTable joinTable, jakarta.persistence.CollectionTable collectionTable) static booleanCollectionProperty.isCollectionProperty(AttributeAccessor attribute) Indicates that the given attribute references a collection and may be used by anCollectionProperty.static booleanEntityProperty.isEntityProperty(AttributeAccessor attribute) Indicates that the given attribute references a single entity and may be used by anEntityProperty.static booleanMapProperty.isMapProperty(AttributeAccessor attribute) Indicates that the given attribute references a map and may be used by anMapProperty.private static booleanPrimitiveProperty.isRequired(AttributeAccessor attribute) private static GeneratorColumnEntityProperty.resolveJoinColumn(GeneratorTable containerTable, AttributeAccessor attribute, jakarta.persistence.AssociationOverride override, EntityClass<?> targetClass) private static booleanPluralProperty.EntityMappingInformation.useTargetTable(AttributeAccessor attribute, jakarta.persistence.AssociationOverride override) Method parameters in org.fastnate.generator.context with type arguments of type AttributeAccessorModifier and TypeMethodDescriptionprivate booleanEntityClass.findIdProperty(Iterable<AttributeAccessor> declaredAttributes) Constructors in org.fastnate.generator.context with parameters of type AttributeAccessorModifierConstructorDescriptionCollectionProperty(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.(package private)EntityMappingInformation(AttributeAccessor attribute, jakarta.persistence.AssociationOverride override, int valueArgumentIndex) EntityProperty(GeneratorContext context, GeneratorTable containerTable, AttributeAccessor attribute, jakarta.persistence.AssociationOverride override) Creates a new instance ofEntityProperty.GeneratedIdProperty(EntityClass<E> entityClass, AttributeAccessor attribute, jakarta.persistence.Column column) Creates a new instance ofGeneratedIdProperty.(package private)MappingInformation(AttributeAccessor attribute) 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.PrimitiveProperty(GeneratorContext context, GeneratorTable table, AttributeAccessor attribute, jakarta.persistence.Column columnMetadata) Instantiates a new primitive property.PrimitiveProperty(GeneratorContext context, GeneratorTable table, AttributeAccessor attribute, jakarta.persistence.Column columnMetadata, boolean autogenerated) Instantiates a new primitive property.protectedProperty(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, jakarta.persistence.Column column) Creates a new instance ofVersionProperty. -
Uses of AttributeAccessor in org.fastnate.generator.converter
Constructors in org.fastnate.generator.converter with parameters of type AttributeAccessorModifierConstructorDescriptionAbstractDateConverter(AttributeAccessor attribute, boolean mapKey) Creates a new instance of thisAbstractDateConverter.CalendarConverter(AttributeAccessor attribute, boolean mapKey) Creates a new instance ofCalendarConverter.DateConverter(AttributeAccessor attribute, boolean mapKey) Creates a new instance ofDateConverter.EnumConverter(AttributeAccessor attribute, Class<E> targetType, boolean mapKey) Creates a new instance of thisEnumConverter.StringConverter(AttributeAccessor attribute, boolean mapKey) Creates a new instance of a StringConverter for the given attribute. -
Uses of AttributeAccessor in org.fastnate.generator.provider
Methods in org.fastnate.generator.provider with parameters of type AttributeAccessorModifier 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.default <T> ValueConverter<T> JpaProvider.createConverter(AttributeAccessor attribute, Class<T> targetType, boolean mapKey) Creates a converter for an attribute that has aPrimitiveProperty.default booleanJpaProvider.isPersistent(AttributeAccessor attribute) Indicates that the given attribute is persistent according to the current JPA provider.