gt:     return super.eGet(featureID, resolve, coreType);
context: /**
   * generated by Xtext 2.10.0
   */
  package de.htwberlin.selabs.sSML.impl;
  
  import de.htwberlin.selabs.sSML.Minus;
  import de.htwberlin.selabs.sSML.SSMLPackage;
  import de.htwberlin.selabs.sSML.Term;
  
  import org.eclipse.emf.common.notify.Notification;
  import org.eclipse.emf.common.notify.NotificationChain;
  
  import org.eclipse.emf.ecore.EClass;
  import org.eclipse.emf.ecore.InternalEObject;
  
  import org.eclipse.emf.ecore.impl.ENotificationImpl;
  
  /**
   * <!-- begin-user-doc -->
   * An implementation of the model object '<em><b>Minus</b></em>'.
   * <!-- end-user-doc -->
   * <p>
   * The following features are implemented:
   * </p>
   * <ul>
   *   <li>{@link de.htwberlin.selabs.sSML.impl.MinusImpl#getLeft <em>Left</em>}</li>
   *   <li>{@link de.htwberlin.selabs.sSML.impl.MinusImpl#getRight <em>Right</em>}</li>
   * </ul>
   *
   * @generated
   */
  public class MinusImpl extends TermImpl implements Minus
  {
    /**
     * The cached value of the '{@link #getLeft() <em>Left</em>}' containment reference.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @see #getLeft()
     * @generated
     * @ordered
     */
    protected Term left;
  
    /**
     * The cached value of the '{@link #getRight() <em>Right</em>}' containment reference.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @see #getRight()
     * @generated
     * @ordered
     */
    protected Term right;
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    protected MinusImpl()
    {
      super();
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @Override
    protected EClass eStaticClass()
    {
      return SSMLPackage.Literals.MINUS;
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public Term getLeft()
    {
      return left;
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetLeft(Term newLeft, NotificationChain msgs)
    {
      Term oldLeft = left;
      left = newLeft;
      if (eNotificationRequired())
      {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SSMLPackage.MINUS__LEFT, oldLeft, newLeft);
        if (msgs == null) msgs = notification; else msgs.add(notification);
      }
      return msgs;
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void setLeft(Term newLeft)
    {
      if (newLeft != left)
      {
        NotificationChain msgs = null;
        if (left != null)
          msgs = ((InternalEObject)left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SSMLPackage.MINUS__LEFT, null, msgs);
        if (newLeft != null)
          msgs = ((InternalEObject)newLeft).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SSMLPackage.MINUS__LEFT, null, msgs);
        msgs = basicSetLeft(newLeft, msgs);
        if (msgs != null) msgs.dispatch();
      }
      else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, SSMLPackage.MINUS__LEFT, newLeft, newLeft));
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public Term getRight()
    {
      return right;
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetRight(Term newRight, NotificationChain msgs)
    {
      Term oldRight = right;
      right = newRight;
      if (eNotificationRequired())
      {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SSMLPackage.MINUS__RIGHT, oldRight, newRight);
        if (msgs == null) msgs = notification; else msgs.add(notification);
      }
      return msgs;
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void setRight(Term newRight)
    {
      if (newRight != right)
      {
        NotificationChain msgs = null;
        if (right != null)
          msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SSMLPackage.MINUS__RIGHT, null, msgs);
        if (newRight != null)
          msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SSMLPackage.MINUS__RIGHT, null, msgs);
        msgs = basicSetRight(newRight, msgs);
        if (msgs != null) msgs.dispatch();
      }
      else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, SSMLPackage.MINUS__RIGHT, newRight, newRight));
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @Override
    public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
    {
      switch (featureID)
      {
        case SSMLPackage.MINUS__LEFT:
          return basicSetLeft(null, msgs);
        case SSMLPackage.MINUS__RIGHT:
          return basicSetRight(null, msgs);
      }
      return super.eInverseRemove(otherEnd, featureID, msgs);
    }
  
    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    @Override
    public Object eGet(int featureID, boolean resolve, boolean coreType)
    {
      switch (featureID)
      {
        case SSMLPackage.MINUS__LEFT:
          return getLeft();
        case SSMLPackage.MINUS__RIGHT:
          return getRight();
      }
  