예제 #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case QVTOperationalPackage.MODEL_TYPE__ADDITIONAL_CONDITION:
       getAdditionalCondition().clear();
       return;
     case QVTOperationalPackage.MODEL_TYPE__CONFORMANCE_KIND:
       setConformanceKind(CONFORMANCE_KIND_EDEFAULT);
       return;
     case QVTOperationalPackage.MODEL_TYPE__METAMODEL:
       getMetamodel().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 QVTOperationalPackage.MODEL_TYPE__ADDITIONAL_CONDITION:
       getAdditionalCondition().clear();
       getAdditionalCondition().addAll((Collection<? extends OCLExpression>) newValue);
       return;
     case QVTOperationalPackage.MODEL_TYPE__CONFORMANCE_KIND:
       setConformanceKind((String) newValue);
       return;
     case QVTOperationalPackage.MODEL_TYPE__METAMODEL:
       getMetamodel().clear();
       getMetamodel().addAll((Collection<? extends EPackage>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }