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 AttributeMetadatagetAttributeMetadata()Access to AttributeMetadataStringgetAttributeName()The name of the attribute defining the id, if onedefault ManagedMappingTypegetDeclaringType()The managed type that declares this attributedefault GeneratorgetGenerator()The value generation strategy to use for this attribute.default MutabilityPlangetMutabilityPlan()default StringgetPartName()The local part name, which is generally the unqualified role namePropertyAccessgetPropertyAccess()Access to the identifier attribute's PropertyAccessdefault intgetStateArrayPosition()The attribute's position within the container's state arraydefault booleanisIncludedInDirtyChecking()default booleanisIncludedInOptimisticLocking()default booleanisInsertable()default booleanisNullable()default booleanisSelectable()default booleanisUpdatable()-
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, 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 Detail
-
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
default String 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
default Generator 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
default AttributeMetadata getAttributeMetadata()
Description copied from interface:AttributeMappingAccess to AttributeMetadata- Specified by:
getAttributeMetadatain interfaceAttributeMapping
-
getDeclaringType
default ManagedMappingType 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
default MutabilityPlan getMutabilityPlan()
- Specified by:
getMutabilityPlanin interfaceAttributeMetadata
-
-