|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Mapping
Interface that allows a mapping between one or more form fields and one or more properties in a class.
| Method Summary | |
|---|---|
java.lang.String |
getPropertyName()
Get the mapped property name for simple mappings; it may be a complex string for multiple or nested mappings. |
ValidationIssue |
performMapping(ParameterAccessor request,
java.lang.Object bean)
Perform a single mapping obtaining date from the provided request object and setting values in the provided bean. |
| Method Detail |
|---|
ValidationIssue performMapping(ParameterAccessor request,
java.lang.Object bean)
throws ValidationException
request - A not-null HttpServletRequest objectbean - A not-null Object instance
ValidationException - Alternative way to raise exceptions, useful
when more than one issue is to be reported.java.lang.String getPropertyName()
RequestMapper.getMapping(String),
RequestMapper.removeMapping(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||