?? CollectionMetadata
- ??????:
Metadata
,NonNullMetadata
Metadata for a collection based value. Values of the collection are defined
by Metadata objects. This Collection Metadata can constrain the values of the
collection to a specific type.
-
????
??????????Class<?>
Return the type of the collection.Return Metadata for the values of the collection.Return the type specified for the values of the collection.
-
??????
-
getCollectionClass
Class<?> getCollectionClass()Return the type of the collection. The possible types are: array (Object[]
),Set
, andList
. This information is specified in the element name.- ??:
- The type of the collection.
Object[]
is returned to indicate an array.
-
getValueType
String getValueType()Return the type specified for the values of the collection. Thevalue-type
attribute specified this information.- ??:
- The type specified for the values of the collection.
-
getValues
Return Metadata for the values of the collection.- ??:
- A List of Metadata for the values of the collection.
-