Пример #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public State getCurrentState() {
   if (currentState != null && currentState.eIsProxy()) {
     InternalEObject oldCurrentState = (InternalEObject) currentState;
     currentState = (State) eResolveProxy(oldCurrentState);
     if (currentState != oldCurrentState) {
       if (eNotificationRequired())
         eNotify(
             new ENotificationImpl(
                 this,
                 Notification.RESOLVE,
                 Lts_avPackage.LTS__CURRENT_STATE,
                 oldCurrentState,
                 currentState));
     }
   }
   return currentState;
 }
Пример #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public State getInitialState() {
   if (initialState != null && initialState.eIsProxy()) {
     InternalEObject oldInitialState = (InternalEObject) initialState;
     initialState = (State) eResolveProxy(oldInitialState);
     if (initialState != oldInitialState) {
       if (eNotificationRequired())
         eNotify(
             new ENotificationImpl(
                 this,
                 Notification.RESOLVE,
                 Lts_avPackage.LTS__INITIAL_STATE,
                 oldInitialState,
                 initialState));
     }
   }
   return initialState;
 }