Package org.apache.cayenne.reflect
Class BeanAccessor
java.lang.Object
org.apache.cayenne.reflect.BeanAccessor
- All Implemented Interfaces:
Serializable
,Accessor
A property accessor that uses set/get methods following JavaBean naming
conventions.
- Since:
- 1.2
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns property name.Returns a property value of an object without disturbing the object fault status.void
Sets a property value of an object without disturbing the object fault status.
-
Field Details
-
propertyName
-
readMethod
-
writeMethod
-
nullValue
-
-
Constructor Details
-
BeanAccessor
-
BeanAccessor
-
-
Method Details
-
getName
Description copied from interface:Accessor
Returns property name. -
getValue
Description copied from interface:Accessor
Returns a property value of an object without disturbing the object fault status.- Specified by:
getValue
in interfaceAccessor
- Throws:
PropertyException
- Since:
- 3.0
-
setValue
Description copied from interface:Accessor
Sets a property value of an object without disturbing the object fault status. Old value of the property is specified as a hint.- Specified by:
setValue
in interfaceAccessor
- Throws:
PropertyException
- Since:
- 3.0
-