Package org.hibernate.metamodel.mapping
Interface ManagedMappingType
-
- All Superinterfaces:
Bindable
,FetchableContainer
,JdbcMappingContainer
,MappingModelExpressible
,MappingType
,ModelPart
,ModelPartContainer
,Queryable
- All Known Subinterfaces:
EmbeddableMappingType
,EntityMappingType
,EntityPersister
,InFlightEntityMappingType
,Loadable
,Lockable
,NonAggregatedIdentifierMapping.IdentifierValueMapper
,OuterJoinLoadable
,PostInsertIdentityPersister
,Queryable
,SQLLoadable
,UniqueKeyLoadable
- All Known Implementing Classes:
AbstractEmbeddableMapping
,AbstractEntityPersister
,AnonymousTupleEmbeddableValuedModelPart
,AnonymousTupleEmbeddedEntityIdentifierMapping
,AnonymousTupleEntityValuedModelPart
,AnonymousTupleNonAggregatedEntityIdentifierMapping
,EmbeddableMappingTypeImpl
,IdClassEmbeddable
,JoinedSubclassEntityPersister
,SingleTableEntityPersister
,UnionSubclassEntityPersister
,VirtualIdEmbeddable
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 AttributeMapping
findAttributeMapping(String name)
default void
forEachAttributeMapping(IndexedConsumer<AttributeMapping> consumer)
Visit attributes defined on this class and any supersAttributeMapping
getAttributeMapping(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()
int
getNumberOfAttributeMappings()
Get the number of attributes defined on this class and any supersdefault MappingType
getPartMappingType()
default Object
getValue(Object instance, int position)
Object[]
getValues(Object instance)
default void
setValue(Object instance, int position, Object value)
void
setValues(Object instance, Object[] resolvedValues)
void
visitAttributeMappings(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, asAttributeMapping, 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:
getJavaType
in interfaceModelPart
-
getPartMappingType
default MappingType getPartMappingType()
- Specified by:
getPartMappingType
in 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
-
-