Interface CollectionPart

All Superinterfaces:
Bindable, Fetchable, JavaTypedExpressible, JdbcMappingContainer, MappingModelExpressible, ModelPart, SelectableMappings, ValuedModelPart, ValueMapping
All Known Subinterfaces:
CollectionIdentifierDescriptor, EntityCollectionPart
All Known Implementing Classes:
AbstractEntityCollectionPart, BasicValuedCollectionPart, CollectionIdentifierDescriptorImpl, DiscriminatedCollectionPart, EmbeddedCollectionPart, ManyToManyCollectionPart, OneToManyCollectionPart

public interface CollectionPart extends ValuedModelPart, Fetchable, JavaTypedExpressible
Hibernate understands mapping a collection into 4 parts
  1. The key - the foreign-key defining the association to the owner
  2. The element - for Maps this is analogous to the value
  3. The index - the List/array index or Map key
  4. The collection-id - this is only relevant for id-bag mappings