use of org.osate.ba.aadlba.Value in project osate2 by osate.
the class FactorImpl method basicSetFirstValue.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetFirstValue(Value newFirstValue, NotificationChain msgs) {
Value oldFirstValue = firstValue;
firstValue = newFirstValue;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AadlBaPackage.FACTOR__FIRST_VALUE, oldFirstValue, newFirstValue);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.osate.ba.aadlba.Value in project osate2 by osate.
the class FactorImpl method basicSetSecondValue.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetSecondValue(Value newSecondValue, NotificationChain msgs) {
Value oldSecondValue = secondValue;
secondValue = newSecondValue;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AadlBaPackage.FACTOR__SECOND_VALUE, oldSecondValue, newSecondValue);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations