Package org.apache.cayenne.reflect
Interface Accessor
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BeanAccessor
,EmbeddedFieldAccessor
,FieldAccessor
,IdMapKeyAccessor
,MapAccessor
,PropertyAccessor
An accessor of a property value. Abstracts the actual property implementation. E.g. it
can be a Field, a pair of get/set methods or a map/DataObject.
- Since:
- 3.0
-
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.
-
Method Details
-
getName
String getName()Returns property name. -
getValue
Returns a property value of an object without disturbing the object fault status.- Throws:
PropertyException
-
setValue
Sets a property value of an object without disturbing the object fault status. Old value of the property is specified as a hint.- Throws:
PropertyException
-