MapMetadata
Date: 2016-06-25

org.osgi.service.blueprint.reflect

## Interface MapMetadata

- All Superinterfaces:
    Metadata, NonNullMetadata

      @ConsumerType
      public interface MapMetadata
      extends NonNullMetadata

  Metadata for a Map based value.

  This is specified by the `map` element.

- - ### Method Summary

    Methods
    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.

- - ### Method Detail

    - #### getKeyType

          java.lang.String getKeyType()

      Return the name of the type of the map keys. This is specified by the `key-type` attribute of the map.
      Returns:
        The name of the type of the map keys, or `null` if none is specified.

    - #### getValueType

          java.lang.String getValueType()

      Return the name of the type of the map values. This is specified by the `value-type` attribute of the map.
      Returns:
        The name of the type of the map values, or `null` if none is specified.

    - #### getEntries

          java.util.List<MapEntry> 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.