Interface CollectionMetadata

All Known Subinterfaces:
DeprecatedCollectionStuff
All Known Implementing Classes:
AbstractCollectionPersister, BasicCollectionPersister, OneToManyPersister

@Deprecated(since="6.0") public interface CollectionMetadata
Deprecated.
Use Hibernate's mapping model MappingMetamodel
Exposes collection metadata to the application
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    The collection element type
    Deprecated.
    The collection index type (or null if the collection has no index)
    Deprecated.
    The collection key type
    Deprecated.
    The name of this collection role
    boolean
    Deprecated.
    Is this collection indexed?
    boolean
    Deprecated.
    Is the collection an array?
    boolean
    Deprecated.
    Is the collection lazily initialized?
    boolean
    Deprecated.
    Is the collection a primitive array?
  • Method Details

    • getKeyType

      Type getKeyType()
      Deprecated.
      The collection key type
    • getElementType

      Type getElementType()
      Deprecated.
      The collection element type
    • getIndexType

      Type getIndexType()
      Deprecated.
      The collection index type (or null if the collection has no index)
    • hasIndex

      boolean hasIndex()
      Deprecated.
      Is this collection indexed?
    • getRole

      String getRole()
      Deprecated.
      The name of this collection role
    • isArray

      boolean isArray()
      Deprecated.
      Is the collection an array?
    • isPrimitiveArray

      boolean isPrimitiveArray()
      Deprecated.
      Is the collection a primitive array?
    • isLazy

      boolean isLazy()
      Deprecated.
      Is the collection lazily initialized?