Exemple #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case HypervisorPackage.MACHINE__NAME:
       setName(NAME_EDEFAULT);
       return;
     case HypervisorPackage.MACHINE__BOOT:
       setBoot(BOOT_EDEFAULT);
       return;
     case HypervisorPackage.MACHINE__UUID:
       setUuid(UUID_EDEFAULT);
       return;
     case HypervisorPackage.MACHINE__OFFSET:
       setOffset(OFFSET_EDEFAULT);
       return;
     case HypervisorPackage.MACHINE__OS_TYPE:
       setOs_type(OS_TYPE_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
Exemple #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case HypervisorPackage.MACHINE__NAME:
       setName((String) newValue);
       return;
     case HypervisorPackage.MACHINE__BOOT:
       setBoot((String) newValue);
       return;
     case HypervisorPackage.MACHINE__UUID:
       setUuid((String) newValue);
       return;
     case HypervisorPackage.MACHINE__OFFSET:
       setOffset((String) newValue);
       return;
     case HypervisorPackage.MACHINE__OS_TYPE:
       setOs_type((String) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }