Exemplo n.º 1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case EsbPackage.DESCRIPTION__VALUE:
       setValue((String) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case EsbPackage.ABSTRACT_BOOLEAN_FEATURE__FEATURE_NAME:
       setFeatureName((String) newValue);
       return;
     case EsbPackage.ABSTRACT_BOOLEAN_FEATURE__FEATURE_ENABLED:
       setFeatureEnabled((Boolean) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case DeploymentPackage.DEPLOYMENT_PLAN__COMPONENTS:
       getComponents().clear();
       getComponents().addAll((Collection) newValue);
       return;
     case DeploymentPackage.DEPLOYMENT_PLAN__NODES:
       getNodes().clear();
       getNodes().addAll((Collection) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Exemplo n.º 4
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case EsbPackage.NAMESPACED_PROPERTY__PRETTY_NAME:
       setPrettyName((String) newValue);
       return;
     case EsbPackage.NAMESPACED_PROPERTY__PROPERTY_NAME:
       setPropertyName((String) newValue);
       return;
     case EsbPackage.NAMESPACED_PROPERTY__PROPERTY_VALUE:
       setPropertyValue((String) newValue);
       return;
     case EsbPackage.NAMESPACED_PROPERTY__NAMESPACES:
       setNamespaces((Map<String, String>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }