예제 #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case ContentfwkPackage.LOCATION__CONTAINS_ACTORS:
       getContainsActors().clear();
       getContainsActors().addAll((Collection<? extends Actor>) newValue);
       return;
     case ContentfwkPackage.LOCATION__CONTAINS_ORGANIZATION_UNITS:
       getContainsOrganizationUnits().clear();
       getContainsOrganizationUnits().addAll((Collection<? extends OrganizationUnit>) newValue);
       return;
     case ContentfwkPackage.LOCATION__CONTAINS_PHYSICAL_DATA_COMPONENTS:
       getContainsPhysicalDataComponents().clear();
       getContainsPhysicalDataComponents()
           .addAll((Collection<? extends PhysicalDataComponent>) newValue);
       return;
     case ContentfwkPackage.LOCATION__CONTAINS_PHYSICAL_APPLICATION_COMPONENTS:
       getContainsPhysicalApplicationComponents().clear();
       getContainsPhysicalApplicationComponents()
           .addAll((Collection<? extends PhysicalApplicationComponent>) newValue);
       return;
     case ContentfwkPackage.LOCATION__CONTAINS_PHYSICAL_TECHNOLOGY_COMPONENTS:
       getContainsPhysicalTechnologyComponents().clear();
       getContainsPhysicalTechnologyComponents()
           .addAll((Collection<? extends PhysicalTechnologyComponent>) newValue);
       return;
     case ContentfwkPackage.LOCATION__DECOMPOSES_LOCATION:
       setDecomposesLocation((Location) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
예제 #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case ContentfwkPackage.LOCATION__CONTAINS_ACTORS:
       getContainsActors().clear();
       return;
     case ContentfwkPackage.LOCATION__CONTAINS_ORGANIZATION_UNITS:
       getContainsOrganizationUnits().clear();
       return;
     case ContentfwkPackage.LOCATION__CONTAINS_PHYSICAL_DATA_COMPONENTS:
       getContainsPhysicalDataComponents().clear();
       return;
     case ContentfwkPackage.LOCATION__CONTAINS_PHYSICAL_APPLICATION_COMPONENTS:
       getContainsPhysicalApplicationComponents().clear();
       return;
     case ContentfwkPackage.LOCATION__CONTAINS_PHYSICAL_TECHNOLOGY_COMPONENTS:
       getContainsPhysicalTechnologyComponents().clear();
       return;
     case ContentfwkPackage.LOCATION__DECOMPOSES_LOCATION:
       setDecomposesLocation((Location) null);
       return;
   }
   super.eUnset(featureID);
 }