/**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case DiscoveryPackage.INSTALLABLE_COMPONENT__NAME:
       setName(NAME_EDEFAULT);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__PROVIDER:
       setProvider(PROVIDER_EDEFAULT);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__SITES_URLS:
       getSitesURLS().clear();
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__DESCRIPTION:
       setDescription(DESCRIPTION_EDEFAULT);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__OVERVIEW:
       setOverview((Overview) null);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__CATEGORY:
       setCategory((Category) null);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__ID:
       getId().clear();
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__LICENSE:
       setLicense(LICENSE_EDEFAULT);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__SELECTED:
       setSelected(SELECTED_EDEFAULT);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__AVAILABLE:
       setAvailable(AVAILABLE_EDEFAULT);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__INSTALLED:
       setInstalled(INSTALLED_EDEFAULT);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__GROUPS:
       getGroups().clear();
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__IMAGE32:
       setImage32(IMAGE32_EDEFAULT);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__INCUBATION:
       setIncubation(INCUBATION_EDEFAULT);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__MESSAGES:
       getMessages().clear();
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__VISIBLE:
       setVisible(VISIBLE_EDEFAULT);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__HIDDING_FEATURE_ID:
       getHiddingFeatureID().clear();
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case TypeInfoModelPackage.FUNCTION_TYPE__RETURN_TYPE:
       setReturnType((JSType) null);
       return;
     case TypeInfoModelPackage.FUNCTION_TYPE__PARAMETERS:
       getParameters().clear();
       return;
   }
   super.eUnset(featureID);
 }
Beispiel #3
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case ReqIF10Package.EMBEDDED_VALUE__KEY:
       unsetKey();
       return;
     case ReqIF10Package.EMBEDDED_VALUE__OTHER_CONTENT:
       unsetOtherContent();
       return;
   }
   super.eUnset(featureID);
 }
Beispiel #4
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case ReqIF10Package.EMBEDDED_VALUE__KEY:
       setKey((BigInteger) newValue);
       return;
     case ReqIF10Package.EMBEDDED_VALUE__OTHER_CONTENT:
       setOtherContent((String) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case TypeInfoModelPackage.FUNCTION_TYPE__RETURN_TYPE:
       setReturnType((JSType) newValue);
       return;
     case TypeInfoModelPackage.FUNCTION_TYPE__PARAMETERS:
       getParameters().clear();
       getParameters().addAll((Collection<? extends Parameter>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case ComparePackage.MATCH_RESOURCE__LEFT_URI:
       setLeftURI(LEFT_URI_EDEFAULT);
       return;
     case ComparePackage.MATCH_RESOURCE__RIGHT_URI:
       setRightURI(RIGHT_URI_EDEFAULT);
       return;
     case ComparePackage.MATCH_RESOURCE__ORIGIN_URI:
       setOriginURI(ORIGIN_URI_EDEFAULT);
       return;
     case ComparePackage.MATCH_RESOURCE__LEFT:
       setLeft(LEFT_EDEFAULT);
       return;
     case ComparePackage.MATCH_RESOURCE__RIGHT:
       setRight(RIGHT_EDEFAULT);
       return;
     case ComparePackage.MATCH_RESOURCE__ORIGIN:
       setOrigin(ORIGIN_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case ComparePackage.MATCH_RESOURCE__LEFT_URI:
       setLeftURI((String) newValue);
       return;
     case ComparePackage.MATCH_RESOURCE__RIGHT_URI:
       setRightURI((String) newValue);
       return;
     case ComparePackage.MATCH_RESOURCE__ORIGIN_URI:
       setOriginURI((String) newValue);
       return;
     case ComparePackage.MATCH_RESOURCE__LEFT:
       setLeft((Resource) newValue);
       return;
     case ComparePackage.MATCH_RESOURCE__RIGHT:
       setRight((Resource) newValue);
       return;
     case ComparePackage.MATCH_RESOURCE__ORIGIN:
       setOrigin((Resource) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Beispiel #8
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case XhtmlPackage.XHTML_H3_TYPE__MIXED:
       ((FeatureMap.Internal) getMixed()).set(newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__XHTML_INLINE_MIX:
       ((FeatureMap.Internal) getXhtmlInlineMix()).set(newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__BR:
       getBr().clear();
       getBr().addAll((Collection<? extends XhtmlBrType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__SPAN:
       getSpan().clear();
       getSpan().addAll((Collection<? extends XhtmlSpanType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__EM:
       getEm().clear();
       getEm().addAll((Collection<? extends XhtmlEmType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__STRONG:
       getStrong().clear();
       getStrong().addAll((Collection<? extends XhtmlStrongType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__DFN:
       getDfn().clear();
       getDfn().addAll((Collection<? extends XhtmlDfnType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__CODE:
       getCode().clear();
       getCode().addAll((Collection<? extends XhtmlCodeType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__SAMP:
       getSamp().clear();
       getSamp().addAll((Collection<? extends XhtmlSampType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__KBD:
       getKbd().clear();
       getKbd().addAll((Collection<? extends XhtmlKbdType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__VAR:
       getVar().clear();
       getVar().addAll((Collection<? extends XhtmlVarType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__CITE:
       getCite().clear();
       getCite().addAll((Collection<? extends XhtmlCiteType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__ABBR:
       getAbbr().clear();
       getAbbr().addAll((Collection<? extends XhtmlAbbrType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__ACRONYM:
       getAcronym().clear();
       getAcronym().addAll((Collection<? extends XhtmlAcronymType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__Q:
       getQ().clear();
       getQ().addAll((Collection<? extends XhtmlQType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__TT:
       getTt().clear();
       getTt().addAll((Collection<? extends XhtmlInlPresType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__I:
       getI().clear();
       getI().addAll((Collection<? extends XhtmlInlPresType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__B:
       getB().clear();
       getB().addAll((Collection<? extends XhtmlInlPresType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__BIG:
       getBig().clear();
       getBig().addAll((Collection<? extends XhtmlInlPresType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__SMALL:
       getSmall().clear();
       getSmall().addAll((Collection<? extends XhtmlInlPresType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__SUB:
       getSub().clear();
       getSub().addAll((Collection<? extends XhtmlInlPresType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__SUP:
       getSup().clear();
       getSup().addAll((Collection<? extends XhtmlInlPresType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__A:
       getA().clear();
       getA().addAll((Collection<? extends XhtmlAType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__OBJECT:
       getObject().clear();
       getObject().addAll((Collection<? extends XhtmlObjectType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__INS:
       getIns().clear();
       getIns().addAll((Collection<? extends XhtmlEditType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__DEL:
       getDel().clear();
       getDel().addAll((Collection<? extends XhtmlEditType>) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__CLASS:
       setClass((String) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__ID:
       setId((String) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__LANG:
       setLang((String) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__SPACE:
       setSpace((SpaceType) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__STYLE:
       setStyle((String) newValue);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__TITLE:
       setTitle((String) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Beispiel #9
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case XhtmlPackage.XHTML_H3_TYPE__MIXED:
       getMixed().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__XHTML_INLINE_MIX:
       getXhtmlInlineMix().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__BR:
       getBr().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__SPAN:
       getSpan().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__EM:
       getEm().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__STRONG:
       getStrong().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__DFN:
       getDfn().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__CODE:
       getCode().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__SAMP:
       getSamp().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__KBD:
       getKbd().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__VAR:
       getVar().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__CITE:
       getCite().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__ABBR:
       getAbbr().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__ACRONYM:
       getAcronym().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__Q:
       getQ().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__TT:
       getTt().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__I:
       getI().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__B:
       getB().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__BIG:
       getBig().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__SMALL:
       getSmall().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__SUB:
       getSub().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__SUP:
       getSup().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__A:
       getA().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__OBJECT:
       getObject().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__INS:
       getIns().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__DEL:
       getDel().clear();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__CLASS:
       setClass(CLASS_EDEFAULT);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__ID:
       setId(ID_EDEFAULT);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__LANG:
       setLang(LANG_EDEFAULT);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__SPACE:
       unsetSpace();
       return;
     case XhtmlPackage.XHTML_H3_TYPE__STYLE:
       setStyle(STYLE_EDEFAULT);
       return;
     case XhtmlPackage.XHTML_H3_TYPE__TITLE:
       setTitle(TITLE_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case DiscoveryPackage.INSTALLABLE_COMPONENT__NAME:
       setName((String) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__PROVIDER:
       setProvider((String) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__SITES_URLS:
       getSitesURLS().clear();
       getSitesURLS().addAll((Collection<? extends String>) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__DESCRIPTION:
       setDescription((String) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__OVERVIEW:
       setOverview((Overview) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__CATEGORY:
       setCategory((Category) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__ID:
       getId().clear();
       getId().addAll((Collection<? extends String>) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__LICENSE:
       setLicense((String) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__SELECTED:
       setSelected((Boolean) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__AVAILABLE:
       setAvailable((Boolean) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__INSTALLED:
       setInstalled((Boolean) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__GROUPS:
       getGroups().clear();
       getGroups().addAll((Collection<? extends Group>) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__IMAGE32:
       setImage32((String) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__INCUBATION:
       setIncubation((Boolean) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__MESSAGES:
       getMessages().clear();
       getMessages().addAll((Collection<? extends Message>) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__VISIBLE:
       setVisible((Boolean) newValue);
       return;
     case DiscoveryPackage.INSTALLABLE_COMPONENT__HIDDING_FEATURE_ID:
       getHiddingFeatureID().clear();
       getHiddingFeatureID().addAll((Collection<? extends String>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }