Package org.hibernate.metamodel.mapping
Interface ManagedMappingType
-
- All Superinterfaces:
Bindable,FetchableContainer,JdbcMappingContainer,MappingModelExpressible,MappingType,ModelPart,ModelPartContainer,Queryable
- All Known Subinterfaces:
EmbeddableMappingType,EntityMappingType,EntityPersister,Loadable,Lockable,NonAggregatedIdentifierMapping.IdentifierValueMapper,OuterJoinLoadable,PostInsertIdentityPersister,Queryable,SQLLoadable,UniqueKeyLoadable
- All Known Implementing Classes:
AbstractEntityPersister,AnonymousTupleEmbeddableValuedModelPart,AnonymousTupleEmbeddedEntityIdentifierMapping,AnonymousTupleEntityValuedModelPart,AnonymousTupleNonAggregatedEntityIdentifierMapping,JoinedSubclassEntityPersister,SingleTableEntityPersister,UnionSubclassEntityPersister
public interface ManagedMappingType extends MappingType, FetchableContainer
Commonality in regards to the mapping type system for all managed domain types - entity types, mapped-superclass types, composite types, etc
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesConsumer
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.JdbcValueConsumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AttributeMappingfindAttributeMapping(String name)default voidforEachAttributeMapping(IndexedConsumer<AttributeMapping> consumer)Visit attributes defined on this class and any supersAttributeMappinggetAttributeMapping(int position)Retrieve an attribute by its contributor positionList<AttributeMapping>getAttributeMappings()Get access to the attributes defined on this class and any supersdefault JavaType<?>getJavaType()intgetNumberOfAttributeMappings()Get the number of attributes defined on this class and any supersdefault MappingTypegetPartMappingType()default ObjectgetValue(Object instance, int position)Object[]getValues(Object instance)default voidsetValue(Object instance, int position, Object value)voidsetValues(Object instance, Object[] resolvedValues)voidvisitAttributeMappings(Consumer<? super AttributeMapping> action)Visit attributes defined on this class and any supers-
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, getJdbcMappings, getJdbcTypeCount
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchableContainer
getFetchable, getKeyFetchable, getNumberOfFetchables, getNumberOfKeyFetchables, visitFetchables, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables, visitKeyFetchables
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType
-
Methods inherited from interface org.hibernate.metamodel.mapping.MappingType
getMappedJavaType
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, breakDownJdbcValues, createDomainResult, findContainingEntityMapping, forEachSelectable, forEachSelectable, getNavigableRole, getPartName
-
Methods inherited from interface org.hibernate.metamodel.mapping.Queryable
findByPath, findSubPart, findSubTypesSubPart, resolveSubPart, visitSubParts
-
-
-
-
Method Detail
-
getJavaType
default JavaType<?> getJavaType()
- Specified by:
getJavaTypein interfaceModelPart
-
getPartMappingType
default MappingType getPartMappingType()
- Specified by:
getPartMappingTypein interfaceModelPart
-
getNumberOfAttributeMappings
int getNumberOfAttributeMappings()
Get the number of attributes defined on this class and any supers
-
getAttributeMapping
AttributeMapping getAttributeMapping(int position)
Retrieve an attribute by its contributor position
-
findAttributeMapping
default AttributeMapping findAttributeMapping(String name)
-
getAttributeMappings
List<AttributeMapping> getAttributeMappings()
Get access to the attributes defined on this class and any supers
-
visitAttributeMappings
void visitAttributeMappings(Consumer<? super AttributeMapping> action)
Visit attributes defined on this class and any supers
-
forEachAttributeMapping
default void forEachAttributeMapping(IndexedConsumer<AttributeMapping> consumer)
Visit attributes defined on this class and any supers
-
-