Search in sources :

Example 6 with RESTURL

use of org.applause.lang.applauseDsl.RESTURL in project applause by applause.

the class RESTSpecificationImpl method basicSetPath.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public NotificationChain basicSetPath(RESTURL newPath, NotificationChain msgs) {
    RESTURL oldPath = path;
    path = newPath;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.REST_SPECIFICATION__PATH, oldPath, newPath);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) RESTURL(org.applause.lang.applauseDsl.RESTURL)

Aggregations

RESTURL (org.applause.lang.applauseDsl.RESTURL)6 RESTSpecification (org.applause.lang.applauseDsl.RESTSpecification)5 Entity (org.applause.lang.applauseDsl.Entity)4 StringConcatenation (org.eclipse.xtend2.lib.StringConcatenation)4 DataSource (org.applause.lang.applauseDsl.DataSource)1 DataSourceAccessMethod (org.applause.lang.applauseDsl.DataSourceAccessMethod)1 Model (org.applause.lang.applauseDsl.Model)1 NamedElement (org.applause.lang.applauseDsl.NamedElement)1 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)1