|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
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.
Field Summary | |
---|---|
protected java.lang.Class |
keyType
|
protected java.lang.Class |
valueType
|
Fields inherited from class org.eclipse.persistence.mappings.Association |
---|
key, value |
Constructor Summary | |
---|---|
TypedAssociation()
Default constructor. |
|
TypedAssociation(java.lang.Object key,
java.lang.Object value)
PUBLIC: Create an association. |
Method Summary | |
---|---|
java.lang.Class |
getKeyType()
PUBLIC: Return the class of the key. |
java.lang.Class |
getValueType()
PUBLIC: Return the class of the value. |
void |
postBuild(DescriptorEvent event)
INTERNAL: Handler for the descriptor post build event. |
void |
setKeyType(java.lang.Class keyType)
PUBLIC: Set the class of the key. |
void |
setValueType(java.lang.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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map.Entry |
---|
equals, hashCode |
Field Detail |
---|
protected java.lang.Class keyType
protected java.lang.Class valueType
Constructor Detail |
---|
public TypedAssociation()
public TypedAssociation(java.lang.Object key, java.lang.Object value)
Method Detail |
---|
public java.lang.Class getKeyType()
public java.lang.Class getValueType()
public void postBuild(DescriptorEvent event)
public void setKeyType(java.lang.Class keyType)
public void setValueType(java.lang.Class valueType)
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |