/**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case DomainmodelPackage.PACKAGE_DECLARATION__ELEMENTS:
       getElements().clear();
       return;
   }
   super.eUnset(featureID);
 }
示例#2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case XtextTestPackage.GROUP__TOKENS:
       getTokens().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 DomainmodelPackage.PACKAGE_DECLARATION__ELEMENTS:
       getElements().clear();
       getElements().addAll((Collection<? extends AbstractElement>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
示例#4
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case XtextTestPackage.GROUP__TOKENS:
       getTokens().clear();
       getTokens().addAll((Collection<? extends AbstractElement>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case MongoBeansPackage.MONGO_BEAN__NAME:
       setName(NAME_EDEFAULT);
       return;
     case MongoBeansPackage.MONGO_BEAN__FEATURES:
       getFeatures().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 MongoBeansPackage.MONGO_BEAN__NAME:
       setName((String) newValue);
       return;
     case MongoBeansPackage.MONGO_BEAN__FEATURES:
       getFeatures().clear();
       getFeatures().addAll((Collection<? extends AbstractFeature>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }