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.Nature
Nested 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 AttributeMetadata
Access to AttributeMetadataThe name of the attribute defining the id, if onedefault ManagedMappingType
The managed type that declares this attributedefault Generator
The value generation strategy to use for this attribute.default MutabilityPlan
default String
The local part name, which is generally the unqualified role nameAccess to the identifier attribute's PropertyAccessdefault int
The attribute's position within the container's state arraydefault boolean
default boolean
default boolean
default boolean
default boolean
default boolean
Methods inherited from interface org.hibernate.metamodel.mapping.AttributeMapping
asAttributeMapping, asEmbeddedAttributeMapping, asPluralAttributeMapping, compare, findContainingEntityMapping, getExposedMutabilityPlan, getValue, isEmbeddedAttributeMapping, isPluralAttributeMapping, setValue
Methods inherited from interface org.hibernate.metamodel.mapping.AttributeMetadata
getCascadeStyle
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue
Methods inherited from interface org.hibernate.sql.results.graph.DatabaseSnapshotContributor
createSnapshotDomainResult
Methods inherited from interface org.hibernate.metamodel.mapping.EntityIdentifierMapping
getIdentifier, getIdentifierIfNotUnsaved, getNature, getUnsavedStrategy, instantiate, isEntityIdentifierMapping, setIdentifier
Methods inherited from interface org.hibernate.sql.results.graph.Fetchable
generateFetch, getFetchableKey, getFetchableName, getMappedFetchOptions, incrementFetchDepth, resolveCircularFetch
Methods inherited from interface org.hibernate.type.descriptor.java.JavaTypedExpressible
addToCacheKey
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType, getJdbcMapping
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, getJavaType, getNavigableRole, getPartMappingType, hasPartitionedSelectionMapping, isVirtual
Methods inherited from interface org.hibernate.metamodel.mapping.SelectableMappings
getSelectable
Methods inherited from interface org.hibernate.metamodel.mapping.ValuedModelPart
forEachInsertable, forEachNonFormula, forEachSelectable, forEachSelectable, forEachUpdatable, getContainingTableExpression, getJdbcTypeCount, getSingleJdbcMapping
Methods 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:
getPropertyAccess
in interfaceAttributeMapping
- Specified by:
getPropertyAccess
in interfaceAttributeMetadata
- Specified by:
getPropertyAccess
in interfacePropertyBasedMapping
-
getAttributeName
String getAttributeName()Description copied from interface:EntityIdentifierMapping
The name of the attribute defining the id, if one- Specified by:
getAttributeName
in interfaceAttributeMapping
- Specified by:
getAttributeName
in interfaceEntityIdentifierMapping
-
getPartName
Description copied from interface:ModelPart
The local part name, which is generally the unqualified role name- Specified by:
getPartName
in interfaceAttributeMapping
- Specified by:
getPartName
in interfaceEntityIdentifierMapping
- Specified by:
getPartName
in interfaceModelPart
-
getGenerator
Description copied from interface:AttributeMapping
The value generation strategy to use for this attribute.- Specified by:
getGenerator
in interfaceAttributeMapping
-
getStateArrayPosition
default int getStateArrayPosition()Description copied from interface:AttributeMapping
The attribute's position within the container's state array- Specified by:
getStateArrayPosition
in interfaceAttributeMapping
-
getAttributeMetadata
Description copied from interface:AttributeMapping
Access to AttributeMetadata- Specified by:
getAttributeMetadata
in interfaceAttributeMapping
-
getDeclaringType
Description copied from interface:AttributeMapping
The managed type that declares this attribute- Specified by:
getDeclaringType
in interfaceAttributeMapping
- Specified by:
getDeclaringType
in interfaceOwnedValuedModelPart
-
isSelectable
default boolean isSelectable()- Specified by:
isSelectable
in interfaceAttributeMetadata
- Specified by:
isSelectable
in interfaceFetchable
-
isNullable
default boolean isNullable()- Specified by:
isNullable
in interfaceAttributeMetadata
-
isInsertable
default boolean isInsertable()- Specified by:
isInsertable
in interfaceAttributeMetadata
-
isUpdatable
default boolean isUpdatable()- Specified by:
isUpdatable
in interfaceAttributeMetadata
-
isIncludedInDirtyChecking
default boolean isIncludedInDirtyChecking()- Specified by:
isIncludedInDirtyChecking
in interfaceAttributeMetadata
-
isIncludedInOptimisticLocking
default boolean isIncludedInOptimisticLocking()- Specified by:
isIncludedInOptimisticLocking
in interfaceAttributeMetadata
-
getMutabilityPlan
- Specified by:
getMutabilityPlan
in interfaceAttributeMetadata
-