Search in sources :

Example 1 with RESTMethodCall

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

the class DefaultListScreenClassExtensions method restMethod.

public DataSourceAccessMethod restMethod(final Screen it) {
    ScreenListItemCell _defaultCell = this.defaultCell(it);
    RESTMethodCall _restMethod = _defaultCell.getRestMethod();
    DataSourceAccessMethod _restMethod_1 = _restMethod.getRestMethod();
    return _restMethod_1;
}
Also used : ScreenListItemCell(org.applause.lang.applauseDsl.ScreenListItemCell) RESTMethodCall(org.applause.lang.applauseDsl.RESTMethodCall) DataSourceAccessMethod(org.applause.lang.applauseDsl.DataSourceAccessMethod)

Example 2 with RESTMethodCall

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

the class DefaultDetailsScreenModuleFileCompiler method restMethod.

public DataSourceAccessMethod restMethod(final Screen it) {
    ScreenListItemCell _defaultCell = this.defaultCell(it);
    RESTMethodCall _restMethod = _defaultCell.getRestMethod();
    DataSourceAccessMethod _restMethod_1 = _restMethod.getRestMethod();
    return _restMethod_1;
}
Also used : ScreenListItemCell(org.applause.lang.applauseDsl.ScreenListItemCell) RESTMethodCall(org.applause.lang.applauseDsl.RESTMethodCall) DataSourceAccessMethod(org.applause.lang.applauseDsl.DataSourceAccessMethod)

Example 3 with RESTMethodCall

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

the class ScreenListItemCellImpl method basicSetRestMethod.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public NotificationChain basicSetRestMethod(RESTMethodCall newRestMethod, NotificationChain msgs) {
    RESTMethodCall oldRestMethod = restMethod;
    restMethod = newRestMethod;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.SCREEN_LIST_ITEM_CELL__REST_METHOD, oldRestMethod, newRestMethod);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : RESTMethodCall(org.applause.lang.applauseDsl.RESTMethodCall) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

RESTMethodCall (org.applause.lang.applauseDsl.RESTMethodCall)3 DataSourceAccessMethod (org.applause.lang.applauseDsl.DataSourceAccessMethod)2 ScreenListItemCell (org.applause.lang.applauseDsl.ScreenListItemCell)2 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)1