/** * * <!-- 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); }
/** * * <!-- 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); }