Esempio n. 1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case ComputationconstraintPackage.LOGICAL_PATH__STRAND:
       getStrand().clear();
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__SEGMENT:
       getSegment().clear();
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__TRANSFORMATION_OCCURRENCE:
       setTransformationOccurrence((TransformationOccurrence) null);
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__PRECEDING_EXECUTION_EVENT_CHAIN:
       getPrecedingExecutionEventChain().clear();
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__SUCCEEDING_EXECUTION_EVENT_CHAIN:
       getSucceedingExecutionEventChain().clear();
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__CORRESPONDING_EXECUTION_EVENT_CHAIN:
       getCorrespondingExecutionEventChain().clear();
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__LOGICAL_RESPONSE:
       getLogicalResponse().clear();
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__LOGICAL_STIMULUS:
       getLogicalStimulus().clear();
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case EnvironmentPackage.CLAMP_CONNECTOR__BASE_CONNECTOR:
       setBase_Connector((Connector) null);
       return;
     case EnvironmentPackage.CLAMP_CONNECTOR__PORT:
       getPort().clear();
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case EnvironmentPackage.CLAMP_CONNECTOR__BASE_CONNECTOR:
       setBase_Connector((Connector) newValue);
       return;
     case EnvironmentPackage.CLAMP_CONNECTOR__PORT:
       getPort().clear();
       getPort().addAll((Collection<? extends ClampConnectorInstanceRef>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Esempio n. 4
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case ComputationconstraintPackage.LOGICAL_PATH__STRAND:
       getStrand().clear();
       getStrand().addAll((Collection<? extends LogicalPath>) newValue);
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__SEGMENT:
       getSegment().clear();
       getSegment().addAll((Collection<? extends LogicalPath>) newValue);
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__TRANSFORMATION_OCCURRENCE:
       setTransformationOccurrence((TransformationOccurrence) newValue);
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__PRECEDING_EXECUTION_EVENT_CHAIN:
       getPrecedingExecutionEventChain().clear();
       getPrecedingExecutionEventChain().addAll((Collection<? extends EventChain>) newValue);
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__SUCCEEDING_EXECUTION_EVENT_CHAIN:
       getSucceedingExecutionEventChain().clear();
       getSucceedingExecutionEventChain().addAll((Collection<? extends EventChain>) newValue);
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__CORRESPONDING_EXECUTION_EVENT_CHAIN:
       getCorrespondingExecutionEventChain().clear();
       getCorrespondingExecutionEventChain().addAll((Collection<? extends EventChain>) newValue);
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__LOGICAL_RESPONSE:
       getLogicalResponse().clear();
       getLogicalResponse().addAll((Collection<? extends LogicalEvent>) newValue);
       return;
     case ComputationconstraintPackage.LOGICAL_PATH__LOGICAL_STIMULUS:
       getLogicalStimulus().clear();
       getLogicalStimulus().addAll((Collection<? extends LogicalEvent>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }