|
|||||||||
| Home >> All >> org >> hibernate >> [ metadata overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.hibernate.metadata
Interface CollectionMetadata

- public interface CollectionMetadata
Exposes collection metadata to the application
| Method Summary | |
org.hibernate.type.Type |
getElementType()
The collection element type |
org.hibernate.type.Type |
getIndexType()
The collection index type (or null if the collection has no index) |
org.hibernate.type.Type |
getKeyType()
The collection key type |
java.lang.String |
getRole()
The name of this collection role |
boolean |
hasIndex()
Is this collection indexed? |
boolean |
isArray()
Is the collection an array? |
boolean |
isLazy()
Is the collection lazily initialized? |
boolean |
isPrimitiveArray()
Is the collection a primitive array? |
| Method Detail |
getKeyType
public org.hibernate.type.Type getKeyType()
- The collection key type
getElementType
public org.hibernate.type.Type getElementType()
- The collection element type
getIndexType
public org.hibernate.type.Type getIndexType()
- The collection index type (or null if the collection has no index)
hasIndex
public boolean hasIndex()
- Is this collection indexed?
getRole
public java.lang.String getRole()
- The name of this collection role
isArray
public boolean isArray()
- Is the collection an array?
isPrimitiveArray
public boolean isPrimitiveArray()
- Is the collection a primitive array?
isLazy
public boolean isLazy()
- Is the collection lazily initialized?
|
|||||||||
| Home >> All >> org >> hibernate >> [ metadata overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC