Save This Page
Home » jdo2-model-2.3-ea-src » org.apache.jdo.impl.model.jdo.caching » [javadoc | source]
org.apache.jdo.impl.model.jdo.caching
public class: JDOReferenceImplCaching [javadoc | source]
java.lang.Object
   org.apache.jdo.impl.model.jdo.JDOElementImpl
      org.apache.jdo.impl.model.jdo.JDORelationshipImpl
         org.apache.jdo.impl.model.jdo.JDOReferenceImplDynamic
            org.apache.jdo.impl.model.jdo.caching.JDOReferenceImplCaching

All Implemented Interfaces:
    JDOReference, JDORelationship, JDOElement

An instance of this class represents the JDO relationship metadata of a reference relationship field. This caching implementation caches any calulated value to avoid re-calculating it if it is requested again.
Fields inherited from org.apache.jdo.impl.model.jdo.JDORelationshipImpl:
mappedBy,  inverse
Method from org.apache.jdo.impl.model.jdo.caching.JDOReferenceImplCaching Summary:
getInverseRelationship,   getMappedBy
Methods from org.apache.jdo.impl.model.jdo.JDOReferenceImplDynamic:
getRelatedJavaType,   isJDOReference
Methods from org.apache.jdo.impl.model.jdo.JDORelationshipImpl:
getDeclaringField,   getInverseRelationship,   getInverseRelationshipName,   getLowerBound,   getMappedBy,   getRelatedJDOClass,   getRelatedJavaType,   getUpperBound,   isJDOArray,   isJDOCollection,   isJDOMap,   isJDOReference,   isOwner,   setDeclaringField,   setInverseRelationship,   setLowerBound,   setMappedBy,   setUpperBound
Methods from org.apache.jdo.impl.model.jdo.JDOElementImpl:
addPropertyChangeListener,   addVetoableChangeListener,   createJDOExtension,   firePropertyChange,   fireVetoableChange,   getJDOExtensions,   removeJDOExtension,   removePropertyChangeListener,   removeVetoableChangeListener
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.impl.model.jdo.caching.JDOReferenceImplCaching Detail:
 public JDORelationship getInverseRelationship() 
    Get the inverse JDORelationship in the case of a two-way relationship.
 public JDORelationship getMappedBy() 
    Get the mappedBy relationship. If there is no mappedBy relationship set, the method checks the mappedBy name as specified in the declaring field and resolves the relationship. The method returns null if there is no mappedBy relationship set and there is no mappedBy name specified on the declaring field.