public class PropertyMapping extends Object
String Source#foo to int Target#bar. Name and type of source
and target property can differ. If they have different types, the mapping
must either refer to a mapping method or a conversion.| Constructor and Description |
|---|
PropertyMapping(String sourceReadAccessorName,
String sourceWriteAccessorName,
Type sourceType,
String targetReadAccessorName,
String targetWriteAccessorName,
Type targetType,
MappingMethod mappingMethod,
MappingMethod reverseMappingMethod,
String toConversion,
String fromConversion) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFromConversion() |
MappingMethod |
getMappingMethod() |
MappingMethod |
getReverseMappingMethod() |
String |
getSourceReadAccessorName() |
Type |
getSourceType() |
String |
getSourceWriteAccessorName() |
String |
getTargetReadAccessorName() |
Type |
getTargetType() |
String |
getTargetWriteAccessorName() |
String |
getToConversion() |
String |
toString() |
public PropertyMapping(String sourceReadAccessorName, String sourceWriteAccessorName, Type sourceType, String targetReadAccessorName, String targetWriteAccessorName, Type targetType, MappingMethod mappingMethod, MappingMethod reverseMappingMethod, String toConversion, String fromConversion)
public String getSourceReadAccessorName()
public String getSourceWriteAccessorName()
public Type getSourceType()
public String getTargetReadAccessorName()
public String getTargetWriteAccessorName()
public Type getTargetType()
public MappingMethod getMappingMethod()
public MappingMethod getReverseMappingMethod()
public String getToConversion()
public String getFromConversion()
Copyright © 2012-2013. All Rights Reserved.