Interface NonAggregatedIdentifierMapping.IdentifierValueMapper
- All Superinterfaces:
Bindable, EmbeddableMappingType, FetchableContainer, JdbcMappingContainer, ManagedMappingType, MappingModelExpressible, MappingType, ModelPart, ModelPartContainer, SelectableMappings
- 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 Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface EmbeddableMappingType
EmbeddableMappingType.ConcreteEmbeddableTypeNested classes/interfaces inherited from interface ModelPart
ModelPart.JdbcValueBiConsumer<X,Y>, ModelPart.JdbcValueConsumer -
Method Summary
Modifier and TypeMethodDescriptiondefault voidforEachAttribute(org.hibernate.internal.util.IndexedConsumer<SingularAttributeMapping> consumer) 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 representationvoidsetIdentifier(Object entity, Object id, SharedSessionContractImplementor session) Extract the identifier out of the given entity, returning the mapper's representationMethods inherited from interface Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface EmbeddableMappingType
anyRequiresAggregateColumnWriter, applySqlSelections, applySqlSelections, compare, createDomainResult, createInverseMappingType, findSubtypeByDiscriminator, findSubtypeBySubclass, forEachInsertable, forEachJdbcType, forEachSelectable, forEachSelectable, forEachUpdatable, getAggregateMapping, getConcreteEmbeddableTypes, getDiscriminatorMapping, getEmbeddedValueMapping, getJdbcTypeCount, getJdbcValueCount, getJdbcValueSelectable, getPartMappingType, getRepresentationStrategy, getSelectableIndex, isPolymorphic, requiresAggregateColumnWriter, shouldBindAggregateMapping, shouldMutateAggregateMapping, shouldSelectAggregateMappingMethods inherited from interface FetchableContainer
getFetchable, getKeyFetchable, getNumberOfFetchableKeys, getNumberOfFetchables, getNumberOfKeyFetchables, visitFetchables, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables, visitKeyFetchablesMethods inherited from interface JdbcMappingContainer
getJdbcMapping, getSingleJdbcMappingMethods inherited from interface ManagedMappingType
findAttributeMapping, forEachAttributeMapping, forEachAttributeMapping, getAttributeMapping, getAttributeMappings, getJavaType, getNumberOfAttributeMappings, getValue, getValues, hasPartitionedSelectionMapping, isAffectedByEnabledFilters, setValue, setValuesMethods inherited from interface MappingType
getMappedJavaTypeMethods inherited from interface ModelPart
areEqual, asAttributeMapping, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, decompose, decompose, findContainingEntityMapping, getNavigableRole, getPartName, isEntityIdentifierMapping, isVirtualMethods inherited from interface ModelPartContainer
findByPath, findByPath, findSubPart, forEachSubPart, forEachSubPart, visitSubPartsMethods inherited from interface SelectableMappings
getSelectable
-
Method Details
-
getEmbeddedPart
EmbeddableValuedModelPart getEmbeddedPart() -
forEachAttribute
default void forEachAttribute(org.hibernate.internal.util.IndexedConsumer<SingularAttributeMapping> consumer) Convenience method to iterate the attributes for this mapper's representation
-