Class AbstractNaturalIdMapping
java.lang.Object
org.hibernate.metamodel.mapping.internal.AbstractNaturalIdMapping
- All Implemented Interfaces:
Bindable
,JdbcMappingContainer
,MappingModelExpressible
,ModelPart
,NaturalIdMapping
,VirtualModelPart
- Direct Known Subclasses:
CompoundNaturalIdMapping
,SimpleNaturalIdMapping
-
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 -
Field Summary
Fields inherited from interface org.hibernate.metamodel.mapping.NaturalIdMapping
PART_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAccess to the natural-id's L2 cache access.boolean
Whether the natural-id is immutable.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, getJdbcTypeCount
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType, getJdbcMapping, getSingleJdbcMapping
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, asAttributeMapping, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, forEachSelectable, forEachSelectable, getJavaType, getPartMappingType, hasPartitionedSelectionMapping, isEntityIdentifierMapping
Methods inherited from interface org.hibernate.metamodel.mapping.NaturalIdMapping
calculateHashCode, extractNaturalIdFromEntity, extractNaturalIdFromEntityState, getNaturalIdAttributes, getPartName, makeLoader, makeMultiLoader, normalizeInput, validateInternalForm, verifyFlushState
Methods inherited from interface org.hibernate.metamodel.mapping.VirtualModelPart
isVirtual
-
Constructor Details
-
AbstractNaturalIdMapping
-
-
Method Details
-
getDeclaringType
-
isMutable
public boolean isMutable()Description copied from interface:NaturalIdMapping
Whether the natural-id is immutable. This is the same as saying that none of the attributes are mutable- Specified by:
isMutable
in interfaceNaturalIdMapping
-
getCacheAccess
Description copied from interface:NaturalIdMapping
Access to the natural-id's L2 cache access. Returns null if the natural-id is not configured for caching- Specified by:
getCacheAccess
in interfaceNaturalIdMapping
-
findContainingEntityMapping
- Specified by:
findContainingEntityMapping
in interfaceModelPart
-