use of org.osate.xtext.aadl2.errormodel.errorModel.TypeSet in project osate2 by osate.
the class ErrorPathImpl method basicSetTargetToken.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetTargetToken(TypeSet newTargetToken, NotificationChain msgs) {
TypeSet oldTargetToken = targetToken;
targetToken = newTargetToken;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ErrorModelPackage.ERROR_PATH__TARGET_TOKEN, oldTargetToken, newTargetToken);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.osate.xtext.aadl2.errormodel.errorModel.TypeSet in project osate2 by osate.
the class ErrorPropagationImpl method basicSetTypeSet.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetTypeSet(TypeSet newTypeSet, NotificationChain msgs) {
TypeSet oldTypeSet = typeSet;
typeSet = newTypeSet;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ErrorModelPackage.ERROR_PROPAGATION__TYPE_SET, oldTypeSet, newTypeSet);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.osate.xtext.aadl2.errormodel.errorModel.TypeSet in project osate2 by osate.
the class ErrorSourceImpl method basicSetFailureModeType.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetFailureModeType(TypeSet newFailureModeType, NotificationChain msgs) {
TypeSet oldFailureModeType = failureModeType;
failureModeType = newFailureModeType;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ErrorModelPackage.ERROR_SOURCE__FAILURE_MODE_TYPE, oldFailureModeType, newFailureModeType);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.osate.xtext.aadl2.errormodel.errorModel.TypeSet in project osate2 by osate.
the class ErrorBehaviorStateImpl method basicSetTypeSet.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetTypeSet(TypeSet newTypeSet, NotificationChain msgs) {
TypeSet oldTypeSet = typeSet;
typeSet = newTypeSet;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ErrorModelPackage.ERROR_BEHAVIOR_STATE__TYPE_SET, oldTypeSet, newTypeSet);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.osate.xtext.aadl2.errormodel.errorModel.TypeSet in project osate2 by osate.
the class ErrorDetectionImpl method basicSetTypeTokenConstraint.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetTypeTokenConstraint(TypeSet newTypeTokenConstraint, NotificationChain msgs) {
TypeSet oldTypeTokenConstraint = typeTokenConstraint;
typeTokenConstraint = newTypeTokenConstraint;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ErrorModelPackage.ERROR_DETECTION__TYPE_TOKEN_CONSTRAINT, oldTypeTokenConstraint, newTypeTokenConstraint);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations