use of org.osate.ba.aadlba.SimpleExpression in project osate2 by osate.
the class RelationImpl method basicSetSecondExpression.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetSecondExpression(SimpleExpression newSecondExpression, NotificationChain msgs) {
SimpleExpression oldSecondExpression = secondExpression;
secondExpression = newSecondExpression;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AadlBaPackage.RELATION__SECOND_EXPRESSION, oldSecondExpression, newSecondExpression);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations