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
 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.
 

Method Detail

getSource

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


getTarget

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


getAllResults

java.util.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

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


getResults

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

Parameters:
criteria - the mapping result criteria