All Known Implementing Classes:
BeanWrapper, BeanWrapperImpl, AbstractPropertyAccessor, ConfigurablePropertyAccessor, DirectFieldAccessor
Juergen - Hoeller1.1 - | Field Summary | ||
|---|---|---|
| String | NESTED_PROPERTY_SEPARATOR | Path separator for nested properties. Follows normal Java conventions: getFoo().getBar() would be "foo.bar". |
| char | NESTED_PROPERTY_SEPARATOR_CHAR | |
| String | PROPERTY_KEY_PREFIX | Marker that indicates the start of a property key for an indexed or mapped property like "person.addresses[0]". |
| char | PROPERTY_KEY_PREFIX_CHAR | |
| String | PROPERTY_KEY_SUFFIX | Marker that indicates the end of a property key for an indexed or mapped property like "person.addresses[0]". |
| char | PROPERTY_KEY_SUFFIX_CHAR | |
| Method from org.springframework.beans.PropertyAccessor Summary: |
|---|
| getPropertyType, getPropertyValue, isReadableProperty, isWritableProperty, setPropertyValue, setPropertyValue, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues |
| Method from org.springframework.beans.PropertyAccessor Detail: |
|---|
|
|
Returns |
Returns |
|
|
Bulk updates from PropertyValues are more powerful: This method is provided for convenience. Behavior will be identical to that of the #setPropertyValues(PropertyValues) method. |
Note that performing a batch update differs from performing a single update, in that an implementation of this class will continue to update properties if a recoverable error (such as a type mismatch, but not an invalid field name or the like) is encountered, throwing a PropertyBatchUpdateException containing all the individual errors. This exception can be examined later to see all binding errors. Properties that were successfully updated remain changed. Does not allow unknown fields or invalid fields. |
Note that performing a batch update differs from performing a single update, in that an implementation of this class will continue to update properties if a recoverable error (such as a type mismatch, but not an invalid field name or the like) is encountered, throwing a PropertyBatchUpdateException containing all the individual errors. This exception can be examined later to see all binding errors. Properties that were successfully updated remain changed. |
Note that performing a batch update differs from performing a single update, in that an implementation of this class will continue to update properties if a recoverable error (such as a type mismatch, but not an invalid field name or the like) is encountered, throwing a PropertyBatchUpdateException containing all the individual errors. This exception can be examined later to see all binding errors. Properties that were successfully updated remain changed. |