class SimpleMapMetadata extends java.lang.Object implements MapMetadata
MapValue interface.| Modifier and Type | Field and Description |
|---|---|
private java.util.List<MapEntry> |
entries |
private java.lang.String |
keyValueType |
private java.lang.String |
valueValueType |
| Constructor and Description |
|---|
SimpleMapMetadata(java.util.List<MapEntry> entries,
java.lang.String keyTypeName,
java.lang.String valueTypeName)
Constructs a new
SimpleMapMetadata instance. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<MapEntry> |
getEntries()
Return the entries for the map.
|
java.lang.String |
getKeyType()
Return the name of the type of the map keys.
|
java.lang.String |
getValueType()
Return the name of the type of the map values.
|
private final java.util.List<MapEntry> entries
private final java.lang.String keyValueType
private final java.lang.String valueValueType
public SimpleMapMetadata(java.util.List<MapEntry> entries, java.lang.String keyTypeName, java.lang.String valueTypeName)
SimpleMapMetadata instance.entries - keyTypeName - valueTypeName - public java.util.List<MapEntry> getEntries()
MapMetadatagetEntries in interface MapMetadataMapEntry objects for each entry in
the map. The List is empty if no entries are specified for the
map.public java.lang.String getKeyType()
MapMetadatakey-type attribute of the map.getKeyType in interface MapMetadatanull if
none is specified.public java.lang.String getValueType()
MapMetadatavalue-type attribute of the map.getValueType in interface MapMetadatanull if
none is specified.