Search in sources :

Example 6 with BehaviorElement

use of org.osate.ba.aadlba.BehaviorElement in project osate2 by osate.

the class NamedValueImpl method setBaRef.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setBaRef(BehaviorElement newBaRef) {
    BehaviorElement oldBaRef = baRef;
    baRef = newBaRef;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, DeclarativePackage.NAMED_VALUE__BA_REF, oldBaRef, baRef));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) DeclarativeBehaviorElement(org.osate.ba.declarative.DeclarativeBehaviorElement) BehaviorElement(org.osate.ba.aadlba.BehaviorElement)

Example 7 with BehaviorElement

use of org.osate.ba.aadlba.BehaviorElement in project osate2 by osate.

the class DeclarativeBehaviorElementImpl method setBaRef.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setBaRef(BehaviorElement newBaRef) {
    BehaviorElement oldBaRef = baRef;
    baRef = newBaRef;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, DeclarativePackage.DECLARATIVE_BEHAVIOR_ELEMENT__BA_REF, oldBaRef, baRef));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) DeclarativeBehaviorElement(org.osate.ba.declarative.DeclarativeBehaviorElement) BehaviorElement(org.osate.ba.aadlba.BehaviorElement)

Example 8 with BehaviorElement

use of org.osate.ba.aadlba.BehaviorElement in project osate2 by osate.

the class DeclarativeBehaviorTransitionImpl method setBaRef.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setBaRef(BehaviorElement newBaRef) {
    BehaviorElement oldBaRef = baRef;
    baRef = newBaRef;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, DeclarativePackage.DECLARATIVE_BEHAVIOR_TRANSITION__BA_REF, oldBaRef, baRef));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) DeclarativeBehaviorElement(org.osate.ba.declarative.DeclarativeBehaviorElement) BehaviorElement(org.osate.ba.aadlba.BehaviorElement)

Example 9 with BehaviorElement

use of org.osate.ba.aadlba.BehaviorElement in project osate2 by osate.

the class CommActionImpl method setBaRef.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setBaRef(BehaviorElement newBaRef) {
    BehaviorElement oldBaRef = baRef;
    baRef = newBaRef;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, DeclarativePackage.COMM_ACTION__BA_REF, oldBaRef, baRef));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) DeclarativeBehaviorElement(org.osate.ba.declarative.DeclarativeBehaviorElement) BehaviorElement(org.osate.ba.aadlba.BehaviorElement)

Example 10 with BehaviorElement

use of org.osate.ba.aadlba.BehaviorElement in project osate2 by osate.

the class DeclarativeArrayDimensionImpl method setBaRef.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setBaRef(BehaviorElement newBaRef) {
    BehaviorElement oldBaRef = baRef;
    baRef = newBaRef;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, DeclarativePackage.DECLARATIVE_ARRAY_DIMENSION__BA_REF, oldBaRef, baRef));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) DeclarativeBehaviorElement(org.osate.ba.declarative.DeclarativeBehaviorElement) BehaviorElement(org.osate.ba.aadlba.BehaviorElement)

Aggregations

BehaviorElement (org.osate.ba.aadlba.BehaviorElement)10 DeclarativeBehaviorElement (org.osate.ba.declarative.DeclarativeBehaviorElement)10 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)9 BasicProperty (org.osate.aadl2.BasicProperty)1 EnumerationType (org.osate.aadl2.EnumerationType)1 NamedElement (org.osate.aadl2.NamedElement)1 PackageSection (org.osate.aadl2.PackageSection)1 Property (org.osate.aadl2.Property)1 PropertyExpression (org.osate.aadl2.PropertyExpression)1 PropertyType (org.osate.aadl2.PropertyType)1 ArrayableIdentifier (org.osate.ba.declarative.ArrayableIdentifier)1 DeclarativePropertyName (org.osate.ba.declarative.DeclarativePropertyName)1 Identifier (org.osate.ba.declarative.Identifier)1 QualifiedNamedElement (org.osate.ba.declarative.QualifiedNamedElement)1