예제 #1
0
 /** @generated */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case mclevmcadPackage.MDEPLOYED_DEVICE__DEVICE:
       setDevice((MDevice) null);
       return;
     case mclevmcadPackage.MDEPLOYED_DEVICE__PARAMETER_VALUE_ASSIGNMENTS:
       getParameterValueAssignments().clear();
       return;
   }
   super.eUnset(featureID);
 }
예제 #2
0
 /** @generated */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case mclevmcadPackage.MDEPLOYED_DEVICE__DEVICE:
       setDevice((MDevice) newValue);
       return;
     case mclevmcadPackage.MDEPLOYED_DEVICE__PARAMETER_VALUE_ASSIGNMENTS:
       getParameterValueAssignments().clear();
       getParameterValueAssignments()
           .addAll((Collection<? extends MParameterValueAssignment>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }