Ejemplo n.º 1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case InstancePackage.SYSTEM_OPERATION_MODE__CURRENT_MODE:
       getCurrentModes().clear();
       return;
   }
   super.eUnset(featureID);
 }
Ejemplo n.º 2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case InstancePackage.SYSTEM_OPERATION_MODE__CURRENT_MODE:
       getCurrentModes().clear();
       getCurrentModes().addAll((Collection<? extends ModeInstance>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }