Package org.eclipse.persistence.mappings
Class Association
- java.lang.Object
-
- org.eclipse.persistence.mappings.Association
-
- All Implemented Interfaces:
Map.Entry
- Direct Known Subclasses:
PropertyAssociation
,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.
- Author:
- James Sutherland
- Since:
- TOPLink/Java 3.0
-
-
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 Object
getKey()
PUBLIC: Return the key.Object
getValue()
PUBLIC: Return the value.void
setKey(Object key)
PUBLIC: Set the key.Object
setValue(Object value)
PUBLIC: Set the value.
-