public class JDOMapImplDynamic extends JDORelationshipImpl implements JDOMap
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
embeddedKey
Property embeddedKey.
|
protected java.lang.Boolean |
embeddedValue
Property embeddedValue.
|
protected JavaType |
keyType
Property keyType.
|
protected JavaType |
valueType
Property valueType.
|
inverse, mappedBy
CARDINALITY_N, CARDINALITY_ONE, CARDINALITY_ZERO
Constructor and Description |
---|
JDOMapImplDynamic() |
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 |
getRelatedJavaType()
Get the type representation of the relationship.
|
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.
|
boolean |
isJDOMap()
Determines whether this JDORelationship represents a map
relationship or not.
|
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, getInverseRelationshipName, getLowerBound, getMappedBy, getRelatedJDOClass, getUpperBound, isJDOArray, isJDOCollection, isJDOReference, isOwner, setDeclaringField, setInverseRelationship, setLowerBound, setMappedBy, setUpperBound
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, firePropertyChange, fireVetoableChange, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDeclaringField, getInverseRelationship, getInverseRelationshipName, getLowerBound, getMappedBy, getRelatedJDOClass, getUpperBound, isJDOArray, isJDOCollection, isJDOReference, isOwner, setDeclaringField, setInverseRelationship, setLowerBound, setMappedBy, setUpperBound
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
protected java.lang.Boolean embeddedKey
protected transient JavaType keyType
protected java.lang.Boolean embeddedValue
protected transient JavaType valueType
public boolean isEmbeddedKey()
isEmbeddedKey
in interface JDOMap
true
if the keys are stored as part of this instance;
false
otherwisepublic void setEmbeddedKey(boolean embeddedKey)
setEmbeddedKey
in interface JDOMap
embeddedKey
- true
if the keys are stored as part of
this instance; false
otherwisepublic JavaType getKeyType()
getKeyType
in interface JDOMap
public void setKeyType(JavaType keyType)
setKeyType
in interface JDOMap
keyType
- the type representation of the keyspublic java.lang.String getKeyTypeName()
getKeyTypeName
in interface JDOMap
public void setKeyTypeName(java.lang.String keyTypeName)
setKeyTypeName
in interface JDOMap
keyTypeName
- the name of the key typepublic boolean isEmbeddedValue()
isEmbeddedValue
in interface JDOMap
true
if the values are stored as part of this
instance; false
otherwisepublic void setEmbeddedValue(boolean embeddedValue)
setEmbeddedValue
in interface JDOMap
embeddedValue
- true
if the values are stored as part
of this instance; false
otherwisepublic JavaType getValueType()
getValueType
in interface JDOMap
public void setValueType(JavaType valueType)
setValueType
in interface JDOMap
valueType
- the type representation of the valuespublic java.lang.String getValueTypeName()
getValueTypeName
in interface JDOMap
public void setValueTypeName(java.lang.String valueTypeName)
setValueTypeName
in interface JDOMap
valueTypeName
- the name of the value typepublic boolean isJDOMap()
true
means this
JDORelationship is a JDOMap instance.isJDOMap
in interface JDORelationship
isJDOMap
in class JDORelationshipImpl
true
if this JDORelationship represents a
map relationship; false
otherwise.public JavaType getRelatedJavaType()
getRelatedJavaType
in class JDORelationshipImpl
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.