| 1 | /** |
| 2 | * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany |
| 3 | * |
| 4 | * $Id$ |
| 5 | */ |
| 6 | package de.uka.ipd.sdq.pcm.qosannotations.impl; |
| 7 | |
| 8 | import java.util.Collection; |
| 9 | |
| 10 | import org.eclipse.emf.common.notify.Notification; |
| 11 | import org.eclipse.emf.common.notify.NotificationChain; |
| 12 | import org.eclipse.emf.common.util.EList; |
| 13 | import org.eclipse.emf.ecore.EClass; |
| 14 | import org.eclipse.emf.ecore.InternalEObject; |
| 15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
| 16 | import org.eclipse.emf.ecore.impl.EObjectImpl; |
| 17 | import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; |
| 18 | import org.eclipse.emf.ecore.util.EcoreUtil; |
| 19 | import org.eclipse.emf.ecore.util.InternalEList; |
| 20 | |
| 21 | import de.uka.ipd.sdq.pcm.parameter.ParameterPackage; |
| 22 | import de.uka.ipd.sdq.pcm.parameter.VariableUsage; |
| 23 | import de.uka.ipd.sdq.pcm.qosannotations.QoSAnnotations; |
| 24 | import de.uka.ipd.sdq.pcm.qosannotations.QosannotationsPackage; |
| 25 | import de.uka.ipd.sdq.pcm.qosannotations.SpecifiedOutputParameterAbstraction; |
| 26 | import de.uka.ipd.sdq.pcm.repository.Role; |
| 27 | import de.uka.ipd.sdq.pcm.repository.Signature; |
| 28 | |
| 29 | /** |
| 30 | * <!-- begin-user-doc --> |
| 31 | * An implementation of the model object '<em><b>Specified Output Parameter Abstraction</b></em>'. |
| 32 | * <!-- end-user-doc --> |
| 33 | * <p> |
| 34 | * The following features are implemented: |
| 35 | * <ul> |
| 36 | * <li>{@link de.uka.ipd.sdq.pcm.qosannotations.impl.SpecifiedOutputParameterAbstractionImpl#getSignature_SpecifiedOutputParameterAbstraction <em>Signature Specified Output Parameter Abstraction</em>}</li> |
| 37 | * <li>{@link de.uka.ipd.sdq.pcm.qosannotations.impl.SpecifiedOutputParameterAbstractionImpl#getRole_SpecifiedOutputParameterAbstraction <em>Role Specified Output Parameter Abstraction</em>}</li> |
| 38 | * <li>{@link de.uka.ipd.sdq.pcm.qosannotations.impl.SpecifiedOutputParameterAbstractionImpl#getExpectedExternalOutputs_SpecifiedOutputParameterAbstraction <em>Expected External Outputs Specified Output Parameter Abstraction</em>}</li> |
| 39 | * <li>{@link de.uka.ipd.sdq.pcm.qosannotations.impl.SpecifiedOutputParameterAbstractionImpl#getQosAnnotations_SpecifiedOutputParameterAbstraction <em>Qos Annotations Specified Output Parameter Abstraction</em>}</li> |
| 40 | * </ul> |
| 41 | * </p> |
| 42 | * |
| 43 | * @generated |
| 44 | */ |
| 45 | public abstract class SpecifiedOutputParameterAbstractionImpl extends EObjectImpl implements SpecifiedOutputParameterAbstraction { |
| 46 | /** |
| 47 | * <!-- begin-user-doc --> |
| 48 | * <!-- end-user-doc --> |
| 49 | * @generated |
| 50 | */ |
| 51 | public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany"; |
| 52 | |
| 53 | /** |
| 54 | * The cached value of the '{@link #getSignature_SpecifiedOutputParameterAbstraction() <em>Signature Specified Output Parameter Abstraction</em>}' reference. |
| 55 | * <!-- begin-user-doc --> |
| 56 | * <!-- end-user-doc --> |
| 57 | * @see #getSignature_SpecifiedOutputParameterAbstraction() |
| 58 | * @generated |
| 59 | * @ordered |
| 60 | */ |
| 61 | protected Signature signature_SpecifiedOutputParameterAbstraction; |
| 62 | |
| 63 | /** |
| 64 | * The cached value of the '{@link #getRole_SpecifiedOutputParameterAbstraction() <em>Role Specified Output Parameter Abstraction</em>}' reference. |
| 65 | * <!-- begin-user-doc --> |
| 66 | * <!-- end-user-doc --> |
| 67 | * @see #getRole_SpecifiedOutputParameterAbstraction() |
| 68 | * @generated |
| 69 | * @ordered |
| 70 | */ |
| 71 | protected Role role_SpecifiedOutputParameterAbstraction; |
| 72 | |
| 73 | /** |
| 74 | * The cached value of the '{@link #getExpectedExternalOutputs_SpecifiedOutputParameterAbstraction() <em>Expected External Outputs Specified Output Parameter Abstraction</em>}' containment reference list. |
| 75 | * <!-- begin-user-doc --> |
| 76 | * <!-- end-user-doc --> |
| 77 | * @see #getExpectedExternalOutputs_SpecifiedOutputParameterAbstraction() |
| 78 | * @generated |
| 79 | * @ordered |
| 80 | */ |
| 81 | protected EList<VariableUsage> expectedExternalOutputs_SpecifiedOutputParameterAbstraction; |
| 82 | |
| 83 | /** |
| 84 | * <!-- begin-user-doc --> |
| 85 | * <!-- end-user-doc --> |
| 86 | * @generated |
| 87 | */ |
| 88 | protected SpecifiedOutputParameterAbstractionImpl() { |
| 89 | super(); |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * <!-- begin-user-doc --> |
| 94 | * <!-- end-user-doc --> |
| 95 | * @generated |
| 96 | */ |
| 97 | @Override |
| 98 | protected EClass eStaticClass() { |
| 99 | return QosannotationsPackage.Literals.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION; |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * <!-- begin-user-doc --> |
| 104 | * <!-- end-user-doc --> |
| 105 | * @generated |
| 106 | */ |
| 107 | public QoSAnnotations getQosAnnotations_SpecifiedOutputParameterAbstraction() { |
| 108 | if (eContainerFeatureID() != QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__QOS_ANNOTATIONS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION) return null; |
| 109 | return (QoSAnnotations)eContainer(); |
| 110 | } |
| 111 | |
| 112 | /** |
| 113 | * <!-- begin-user-doc --> |
| 114 | * <!-- end-user-doc --> |
| 115 | * @generated |
| 116 | */ |
| 117 | public NotificationChain basicSetQosAnnotations_SpecifiedOutputParameterAbstraction(QoSAnnotations newQosAnnotations_SpecifiedOutputParameterAbstraction, NotificationChain msgs) { |
| 118 | msgs = eBasicSetContainer((InternalEObject)newQosAnnotations_SpecifiedOutputParameterAbstraction, QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__QOS_ANNOTATIONS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION, msgs); |
| 119 | return msgs; |
| 120 | } |
| 121 | |
| 122 | /** |
| 123 | * <!-- begin-user-doc --> |
| 124 | * <!-- end-user-doc --> |
| 125 | * @generated |
| 126 | */ |
| 127 | public void setQosAnnotations_SpecifiedOutputParameterAbstraction(QoSAnnotations newQosAnnotations_SpecifiedOutputParameterAbstraction) { |
| 128 | if (newQosAnnotations_SpecifiedOutputParameterAbstraction != eInternalContainer() || (eContainerFeatureID() != QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__QOS_ANNOTATIONS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION && newQosAnnotations_SpecifiedOutputParameterAbstraction != null)) { |
| 129 | if (EcoreUtil.isAncestor(this, newQosAnnotations_SpecifiedOutputParameterAbstraction)) |
| 130 | throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); |
| 131 | NotificationChain msgs = null; |
| 132 | if (eInternalContainer() != null) |
| 133 | msgs = eBasicRemoveFromContainer(msgs); |
| 134 | if (newQosAnnotations_SpecifiedOutputParameterAbstraction != null) |
| 135 | msgs = ((InternalEObject)newQosAnnotations_SpecifiedOutputParameterAbstraction).eInverseAdd(this, QosannotationsPackage.QO_SANNOTATIONS__SPECIFIED_OUTPUT_PARAMETER_ABSTRACTIONS_QO_SANNOTATIONS, QoSAnnotations.class, msgs); |
| 136 | msgs = basicSetQosAnnotations_SpecifiedOutputParameterAbstraction(newQosAnnotations_SpecifiedOutputParameterAbstraction, msgs); |
| 137 | if (msgs != null) msgs.dispatch(); |
| 138 | } |
| 139 | else if (eNotificationRequired()) |
| 140 | eNotify(new ENotificationImpl(this, Notification.SET, QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__QOS_ANNOTATIONS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION, newQosAnnotations_SpecifiedOutputParameterAbstraction, newQosAnnotations_SpecifiedOutputParameterAbstraction)); |
| 141 | } |
| 142 | |
| 143 | /** |
| 144 | * <!-- begin-user-doc --> |
| 145 | * <!-- end-user-doc --> |
| 146 | * @generated |
| 147 | */ |
| 148 | public Signature getSignature_SpecifiedOutputParameterAbstraction() { |
| 149 | if (signature_SpecifiedOutputParameterAbstraction != null && signature_SpecifiedOutputParameterAbstraction.eIsProxy()) { |
| 150 | InternalEObject oldSignature_SpecifiedOutputParameterAbstraction = (InternalEObject)signature_SpecifiedOutputParameterAbstraction; |
| 151 | signature_SpecifiedOutputParameterAbstraction = (Signature)eResolveProxy(oldSignature_SpecifiedOutputParameterAbstraction); |
| 152 | if (signature_SpecifiedOutputParameterAbstraction != oldSignature_SpecifiedOutputParameterAbstraction) { |
| 153 | if (eNotificationRequired()) |
| 154 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__SIGNATURE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION, oldSignature_SpecifiedOutputParameterAbstraction, signature_SpecifiedOutputParameterAbstraction)); |
| 155 | } |
| 156 | } |
| 157 | return signature_SpecifiedOutputParameterAbstraction; |
| 158 | } |
| 159 | |
| 160 | /** |
| 161 | * <!-- begin-user-doc --> |
| 162 | * <!-- end-user-doc --> |
| 163 | * @generated |
| 164 | */ |
| 165 | public Signature basicGetSignature_SpecifiedOutputParameterAbstraction() { |
| 166 | return signature_SpecifiedOutputParameterAbstraction; |
| 167 | } |
| 168 | |
| 169 | /** |
| 170 | * <!-- begin-user-doc --> |
| 171 | * <!-- end-user-doc --> |
| 172 | * @generated |
| 173 | */ |
| 174 | public void setSignature_SpecifiedOutputParameterAbstraction(Signature newSignature_SpecifiedOutputParameterAbstraction) { |
| 175 | Signature oldSignature_SpecifiedOutputParameterAbstraction = signature_SpecifiedOutputParameterAbstraction; |
| 176 | signature_SpecifiedOutputParameterAbstraction = newSignature_SpecifiedOutputParameterAbstraction; |
| 177 | if (eNotificationRequired()) |
| 178 | eNotify(new ENotificationImpl(this, Notification.SET, QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__SIGNATURE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION, oldSignature_SpecifiedOutputParameterAbstraction, signature_SpecifiedOutputParameterAbstraction)); |
| 179 | } |
| 180 | |
| 181 | /** |
| 182 | * <!-- begin-user-doc --> |
| 183 | * <!-- end-user-doc --> |
| 184 | * @generated |
| 185 | */ |
| 186 | public Role getRole_SpecifiedOutputParameterAbstraction() { |
| 187 | if (role_SpecifiedOutputParameterAbstraction != null && role_SpecifiedOutputParameterAbstraction.eIsProxy()) { |
| 188 | InternalEObject oldRole_SpecifiedOutputParameterAbstraction = (InternalEObject)role_SpecifiedOutputParameterAbstraction; |
| 189 | role_SpecifiedOutputParameterAbstraction = (Role)eResolveProxy(oldRole_SpecifiedOutputParameterAbstraction); |
| 190 | if (role_SpecifiedOutputParameterAbstraction != oldRole_SpecifiedOutputParameterAbstraction) { |
| 191 | if (eNotificationRequired()) |
| 192 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__ROLE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION, oldRole_SpecifiedOutputParameterAbstraction, role_SpecifiedOutputParameterAbstraction)); |
| 193 | } |
| 194 | } |
| 195 | return role_SpecifiedOutputParameterAbstraction; |
| 196 | } |
| 197 | |
| 198 | /** |
| 199 | * <!-- begin-user-doc --> |
| 200 | * <!-- end-user-doc --> |
| 201 | * @generated |
| 202 | */ |
| 203 | public Role basicGetRole_SpecifiedOutputParameterAbstraction() { |
| 204 | return role_SpecifiedOutputParameterAbstraction; |
| 205 | } |
| 206 | |
| 207 | /** |
| 208 | * <!-- begin-user-doc --> |
| 209 | * <!-- end-user-doc --> |
| 210 | * @generated |
| 211 | */ |
| 212 | public void setRole_SpecifiedOutputParameterAbstraction(Role newRole_SpecifiedOutputParameterAbstraction) { |
| 213 | Role oldRole_SpecifiedOutputParameterAbstraction = role_SpecifiedOutputParameterAbstraction; |
| 214 | role_SpecifiedOutputParameterAbstraction = newRole_SpecifiedOutputParameterAbstraction; |
| 215 | if (eNotificationRequired()) |
| 216 | eNotify(new ENotificationImpl(this, Notification.SET, QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__ROLE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION, oldRole_SpecifiedOutputParameterAbstraction, role_SpecifiedOutputParameterAbstraction)); |
| 217 | } |
| 218 | |
| 219 | /** |
| 220 | * <!-- begin-user-doc --> |
| 221 | * <!-- end-user-doc --> |
| 222 | * @generated |
| 223 | */ |
| 224 | public EList<VariableUsage> getExpectedExternalOutputs_SpecifiedOutputParameterAbstraction() { |
| 225 | if (expectedExternalOutputs_SpecifiedOutputParameterAbstraction == null) { |
| 226 | expectedExternalOutputs_SpecifiedOutputParameterAbstraction = new EObjectContainmentWithInverseEList<VariableUsage>(VariableUsage.class, this, QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__EXPECTED_EXTERNAL_OUTPUTS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION, ParameterPackage.VARIABLE_USAGE__SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION_EXPECTED_EXTERNAL_OUTPUTS_VARIABLE_USAGE); |
| 227 | } |
| 228 | return expectedExternalOutputs_SpecifiedOutputParameterAbstraction; |
| 229 | } |
| 230 | |
| 231 | /** |
| 232 | * <!-- begin-user-doc --> |
| 233 | * <!-- end-user-doc --> |
| 234 | * @generated |
| 235 | */ |
| 236 | @SuppressWarnings("unchecked") |
| 237 | @Override |
| 238 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
| 239 | switch (featureID) { |
| 240 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__EXPECTED_EXTERNAL_OUTPUTS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 241 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getExpectedExternalOutputs_SpecifiedOutputParameterAbstraction()).basicAdd(otherEnd, msgs); |
| 242 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__QOS_ANNOTATIONS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 243 | if (eInternalContainer() != null) |
| 244 | msgs = eBasicRemoveFromContainer(msgs); |
| 245 | return basicSetQosAnnotations_SpecifiedOutputParameterAbstraction((QoSAnnotations)otherEnd, msgs); |
| 246 | } |
| 247 | return super.eInverseAdd(otherEnd, featureID, msgs); |
| 248 | } |
| 249 | |
| 250 | /** |
| 251 | * <!-- begin-user-doc --> |
| 252 | * <!-- end-user-doc --> |
| 253 | * @generated |
| 254 | */ |
| 255 | @Override |
| 256 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
| 257 | switch (featureID) { |
| 258 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__EXPECTED_EXTERNAL_OUTPUTS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 259 | return ((InternalEList<?>)getExpectedExternalOutputs_SpecifiedOutputParameterAbstraction()).basicRemove(otherEnd, msgs); |
| 260 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__QOS_ANNOTATIONS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 261 | return basicSetQosAnnotations_SpecifiedOutputParameterAbstraction(null, msgs); |
| 262 | } |
| 263 | return super.eInverseRemove(otherEnd, featureID, msgs); |
| 264 | } |
| 265 | |
| 266 | /** |
| 267 | * <!-- begin-user-doc --> |
| 268 | * <!-- end-user-doc --> |
| 269 | * @generated |
| 270 | */ |
| 271 | @Override |
| 272 | public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { |
| 273 | switch (eContainerFeatureID()) { |
| 274 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__QOS_ANNOTATIONS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 275 | return eInternalContainer().eInverseRemove(this, QosannotationsPackage.QO_SANNOTATIONS__SPECIFIED_OUTPUT_PARAMETER_ABSTRACTIONS_QO_SANNOTATIONS, QoSAnnotations.class, msgs); |
| 276 | } |
| 277 | return super.eBasicRemoveFromContainerFeature(msgs); |
| 278 | } |
| 279 | |
| 280 | /** |
| 281 | * <!-- begin-user-doc --> |
| 282 | * <!-- end-user-doc --> |
| 283 | * @generated |
| 284 | */ |
| 285 | @Override |
| 286 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
| 287 | switch (featureID) { |
| 288 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__SIGNATURE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 289 | if (resolve) return getSignature_SpecifiedOutputParameterAbstraction(); |
| 290 | return basicGetSignature_SpecifiedOutputParameterAbstraction(); |
| 291 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__ROLE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 292 | if (resolve) return getRole_SpecifiedOutputParameterAbstraction(); |
| 293 | return basicGetRole_SpecifiedOutputParameterAbstraction(); |
| 294 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__EXPECTED_EXTERNAL_OUTPUTS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 295 | return getExpectedExternalOutputs_SpecifiedOutputParameterAbstraction(); |
| 296 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__QOS_ANNOTATIONS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 297 | return getQosAnnotations_SpecifiedOutputParameterAbstraction(); |
| 298 | } |
| 299 | return super.eGet(featureID, resolve, coreType); |
| 300 | } |
| 301 | |
| 302 | /** |
| 303 | * <!-- begin-user-doc --> |
| 304 | * <!-- end-user-doc --> |
| 305 | * @generated |
| 306 | */ |
| 307 | @SuppressWarnings("unchecked") |
| 308 | @Override |
| 309 | public void eSet(int featureID, Object newValue) { |
| 310 | switch (featureID) { |
| 311 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__SIGNATURE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 312 | setSignature_SpecifiedOutputParameterAbstraction((Signature)newValue); |
| 313 | return; |
| 314 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__ROLE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 315 | setRole_SpecifiedOutputParameterAbstraction((Role)newValue); |
| 316 | return; |
| 317 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__EXPECTED_EXTERNAL_OUTPUTS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 318 | getExpectedExternalOutputs_SpecifiedOutputParameterAbstraction().clear(); |
| 319 | getExpectedExternalOutputs_SpecifiedOutputParameterAbstraction().addAll((Collection<? extends VariableUsage>)newValue); |
| 320 | return; |
| 321 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__QOS_ANNOTATIONS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 322 | setQosAnnotations_SpecifiedOutputParameterAbstraction((QoSAnnotations)newValue); |
| 323 | return; |
| 324 | } |
| 325 | super.eSet(featureID, newValue); |
| 326 | } |
| 327 | |
| 328 | /** |
| 329 | * <!-- begin-user-doc --> |
| 330 | * <!-- end-user-doc --> |
| 331 | * @generated |
| 332 | */ |
| 333 | @Override |
| 334 | public void eUnset(int featureID) { |
| 335 | switch (featureID) { |
| 336 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__SIGNATURE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 337 | setSignature_SpecifiedOutputParameterAbstraction((Signature)null); |
| 338 | return; |
| 339 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__ROLE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 340 | setRole_SpecifiedOutputParameterAbstraction((Role)null); |
| 341 | return; |
| 342 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__EXPECTED_EXTERNAL_OUTPUTS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 343 | getExpectedExternalOutputs_SpecifiedOutputParameterAbstraction().clear(); |
| 344 | return; |
| 345 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__QOS_ANNOTATIONS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 346 | setQosAnnotations_SpecifiedOutputParameterAbstraction((QoSAnnotations)null); |
| 347 | return; |
| 348 | } |
| 349 | super.eUnset(featureID); |
| 350 | } |
| 351 | |
| 352 | /** |
| 353 | * <!-- begin-user-doc --> |
| 354 | * <!-- end-user-doc --> |
| 355 | * @generated |
| 356 | */ |
| 357 | @Override |
| 358 | public boolean eIsSet(int featureID) { |
| 359 | switch (featureID) { |
| 360 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__SIGNATURE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 361 | return signature_SpecifiedOutputParameterAbstraction != null; |
| 362 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__ROLE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 363 | return role_SpecifiedOutputParameterAbstraction != null; |
| 364 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__EXPECTED_EXTERNAL_OUTPUTS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 365 | return expectedExternalOutputs_SpecifiedOutputParameterAbstraction != null && !expectedExternalOutputs_SpecifiedOutputParameterAbstraction.isEmpty(); |
| 366 | case QosannotationsPackage.SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__QOS_ANNOTATIONS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION: |
| 367 | return getQosAnnotations_SpecifiedOutputParameterAbstraction() != null; |
| 368 | } |
| 369 | return super.eIsSet(featureID); |
| 370 | } |
| 371 | |
| 372 | } //SpecifiedOutputParameterAbstractionImpl |