| java.lang.Object org.springframework.binding.mapping.Mapping
All known Subclasses: org.springframework.binding.mapping.RequiredMapping,
Mapping | public class Mapping implements AttributeMapper(Code) | | A single mapping definition, encapulating the information neccessary to map
the result of evaluating an expression on a source object to a property on a
target object, optionally applying a type conversion during the mapping
process.
author: Keith Donald |
Mapping | public Mapping(Expression sourceExpression, SettableExpression targetExpression, ConversionExecutor typeConverter)(Code) | | Creates a new mapping.
Parameters: sourceExpression - the source expression Parameters: targetExpression - the target expression Parameters: typeConverter - a type converter |
Mapping | protected Mapping(Expression sourceExpression, SettableExpression targetExpression, ConversionExecutor typeConverter, boolean required)(Code) | | Creates a new mapping.
Parameters: sourceExpression - the source expression Parameters: targetExpression - the target expression Parameters: typeConverter - a type converter Parameters: required - whether or not this mapping is required |
hashCode | public int hashCode()(Code) | | |
map | public void map(Object source, Object target, MappingContext context)(Code) | | Map the sourceAttribute in to the
targetAttribute target map, performing type conversion if
necessary.
Parameters: source - The source data structure Parameters: target - The target data structure |
|
|