| 
 | Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
   oracle.toplink.mappings.Association
oracle.toplink.mappings.Association
Purpose: Generic association object. This can be used to map hashtable/map containers where the key and value primitives or independent objects.
| Constructor Summary | |
| Association()Default constructor. | |
| Association(java.lang.Object key, java.lang.Object value)PUBLIC: Create an association. | |
| Method Summary | |
| java.lang.Object | getKey()PUBLIC: Return the key. | 
| java.lang.Object | getValue()PUBLIC: Return the value. | 
| void | setKey(java.lang.Object key)PUBLIC: Set the key. | 
| java.lang.Object | setValue(java.lang.Object value)PUBLIC: Set the value. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface java.util.Map.Entry | 
| equals, hashCode | 
| Constructor Detail | 
public Association()
public Association(java.lang.Object key,
                   java.lang.Object value)
| Method Detail | 
public java.lang.Object getKey()
getKey in interface java.util.Map.Entrypublic java.lang.Object getValue()
getValue in interface java.util.Map.Entrypublic void setKey(java.lang.Object key)
public java.lang.Object setValue(java.lang.Object value)
setValue in interface java.util.Map.Entry| 
 |  | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||