|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.binding.mapping.results.AbstractMappingResult org.springframework.binding.mapping.results.RequiredError
public class RequiredError
The "required" error result--indicates a required mapping could not be performed because the source value to map was empty.
Constructor Summary | |
---|---|
RequiredError(Mapping mapping,
java.lang.Object originalValue)
Creates a new required error result |
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. |
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. |
Methods inherited from class org.springframework.binding.mapping.results.AbstractMappingResult |
---|
getMapping, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RequiredError(Mapping mapping, java.lang.Object originalValue)
originalValue
- the original source value (empty)Method Detail |
---|
public java.lang.String getCode()
MappingResult
getCode
in interface MappingResult
getCode
in class AbstractMappingResult
public boolean isError()
MappingResult
isError
in interface MappingResult
isError
in class AbstractMappingResult
public java.lang.Throwable getErrorCause()
MappingResult
getErrorCause
in interface MappingResult
getErrorCause
in class AbstractMappingResult
public java.lang.Object getOriginalValue()
MappingResult
getOriginalValue
in interface MappingResult
getOriginalValue
in class AbstractMappingResult
public java.lang.Object getMappedValue()
MappingResult
getMappedValue
in interface MappingResult
getMappedValue
in class AbstractMappingResult
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |