OSGi™ Enterprise
Release 5

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™ Enterprise
Release 5

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