open class DirectFieldBindingResult : AbstractPropertyBindingResult
Special implementation of the Errors and BindingResult interfaces, supporting registration and evaluation of binding errors on value objects. Performs direct field access instead of going through JavaBean getters.
Since Spring 4.1 this implementation is able to traverse nested fields.
Author
Juergen Hoeller
Since
2.0
See Also
DataBinder#getBindingResult()DataBinder#initDirectFieldAccess()BeanPropertyBindingResult
DirectFieldBindingResult(target: Any, objectName: String) DirectFieldBindingResult(target: Any, objectName: String, autoGrowNestedPaths: Boolean)
Create a new DirectFieldBindingResult instance. |
fun getPropertyAccessor(): ConfigurablePropertyAccessor
Returns the DirectFieldAccessor that this instance uses. Creates a new one if none existed before. |
|
fun getTarget(): Any |