public class MapItem
extends java.lang.Object
Constructor and Description |
---|
MapItem()
Creates a new empty MapItem.
|
MapItem(java.lang.Object key,
java.lang.Object value)
Creates a new MapItem with the given key and value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getKey()
Returns the key Object for this MapItem, or null
if no key has been specified.
|
java.lang.Object |
getValue()
Returns the value Object for this MapItem, or null
if no value has yet been specified.
|
void |
setKey(java.lang.Object key)
Sets the key for this MapItem.
|
void |
setValue(java.lang.Object value)
Sets the value for this MapItem.
|
public MapItem()
public MapItem(java.lang.Object key, java.lang.Object value)
key
- the key Object for this MapItem.value
- the value for this MapItem.public java.lang.Object getKey()
public java.lang.Object getValue()
public void setKey(java.lang.Object key)
key
- the key Object for this MapItem.public void setValue(java.lang.Object value)
value
- the value Object for this MapItem.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com