|
|||||||||
| 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 MappingResultspublic Object getTarget()
MappingResults
getTarget in interface MappingResultspublic List getAllResults()
MappingResults
getAllResults in interface MappingResultspublic boolean hasErrorResults()
MappingResults
hasErrorResults in interface MappingResultspublic List getErrorResults()
MappingResults
getErrorResults in interface MappingResultspublic List getResults(MappingResultsCriteria criteria)
MappingResults
getResults in interface MappingResultscriteria - 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 | ||||||||