|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MappingResult
A single data mapping result. Each result has a unique code
, and provides context about the result
of a single data mapping operation.
Method Summary | |
---|---|
java.lang.String |
getCode()
The mapping result code; for example, "success" , "typeMismatch", "propertyNotFound", or "evaluationException". |
java.lang.Throwable |
getErrorCause()
Get the cause of the error result |
java.lang.Object |
getMappedValue()
The actual value that was mapped to the target object. |
Mapping |
getMapping()
The mapping that executed for which this result pertains to. |
java.lang.Object |
getOriginalValue()
The original value of the source object that was to be mapped. |
boolean |
isError()
Indicates if this result is an error result. |
Method Detail |
---|
Mapping getMapping()
java.lang.String getCode()
boolean isError()
java.lang.Throwable getErrorCause()
java.lang.Object getOriginalValue()
java.lang.Object getMappedValue()
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |