Пример #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case BpsimPackage.FLOATING_PARAMETER_TYPE__CURRENCY_UNIT:
       setCurrencyUnit(CURRENCY_UNIT_EDEFAULT);
       return;
     case BpsimPackage.FLOATING_PARAMETER_TYPE__TIME_UNIT:
       unsetTimeUnit();
       return;
     case BpsimPackage.FLOATING_PARAMETER_TYPE__VALUE:
       unsetValue();
       return;
   }
   super.eUnset(featureID);
 }
Пример #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case BpsimPackage.FLOATING_PARAMETER_TYPE__CURRENCY_UNIT:
       setCurrencyUnit((String) newValue);
       return;
     case BpsimPackage.FLOATING_PARAMETER_TYPE__TIME_UNIT:
       setTimeUnit((TimeUnit) newValue);
       return;
     case BpsimPackage.FLOATING_PARAMETER_TYPE__VALUE:
       setValue((Double) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }