示例#1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case EurPackage.CRITERIA__CONTEXT:
       getContext().clear();
       return;
     case EurPackage.CRITERIA__ASSUMPTION:
       getAssumption().clear();
       return;
   }
   super.eUnset(featureID);
 }
示例#2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case EurPackage.CRITERIA__CONTEXT:
       getContext().clear();
       getContext().addAll((Collection<? extends Context>) newValue);
       return;
     case EurPackage.CRITERIA__ASSUMPTION:
       getAssumption().clear();
       getAssumption().addAll((Collection<? extends Assumption>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }