|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.mappings.Association
org.eclipse.persistence.mappings.TypedAssociation
public class TypedAssociation
Purpose: Generic association object. This can be used to map hashtable/map containers where the key and value are non-typed primitives.
| Constructor Summary | |
|---|---|
TypedAssociation()
Default constructor. |
|
TypedAssociation(Object key,
Object value)
PUBLIC: Create an association. |
|
| Method Summary | |
|---|---|
Class |
getKeyType()
PUBLIC: Return the class of the key. |
Class |
getValueType()
PUBLIC: Return the class of the value. |
void |
postBuild(DescriptorEvent event)
INTERNAL: Handler for the descriptor post build event. |
void |
setKeyType(Class keyType)
PUBLIC: Set the class of the key. |
void |
setValueType(Class valueType)
PUBLIC: Set the class of the value. |
| Methods inherited from class org.eclipse.persistence.mappings.Association |
|---|
getKey, getValue, setKey, setValue |
| 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 TypedAssociation()
public TypedAssociation(Object key,
Object value)
| Method Detail |
|---|
public Class getKeyType()
public Class getValueType()
public void postBuild(DescriptorEvent event)
public void setKeyType(Class keyType)
public void setValueType(Class valueType)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||