|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.mappings.Association
public class 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(Object key,
Object value)
PUBLIC: Create an association. |
Method Summary | |
---|---|
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. |
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(Object key, Object value)
Method Detail |
---|
public Object getKey()
getKey
in interface Map.Entry
public Object getValue()
getValue
in interface Map.Entry
public void setKey(Object key)
public Object setValue(Object value)
setValue
in interface Map.Entry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |