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.ConcreteEmbeddableTypeNested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.JdbcValueBiConsumer<X,Y>, ModelPart.JdbcValueConsumer -
Method Summary
Modifier and TypeMethodDescriptiondefault voidConvenience 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 org.hibernate.metamodel.mapping.Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods 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, isPolymorphic, requiresAggregateColumnWriter, shouldBindAggregateMapping, shouldMutateAggregateMapping, shouldSelectAggregateMappingMethods inherited from interface org.hibernate.sql.results.graph.FetchableContainer
getFetchable, getKeyFetchable, getNumberOfFetchableKeys, getNumberOfFetchables, getNumberOfKeyFetchables, visitFetchables, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables, visitKeyFetchablesMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
getJdbcMapping, getSingleJdbcMappingMethods inherited from interface org.hibernate.metamodel.mapping.ManagedMappingType
findAttributeMapping, forEachAttributeMapping, forEachAttributeMapping, getAttributeMapping, getAttributeMappings, getJavaType, getNumberOfAttributeMappings, getValue, getValues, hasPartitionedSelectionMapping, isAffectedByEnabledFilters, setValue, setValuesMethods inherited from interface org.hibernate.metamodel.mapping.MappingType
getMappedJavaTypeMethods inherited from interface org.hibernate.metamodel.mapping.ModelPart
areEqual, asAttributeMapping, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, decompose, decompose, findContainingEntityMapping, getNavigableRole, getPartName, isEntityIdentifierMapping, isVirtualMethods inherited from interface org.hibernate.metamodel.mapping.ModelPartContainer
findByPath, findByPath, findSubPart, forEachSubPart, forEachSubPart, visitSubPartsMethods 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
-