Interface MapMetadata
-
- All Superinterfaces:
Metadata,NonNullMetadata
@ConsumerType public interface MapMetadata extends NonNullMetadata
Metadata for a Map based value.This is specified by the
mapelement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<MapEntry>getEntries()Return the entries for the map.java.lang.StringgetKeyType()Return the name of the type of the map keys.java.lang.StringgetValueType()Return the name of the type of the map values.
-
-
-
Method Detail
-
getKeyType
java.lang.String getKeyType()
Return the name of the type of the map keys. This is specified by thekey-typeattribute of the map.- Returns:
- The name of the type of the map keys, or
nullif none is specified.
-
getValueType
java.lang.String getValueType()
Return the name of the type of the map values. This is specified by thevalue-typeattribute of the map.- Returns:
- The name of the type of the map values, or
nullif none is specified.
-
-