Search in sources :

Example 6 with Description

use of org.osate.alisa.common.common.Description in project osate2 by osate.

the class AssurancePlanImpl method basicSetDescription.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetDescription(Description newDescription, NotificationChain msgs) {
    Description oldDescription = description;
    description = newDescription;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlisaPackage.ASSURANCE_PLAN__DESCRIPTION, oldDescription, newDescription);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Description(org.osate.alisa.common.common.Description) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 7 with Description

use of org.osate.alisa.common.common.Description in project osate2 by osate.

the class AssuranceTaskImpl method basicSetDescription.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetDescription(Description newDescription, NotificationChain msgs) {
    Description oldDescription = description;
    description = newDescription;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlisaPackage.ASSURANCE_TASK__DESCRIPTION, oldDescription, newDescription);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Description(org.osate.alisa.common.common.Description) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 8 with Description

use of org.osate.alisa.common.common.Description in project osate2 by osate.

the class DocumentSectionImpl method basicSetDescription.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetDescription(Description newDescription, NotificationChain msgs) {
    Description oldDescription = description;
    description = newDescription;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ReqSpecPackage.DOCUMENT_SECTION__DESCRIPTION, oldDescription, newDescription);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Description(org.osate.alisa.common.common.Description) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 9 with Description

use of org.osate.alisa.common.common.Description in project osate2 by osate.

the class VerificationMethodImpl method basicSetDescription.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetDescription(Description newDescription, NotificationChain msgs) {
    Description oldDescription = description;
    description = newDescription;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VerifyPackage.VERIFICATION_METHOD__DESCRIPTION, oldDescription, newDescription);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Description(org.osate.alisa.common.common.Description) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 10 with Description

use of org.osate.alisa.common.common.Description in project osate2 by osate.

the class VerificationPlanImpl method basicSetDescription.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetDescription(Description newDescription, NotificationChain msgs) {
    Description oldDescription = description;
    description = newDescription;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VerifyPackage.VERIFICATION_PLAN__DESCRIPTION, oldDescription, newDescription);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Description(org.osate.alisa.common.common.Description) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

Description (org.osate.alisa.common.common.Description)10 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)9 EPackage (org.eclipse.emf.ecore.EPackage)1 Action (org.eclipse.xtext.Action)1 Parameter (org.eclipse.xtext.Parameter)1 ParserRule (org.eclipse.xtext.ParserRule)1 AadlBoolean (org.osate.aadl2.AadlBoolean)1 AadlInteger (org.osate.aadl2.AadlInteger)1 AadlReal (org.osate.aadl2.AadlReal)1 AadlString (org.osate.aadl2.AadlString)1 BooleanLiteral (org.osate.aadl2.BooleanLiteral)1 IntegerLiteral (org.osate.aadl2.IntegerLiteral)1 RealLiteral (org.osate.aadl2.RealLiteral)1 StringLiteral (org.osate.aadl2.StringLiteral)1 ABinaryOperation (org.osate.alisa.common.common.ABinaryOperation)1 AConditional (org.osate.alisa.common.common.AConditional)1 AFunctionCall (org.osate.alisa.common.common.AFunctionCall)1 AModelReference (org.osate.alisa.common.common.AModelReference)1 APropertyReference (org.osate.alisa.common.common.APropertyReference)1 ARange (org.osate.alisa.common.common.ARange)1