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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AttributeMetadata
getAttributeMetadata()
Access to AttributeMetadataString
getAttributeName()
The name of the attribute defining the id, if onedefault ManagedMappingType
getDeclaringType()
The managed type that declares this attributedefault Generator
getGenerator()
The value generation strategy to use for this attribute.default MutabilityPlan
getMutabilityPlan()
default String
getPartName()
The local part name, which is generally the unqualified role namePropertyAccess
getPropertyAccess()
Access to the identifier attribute's PropertyAccessdefault int
getStateArrayPosition()
The attribute's position within the container's state arraydefault boolean
isIncludedInDirtyChecking()
default boolean
isIncludedInOptimisticLocking()
default boolean
isInsertable()
default boolean
isNullable()
default boolean
isSelectable()
default boolean
isUpdatable()
-
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, 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 Detail
-
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
default String 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
default Generator 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
default AttributeMetadata getAttributeMetadata()
Description copied from interface:AttributeMapping
Access to AttributeMetadata- Specified by:
getAttributeMetadata
in interfaceAttributeMapping
-
getDeclaringType
default ManagedMappingType 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
default MutabilityPlan getMutabilityPlan()
- Specified by:
getMutabilityPlan
in interfaceAttributeMetadata
-
-