/**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case Aadl2Package.THREAD_IMPLEMENTATION__OWNED_SUBPROGRAM_GROUP_SUBCOMPONENT:
       getOwnedSubprogramGroupSubcomponents().clear();
       return;
     case Aadl2Package.THREAD_IMPLEMENTATION__OWNED_SUBPROGRAM_SUBCOMPONENT:
       getOwnedSubprogramSubcomponents().clear();
       return;
     case Aadl2Package.THREAD_IMPLEMENTATION__OWNED_DATA_SUBCOMPONENT:
       getOwnedDataSubcomponents().clear();
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case Aadl2Package.THREAD_IMPLEMENTATION__OWNED_SUBPROGRAM_GROUP_SUBCOMPONENT:
       getOwnedSubprogramGroupSubcomponents().clear();
       getOwnedSubprogramGroupSubcomponents()
           .addAll((Collection<? extends SubprogramGroupSubcomponent>) newValue);
       return;
     case Aadl2Package.THREAD_IMPLEMENTATION__OWNED_SUBPROGRAM_SUBCOMPONENT:
       getOwnedSubprogramSubcomponents().clear();
       getOwnedSubprogramSubcomponents()
           .addAll((Collection<? extends SubprogramSubcomponent>) newValue);
       return;
     case Aadl2Package.THREAD_IMPLEMENTATION__OWNED_DATA_SUBCOMPONENT:
       getOwnedDataSubcomponents().clear();
       getOwnedDataSubcomponents().addAll((Collection<? extends DataSubcomponent>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }