OSGi™ Service Platform
Release 4 Version 4.2

org.osgi.service.blueprint.reflect
Interface MapEntry


public interface MapEntry

Metadata for a map entry. This type is used by MapMetadata, PropsMetadata and ServiceMetadata.

ThreadSafe

Method Summary
 NonNullMetadata getKey()
          Return the Metadata for the key of the map entry.
 Metadata getValue()
          Return the Metadata for the value of the map entry.
 

Method Detail

getKey

NonNullMetadata getKey()
Return the Metadata for the key of the map entry. This is specified by the key attribute or element.

Returns:
The Metadata for the key of the map entry. This must not be null.

getValue

Metadata getValue()
Return the Metadata for the value of the map entry. This is specified by the value attribute or element.

Returns:
The Metadata for the value of the map entry. This must not be null.

OSGi™ Service Platform
Release 4 Version 4.2

Copyright © OSGi Alliance (2000, 2010). All Rights Reserved. Licensed under the OSGi Specification License, Version 1.0