Package org.eclipse.emf.ecore

Examples of org.eclipse.emf.ecore.InternalEObject.eClass()


      if (!hasInstanceClass())
      {
        return
          internalEObject.eInverseRemove
            (owner,
             internalEObject.eClass().getFeatureID(getInverseEReference()),
             null,
             notifications);
      }
      else
      {
View Full Code Here


      if (!hasInstanceClass())
      {
        return
          internalEObject.eInverseAdd
            (owner,
             internalEObject.eClass().getFeatureID(getInverseEReference()),
             null,
             notifications);
      }
      else
      {
View Full Code Here

      if (!hasInstanceClass())
      {
        return
          internalEObject.eInverseRemove
            (owner,
             internalEObject.eClass().getFeatureID(getInverseEReference()),
             null,
             notifications);
      }
      else
      {
View Full Code Here

      {
        InternalEObject oldValue = (InternalEObject)eDynamicGet(feature, false);
        if (oldValue != null)
        {
          notifications = oldValue.eInverseRemove
            (this, oldValue.eClass().getFeatureID(((EReference)feature).getEOpposite()), null, notifications);
          notifications = featureMap.basicRemove(feature, oldValue, notifications);
        }

        return featureMap.basicAdd(feature, otherEnd, notifications);
      }
View Full Code Here

       EReference reference = (EReference)feature;
       EReference opposite = reference.getEOpposite();
       if (opposite != null)
       {
         notifications = object.eInverseRemove(owner, object.eClass().getFeatureID(opposite), null, notifications);
         notifications = ((InternalEObject)resolved).eInverseAdd(owner, resolved.eClass().getFeatureID(opposite), null, notifications);
       }
       else if (reference.isContainment())
       {
         int inverseFeatureID = InternalEObject.EOPPOSITE_FEATURE_BASE - owner.eClass().getFeatureID(reference);
View Full Code Here

      {
        InternalEObject oldValue = (InternalEObject)eDynamicGet(feature, false);
        if (oldValue != null)
        {
          notifications = oldValue.eInverseRemove
            (this, oldValue.eClass().getFeatureID(((EReference)feature).getEOpposite()), null, notifications);
          notifications = featureMap.basicRemove(feature, oldValue, notifications);
        }

        return featureMap.basicAdd(feature, otherEnd, notifications);
      }
View Full Code Here

        EReference reference = (EReference)feature;
        EReference opposite = reference.getEOpposite();
        if (opposite != null)
        {
          notifications = object.eInverseRemove(owner, object.eClass().getFeatureID(opposite), null, notifications);
          notifications = ((InternalEObject)resolved).eInverseAdd(owner, resolved.eClass().getFeatureID(opposite), null, notifications);
        }
        else if (reference.isContainment())
        {
          int inverseFeatureID = InternalEObject.EOPPOSITE_FEATURE_BASE - owner.eClass().getFeatureID(reference);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.