接口 CollectionMetadata
-
public interface CollectionMetadataExposes collection metadata to the application- 作者:
- Gavin King
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 TypegetElementType()The collection element typeTypegetIndexType()The collection index type (or null if the collection has no index)TypegetKeyType()The collection key typeStringgetRole()The name of this collection rolebooleanhasIndex()Is this collection indexed?booleanisArray()Is the collection an array?booleanisLazy()Is the collection lazily initialized?booleanisPrimitiveArray()Is the collection a primitive array?
-
-
-
方法详细资料
-
getKeyType
Type getKeyType()
The collection key type
-
getElementType
Type getElementType()
The collection element type
-
getIndexType
Type getIndexType()
The collection index type (or null if the collection has no index)
-
hasIndex
boolean hasIndex()
Is this collection indexed?
-
getRole
String getRole()
The name of this collection role
-
isArray
boolean isArray()
Is the collection an array?
-
isPrimitiveArray
boolean isPrimitiveArray()
Is the collection a primitive array?
-
isLazy
boolean isLazy()
Is the collection lazily initialized?
-
-