Search in sources :

Example 1 with EntityMemberCallTail

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

the class ExpressionExtensions method _evaluateExpression.

protected String _evaluateExpression(final EntityMemberCallTail it) {
    Attribute _head = it.getHead();
    String _evaluateExpression = this.evaluateExpression(_head);
    String _plus = ("." + _evaluateExpression);
    String _xifexpression = null;
    EntityMemberCallTail _tail = it.getTail();
    boolean _notEquals = (!Objects.equal(_tail, null));
    if (_notEquals) {
        EntityMemberCallTail _tail_1 = it.getTail();
        String _evaluateExpression_1 = this.evaluateExpression(_tail_1);
        String _plus_1 = ("memberCallTail.tail:" + _evaluateExpression_1);
        _xifexpression = _plus_1;
    } else {
        _xifexpression = "";
    }
    String _plus_2 = (_plus + _xifexpression);
    return _plus_2;
}
Also used : Attribute(org.applause.lang.applauseDsl.Attribute) EntityMemberCallTail(org.applause.lang.applauseDsl.EntityMemberCallTail)

Example 2 with EntityMemberCallTail

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

the class EntityMemberCallTailImpl method basicSetTail.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public NotificationChain basicSetTail(EntityMemberCallTail newTail, NotificationChain msgs) {
    EntityMemberCallTail oldTail = tail;
    tail = newTail;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.ENTITY_MEMBER_CALL_TAIL__TAIL, oldTail, newTail);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) EntityMemberCallTail(org.applause.lang.applauseDsl.EntityMemberCallTail)

Example 3 with EntityMemberCallTail

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

the class ExpressionExtensions method _evaluateExpression.

protected String _evaluateExpression(final EntityMemberCall it) {
    Attribute _head = it.getHead();
    String _evaluateExpression = this.evaluateExpression(_head);
    String _xifexpression = null;
    EntityMemberCallTail _tail = it.getTail();
    boolean _notEquals = (!Objects.equal(_tail, null));
    if (_notEquals) {
        EntityMemberCallTail _tail_1 = it.getTail();
        String _evaluateExpression_1 = this.evaluateExpression(_tail_1);
        String _plus = ("memberCall.tail:" + _evaluateExpression_1);
        _xifexpression = _plus;
    } else {
        _xifexpression = "";
    }
    String _plus_1 = (_evaluateExpression + _xifexpression);
    return _plus_1;
}
Also used : Attribute(org.applause.lang.applauseDsl.Attribute) EntityMemberCallTail(org.applause.lang.applauseDsl.EntityMemberCallTail)

Example 4 with EntityMemberCallTail

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

the class EntityMemberCallImpl method basicSetTail.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public NotificationChain basicSetTail(EntityMemberCallTail newTail, NotificationChain msgs) {
    EntityMemberCallTail oldTail = tail;
    tail = newTail;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.ENTITY_MEMBER_CALL__TAIL, oldTail, newTail);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) EntityMemberCallTail(org.applause.lang.applauseDsl.EntityMemberCallTail)

Aggregations

EntityMemberCallTail (org.applause.lang.applauseDsl.EntityMemberCallTail)4 Attribute (org.applause.lang.applauseDsl.Attribute)2 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)2