Package org.apache.cayenne.reflect
Class BaseProperty
java.lang.Object
org.apache.cayenne.reflect.BaseProperty
- All Implemented Interfaces:
- PropertyDescriptor
- Direct Known Subclasses:
- BaseArcProperty,- SimpleAttributeProperty
An abstract property descriptor that delegates property access to an 
Accessor.
 Used as a superclass for other implementations.- Since:
- 3.0
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetName()Returns property name.voidinjectValueHolder(Object object) Does nothing.readProperty(Object object) Returns a property value, inflating unresolved object if need.readPropertyDirectly(Object object) Returns a property value of an object without disturbing the object fault status.toString()abstract booleanvisit(PropertyVisitor visitor) A visitor accept method.voidwriteProperty(Object object, Object oldValue, Object newValue) Sets a property value, inflating unresolved object if need.voidwritePropertyDirectly(Object object, Object oldValue, Object newValue) Sets a property value of an object without disturbing the object fault status.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cayenne.reflect.PropertyDescriptorequals
- 
Field Details- 
owner
- 
accessor
 
- 
- 
Constructor Details- 
BaseProperty
 
- 
- 
Method Details- 
readPropertyDescription copied from interface:PropertyDescriptorReturns a property value, inflating unresolved object if need.- Specified by:
- readPropertyin interface- PropertyDescriptor
- Throws:
- PropertyException
 
- 
writePropertyDescription copied from interface:PropertyDescriptorSets a property value, inflating unresolved object if need. Old value of the property is specified as a hint and can be ignored by the property implementor.- Specified by:
- writePropertyin interface- PropertyDescriptor
- Throws:
- PropertyException
 
- 
getNameDescription copied from interface:PropertyDescriptorReturns property name.- Specified by:
- getNamein interface- PropertyDescriptor
 
- 
visitDescription copied from interface:PropertyDescriptorA visitor accept method.- Specified by:
- visitin interface- PropertyDescriptor
- Returns:
- a status returned by the corresponding callback method of the visitor. It serves as an indication of whether peer properties processing is still needed.
 
- 
injectValueHolderDoes nothing.- Specified by:
- injectValueHolderin interface- PropertyDescriptor
- Throws:
- PropertyException
 
- 
readPropertyDirectlyDescription copied from interface:PropertyDescriptorReturns a property value of an object without disturbing the object fault status.- Specified by:
- readPropertyDirectlyin interface- PropertyDescriptor
- Throws:
- PropertyException
 
- 
writePropertyDirectlypublic void writePropertyDirectly(Object object, Object oldValue, Object newValue) throws PropertyException Description copied from interface:PropertyDescriptorSets a property value of an object without disturbing the object fault status. Old value of the property is specified as a hint and can be ignored by the property implementor.- Specified by:
- writePropertyDirectlyin interface- PropertyDescriptor
- Throws:
- PropertyException
 
- 
toString
 
-