Class DefaultMappingResults
java.lang.Object
org.springframework.binding.mapping.impl.DefaultMappingResults
- All Implemented Interfaces:
- Serializable,- MappingResults
Default mapping results implementation.
- Author:
- Keith Donald
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultMappingResults(Object source, Object target, List<MappingResult> mappingResults) Creates a new mapping results object.
- 
Method SummaryModifier and TypeMethodDescriptionA list of all the mapping results between the source and target.A list of all error results that occurred.getResults(MappingResultsCriteria criteria) Get all results that meet the given result criteria.The source object that was mapped from.The target object that was mapped to.booleanWhether some results were errors.toString()
- 
Constructor Details- 
DefaultMappingResultsCreates a new mapping results object.- Parameters:
- source- the source
- target- the target
- mappingResults- the actual results produced by- DefaultMapper
 
 
- 
- 
Method Details- 
getSourceDescription copied from interface:MappingResultsThe source object that was mapped from.- Specified by:
- getSourcein interface- MappingResults
 
- 
getTargetDescription copied from interface:MappingResultsThe target object that was mapped to.- Specified by:
- getTargetin interface- MappingResults
 
- 
getAllResultsDescription copied from interface:MappingResultsA list of all the mapping results between the source and target.- Specified by:
- getAllResultsin interface- MappingResults
 
- 
hasErrorResultspublic boolean hasErrorResults()Description copied from interface:MappingResultsWhether some results were errors. Returns true if mapping errors occurred.- Specified by:
- hasErrorResultsin interface- MappingResults
 
- 
getErrorResultsDescription copied from interface:MappingResultsA list of all error results that occurred.- Specified by:
- getErrorResultsin interface- MappingResults
 
- 
getResultsDescription copied from interface:MappingResultsGet all results that meet the given result criteria.- Specified by:
- getResultsin interface- MappingResults
- Parameters:
- criteria- the mapping result criteria
 
- 
toString
 
-