- java.lang.Object
-
- org.eclipse.persistence.mappings.Association
-
- All Implemented Interfaces:
Map.Entry
- Direct Known Subclasses:
FieldTranslation,PropertyAssociation,QueryKeyReference,TypedAssociation
public class Association extends Object implements Map.Entry
Purpose: Generic association object. This can be used to map hashtable/map containers where the key and value primitives or independent objects.
- Since:
- TOPLink/Java 3.0
- Author:
- James Sutherland
-
-
Constructor Summary
Constructors Constructor Description Association()Default constructor.Association(Object key, Object value)PUBLIC: Create an association.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetKey()PUBLIC: Return the key.ObjectgetValue()PUBLIC: Return the value.voidsetKey(Object key)PUBLIC: Set the key.ObjectsetValue(Object value)PUBLIC: Set the value.
-