public interface

CollectionMetadata

org.hibernate.metadata.CollectionMetadata
Known Indirect Subclasses

Class Overview

Exposes collection metadata to the application

Summary

Public Methods
abstract Type getElementType()
The collection element type
abstract Type getIndexType()
The collection index type (or null if the collection has no index)
abstract Type getKeyType()
The collection key type
abstract String getRole()
The name of this collection role
abstract boolean hasIndex()
Is this collection indexed?
abstract boolean isArray()
Is the collection an array?
abstract boolean isLazy()
Is the collection lazily initialized?
abstract boolean isPrimitiveArray()
Is the collection a primitive array?

Public Methods

public abstract Type getElementType ()

The collection element type

public abstract Type getIndexType ()

The collection index type (or null if the collection has no index)

public abstract Type getKeyType ()

The collection key type

public abstract String getRole ()

The name of this collection role

public abstract boolean hasIndex ()

Is this collection indexed?

public abstract boolean isArray ()

Is the collection an array?

public abstract boolean isLazy ()

Is the collection lazily initialized?

public abstract boolean isPrimitiveArray ()

Is the collection a primitive array?