Package org.hibernate.metamodel.mapping
Interface CollectionPart
-
- All Superinterfaces:
Bindable
,Fetchable
,JavaTypedExpressible
,JdbcMappingContainer
,MappingModelExpressible
,ModelPart
- All Known Subinterfaces:
CollectionIdentifierDescriptor
- All Known Implementing Classes:
BasicValuedCollectionPart
,CollectionIdentifierDescriptorImpl
,DiscriminatedCollectionPart
,EmbeddedCollectionPart
,EntityCollectionPart
public interface CollectionPart extends ModelPart, Fetchable, JavaTypedExpressible
Hibernate understands mapping a collection into 4 parts- The key - the foreign-key defining the association to the owner
- The element - for Map's this is analogous to the value
- The index - the List/array index or Map key
- The collection-id - this is only relevant for id-bag mappings
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CollectionPart.Nature
-
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 CollectionPart.Nature
getNature()
default String
getPartName()
-
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.Fetchable
asAttributeMapping, generateFetch, getFetchableName, getMappedFetchOptions, incrementFetchDepth, resolveCircularFetch
-
Methods inherited from interface org.hibernate.type.descriptor.java.JavaTypedExpressible
getExpressibleJavaType
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
applySqlSelections, applySqlSelections, areEqual, breakDownJdbcValues, createDomainResult, findContainingEntityMapping, forEachSelectable, forEachSelectable, getJavaType, getNavigableRole, getPartMappingType
-
-
-
-
Method Detail
-
getNature
CollectionPart.Nature getNature()
-
getPartName
default String getPartName()
- Specified by:
getPartName
in interfaceModelPart
-
-