|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jdo.impl.model.jdo.JDOElementImpl
org.apache.jdo.impl.model.jdo.JDORelationshipImpl
org.apache.jdo.impl.model.jdo.JDOMapImplDynamic
org.apache.jdo.impl.model.jdo.caching.JDOMapImplCaching
public class JDOMapImplCaching
An instance of this class represents the JDO relationship metadata (the treatment of keys and values) of a map relationship field. This caching implementation caches any calulated value to avoid re-calculating it if it is requested again.
| Field Summary |
|---|
| Fields inherited from class org.apache.jdo.impl.model.jdo.JDOMapImplDynamic |
|---|
embeddedKey, embeddedValue, keyType, valueType |
| Fields inherited from interface org.apache.jdo.model.jdo.JDORelationship |
|---|
CARDINALITY_N, CARDINALITY_ONE, CARDINALITY_ZERO |
| Constructor Summary | |
|---|---|
JDOMapImplCaching()
|
|
| Method Summary | |
|---|---|
JavaType |
getKeyType()
Get the type representation of the keys for this JDOMap. |
JavaType |
getValueType()
Get the type representation 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. |
| Methods inherited from class org.apache.jdo.impl.model.jdo.JDOMapImplDynamic |
|---|
getKeyTypeName, getValueTypeName, setEmbeddedKey, setEmbeddedValue, setKeyType, setKeyTypeName, setValueType, setValueTypeName |
| Methods inherited from class org.apache.jdo.impl.model.jdo.JDORelationshipImpl |
|---|
getDeclaringField, getInverseRelationship, getLowerBound, getUpperBound, setDeclaringField, setInverseRelationship, setLowerBound, setUpperBound |
| Methods inherited from class org.apache.jdo.impl.model.jdo.JDOElementImpl |
|---|
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, firePropertyChange, fireVetoableChange, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jdo.model.jdo.JDORelationship |
|---|
getDeclaringField, getInverseRelationship, getLowerBound, getUpperBound, setDeclaringField, setInverseRelationship, setLowerBound, setUpperBound |
| Methods inherited from interface org.apache.jdo.model.jdo.JDOElement |
|---|
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener |
| Constructor Detail |
|---|
public JDOMapImplCaching()
| Method Detail |
|---|
public boolean isEmbeddedKey()
isEmbeddedKey in interface JDOMapisEmbeddedKey in class JDOMapImplDynamictrue if the keys are stored as part of this instance;
false otherwisepublic JavaType getKeyType()
getKeyType in interface JDOMapgetKeyType in class JDOMapImplDynamicpublic boolean isEmbeddedValue()
isEmbeddedValue in interface JDOMapisEmbeddedValue in class JDOMapImplDynamictrue if the values are stored as part of this
instance; false otherwisepublic JavaType getValueType()
getValueType in interface JDOMapgetValueType in class JDOMapImplDynamic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||