org.apache.jdo.impl.model.jdo.caching
Class JDOAssociatedPropertyImplCaching
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:
- java.lang.Comparable, JDOElement, JDOField, JDOMember, JDOProperty
public class JDOAssociatedPropertyImplCaching
- extends JDOAssociatedPropertyImplDynamic
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.
- Since:
- 2.0
- Version:
- 2.0
- Author:
- Michael Bouschen
Method Summary |
JavaField |
getJavaField()
Get the corresponding JavaProperty representation for this JDOProperty. |
Methods inherited from class org.apache.jdo.impl.model.jdo.JDOAssociatedPropertyImplDynamic |
createJDOArray, createJDOCollection, createJDOMap, createJDOReference, getAssociatedJDOField, getFieldNumber, 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 inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
JDOAssociatedPropertyImplCaching
protected JDOAssociatedPropertyImplCaching(java.lang.String name,
JDOClass declaringClass,
JDOField associatedJDOField)
throws ModelException
- Constructor.
- Throws:
ModelException
getJavaField
public JavaField getJavaField()
- Get the corresponding JavaProperty representation for this JDOProperty.
- Specified by:
getJavaField
in interface JDOField
- Overrides:
getJavaField
in class JDOAssociatedPropertyImplDynamic
- Returns:
- the corresponding JavaProperty representation
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.