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: JDOAssociatedPropertyImplCaching [javadoc | source]
java.lang.Object
   org.apache.jdo.impl.model.jdo.JDOElementImpl
      org.apache.jdo.impl.model.jdo.JDOMemberImpl
         org.apache.jdo.impl.model.jdo.JDOAssociatedPropertyImplDynamic
            org.apache.jdo.impl.model.jdo.caching.JDOAssociatedPropertyImplCaching

All Implemented Interfaces:
    JDOProperty, JDOMember, JDOElement

An instance of this class represents the JDO metadata of a managed property of a persistence capable class. This JDOProperty implementation is used for persistent properties with an associated JDOField. All JDOField getter methods delegate to the associated JDOField, except methods getName, getDeclaringClass and getJavaField. All JDOField setter method throw a ModelException to avoid changing the associated JDOField through this JDOProperty instance. This caching implementation caches any calculated value to avoid re-calculating it if it is requested again.
Fields inherited from org.apache.jdo.impl.model.jdo.JDOAssociatedPropertyImplDynamic:
javaProperty,  msg
Constructor:
 protected JDOAssociatedPropertyImplCaching(String name,
    JDOClass declaringClass,
    JDOField associatedJDOField) throws ModelException 
    Constructor.
Method from org.apache.jdo.impl.model.jdo.caching.JDOAssociatedPropertyImplCaching Summary:
getJavaField
Methods from org.apache.jdo.impl.model.jdo.JDOAssociatedPropertyImplDynamic:
createJDOArray,   createJDOCollection,   createJDOMap,   createJDOReference,   getAssociatedJDOField,   getFieldNumber,   getJavaField,   getMappedByName,   getNullValueTreatment,   getPersistenceModifier,   getRelationship,   getRelativeFieldNumber,   getType,   isDefaultFetchGroup,   isEmbedded,   isManaged,   isPersistent,   isPrimaryKey,   isProperty,   isRelationship,   isSerializable,   isTransactional,   setDefaultFetchGroup,   setEmbedded,   setJavaField,   setMappedByName,   setNullValueTreatment,   setPersistenceModifier,   setPrimaryKey,   setRelationship,   setSerializable
Methods from org.apache.jdo.impl.model.jdo.JDOMemberImpl:
compareTo,   equals,   getDeclaringClass,   getName,   hashCode,   toString
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.JDOAssociatedPropertyImplCaching Detail:
 public JavaField getJavaField() 
    Get the corresponding JavaProperty representation for this JDOProperty.