Interface CollectionPart
- All Superinterfaces:
Bindable, Fetchable, JavaTypedExpressible, JdbcMappingContainer, MappingModelExpressible, ModelPart, SelectableMappings, ValuedModelPart, ValueMapping
- All Known Subinterfaces:
CollectionIdentifierDescriptor
Hibernate understands mapping a collection into 4 parts
- The key - the foreign-key defining the association to the owner
- The element - for Maps 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 ClassesNested 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
Methods inherited from interface Bindable
addToCacheKey, disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface Fetchable
asAttributeMapping, generateFetch, getFetchableKey, getFetchableName, getMappedFetchOptions, incrementFetchDepth, isSelectable, resolveCircularFetchMethods inherited from interface JavaTypedExpressible
addToCacheKeyMethods inherited from interface JdbcMappingContainer
forEachJdbcType, getJdbcMappingMethods inherited from interface ModelPart
applySqlSelections, applySqlSelections, areEqual, asBasicValuedModelPart, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, findContainingEntityMapping, getJavaType, getNavigableRole, getPartMappingType, hasPartitionedSelectionMapping, isEntityIdentifierMapping, isVirtualMethods inherited from interface SelectableMappings
getSelectableMethods inherited from interface ValuedModelPart
forEachInsertable, forEachNonFormula, forEachSelectable, forEachSelectable, forEachUpdatable, getContainingTableExpression, getJdbcTypeCount, getSingleJdbcMappingMethods inherited from interface ValueMapping
getExpressibleJavaType, getMappedType, treatAs
-
Method Details
-
getNature
CollectionPart.Nature getNature() -
getCollectionAttribute
PluralAttributeMapping getCollectionAttribute() -
getPartName
Description copied from interface:ModelPartThe local part name, which is generally the unqualified role name- Specified by:
getPartNamein interfaceModelPart
-
getInclusionCheckPart
-