/**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case ErrorModelPackage.ERROR_PROPAGATIONS__USE_TYPES:
       getUseTypes().clear();
       getUseTypes().addAll((Collection<? extends ErrorModelLibrary>) newValue);
       return;
     case ErrorModelPackage.ERROR_PROPAGATIONS__USE_BEHAVIOR:
       setUseBehavior((ErrorBehaviorStateMachine) newValue);
       return;
     case ErrorModelPackage.ERROR_PROPAGATIONS__PROPAGATIONS:
       getPropagations().clear();
       getPropagations().addAll((Collection<? extends ErrorPropagation>) newValue);
       return;
     case ErrorModelPackage.ERROR_PROPAGATIONS__FLOWS:
       getFlows().clear();
       getFlows().addAll((Collection<? extends ErrorFlow>) newValue);
       return;
     case ErrorModelPackage.ERROR_PROPAGATIONS__PROPERTIES:
       getProperties().clear();
       getProperties().addAll((Collection<? extends PropertyAssociation>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case ErrorModelPackage.ERROR_PROPAGATIONS__USE_TYPES:
       getUseTypes().clear();
       return;
     case ErrorModelPackage.ERROR_PROPAGATIONS__USE_BEHAVIOR:
       setUseBehavior((ErrorBehaviorStateMachine) null);
       return;
     case ErrorModelPackage.ERROR_PROPAGATIONS__PROPAGATIONS:
       getPropagations().clear();
       return;
     case ErrorModelPackage.ERROR_PROPAGATIONS__FLOWS:
       getFlows().clear();
       return;
     case ErrorModelPackage.ERROR_PROPAGATIONS__PROPERTIES:
       getProperties().clear();
       return;
   }
   super.eUnset(featureID);
 }