|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.binding.mapping.impl.DefaultMappingResults
public class DefaultMappingResults
Default mapping results implementation.
Constructor Summary | |
---|---|
DefaultMappingResults(Object source,
Object target,
List mappingResults)
Creates a new mapping results object. |
Method Summary | |
---|---|
List |
getAllResults()
A list of all the mapping results between the source and target. |
List |
getErrorResults()
A list of all error results that occurred. |
List |
getResults(MappingResultsCriteria criteria)
Get all results that meet the given result criteria. |
Object |
getSource()
The source object that was mapped from. |
Object |
getTarget()
The target object that was mapped to. |
boolean |
hasErrorResults()
Whether some results were errors. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultMappingResults(Object source, Object target, List mappingResults)
source
- the sourcetarget
- the targetmappingResults
- the actual results produced by DefaultMapper
Method Detail |
---|
public Object getSource()
MappingResults
getSource
in interface MappingResults
public Object getTarget()
MappingResults
getTarget
in interface MappingResults
public List getAllResults()
MappingResults
getAllResults
in interface MappingResults
public boolean hasErrorResults()
MappingResults
hasErrorResults
in interface MappingResults
public List getErrorResults()
MappingResults
getErrorResults
in interface MappingResults
public List getResults(MappingResultsCriteria criteria)
MappingResults
getResults
in interface MappingResults
criteria
- the mapping result criteriapublic String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |