org.hibernate.metadata
Interface CollectionMetadata
- AbstractCollectionPersister, BasicCollectionPersister, OneToManyPersister
public interface CollectionMetadata
Exposes collection metadata to the application
getElementType
public Type getElementType()
The collection element type
getIndexType
public Type getIndexType()
The collection index type (or null if the collection has no index)
getKeyType
public Type getKeyType()
The collection key type
getRole
public String getRole()
The name of this collection role
hasIndex
public boolean hasIndex()
Is this collection indexed?
isArray
public boolean isArray()
Is the collection an array?
isLazy
public boolean isLazy()
Is the collection lazily initialized?
isPrimitiveArray
public boolean isPrimitiveArray()
Is the collection a primitive array?