コード例 #1
0
 /**
  *
  * <!-- 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);
 }
コード例 #2
0
ファイル: IncludeCSImpl.java プロジェクト: ewillink/ocl
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case CompleteOCLCSTPackage.INCLUDE_CS__NAMESPACE:
       setNamespace((Namespace) null);
       return;
   }
   super.eUnset(featureID);
 }
コード例 #3
0
ファイル: IncludeCSImpl.java プロジェクト: ewillink/ocl
 /**
  *
  * <!-- 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);
 }
コード例 #4
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case QVTrelationCSTPackage.RELATION_CS__TOP:
       setTop(TOP_EDEFAULT);
       return;
     case QVTrelationCSTPackage.RELATION_CS__OVERRIDES:
       setOverrides((Relation) null);
       return;
     case QVTrelationCSTPackage.RELATION_CS__VAR_DECLARATIONS:
       getVarDeclarations().clear();
       return;
     case QVTrelationCSTPackage.RELATION_CS__DOMAINS:
       getDomains().clear();
       return;
     case QVTrelationCSTPackage.RELATION_CS__WHEN:
       setWhen((PatternCS) null);
       return;
     case QVTrelationCSTPackage.RELATION_CS__WHERE:
       setWhere((PatternCS) null);
       return;
   }
   super.eUnset(featureID);
 }