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: JDOCollectionImplCaching [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.JDOCollectionImplDynamic
            org.apache.jdo.impl.model.jdo.caching.JDOCollectionImplCaching

All Implemented Interfaces:
    JDOCollection, JDORelationship, JDOElement

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.
Fields inherited from org.apache.jdo.impl.model.jdo.JDOCollectionImplDynamic:
embeddedElement,  elementType
Fields inherited from org.apache.jdo.impl.model.jdo.JDORelationshipImpl:
mappedBy,  inverse
Method from org.apache.jdo.impl.model.jdo.caching.JDOCollectionImplCaching Summary:
getElementType,   getInverseRelationship,   getMappedBy,   isEmbeddedElement
Methods from org.apache.jdo.impl.model.jdo.JDOCollectionImplDynamic:
getElementType,   getElementTypeName,   getRelatedJavaType,   isEmbeddedElement,   isJDOCollection,   setElementType,   setElementTypeName,   setEmbeddedElement
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.JDOCollectionImplCaching Detail:
 public JavaType getElementType() 
    Get the type representation of the collection elements.
 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.
 public 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.