public class PropertyMapping extends ModelElement
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.Writable.Context| Constructor and Description |
|---|
PropertyMapping(java.lang.String sourceBeanName,
java.lang.String targetAccessorName,
Type targetType,
Assignment assignment) |
PropertyMapping(java.lang.String targetAccessorName,
Type targetType,
Assignment propertyAssignment) |
| Modifier and Type | Method and Description |
|---|---|
Assignment |
getAssignment() |
java.util.Set<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model element for which an import statement needs
to be declared. |
java.lang.String |
getSourceBeanName() |
java.lang.String |
getTargetAccessorName() |
Type |
getTargetType() |
java.lang.String |
toString() |
writegetTemplateNamepublic PropertyMapping(java.lang.String targetAccessorName,
Type targetType,
Assignment propertyAssignment)
public PropertyMapping(java.lang.String sourceBeanName,
java.lang.String targetAccessorName,
Type targetType,
Assignment assignment)
public java.lang.String getSourceBeanName()
public java.lang.String getTargetAccessorName()
public Type getTargetType()
public Assignment getAssignment()
public java.util.Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class ModelElementnull.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2012-2014. All Rights Reserved.