Пример #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case InteropPackage.EXEC_PROCESS__COMMAND:
       setCommand((String) newValue);
       return;
     case InteropPackage.EXEC_PROCESS__ARGS:
       getArgs().clear();
       getArgs().addAll((Collection<? extends String>) newValue);
       return;
     case InteropPackage.EXEC_PROCESS__TIMEOUT:
       setTimeout((Integer) newValue);
       return;
     case InteropPackage.EXEC_PROCESS__IGNORE_EXIT_CODE:
       setIgnoreExitCode((Boolean) newValue);
       return;
     case InteropPackage.EXEC_PROCESS__IGNORE_STDERR:
       setIgnoreStderr((Boolean) newValue);
       return;
     case InteropPackage.EXEC_PROCESS__STDIN:
       setStdin((String) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Пример #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case CommandsPackage.GET_LOG__LEVELS:
       getLevels().clear();
       return;
     case CommandsPackage.GET_LOG__LIMIT:
       setLimit(LIMIT_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
Пример #3
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case CommandsPackage.GET_LOG__LEVELS:
       getLevels().clear();
       getLevels().addAll((Collection<? extends String>) newValue);
       return;
     case CommandsPackage.GET_LOG__LIMIT:
       setLimit((Integer) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Пример #4
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case OperationsPackage.REPEAT__INDEX:
       setIndex((Val) null);
       return;
     case OperationsPackage.REPEAT__TIMES:
       setTimes(TIMES_EDEFAULT);
       return;
     case OperationsPackage.REPEAT__COMMAND:
       setCommand((Command) null);
       return;
     case OperationsPackage.REPEAT__DELAY:
       setDelay(DELAY_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
Пример #5
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case OperationsPackage.REPEAT__INDEX:
       setIndex((Val) newValue);
       return;
     case OperationsPackage.REPEAT__TIMES:
       setTimes((Integer) newValue);
       return;
     case OperationsPackage.REPEAT__COMMAND:
       setCommand((Command) newValue);
       return;
     case OperationsPackage.REPEAT__DELAY:
       setDelay((Integer) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Пример #6
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case InteropPackage.EXEC_PROCESS__COMMAND:
       setCommand(COMMAND_EDEFAULT);
       return;
     case InteropPackage.EXEC_PROCESS__ARGS:
       getArgs().clear();
       return;
     case InteropPackage.EXEC_PROCESS__TIMEOUT:
       setTimeout(TIMEOUT_EDEFAULT);
       return;
     case InteropPackage.EXEC_PROCESS__IGNORE_EXIT_CODE:
       setIgnoreExitCode(IGNORE_EXIT_CODE_EDEFAULT);
       return;
     case InteropPackage.EXEC_PROCESS__IGNORE_STDERR:
       setIgnoreStderr(IGNORE_STDERR_EDEFAULT);
       return;
     case InteropPackage.EXEC_PROCESS__STDIN:
       setStdin(STDIN_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }