Ejemplo n.º 1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public void eUnset(int featureID) {
   switch (featureID) {
     case SQLTablesPackage.TABLE__COLUMNS:
       getColumns().clear();
       return;
     case SQLTablesPackage.TABLE__SUPERTABLE:
       setSupertable((Table) null);
       return;
     case SQLTablesPackage.TABLE__SUBTABLES:
       getSubtables().clear();
       return;
     case SQLTablesPackage.TABLE__SCHEMA:
       setSchema((Schema) null);
       return;
     case SQLTablesPackage.TABLE__UDT:
       setUdt((StructuredUserDefinedType) null);
       return;
     case SQLTablesPackage.TABLE__TRIGGERS:
       getTriggers().clear();
       return;
     case SQLTablesPackage.TABLE__INDEX:
       getIndex().clear();
       return;
     case SQLTablesPackage.TABLE__SELF_REF_COLUMN_GENERATION:
       setSelfRefColumnGeneration(SELF_REF_COLUMN_GENERATION_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
Ejemplo n.º 2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case SQLTablesPackage.TABLE__COLUMNS:
       getColumns().clear();
       getColumns().addAll((Collection) newValue);
       return;
     case SQLTablesPackage.TABLE__SUPERTABLE:
       setSupertable((Table) newValue);
       return;
     case SQLTablesPackage.TABLE__SUBTABLES:
       getSubtables().clear();
       getSubtables().addAll((Collection) newValue);
       return;
     case SQLTablesPackage.TABLE__SCHEMA:
       setSchema((Schema) newValue);
       return;
     case SQLTablesPackage.TABLE__UDT:
       setUdt((StructuredUserDefinedType) newValue);
       return;
     case SQLTablesPackage.TABLE__TRIGGERS:
       getTriggers().clear();
       getTriggers().addAll((Collection) newValue);
       return;
     case SQLTablesPackage.TABLE__INDEX:
       getIndex().clear();
       getIndex().addAll((Collection) newValue);
       return;
     case SQLTablesPackage.TABLE__SELF_REF_COLUMN_GENERATION:
       setSelfRefColumnGeneration((ReferenceType) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public void eUnset(int featureID) {
   switch (featureID) {
     case LUWPackage.LUW_DATABASE_CONTAINER__CONTAINER_TYPE:
       setContainerType(CONTAINER_TYPE_EDEFAULT);
       return;
     case LUWPackage.LUW_DATABASE_CONTAINER__SIZE_IN_PAGES:
       setSizeInPages(SIZE_IN_PAGES_EDEFAULT);
       return;
     case LUWPackage.LUW_DATABASE_CONTAINER__SIZE:
       setSize(SIZE_EDEFAULT);
       return;
     case LUWPackage.LUW_DATABASE_CONTAINER__SIZE_UNITS:
       setSizeUnits(SIZE_UNITS_EDEFAULT);
       return;
     case LUWPackage.LUW_DATABASE_CONTAINER__TABLE_SPACE:
       setTableSpace((LUWTableSpace) null);
       return;
     case LUWPackage.LUW_DATABASE_CONTAINER__PARTITIONS:
       getPartitions().clear();
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case LUWPackage.LUW_DATABASE_CONTAINER__CONTAINER_TYPE:
       setContainerType((LUWContainerType) newValue);
       return;
     case LUWPackage.LUW_DATABASE_CONTAINER__SIZE_IN_PAGES:
       setSizeInPages(((Integer) newValue).intValue());
       return;
     case LUWPackage.LUW_DATABASE_CONTAINER__SIZE:
       setSize(((Integer) newValue).intValue());
       return;
     case LUWPackage.LUW_DATABASE_CONTAINER__SIZE_UNITS:
       setSizeUnits((UnitType) newValue);
       return;
     case LUWPackage.LUW_DATABASE_CONTAINER__TABLE_SPACE:
       setTableSpace((LUWTableSpace) newValue);
       return;
     case LUWPackage.LUW_DATABASE_CONTAINER__PARTITIONS:
       getPartitions().clear();
       getPartitions().addAll((Collection) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }