public interface JDOMap extends JDORelationship
CARDINALITY_N, CARDINALITY_ONE, CARDINALITY_ZERO
Modifier and Type | Method and Description |
---|---|
JavaType |
getKeyType()
Get the type representation of the keys for this JDOMap.
|
java.lang.String |
getKeyTypeName()
Get the string representation of the type of the keys for this JDOMap.
|
JavaType |
getValueType()
Get the type representation of the values for this JDOMap.
|
java.lang.String |
getValueTypeName()
Get the string representation of the type of the values for this JDOMap.
|
boolean |
isEmbeddedKey()
Determines whether the keys of the map should be stored if possible as
part of the instance instead of as their own instances in the datastore.
|
boolean |
isEmbeddedValue()
Determines whether the values of the map should be stored if possible as
part of the instance instead of as their own instances in the datastore.
|
void |
setEmbeddedKey(boolean embeddedKey)
Set whether the keys of the map should be stored if possible as part
of the instance instead of as their own instances in the datastore.
|
void |
setEmbeddedValue(boolean embeddedValue)
Set whether the values of the map should be stored if possible as part
of the instance instead of as their own instances in the datastore.
|
void |
setKeyType(JavaType keyType)
Set the type representation of the keys for this JDOMap.
|
void |
setKeyTypeName(java.lang.String keyTypeName)
Set string representation of the type of the keys for this JDOMap.
|
void |
setValueType(JavaType valueType)
Set the type representation of the values for this JDOMap.
|
void |
setValueTypeName(java.lang.String valueTypeName)
Set string representation of the type of the values for this JDOMap.
|
getDeclaringField, getInverseRelationship, getLowerBound, getUpperBound, setDeclaringField, setInverseRelationship, setLowerBound, setUpperBound
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
boolean isEmbeddedKey()
true
if the keys are stored as part of this instance;
false
otherwisevoid setEmbeddedKey(boolean embeddedKey) throws ModelException
embeddedKey
- true
if the keys are stored as part of
this instance; false
otherwiseModelException
- if impossibleJavaType getKeyType()
void setKeyType(JavaType keyType) throws ModelException
keyType
- the type representation of the keysModelException
- if impossiblejava.lang.String getKeyTypeName()
void setKeyTypeName(java.lang.String keyTypeName) throws ModelException
keyTypeName
- the name of the key typeModelException
- if impossibleboolean isEmbeddedValue()
true
if the values are stored as part of this
instance; false
otherwisevoid setEmbeddedValue(boolean embeddedValue) throws ModelException
embeddedValue
- true
if the values are stored as part
of this instance; false
otherwiseModelException
- if impossibleJavaType getValueType()
void setValueType(JavaType valueType) throws ModelException
valueType
- the type representation of the valuesModelException
- if impossiblejava.lang.String getValueTypeName()
void setValueTypeName(java.lang.String valueTypeName) throws ModelException
valueTypeName
- the name of the value typeModelException
- if impossibleCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.