org.springframework.binding.mapping
Interface MappingResults

All Known Implementing Classes:
DefaultMappingResults

public interface MappingResults

Exposes information about the results of a mapping transaction.

Author:
Keith Donald

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.
 

Method Detail

getSource

Object getSource()
The source object that was mapped from.


getTarget

Object getTarget()
The target object that was mapped to.


getAllResults

List getAllResults()
A list of all the mapping results between the source and target.


hasErrorResults

boolean hasErrorResults()
Whether some results were errors. Returns true if mapping errors occurred.


getErrorResults

List getErrorResults()
A list of all error results that occurred.


getResults

List getResults(MappingResultsCriteria criteria)
Get all results that meet the given result criteria.

Parameters:
criteria - the mapping result criteria