|
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
public abstract class AbstractMappingResult
Convenient base class for MappingResult
implementations.
Constructor Summary | |
---|---|
AbstractMappingResult(Mapping mapping)
Creates a new mapping result. |
Method Summary | |
---|---|
abstract java.lang.String |
getCode()
The mapping result code; for example, "success" , "typeMismatch", "propertyNotFound", or "evaluationException". |
abstract java.lang.Throwable |
getErrorCause()
Get the cause of the error result |
abstract 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. |
abstract java.lang.Object |
getOriginalValue()
The original value of the source object that was to be mapped. |
abstract boolean |
isError()
Indicates if this result is an error result. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractMappingResult(Mapping mapping)
mapping
- the mapping this result is for.Method Detail |
---|
public Mapping getMapping()
MappingResult
getMapping
in interface MappingResult
public abstract java.lang.String getCode()
MappingResult
getCode
in interface MappingResult
public abstract boolean isError()
MappingResult
isError
in interface MappingResult
public abstract java.lang.Throwable getErrorCause()
MappingResult
getErrorCause
in interface MappingResult
public abstract java.lang.Object getOriginalValue()
MappingResult
getOriginalValue
in interface MappingResult
public abstract java.lang.Object getMappedValue()
MappingResult
getMappedValue
in interface MappingResult
public java.lang.String toString()
toString
in class java.lang.Object
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |