コード例 #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public Endpoint getFromEndpoint() {
   if (fromEndpoint != null && fromEndpoint.eIsProxy()) {
     InternalEObject oldFromEndpoint = (InternalEObject) fromEndpoint;
     fromEndpoint = (Endpoint) eResolveProxy(oldFromEndpoint);
     if (fromEndpoint != oldFromEndpoint) {
       if (eNotificationRequired())
         eNotify(
             new ENotificationImpl(
                 this,
                 Notification.RESOLVE,
                 EipPackage.CHANNEL__FROM_ENDPOINT,
                 oldFromEndpoint,
                 fromEndpoint));
     }
   }
   return fromEndpoint;
 }
コード例 #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public Endpoint getToEndpoint() {
   if (toEndpoint != null && toEndpoint.eIsProxy()) {
     InternalEObject oldToEndpoint = (InternalEObject) toEndpoint;
     toEndpoint = (Endpoint) eResolveProxy(oldToEndpoint);
     if (toEndpoint != oldToEndpoint) {
       if (eNotificationRequired())
         eNotify(
             new ENotificationImpl(
                 this,
                 Notification.RESOLVE,
                 EipPackage.CHANNEL__TO_ENDPOINT,
                 oldToEndpoint,
                 toEndpoint));
     }
   }
   return toEndpoint;
 }