Interface SingleAttributeIdentifierMapping
- All Superinterfaces:
AttributeMapping,AttributeMetadata,Bindable,DatabaseSnapshotContributor,EntityIdentifierMapping,Fetchable,JavaTypedExpressible,JdbcMappingContainer,MappingModelExpressible,ModelPart,MutabilityPlanExposer,OwnedValuedModelPart,PropertyBasedMapping,SelectableMappings,ValuedModelPart,ValueMapping
- All Known Subinterfaces:
AggregatedIdentifierMapping,BasicEntityIdentifierMapping
- All Known Implementing Classes:
AnonymousTupleBasicEntityIdentifierMapping,AnonymousTupleEmbeddedEntityIdentifierMapping,BasicEntityIdentifierMappingImpl,EmbeddedIdentifierMappingImpl
public interface SingleAttributeIdentifierMapping
extends EntityIdentifierMapping, PropertyBasedMapping, AttributeMapping, AttributeMetadata
-
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.EntityIdentifierMapping
EntityIdentifierMapping.NatureNested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.JdbcValueBiConsumer<X,Y>, ModelPart.JdbcValueConsumer -
Field Summary
Fields inherited from interface org.hibernate.metamodel.mapping.EntityIdentifierMapping
ID_ROLE_NAME, LEGACY_ID_NAME -
Method Summary
Modifier and TypeMethodDescriptiondefault AttributeMetadataAccess to AttributeMetadataThe name of the attribute defining the id, if onedefault ManagedMappingTypeThe managed type that declares this attributedefault GeneratorThe value generation strategy to use for this attribute.default MutabilityPlandefault StringThe local part name, which is generally the unqualified role nameAccess to the identifier attribute's PropertyAccessdefault intThe attribute's position within the container's state arraydefault booleandefault booleandefault booleandefault booleandefault booleandefault booleanMethods inherited from interface org.hibernate.metamodel.mapping.AttributeMapping
asAttributeMapping, asEmbeddedAttributeMapping, asPluralAttributeMapping, compare, findContainingEntityMapping, getExposedMutabilityPlan, getValue, isEmbeddedAttributeMapping, isPluralAttributeMapping, setValueMethods inherited from interface org.hibernate.metamodel.mapping.AttributeMetadata
getCascadeStyleMethods 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.metamodel.mapping.EntityIdentifierMapping
getIdentifier, getIdentifier, getIdentifierIfNotUnsaved, getNature, getUnsavedStrategy, instantiate, isEntityIdentifierMapping, setIdentifierMethods inherited from interface org.hibernate.sql.results.graph.Fetchable
generateFetch, getFetchableKey, getFetchableName, getMappedFetchOptions, incrementFetchDepth, 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, getJavaType, getNavigableRole, getPartMappingType, hasPartitionedSelectionMapping, 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
-
Method Details
-
getPropertyAccess
PropertyAccess getPropertyAccess()Access to the identifier attribute's PropertyAccess- Specified by:
getPropertyAccessin interfaceAttributeMapping- Specified by:
getPropertyAccessin interfaceAttributeMetadata- Specified by:
getPropertyAccessin interfacePropertyBasedMapping
-
getAttributeName
String getAttributeName()Description copied from interface:EntityIdentifierMappingThe name of the attribute defining the id, if one- Specified by:
getAttributeNamein interfaceAttributeMapping- Specified by:
getAttributeNamein interfaceEntityIdentifierMapping
-
getPartName
Description copied from interface:ModelPartThe local part name, which is generally the unqualified role name- Specified by:
getPartNamein interfaceAttributeMapping- Specified by:
getPartNamein interfaceEntityIdentifierMapping- Specified by:
getPartNamein interfaceModelPart
-
getGenerator
Description copied from interface:AttributeMappingThe value generation strategy to use for this attribute.- Specified by:
getGeneratorin interfaceAttributeMapping
-
getStateArrayPosition
default int getStateArrayPosition()Description copied from interface:AttributeMappingThe attribute's position within the container's state array- Specified by:
getStateArrayPositionin interfaceAttributeMapping
-
getAttributeMetadata
Description copied from interface:AttributeMappingAccess to AttributeMetadata- Specified by:
getAttributeMetadatain interfaceAttributeMapping
-
getDeclaringType
Description copied from interface:AttributeMappingThe managed type that declares this attribute- Specified by:
getDeclaringTypein interfaceAttributeMapping- Specified by:
getDeclaringTypein interfaceOwnedValuedModelPart
-
isSelectable
default boolean isSelectable()- Specified by:
isSelectablein interfaceAttributeMetadata- Specified by:
isSelectablein interfaceFetchable
-
isNullable
default boolean isNullable()- Specified by:
isNullablein interfaceAttributeMetadata
-
isInsertable
default boolean isInsertable()- Specified by:
isInsertablein interfaceAttributeMetadata
-
isUpdatable
default boolean isUpdatable()- Specified by:
isUpdatablein interfaceAttributeMetadata
-
isIncludedInDirtyChecking
default boolean isIncludedInDirtyChecking()- Specified by:
isIncludedInDirtyCheckingin interfaceAttributeMetadata
-
isIncludedInOptimisticLocking
default boolean isIncludedInOptimisticLocking()- Specified by:
isIncludedInOptimisticLockingin interfaceAttributeMetadata
-
getMutabilityPlan
- Specified by:
getMutabilityPlanin interfaceAttributeMetadata
-