Spring Web Flow

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<MappingResult> getAllResults()
          A list of all the mapping results between the source and target.
 java.util.List<MappingResult> getErrorResults()
          A list of all error results that occurred.
 java.util.List<MappingResult> 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<MappingResult> 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<MappingResult> getErrorResults()
A list of all error results that occurred.


getResults

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

Parameters:
criteria - the mapping result criteria

Spring Web Flow