Пример #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public State2 getSource() {
   if (source != null && source.eIsProxy()) {
     InternalEObject oldSource = (InternalEObject) source;
     source = (State2) eResolveProxy(oldSource);
     if (source != oldSource) {
       if (eNotificationRequired())
         eNotify(
             new ENotificationImpl(
                 this,
                 Notification.RESOLVE,
                 FinitestatemachinesPackage.TRANSITION2__SOURCE,
                 oldSource,
                 source));
     }
   }
   return source;
 }
Пример #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public State2 getTarget() {
   if (target != null && target.eIsProxy()) {
     InternalEObject oldTarget = (InternalEObject) target;
     target = (State2) eResolveProxy(oldTarget);
     if (target != oldTarget) {
       if (eNotificationRequired())
         eNotify(
             new ENotificationImpl(
                 this,
                 Notification.RESOLVE,
                 FinitestatemachinesPackage.TRANSITION2__TARGET,
                 oldTarget,
                 target));
     }
   }
   return target;
 }