org.apache.aries.blueprint.reflect
Class MapEntryImpl
java.lang.Object
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) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MapEntryImpl
public MapEntryImpl()
MapEntryImpl
public MapEntryImpl(NonNullMetadata key,
Metadata value)
MapEntryImpl
public MapEntryImpl(MapEntry entry)
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.