return srcElement;
}
public void setSerializedEndpoint1(Element connModelElement, String endpoint1Value)
{
IDiagramConnectionEndpointBindingDef srcAnchorDef = this.bindingDef.getEndpoint1().content();
if (getConnectionType() == ConnectionType.OneToOne)
{
setModelProperty(connModelElement, ((ModelPath.PropertySegment)this.endpoint1Path.head()).getPropertyName(), endpoint1Value);
}
else
{
Element srcElement = getOneToManyConnectionSrcElement(endpoint1Value);
if (srcElement != null)
{
String srcProperty = srcAnchorDef.getProperty().content();
setModelProperty(srcElement, srcProperty, endpoint1Value);
}
}
}