示例#1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case WarehouseoperationPackage.MEASUREMENT__VALUE:
       setValue(VALUE_EDEFAULT);
       return;
     case WarehouseoperationPackage.MEASUREMENT__UNIT:
       setUnit(UNIT_EDEFAULT);
       return;
     case WarehouseoperationPackage.MEASUREMENT__TYPE:
       setType(TYPE_EDEFAULT);
       return;
     case WarehouseoperationPackage.MEASUREMENT__CREATION_DATE:
       setCreationDate(CREATION_DATE_EDEFAULT);
       return;
     case WarehouseoperationPackage.MEASUREMENT__EFFECTIVE_DATE:
       setEffectiveDate(EFFECTIVE_DATE_EDEFAULT);
       return;
     case WarehouseoperationPackage.MEASUREMENT__MODEL_ELEMENT:
       setModelElement((ModelElement) null);
       return;
   }
   super.eUnset(featureID);
 }
示例#2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case WarehouseoperationPackage.MEASUREMENT__VALUE:
       setValue((String) newValue);
       return;
     case WarehouseoperationPackage.MEASUREMENT__UNIT:
       setUnit((String) newValue);
       return;
     case WarehouseoperationPackage.MEASUREMENT__TYPE:
       setType((String) newValue);
       return;
     case WarehouseoperationPackage.MEASUREMENT__CREATION_DATE:
       setCreationDate((String) newValue);
       return;
     case WarehouseoperationPackage.MEASUREMENT__EFFECTIVE_DATE:
       setEffectiveDate((String) newValue);
       return;
     case WarehouseoperationPackage.MEASUREMENT__MODEL_ELEMENT:
       setModelElement((ModelElement) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }