public class JDOPropertyImplCaching extends JDOFieldImplCaching implements JDOProperty
Please note, you cannot rely on the Java identity of the
JDORelationship instance returned by JDOFieldImplCaching.getRelationship()
.
The getter will always return a new Java Instance, unless the
relationship is explicitly set by the setter
JDOFieldImplDynamic.setRelationship(JDORelationship relationship)
.
Type | Property and Description |
---|---|
boolean |
is
Convenience method to check whether this field represents a property.
|
defaultFetchGroup, embedded, javaField, msg, persistenceModifier, relationship
Modifier | Constructor and Description |
---|---|
protected |
JDOPropertyImplCaching(java.lang.String name,
JDOClass declaringClass) |
Modifier and Type | Method and Description |
---|---|
JDOField |
getAssociatedJDOField()
Return the JDOField instance associated with this property, if
available.
|
JavaField |
getJavaField()
Get the corresponding JavaField representation for this JDOProperty.
|
boolean |
isProperty()
Convenience method to check whether this field represents a property.
|
void |
setJavaField(JavaField javaField)
Sets the corresponding JavaProperty representation for this JDOProperty.
|
createJDOArray, createJDOArrayInternal, createJDOCollection, createJDOCollectionInternal, createJDOMap, createJDOMapInternal, createJDOReference, createJDOReferenceInternal, getPersistenceModifier, getRelationship, getRelativeFieldNumber, isDefaultFetchGroup, isEmbedded
getFieldNumber, getMappedByName, getNullValueTreatment, getType, isManaged, isPersistent, isPrimaryKey, isRelationship, isSerializable, isTransactional, setDefaultFetchGroup, setEmbedded, setMappedByName, setNullValueTreatment, setPersistenceModifier, setPrimaryKey, setRelationship, setSerializable
compareTo, equals, getDeclaringClass, getName, hashCode, toString
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, firePropertyChange, fireVetoableChange, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
createJDOArray, createJDOCollection, createJDOMap, createJDOReference, getFieldNumber, getMappedByName, getNullValueTreatment, getPersistenceModifier, getRelationship, getRelativeFieldNumber, getType, isDefaultFetchGroup, isEmbedded, isManaged, isPersistent, isPrimaryKey, isRelationship, isSerializable, isTransactional, setDefaultFetchGroup, setEmbedded, setMappedByName, setNullValueTreatment, setPersistenceModifier, setPrimaryKey, setRelationship, setSerializable
getDeclaringClass, getName
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
isProperty
in interface JDOField
isProperty
in class JDOFieldImplDynamic
true
if this field represents a property;
false
otherwiseprotected JDOPropertyImplCaching(java.lang.String name, JDOClass declaringClass)
public JavaField getJavaField()
getJavaField
in interface JDOField
getJavaField
in class JDOFieldImplCaching
public void setJavaField(JavaField javaField) throws ModelException
setJavaField
in interface JDOField
setJavaField
in class JDOFieldImplDynamic
javaField
- the corresponding JavaProperty representationModelException
- if impossiblepublic boolean isProperty()
isProperty
in interface JDOField
isProperty
in class JDOFieldImplDynamic
true
if this field represents a property;
false
otherwisepublic JDOField getAssociatedJDOField()
null
.
This implementation always retruns null
.
getAssociatedJDOField
in interface JDOProperty
null
if not
available.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.