/**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case QVTrelationCSTPackage.RELATION_CS__TOP:
       setTop((Boolean) newValue);
       return;
     case QVTrelationCSTPackage.RELATION_CS__OVERRIDES:
       setOverrides((Relation) newValue);
       return;
     case QVTrelationCSTPackage.RELATION_CS__VAR_DECLARATIONS:
       getVarDeclarations().clear();
       getVarDeclarations().addAll((Collection<? extends VarDeclarationCS>) newValue);
       return;
     case QVTrelationCSTPackage.RELATION_CS__DOMAINS:
       getDomains().clear();
       getDomains().addAll((Collection<? extends AbstractDomainCS>) newValue);
       return;
     case QVTrelationCSTPackage.RELATION_CS__WHEN:
       setWhen((PatternCS) newValue);
       return;
     case QVTrelationCSTPackage.RELATION_CS__WHERE:
       setWhere((PatternCS) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Beispiel #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case CompleteOCLCSTPackage.INCLUDE_CS__NAMESPACE:
       setNamespace((Namespace) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }