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.Modifier and Type | Class and Description |
---|---|
static class |
PropertyMapping.ConstantMappingBuilder |
static class |
PropertyMapping.JavaExpressionMappingBuilder |
static class |
PropertyMapping.PropertyMappingBuilder |
Writable.Context
Modifier and Type | Method and Description |
---|---|
Assignment |
getAssignment() |
Assignment |
getDefaultValueAssignment() |
List<String> |
getDependsOn() |
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
String |
getName() |
String |
getSourceBeanName() |
String |
getTargetReadAccessorName() |
Type |
getTargetType() |
String |
getTargetWriteAccessorName() |
String |
toString() |
write
getTemplateName, getTemplateNameForClass
public String getName()
public String getSourceBeanName()
public String getTargetWriteAccessorName()
public String getTargetReadAccessorName()
public Type getTargetType()
public Assignment getAssignment()
public Assignment getDefaultValueAssignment()
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in class ModelElement
null
.Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.