org.apache.jdo.model.jdo
Interface JDOProperty

All Superinterfaces:
java.lang.Comparable, JDOElement, JDOField, JDOMember
All Known Implementing Classes:
JDOAssociatedPropertyImplDynamic, JDOPropertyImplCaching, JDOPropertyImplDynamic

public interface JDOProperty
extends JDOField

A JDOProperty instance represents the JDO metadata of a property of a persistence-capable class.

Author:
Michael Bouschen

Method Summary
 JDOField getAssociatedJDOField()
          Return the JDOField instance associated with this property, if available.
 
Methods inherited from interface org.apache.jdo.model.jdo.JDOField
createJDOArray, createJDOCollection, createJDOMap, createJDOReference, 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 inherited from interface org.apache.jdo.model.jdo.JDOMember
getDeclaringClass, getName
 
Methods inherited from interface org.apache.jdo.model.jdo.JDOElement
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getAssociatedJDOField

public JDOField getAssociatedJDOField()
Return the JDOField instance associated with this property, if available. If there is no JDOField instance associated, then the method returns null.

Returns:
associated JDOField instance or null if not available.