示例#1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case FormPackage.LISTBOX_TYPE__OPTION:
       getOption().clear();
       return;
     case FormPackage.LISTBOX_TYPE__BIND:
       setBind(BIND_EDEFAULT);
       return;
     case FormPackage.LISTBOX_TYPE__BOUND_COLUMN:
       setBoundColumn(BOUND_COLUMN_EDEFAULT);
       return;
     case FormPackage.LISTBOX_TYPE__CONTROL_IMPLEMENTATION:
       setControlImplementation(CONTROL_IMPLEMENTATION_EDEFAULT);
       return;
     case FormPackage.LISTBOX_TYPE__DATA_FIELD:
       setDataField(DATA_FIELD_EDEFAULT);
       return;
     case FormPackage.LISTBOX_TYPE__DISABLED:
       unsetDisabled();
       return;
     case FormPackage.LISTBOX_TYPE__DROPDOWN:
       unsetDropdown();
       return;
     case FormPackage.LISTBOX_TYPE__ID:
       setId(ID_EDEFAULT);
       return;
     case FormPackage.LISTBOX_TYPE__LIST_SOURCE:
       setListSource(LIST_SOURCE_EDEFAULT);
       return;
     case FormPackage.LISTBOX_TYPE__LIST_SOURCE_TYPE:
       unsetListSourceType();
       return;
     case FormPackage.LISTBOX_TYPE__MULTIPLE:
       unsetMultiple();
       return;
     case FormPackage.LISTBOX_TYPE__NAME:
       setName(NAME_EDEFAULT);
       return;
     case FormPackage.LISTBOX_TYPE__PRINTABLE:
       unsetPrintable();
       return;
     case FormPackage.LISTBOX_TYPE__SIZE:
       setSize(SIZE_EDEFAULT);
       return;
     case FormPackage.LISTBOX_TYPE__TAB_INDEX:
       unsetTabIndex();
       return;
     case FormPackage.LISTBOX_TYPE__TAB_STOP:
       unsetTabStop();
       return;
     case FormPackage.LISTBOX_TYPE__TITLE:
       setTitle(TITLE_EDEFAULT);
       return;
     case FormPackage.LISTBOX_TYPE__XFORMS_LIST_SOURCE:
       setXformsListSource(XFORMS_LIST_SOURCE_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
示例#2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case FormPackage.LISTBOX_TYPE__OPTION:
       getOption().clear();
       getOption().addAll((Collection<? extends OptionType>) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__BIND:
       setBind((String) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__BOUND_COLUMN:
       setBoundColumn((String) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__CONTROL_IMPLEMENTATION:
       setControlImplementation((String) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__DATA_FIELD:
       setDataField((String) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__DISABLED:
       setDisabled((org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__DROPDOWN:
       setDropdown((org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__ID:
       setId((String) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__LIST_SOURCE:
       setListSource((String) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__LIST_SOURCE_TYPE:
       setListSourceType((ListSourceTypeType) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__MULTIPLE:
       setMultiple((org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__NAME:
       setName((String) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__PRINTABLE:
       setPrintable((org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__SIZE:
       setSize((BigInteger) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__TAB_INDEX:
       setTabIndex((BigInteger) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__TAB_STOP:
       setTabStop((org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) newValue);
       return;
     case FormPackage.LISTBOX_TYPE__TITLE:
       setTitle(newValue);
       return;
     case FormPackage.LISTBOX_TYPE__XFORMS_LIST_SOURCE:
       setXformsListSource((String) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }