Class AbstractAttributeMapping
java.lang.Object
org.hibernate.metamodel.mapping.internal.AbstractAttributeMapping
- All Implemented Interfaces:
AttributeMapping,Bindable,JdbcMappingContainer,MappingModelExpressible,ModelPart,OwnedValuedModelPart,PropertyBasedMapping,SelectableMappings,ValuedModelPart,ValueMapping,DatabaseSnapshotContributor,Fetchable,JavaTypedExpressible,MutabilityPlanExposer
- Direct Known Subclasses:
AbstractStateArrayContributorMapping,PluralAttributeMappingImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.JdbcValueBiConsumer<X,Y>, ModelPart.JdbcValueConsumer -
Constructor Summary
ConstructorsModifierConstructorDescriptionAbstractAttributeMapping(String name, int fetchableIndex, ManagedMappingType declaringType, AttributeMetadata attributeMetadata, int stateArrayPosition, PropertyAccess propertyAccess) protectedFor Hibernate Reactive -
Method Summary
Modifier and TypeMethodDescriptionAccess to AttributeMetadataThe name of the mapped attributeThe managed type that declares this attributeintThe key that identifies this Fetchable within aFetchableContainer.JavaType<?> The Java type for this part.The type for this part.The getter/setter access to this attributeintThe attribute's position within the container's state arrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.metamodel.mapping.AttributeMapping
asAttributeMapping, asEmbeddedAttributeMapping, asPluralAttributeMapping, compare, findContainingEntityMapping, getExposedMutabilityPlan, getGenerator, getPartName, getValue, isEmbeddedAttributeMapping, isPluralAttributeMapping, setValueMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface org.hibernate.sql.results.graph.DatabaseSnapshotContributor
createSnapshotDomainResultMethods inherited from interface org.hibernate.sql.results.graph.Fetchable
generateFetch, getFetchableName, getMappedFetchOptions, incrementFetchDepth, isSelectable, resolveCircularFetchMethods inherited from interface org.hibernate.type.descriptor.java.JavaTypedExpressible
addToCacheKeyMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType, getJdbcMappingMethods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, getNavigableRole, hasPartitionedSelectionMapping, isEntityIdentifierMapping, isVirtualMethods inherited from interface org.hibernate.metamodel.mapping.SelectableMappings
getSelectableMethods inherited from interface org.hibernate.metamodel.mapping.ValuedModelPart
forEachInsertable, forEachNonFormula, forEachSelectable, forEachSelectable, forEachUpdatable, getContainingTableExpression, getJdbcTypeCount, getSingleJdbcMappingMethods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
getExpressibleJavaType, getMappedType, treatAs
-
Constructor Details
-
AbstractAttributeMapping
public AbstractAttributeMapping(String name, int fetchableIndex, ManagedMappingType declaringType, AttributeMetadata attributeMetadata, int stateArrayPosition, PropertyAccess propertyAccess) -
AbstractAttributeMapping
For Hibernate Reactive
-
-
Method Details
-
getDeclaringType
Description copied from interface:AttributeMappingThe managed type that declares this attribute- Specified by:
getDeclaringTypein interfaceAttributeMapping- Specified by:
getDeclaringTypein interfaceOwnedValuedModelPart
-
getAttributeName
Description copied from interface:AttributeMappingThe name of the mapped attribute- Specified by:
getAttributeNamein interfaceAttributeMapping
-
getAttributeMetadata
Description copied from interface:AttributeMappingAccess to AttributeMetadata- Specified by:
getAttributeMetadatain interfaceAttributeMapping
-
getStateArrayPosition
public int getStateArrayPosition()Description copied from interface:AttributeMappingThe attribute's position within the container's state array- Specified by:
getStateArrayPositionin interfaceAttributeMapping
-
getPropertyAccess
Description copied from interface:AttributeMappingThe getter/setter access to this attribute- Specified by:
getPropertyAccessin interfaceAttributeMapping- Specified by:
getPropertyAccessin interfacePropertyBasedMapping
-
getFetchableKey
public int getFetchableKey()Description copied from interface:FetchableThe key that identifies this Fetchable within aFetchableContainer. If this Fetchable is part ofFetchableContainer.visitFetchables(IndexedConsumer, EntityMappingType), the values is guaranteed to be between 0 (inclusive) andFetchableContainer.getNumberOfFetchableKeys()(exclusive). Other Fetchable objects may have a special negative value.The main intent of this key is to index e.g.
Fetchobjects in an array.- Specified by:
getFetchableKeyin interfaceFetchable
-
getPartMappingType
Description copied from interface:ModelPartThe type for this part.- Specified by:
getPartMappingTypein interfaceModelPart
-
getJavaType
Description copied from interface:ModelPartThe Java type for this part. Generally equivalent toMappingType.getMappedJavaType()relative toModelPart.getPartMappingType()- Specified by:
getJavaTypein interfaceModelPart
-