Search in sources :

Example 6 with RESTVerb

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

the class RESTSpecificationImpl method setVerb.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public void setVerb(RESTVerb newVerb) {
    RESTVerb oldVerb = verb;
    verb = newVerb == null ? VERB_EDEFAULT : newVerb;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.REST_SPECIFICATION__VERB, oldVerb, verb));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) RESTVerb(org.applause.lang.applauseDsl.RESTVerb)

Aggregations

RESTVerb (org.applause.lang.applauseDsl.RESTVerb)6 RESTSpecification (org.applause.lang.applauseDsl.RESTSpecification)5 DataSource (org.applause.lang.applauseDsl.DataSource)3 DataSourceAccessMethod (org.applause.lang.applauseDsl.DataSourceAccessMethod)3 DataSourceCall (org.applause.lang.applauseDsl.DataSourceCall)3 Function1 (org.eclipse.xtext.xbase.lib.Functions.Function1)3 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)1