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