Package org.hibernate.metamodel.mapping
Interface NonAggregatedIdentifierMapping.IdentifierValueMapper
- All Superinterfaces:
Bindable
,EmbeddableMappingType
,FetchableContainer
,JdbcMappingContainer
,ManagedMappingType
,MappingModelExpressible
,MappingType
,ModelPart
,ModelPartContainer
,SelectableMappings
- All Known Implementing Classes:
IdClassEmbeddable
,VirtualIdEmbeddable
- Enclosing interface:
- NonAggregatedIdentifierMapping
public static interface NonAggregatedIdentifierMapping.IdentifierValueMapper
extends EmbeddableMappingType
Think of an AttributeConverter for id values to account for representation
difference between virtual and id-class mappings
-
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.EmbeddableMappingType
EmbeddableMappingType.ConcreteEmbeddableType
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.JdbcValueBiConsumer<X,
Y>, ModelPart.JdbcValueConsumer -
Method Summary
Modifier and TypeMethodDescriptiondefault void
Convenience method to iterate the attributes for this mapper's representationgetIdentifier
(Object entity, SharedSessionContractImplementor session) Extract the identifier out of the given entity, returning the mapper's representationvoid
setIdentifier
(Object entity, Object id, SharedSessionContractImplementor session) Extract the identifier out of the given entity, returning the mapper's representationMethods 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.metamodel.mapping.EmbeddableMappingType
anyRequiresAggregateColumnWriter, applySqlSelections, applySqlSelections, compare, createDomainResult, createInverseMappingType, findSubtypeByDiscriminator, findSubtypeBySubclass, forEachInsertable, forEachJdbcType, forEachSelectable, forEachSelectable, forEachUpdatable, getAggregateMapping, getConcreteEmbeddableTypes, getDiscriminatorMapping, getEmbeddedValueMapping, getJdbcTypeCount, getJdbcValueCount, getJdbcValueSelectable, getPartMappingType, getRepresentationStrategy, getSelectableIndex, isCreateEmptyCompositesEnabled, isPolymorphic, requiresAggregateColumnWriter, shouldBindAggregateMapping, shouldMutateAggregateMapping, shouldSelectAggregateMapping
Methods inherited from interface org.hibernate.sql.results.graph.FetchableContainer
getFetchable, getKeyFetchable, getNumberOfFetchableKeys, getNumberOfFetchables, getNumberOfKeyFetchables, visitFetchables, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables, visitKeyFetchables
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
getJdbcMapping, getSingleJdbcMapping
Methods inherited from interface org.hibernate.metamodel.mapping.ManagedMappingType
findAttributeMapping, forEachAttributeMapping, forEachAttributeMapping, getAttributeMapping, getAttributeMappings, getJavaType, getNumberOfAttributeMappings, getValue, getValues, hasPartitionedSelectionMapping, isAffectedByEnabledFilters, setValue, setValues
Methods inherited from interface org.hibernate.metamodel.mapping.MappingType
getMappedJavaType
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
areEqual, asAttributeMapping, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, decompose, decompose, findContainingEntityMapping, getNavigableRole, getPartName, isEntityIdentifierMapping, isVirtual
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPartContainer
findByPath, findByPath, findSubPart, forEachSubPart, forEachSubPart, visitSubParts
Methods inherited from interface org.hibernate.metamodel.mapping.SelectableMappings
getSelectable
-
Method Details
-
getEmbeddedPart
EmbeddableValuedModelPart getEmbeddedPart() -
forEachAttribute
Convenience method to iterate the attributes for this mapper's representation
-