org.apache.aries.blueprint.reflect
Class MapEntryImpl

java.lang.Object
  extended by org.apache.aries.blueprint.reflect.MapEntryImpl
All Implemented Interfaces:
MutableMapEntry, MapEntry

public class MapEntryImpl
extends java.lang.Object
implements MutableMapEntry

Implementation of MapEntry

Version:
$Rev: 896324 $, $Date: 2010-01-06 06:05:04 +0000 (Wed, 06 Jan 2010) $

Constructor Summary
MapEntryImpl()
           
MapEntryImpl(MapEntry entry)
           
MapEntryImpl(NonNullMetadata key, Metadata value)
           
 
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.
 void setKey(NonNullMetadata key)
           
 void setValue(Metadata value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapEntryImpl

public MapEntryImpl()

MapEntryImpl

public MapEntryImpl(NonNullMetadata key,
                    Metadata value)

MapEntryImpl

public MapEntryImpl(MapEntry entry)
Method Detail

getKey

public NonNullMetadata getKey()
Description copied from interface: MapEntry
Return the Metadata for the key of the map entry. This is specified by the key attribute or element.

Specified by:
getKey in interface MapEntry
Returns:
The Metadata for the key of the map entry. This must not be null.

setKey

public void setKey(NonNullMetadata key)
Specified by:
setKey in interface MutableMapEntry

getValue

public Metadata getValue()
Description copied from interface: MapEntry
Return the Metadata for the value of the map entry. This is specified by the value attribute or element.

Specified by:
getValue in interface MapEntry
Returns:
The Metadata for the value of the map entry. This must not be null.

setValue

public void setValue(Metadata value)
Specified by:
setValue in interface MutableMapEntry

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.