Search in sources :

Example 6 with SimpleExpression

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;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) SimpleExpression(org.osate.ba.aadlba.SimpleExpression)

Aggregations

SimpleExpression (org.osate.ba.aadlba.SimpleExpression)6 Factor (org.osate.ba.aadlba.Factor)3 IntegerValue (org.osate.ba.aadlba.IntegerValue)3 Relation (org.osate.ba.aadlba.Relation)3 Term (org.osate.ba.aadlba.Term)3 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)2 ClassifierValue (org.osate.aadl2.ClassifierValue)2 ListValue (org.osate.aadl2.ListValue)2 ModalPropertyValue (org.osate.aadl2.ModalPropertyValue)2 NamedValue (org.osate.aadl2.NamedValue)2 Iterator (java.util.Iterator)1 AbstractEnumerator (org.eclipse.emf.common.util.AbstractEnumerator)1 Enumerator (org.eclipse.emf.common.util.Enumerator)1 EObject (org.eclipse.emf.ecore.EObject)1 AbstractNamedValue (org.osate.aadl2.AbstractNamedValue)1 ArrayDimension (org.osate.aadl2.ArrayDimension)1 DataClassifier (org.osate.aadl2.DataClassifier)1 Element (org.osate.aadl2.Element)1 NamedElement (org.osate.aadl2.NamedElement)1 NumberValue (org.osate.aadl2.NumberValue)1