Пример #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case TransportPackage.LOAD_UNLOAD_EDGE_LABEL__NEXT_VALUE_VALID:
       setNextValueValid(NEXT_VALUE_VALID_EDEFAULT);
       return;
     case TransportPackage.LOAD_UNLOAD_EDGE_LABEL__NEXT_VALUE:
       setNextValue((LabelValue) null);
       return;
     case TransportPackage.LOAD_UNLOAD_EDGE_LABEL__DECORATOR:
       setDecorator((Decorator) null);
       return;
     case TransportPackage.LOAD_UNLOAD_EDGE_LABEL__ACTIVATION_TIME:
       setActivationTime((STEMTime) null);
       return;
     case TransportPackage.LOAD_UNLOAD_EDGE_LABEL__DEACTIVATION_TIME:
       setDeactivationTime((STEMTime) null);
       return;
     case TransportPackage.LOAD_UNLOAD_EDGE_LABEL__ACTIVATED_RATE:
       setActivatedRate(ACTIVATED_RATE_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
Пример #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case TransportPackage.LOAD_UNLOAD_EDGE_LABEL__NEXT_VALUE_VALID:
       setNextValueValid((Boolean) newValue);
       return;
     case TransportPackage.LOAD_UNLOAD_EDGE_LABEL__NEXT_VALUE:
       setNextValue((LabelValue) newValue);
       return;
     case TransportPackage.LOAD_UNLOAD_EDGE_LABEL__DECORATOR:
       setDecorator((Decorator) newValue);
       return;
     case TransportPackage.LOAD_UNLOAD_EDGE_LABEL__ACTIVATION_TIME:
       setActivationTime((STEMTime) newValue);
       return;
     case TransportPackage.LOAD_UNLOAD_EDGE_LABEL__DEACTIVATION_TIME:
       setDeactivationTime((STEMTime) newValue);
       return;
     case TransportPackage.LOAD_UNLOAD_EDGE_LABEL__ACTIVATED_RATE:
       setActivatedRate((Double) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }