List of all members.
Detailed Description
Represents a Mapped Object. This Class allows for more control over the key used in Maps and Hashtables.
- Author:
- Keith Visco
- Version:
- Revision:
- 1.1.1.1
- Date:
- 2003/03/03 07:08:27
Constructor & Destructor Documentation
org.exolab.castor.mapping.MapItem.MapItem |
( |
|
) |
|
org.exolab.castor.mapping.MapItem.MapItem |
( |
Object |
key, |
|
|
Object |
value | |
|
) |
| | |
Creates a new MapItem with the given key and value.
- Parameters:
-
| key | the key Object for this MapItem. |
| value | the value for this MapItem. |
Member Function Documentation
Object org.exolab.castor.mapping.MapItem.getKey |
( |
|
) |
|
Returns the key Object for this MapItem, or null if no key has been specified.
- Returns:
- the key Object for this MapItem.
Object org.exolab.castor.mapping.MapItem.getValue |
( |
|
) |
|
void org.exolab.castor.mapping.MapItem.setKey |
( |
Object |
key |
) |
|
Sets the key for this MapItem.
- Parameters:
-
| key | the key Object for this MapItem. |
void org.exolab.castor.mapping.MapItem.setValue |
( |
Object |
value |
) |
|
Sets the value for this MapItem.
- Parameters:
-
| value | the value Object for this MapItem. |
The documentation for this class was generated from the following file: