|
|||||||||||
| 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.JDOCollectionImplDynamic
org.apache.jdo.impl.model.jdo.caching.JDOCollectionImplCaching
An instance of this class represents the JDO relationship metadata of a collection 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.JDOCollectionImplDynamic |
elementType, embeddedElement |
| Fields inherited from class org.apache.jdo.impl.model.jdo.JDORelationshipImpl |
inverse, mappedBy |
| Fields inherited from class org.apache.jdo.impl.model.jdo.JDOElementImpl |
|
| Fields inherited from interface org.apache.jdo.model.jdo.JDORelationship |
CARDINALITY_N, CARDINALITY_ONE, CARDINALITY_ZERO |
| Constructor Summary | |
JDOCollectionImplCaching()
|
|
| Method Summary | |
JavaType |
getElementType()
Get the type representation of the collection elements. |
JDORelationship |
getInverseRelationship()
Get the inverse JDORelationship in the case of a two-way relationship. |
JDORelationship |
getMappedBy()
Get the mappedBy relationship. |
boolean |
isEmbeddedElement()
Determines whether the values of the elements 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.JDOCollectionImplDynamic |
getElementTypeName, getRelatedJavaType, isJDOCollection, setElementType, setElementTypeName, setEmbeddedElement |
| Methods inherited from class org.apache.jdo.impl.model.jdo.JDORelationshipImpl |
getDeclaringField, getInverseRelationshipName, getLowerBound, getRelatedJDOClass, getUpperBound, isJDOArray, isJDOMap, isJDOReference, isOwner, setDeclaringField, setInverseRelationship, setLowerBound, setMappedBy, 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, getInverseRelationshipName, getLowerBound, getRelatedJDOClass, getUpperBound, isJDOArray, isJDOMap, isJDOReference, isOwner, setDeclaringField, setInverseRelationship, setLowerBound, setMappedBy, setUpperBound |
| Methods inherited from interface org.apache.jdo.model.jdo.JDOElement |
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener |
| Constructor Detail |
public JDOCollectionImplCaching()
| Method Detail |
public JDORelationship getMappedBy()
null if there is no mappedBy relationship set and there
is no mappedBy name specified on the declaring field.
getMappedBy in interface JDORelationshipgetMappedBy in class JDORelationshipImplnull
otherwise.public JDORelationship getInverseRelationship()
getInverseRelationship in interface JDORelationshipgetInverseRelationship in class JDORelationshipImplpublic boolean isEmbeddedElement()
isEmbeddedElement in interface JDOCollectionisEmbeddedElement in class JDOCollectionImplDynamictrue if the elements should be stored as part of
the instance; false otherwisepublic JavaType getElementType()
getElementType in interface JDOCollectiongetElementType in class JDOCollectionImplDynamic
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||