Example #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public ResourceType getTo() {
   if (to != null && to.eIsProxy()) {
     InternalEObject oldTo = (InternalEObject) to;
     to = (ResourceType) eResolveProxy(oldTo);
     if (to != oldTo) {
       if (eNotificationRequired())
         eNotify(
             new ENotificationImpl(
                 this, Notification.RESOLVE, PlatformPackage.BINDS_TO__TO, oldTo, to));
     }
   }
   return to;
 }
Example #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public ResourceType getFrom() {
   if (from != null && from.eIsProxy()) {
     InternalEObject oldFrom = (InternalEObject) from;
     from = (ResourceType) eResolveProxy(oldFrom);
     if (from != oldFrom) {
       if (eNotificationRequired())
         eNotify(
             new ENotificationImpl(
                 this, Notification.RESOLVE, PlatformPackage.BINDS_TO__FROM, oldFrom, from));
     }
   }
   return from;
 }