Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle TopLink API Reference 10g Release 3 (10.1.3) B13698-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.toplink.mappings
Class Association

`java.lang.Object
oracle.toplink.mappings.Association`

All Implemented Interfaces:
  java.util.Map.Entry

Direct Known Subclasses:
  TypedAssociation

public class Association
extends java.lang.Object
implements java.util.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

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

### Association

    public Association()

  Default constructor.

### Association

    public Association(java.lang.Object key,
                       java.lang.Object value)

  PUBLIC: Create an association.

Method Detail

### getKey

    public java.lang.Object getKey()

  PUBLIC: Return the key.
  Specified by:
    `getKey` in interface `java.util.Map.Entry`

### getValue

    public java.lang.Object getValue()

  PUBLIC: Return the value.
  Specified by:
    `getValue` in interface `java.util.Map.Entry`

### setKey

    public void setKey(java.lang.Object key)

  PUBLIC: Set the key.

### setValue

    public java.lang.Object setValue(java.lang.Object value)

  PUBLIC: Set the value.
  Specified by:
    `setValue` in interface `java.util.Map.Entry`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 1998, 2006, Oracle. All Rights Reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD