Interface MapMetadata
- All Superinterfaces:
Metadata
,NonNullMetadata
Metadata for a Map based value.
This is specified by the map
element.
- Version:
- $Revision: 7563 $
-
Method Summary
Modifier and TypeMethodDescriptionReturn the entries for the map.Return the name of the type of the map keys.Return the name of the type of the map values.
-
Method Details
-
getKeyType
String getKeyType()Return the name of the type of the map keys. This is specified by thekey-type
attribute of the map.- Returns:
- The name of the type of the map keys, or
null
if none is specified.
-
getValueType
String getValueType()Return the name of the type of the map values. This is specified by thevalue-type
attribute of the map.- Returns:
- The name of the type of the map values, or
null
if none is specified.
-
getEntries
List getEntries()Return the entries for the map.- Returns:
- An immutable List of
MapEntry
objects for each entry in the map. The List is empty if no entries are specified for the map.
-