コード例 #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case ServicesPackage.ABSTRACT_SETTING__SETTING_TYPE:
       setSettingType((SettingType) null);
       return;
     case ServicesPackage.ABSTRACT_SETTING__USER_EXPOSED:
       setUserExposed(USER_EXPOSED_EDEFAULT);
       return;
     case ServicesPackage.ABSTRACT_SETTING__USER_EDITABLE:
       setUserEditable(USER_EDITABLE_EDEFAULT);
       return;
     case ServicesPackage.ABSTRACT_SETTING__CAN_BE_PUBLISHED:
       setCanBePublished(CAN_BE_PUBLISHED_EDEFAULT);
       return;
     case ServicesPackage.ABSTRACT_SETTING__READABLE:
       setReadable(READABLE_EDEFAULT);
       return;
     case ServicesPackage.ABSTRACT_SETTING__WRITABLE:
       setWritable(WRITABLE_EDEFAULT);
       return;
     case ServicesPackage.ABSTRACT_SETTING__SETTING_CONSTRAINTS:
       getSettingConstraints().clear();
       return;
     case ServicesPackage.ABSTRACT_SETTING__REQUIRES_PARAMS:
       getRequiresParams().clear();
       return;
     case ServicesPackage.ABSTRACT_SETTING__OPTIONAL:
       setOptional(OPTIONAL_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
コード例 #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case ProvidersitePackage.SITE_LOCATION__ADDRESS:
       setAddress(ADDRESS_EDEFAULT);
       return;
     case ProvidersitePackage.SITE_LOCATION__GEOCOORDS:
       setGeocoords(GEOCOORDS_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }