Beispiel #1
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 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 #4
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);
 }
 /**
  *
  * <!-- 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);
 }