コード例 #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case MailPackage.MAIL_CONSUMES__SCHEME:
       unsetScheme();
       return;
     case MailPackage.MAIL_CONSUMES__HOST:
       setHost(HOST_EDEFAULT);
       return;
     case MailPackage.MAIL_CONSUMES__PORT:
       setPort(PORT_EDEFAULT);
       return;
     case MailPackage.MAIL_CONSUMES__USER:
       setUser(USER_EDEFAULT);
       return;
     case MailPackage.MAIL_CONSUMES__PASSWORD:
       setPassword(PASSWORD_EDEFAULT);
       return;
     case MailPackage.MAIL_CONSUMES__FOLDER:
       setFolder(FOLDER_EDEFAULT);
       return;
     case MailPackage.MAIL_CONSUMES__DELETE:
       setDelete(DELETE_EDEFAULT);
       return;
     case MailPackage.MAIL_CONSUMES__PERIOD:
       setPeriod(PERIOD_EDEFAULT);
       return;
     case MailPackage.MAIL_CONSUMES__ISXMLCONTENT:
       setIsxmlcontent(ISXMLCONTENT_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 MailPackage.MAIL_CONSUMES__SCHEME:
       setScheme((Scheme) newValue);
       return;
     case MailPackage.MAIL_CONSUMES__HOST:
       setHost((String) newValue);
       return;
     case MailPackage.MAIL_CONSUMES__PORT:
       setPort((Integer) newValue);
       return;
     case MailPackage.MAIL_CONSUMES__USER:
       setUser((String) newValue);
       return;
     case MailPackage.MAIL_CONSUMES__PASSWORD:
       setPassword((String) newValue);
       return;
     case MailPackage.MAIL_CONSUMES__FOLDER:
       setFolder((String) newValue);
       return;
     case MailPackage.MAIL_CONSUMES__DELETE:
       setDelete((Boolean) newValue);
       return;
     case MailPackage.MAIL_CONSUMES__PERIOD:
       setPeriod((Integer) newValue);
       return;
     case MailPackage.MAIL_CONSUMES__ISXMLCONTENT:
       setIsxmlcontent((Boolean) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }