org.apache.geronimo.blueprint.reflect
Class MapEntryImpl
java.lang.Object
org.apache.geronimo.blueprint.reflect.MapEntryImpl
- All Implemented Interfaces:
- MutableMapEntry, MapEntry
public class MapEntryImpl
- extends Object
- implements MutableMapEntry
Implementation of MapEntry
- Version:
- $Rev: 760378 $, $Date: 2009-03-31 11:31:38 +0200 (Tue, 31 Mar 2009) $
- Author:
- Apache Geronimo Project
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 String toString()
- Overrides:
toString in class Object
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.