示例#1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case TypesPackage.OPERATION__PARAMETERS:
       getParameters().clear();
       getParameters().addAll((Collection<? extends Parameter>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case SparqlasPackage.CLASS_DECLARATION__CLASS:
       setClass((west.twouse.language.sparqlas.Class) newValue);
       return;
     case SparqlasPackage.CLASS_DECLARATION__CLASS_VARIABLE:
       setClassVariable((ClassVariable) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
示例#3
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case SpecapiLangPackage.API__BASE_URL:
       setBaseUrl((String) newValue);
       return;
     case SpecapiLangPackage.API__BLOCKS:
       getBlocks().clear();
       getBlocks().addAll((Collection<? extends ServiceBlock>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }