/** @generated */
    public void setEStructuralFeature(final EStructuralFeature eStructuralFeature) {

      final EClass eClass = SubstitutionzvonModelPackage.INSTANCE.getRootTypeEClass();
      switch (eClass.getFeatureID(eStructuralFeature)) {
        case SubstitutionzvonModelPackage.ROOTTYPE_MYABSTRACT_FEATURE_ID:
          getTarget().setFeature(RootTypeMyAbstractGroupFeatureGroup.Feature.MYABSTRACT);
          return;
        default:
          throw new IllegalArgumentException(
              "EStructuralFeature " + eStructuralFeature + " not supported here");
      }
    }
    /** @generated */
    public void setEStructuralFeature(final EStructuralFeature eStructuralFeature) {
      if (eStructuralFeature == XMLTypePackage.eINSTANCE.getXMLTypeDocumentRoot_Text()) {
        getTarget().setFeature(DocumentRootMixedFeatureGroup.Feature.TEXT);
        return;
      } else if (eStructuralFeature == XMLTypePackage.eINSTANCE.getXMLTypeDocumentRoot_CDATA()) {
        getTarget().setFeature(DocumentRootMixedFeatureGroup.Feature.CDATA);
        return;
      } else if (eStructuralFeature == XMLTypePackage.eINSTANCE.getXMLTypeDocumentRoot_Comment()) {
        getTarget().setFeature(DocumentRootMixedFeatureGroup.Feature.COMMENT);
        return;
      }

      final EClass eClass = SubstitutionzvonModelPackage.INSTANCE.getDocumentRootEClass();
      switch (eClass.getFeatureID(eStructuralFeature)) {
        case SubstitutionzvonModelPackage.DOCUMENTROOT_COMPLEXEVEN_FEATURE_ID:
          getTarget().setFeature(DocumentRootMixedFeatureGroup.Feature.COMPLEXEVEN);
          return;
        case SubstitutionzvonModelPackage.DOCUMENTROOT_MYCOMPLEXABSTRACT_FEATURE_ID:
          getTarget().setFeature(DocumentRootMixedFeatureGroup.Feature.MYCOMPLEXABSTRACT);
          return;
        case SubstitutionzvonModelPackage.DOCUMENTROOT_COMPLEXODD_FEATURE_ID:
          getTarget().setFeature(DocumentRootMixedFeatureGroup.Feature.COMPLEXODD);
          return;
        case SubstitutionzvonModelPackage.DOCUMENTROOT_EVEN_FEATURE_ID:
          getTarget().setFeature(DocumentRootMixedFeatureGroup.Feature.EVEN);
          return;
        case SubstitutionzvonModelPackage.DOCUMENTROOT_MYABSTRACT_FEATURE_ID:
          getTarget().setFeature(DocumentRootMixedFeatureGroup.Feature.MYABSTRACT);
          return;
        case SubstitutionzvonModelPackage.DOCUMENTROOT_ODD_FEATURE_ID:
          getTarget().setFeature(DocumentRootMixedFeatureGroup.Feature.ODD);
          return;
        case SubstitutionzvonModelPackage.DOCUMENTROOT_ROOT_FEATURE_ID:
          getTarget().setFeature(DocumentRootMixedFeatureGroup.Feature.ROOT);
          return;
        default:
          throw new IllegalArgumentException(
              "EStructuralFeature " + eStructuralFeature + " not supported here");
      }
    }