Package org.hibernate.metadata
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 modelMappingMetamodelExposes collection metadata to the application
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description TypegetElementType()Deprecated.The collection element typeTypegetIndexType()Deprecated.The collection index type (or null if the collection has no index)TypegetKeyType()Deprecated.The collection key typeStringgetRole()Deprecated.The name of this collection rolebooleanhasIndex()Deprecated.Is this collection indexed?booleanisArray()Deprecated.Is the collection an array?booleanisLazy()Deprecated.Is the collection lazily initialized?booleanisPrimitiveArray()Deprecated.Is the collection a primitive array?
-
-
-
Method Detail
-
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?
-
-