Interface ManagedMappingType
- All Superinterfaces:
Bindable, FetchableContainer, JdbcMappingContainer, MappingModelExpressible, MappingType, ModelPart, ModelPartContainer
- All Known Subinterfaces:
EmbeddableMappingType, EntityMappingType, EntityPersister, NonAggregatedIdentifierMapping.IdentifierValueMapper
- All Known Implementing Classes:
AbstractEntityPersister, JoinedSubclassEntityPersister, SingleTableEntityPersister, UnionSubclassEntityPersister
Mapping-model corollary to
ManagedType-
Nested Class Summary
Nested classes/interfaces inherited from interface Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface ModelPart
ModelPart.JdbcValueBiConsumer<X,Y>, ModelPart.JdbcValueConsumer -
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault AttributeMappingfindAttributeMapping(String name) Find an attribute by name.voidforEachAttributeMapping(Consumer<? super AttributeMapping> action) Visit attributes defined on this class and any supersdefault voidforEachAttributeMapping(org.hibernate.internal.util.IndexedConsumer<? super AttributeMapping> consumer) Visit attributes defined on this class and any supersgetAttributeMapping(int position) Retrieve an attribute by its contributor positionGet access to the attributes defined on this class and any supersdefault JavaType<?> The Java type for this part.intGet the number of attributes defined on this class and any supersdefault MappingTypeThe type for this part.default ObjectExtract a specific attribute value from the entity instance, by positionObject[]Extract the individual attribute values from the entity instancedefault booleandefault booleanisAffectedByEnabledFilters(Set<ManagedMappingType> visitedTypes, LoadQueryInfluencers influencers, boolean onlyApplyForLoadByKey) default voidInject a specific attribute value into the entity instance, by positionvoidInject the attribute values into the entity instanceMethods inherited from interface Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, getJdbcTypeCountMethods inherited from interface FetchableContainer
getFetchable, getKeyFetchable, getNumberOfFetchableKeys, getNumberOfFetchables, getNumberOfKeyFetchables, getSelectableIndex, visitFetchables, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables, visitKeyFetchablesMethods inherited from interface JdbcMappingContainer
forEachJdbcType, getJdbcMapping, getSingleJdbcMappingMethods inherited from interface MappingType
getMappedJavaTypeMethods inherited from interface ModelPart
applySqlSelections, applySqlSelections, areEqual, asAttributeMapping, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, findContainingEntityMapping, forEachSelectable, forEachSelectable, getNavigableRole, getPartName, isEntityIdentifierMapping, isVirtualMethods inherited from interface ModelPartContainer
findByPath, findByPath, findSubPart, forEachSubPart, forEachSubPart, visitSubParts
-
Method Details
-
getJavaType
Description copied from interface:ModelPartThe Java type for this part. Generally equivalent toMappingType.getMappedJavaType()relative toModelPart.getPartMappingType()- Specified by:
getJavaTypein interfaceModelPart
-
getPartMappingType
Description copied from interface:ModelPartThe type for this part.- Specified by:
getPartMappingTypein interfaceModelPart
-
getNumberOfAttributeMappings
int getNumberOfAttributeMappings()Get the number of attributes defined on this class and any supers -
getAttributeMapping
Retrieve an attribute by its contributor position -
findAttributeMapping
Find an attribute by name.- Returns:
- The named attribute, or
nullif no match was found
-
getAttributeMappings
AttributeMappingsList getAttributeMappings()Get access to the attributes defined on this class and any supers -
forEachAttributeMapping
Visit attributes defined on this class and any supers -
forEachAttributeMapping
default void forEachAttributeMapping(org.hibernate.internal.util.IndexedConsumer<? super AttributeMapping> consumer) Visit attributes defined on this class and any supers -
getValues
-
getValue
-
setValues
-
setValue
-
anyRequiresAggregateColumnWriter
default boolean anyRequiresAggregateColumnWriter() -
hasPartitionedSelectionMapping
default boolean hasPartitionedSelectionMapping()- Specified by:
hasPartitionedSelectionMappingin interfaceModelPart
-
isAffectedByEnabledFilters
default boolean isAffectedByEnabledFilters(Set<ManagedMappingType> visitedTypes, LoadQueryInfluencers influencers, boolean onlyApplyForLoadByKey)
-