EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcm.core.composition.impl]

COVERAGE SUMMARY FOR SOURCE FILE [EventChannelSinkConnectorImpl.java]

nameclass, %method, %block, %line, %
EventChannelSinkConnectorImpl.java0%   (0/1)0%   (0/21)0%   (0/515)0%   (0/121)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class EventChannelSinkConnectorImpl0%   (0/1)0%   (0/21)0%   (0/515)0%   (0/121)
EventChannelSinkConnectorImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
basicGetAssemblyContext__EventChannelSinkConnector (): AssemblyContext 0%   (0/1)0%   (0/3)0%   (0/1)
basicGetEventChannel__EventChannelSinkConnector (): EventChannel 0%   (0/1)0%   (0/3)0%   (0/1)
basicGetSinkRole__EventChannelSinkConnector (): SinkRole 0%   (0/1)0%   (0/3)0%   (0/1)
basicSetEventChannel__EventChannelSinkConnector (EventChannel, NotificationCh... 0%   (0/1)0%   (0/29)0%   (0/6)
basicSetFilterCondition__EventChannelSinkConnector (PCMRandomVariable, Notifi... 0%   (0/1)0%   (0/29)0%   (0/6)
eGet (int, boolean, boolean): Object 0%   (0/1)0%   (0/35)0%   (0/9)
eInverseAdd (InternalEObject, int, NotificationChain): NotificationChain 0%   (0/1)0%   (0/44)0%   (0/8)
eInverseRemove (InternalEObject, int, NotificationChain): NotificationChain 0%   (0/1)0%   (0/18)0%   (0/4)
eIsSet (int): boolean 0%   (0/1)0%   (0/34)0%   (0/6)
eSet (int, Object): void 0%   (0/1)0%   (0/27)0%   (0/11)
eStaticClass (): EClass 0%   (0/1)0%   (0/2)0%   (0/1)
eUnset (int): void 0%   (0/1)0%   (0/22)0%   (0/11)
getAssemblyContext__EventChannelSinkConnector (): AssemblyContext 0%   (0/1)0%   (0/38)0%   (0/7)
getEventChannel__EventChannelSinkConnector (): EventChannel 0%   (0/1)0%   (0/38)0%   (0/7)
getFilterCondition__EventChannelSinkConnector (): PCMRandomVariable 0%   (0/1)0%   (0/3)0%   (0/1)
getSinkRole__EventChannelSinkConnector (): SinkRole 0%   (0/1)0%   (0/38)0%   (0/7)
setAssemblyContext__EventChannelSinkConnector (AssemblyContext): void 0%   (0/1)0%   (0/21)0%   (0/5)
setEventChannel__EventChannelSinkConnector (EventChannel): void 0%   (0/1)0%   (0/52)0%   (0/11)
setFilterCondition__EventChannelSinkConnector (PCMRandomVariable): void 0%   (0/1)0%   (0/52)0%   (0/11)
setSinkRole__EventChannelSinkConnector (SinkRole): void 0%   (0/1)0%   (0/21)0%   (0/5)

1/**
2 * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.pcm.core.composition.impl;
7 
8import org.eclipse.emf.common.notify.Notification;
9import org.eclipse.emf.common.notify.NotificationChain;
10import org.eclipse.emf.ecore.EClass;
11import org.eclipse.emf.ecore.InternalEObject;
12import org.eclipse.emf.ecore.impl.ENotificationImpl;
13 
14import de.uka.ipd.sdq.pcm.core.CorePackage;
15import de.uka.ipd.sdq.pcm.core.PCMRandomVariable;
16import de.uka.ipd.sdq.pcm.core.composition.AssemblyContext;
17import de.uka.ipd.sdq.pcm.core.composition.CompositionPackage;
18import de.uka.ipd.sdq.pcm.core.composition.EventChannel;
19import de.uka.ipd.sdq.pcm.core.composition.EventChannelSinkConnector;
20import de.uka.ipd.sdq.pcm.repository.SinkRole;
21 
22/**
23 * <!-- begin-user-doc -->
24 * An implementation of the model object '<em><b>Event Channel Sink Connector</b></em>'.
25 * <!-- end-user-doc -->
26 * <p>
27 * The following features are implemented:
28 * <ul>
29 *   <li>{@link de.uka.ipd.sdq.pcm.core.composition.impl.EventChannelSinkConnectorImpl#getSinkRole__EventChannelSinkConnector <em>Sink Role Event Channel Sink Connector</em>}</li>
30 *   <li>{@link de.uka.ipd.sdq.pcm.core.composition.impl.EventChannelSinkConnectorImpl#getFilterCondition__EventChannelSinkConnector <em>Filter Condition Event Channel Sink Connector</em>}</li>
31 *   <li>{@link de.uka.ipd.sdq.pcm.core.composition.impl.EventChannelSinkConnectorImpl#getAssemblyContext__EventChannelSinkConnector <em>Assembly Context Event Channel Sink Connector</em>}</li>
32 *   <li>{@link de.uka.ipd.sdq.pcm.core.composition.impl.EventChannelSinkConnectorImpl#getEventChannel__EventChannelSinkConnector <em>Event Channel Event Channel Sink Connector</em>}</li>
33 * </ul>
34 * </p>
35 *
36 * @generated
37 */
38public class EventChannelSinkConnectorImpl extends ConnectorImpl implements EventChannelSinkConnector {
39        /**
40         * <!-- begin-user-doc -->
41         * <!-- end-user-doc -->
42         * @generated
43         */
44        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
45 
46        /**
47         * The cached value of the '{@link #getSinkRole__EventChannelSinkConnector() <em>Sink Role Event Channel Sink Connector</em>}' reference.
48         * <!-- begin-user-doc -->
49         * <!-- end-user-doc -->
50         * @see #getSinkRole__EventChannelSinkConnector()
51         * @generated
52         * @ordered
53         */
54        protected SinkRole sinkRole__EventChannelSinkConnector;
55 
56        /**
57         * The cached value of the '{@link #getFilterCondition__EventChannelSinkConnector() <em>Filter Condition Event Channel Sink Connector</em>}' containment reference.
58         * <!-- begin-user-doc -->
59         * <!-- end-user-doc -->
60         * @see #getFilterCondition__EventChannelSinkConnector()
61         * @generated
62         * @ordered
63         */
64        protected PCMRandomVariable filterCondition__EventChannelSinkConnector;
65 
66        /**
67         * The cached value of the '{@link #getAssemblyContext__EventChannelSinkConnector() <em>Assembly Context Event Channel Sink Connector</em>}' reference.
68         * <!-- begin-user-doc -->
69         * <!-- end-user-doc -->
70         * @see #getAssemblyContext__EventChannelSinkConnector()
71         * @generated
72         * @ordered
73         */
74        protected AssemblyContext assemblyContext__EventChannelSinkConnector;
75 
76        /**
77         * The cached value of the '{@link #getEventChannel__EventChannelSinkConnector() <em>Event Channel Event Channel Sink Connector</em>}' reference.
78         * <!-- begin-user-doc -->
79         * <!-- end-user-doc -->
80         * @see #getEventChannel__EventChannelSinkConnector()
81         * @generated
82         * @ordered
83         */
84        protected EventChannel eventChannel__EventChannelSinkConnector;
85 
86        /**
87         * <!-- begin-user-doc -->
88         * <!-- end-user-doc -->
89         * @generated
90         */
91        protected EventChannelSinkConnectorImpl() {
92                super();
93        }
94 
95        /**
96         * <!-- begin-user-doc -->
97         * <!-- end-user-doc -->
98         * @generated
99         */
100        @Override
101        protected EClass eStaticClass() {
102                return CompositionPackage.Literals.EVENT_CHANNEL_SINK_CONNECTOR;
103        }
104 
105        /**
106         * <!-- begin-user-doc -->
107         * <!-- end-user-doc -->
108         * @generated
109         */
110        public SinkRole getSinkRole__EventChannelSinkConnector() {
111                if (sinkRole__EventChannelSinkConnector != null && sinkRole__EventChannelSinkConnector.eIsProxy()) {
112                        InternalEObject oldSinkRole__EventChannelSinkConnector = (InternalEObject)sinkRole__EventChannelSinkConnector;
113                        sinkRole__EventChannelSinkConnector = (SinkRole)eResolveProxy(oldSinkRole__EventChannelSinkConnector);
114                        if (sinkRole__EventChannelSinkConnector != oldSinkRole__EventChannelSinkConnector) {
115                                if (eNotificationRequired())
116                                        eNotify(new ENotificationImpl(this, Notification.RESOLVE, CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__SINK_ROLE_EVENT_CHANNEL_SINK_CONNECTOR, oldSinkRole__EventChannelSinkConnector, sinkRole__EventChannelSinkConnector));
117                        }
118                }
119                return sinkRole__EventChannelSinkConnector;
120        }
121 
122        /**
123         * <!-- begin-user-doc -->
124         * <!-- end-user-doc -->
125         * @generated
126         */
127        public SinkRole basicGetSinkRole__EventChannelSinkConnector() {
128                return sinkRole__EventChannelSinkConnector;
129        }
130 
131        /**
132         * <!-- begin-user-doc -->
133         * <!-- end-user-doc -->
134         * @generated
135         */
136        public void setSinkRole__EventChannelSinkConnector(SinkRole newSinkRole__EventChannelSinkConnector) {
137                SinkRole oldSinkRole__EventChannelSinkConnector = sinkRole__EventChannelSinkConnector;
138                sinkRole__EventChannelSinkConnector = newSinkRole__EventChannelSinkConnector;
139                if (eNotificationRequired())
140                        eNotify(new ENotificationImpl(this, Notification.SET, CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__SINK_ROLE_EVENT_CHANNEL_SINK_CONNECTOR, oldSinkRole__EventChannelSinkConnector, sinkRole__EventChannelSinkConnector));
141        }
142 
143        /**
144         * <!-- begin-user-doc -->
145         * <!-- end-user-doc -->
146         * @generated
147         */
148        public PCMRandomVariable getFilterCondition__EventChannelSinkConnector() {
149                return filterCondition__EventChannelSinkConnector;
150        }
151 
152        /**
153         * <!-- begin-user-doc -->
154         * <!-- end-user-doc -->
155         * @generated
156         */
157        public NotificationChain basicSetFilterCondition__EventChannelSinkConnector(PCMRandomVariable newFilterCondition__EventChannelSinkConnector, NotificationChain msgs) {
158                PCMRandomVariable oldFilterCondition__EventChannelSinkConnector = filterCondition__EventChannelSinkConnector;
159                filterCondition__EventChannelSinkConnector = newFilterCondition__EventChannelSinkConnector;
160                if (eNotificationRequired()) {
161                        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__FILTER_CONDITION_EVENT_CHANNEL_SINK_CONNECTOR, oldFilterCondition__EventChannelSinkConnector, newFilterCondition__EventChannelSinkConnector);
162                        if (msgs == null) msgs = notification; else msgs.add(notification);
163                }
164                return msgs;
165        }
166 
167        /**
168         * <!-- begin-user-doc -->
169         * <!-- end-user-doc -->
170         * @generated
171         */
172        public void setFilterCondition__EventChannelSinkConnector(PCMRandomVariable newFilterCondition__EventChannelSinkConnector) {
173                if (newFilterCondition__EventChannelSinkConnector != filterCondition__EventChannelSinkConnector) {
174                        NotificationChain msgs = null;
175                        if (filterCondition__EventChannelSinkConnector != null)
176                                msgs = ((InternalEObject)filterCondition__EventChannelSinkConnector).eInverseRemove(this, CorePackage.PCM_RANDOM_VARIABLE__EVENT_CHANNEL_SINK_CONNECTOR_FILTER_CONDITION, PCMRandomVariable.class, msgs);
177                        if (newFilterCondition__EventChannelSinkConnector != null)
178                                msgs = ((InternalEObject)newFilterCondition__EventChannelSinkConnector).eInverseAdd(this, CorePackage.PCM_RANDOM_VARIABLE__EVENT_CHANNEL_SINK_CONNECTOR_FILTER_CONDITION, PCMRandomVariable.class, msgs);
179                        msgs = basicSetFilterCondition__EventChannelSinkConnector(newFilterCondition__EventChannelSinkConnector, msgs);
180                        if (msgs != null) msgs.dispatch();
181                }
182                else if (eNotificationRequired())
183                        eNotify(new ENotificationImpl(this, Notification.SET, CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__FILTER_CONDITION_EVENT_CHANNEL_SINK_CONNECTOR, newFilterCondition__EventChannelSinkConnector, newFilterCondition__EventChannelSinkConnector));
184        }
185 
186        /**
187         * <!-- begin-user-doc -->
188         * <!-- end-user-doc -->
189         * @generated
190         */
191        public AssemblyContext getAssemblyContext__EventChannelSinkConnector() {
192                if (assemblyContext__EventChannelSinkConnector != null && assemblyContext__EventChannelSinkConnector.eIsProxy()) {
193                        InternalEObject oldAssemblyContext__EventChannelSinkConnector = (InternalEObject)assemblyContext__EventChannelSinkConnector;
194                        assemblyContext__EventChannelSinkConnector = (AssemblyContext)eResolveProxy(oldAssemblyContext__EventChannelSinkConnector);
195                        if (assemblyContext__EventChannelSinkConnector != oldAssemblyContext__EventChannelSinkConnector) {
196                                if (eNotificationRequired())
197                                        eNotify(new ENotificationImpl(this, Notification.RESOLVE, CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__ASSEMBLY_CONTEXT_EVENT_CHANNEL_SINK_CONNECTOR, oldAssemblyContext__EventChannelSinkConnector, assemblyContext__EventChannelSinkConnector));
198                        }
199                }
200                return assemblyContext__EventChannelSinkConnector;
201        }
202 
203        /**
204         * <!-- begin-user-doc -->
205         * <!-- end-user-doc -->
206         * @generated
207         */
208        public AssemblyContext basicGetAssemblyContext__EventChannelSinkConnector() {
209                return assemblyContext__EventChannelSinkConnector;
210        }
211 
212        /**
213         * <!-- begin-user-doc -->
214         * <!-- end-user-doc -->
215         * @generated
216         */
217        public void setAssemblyContext__EventChannelSinkConnector(AssemblyContext newAssemblyContext__EventChannelSinkConnector) {
218                AssemblyContext oldAssemblyContext__EventChannelSinkConnector = assemblyContext__EventChannelSinkConnector;
219                assemblyContext__EventChannelSinkConnector = newAssemblyContext__EventChannelSinkConnector;
220                if (eNotificationRequired())
221                        eNotify(new ENotificationImpl(this, Notification.SET, CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__ASSEMBLY_CONTEXT_EVENT_CHANNEL_SINK_CONNECTOR, oldAssemblyContext__EventChannelSinkConnector, assemblyContext__EventChannelSinkConnector));
222        }
223 
224        /**
225         * <!-- begin-user-doc -->
226         * <!-- end-user-doc -->
227         * @generated
228         */
229        public EventChannel getEventChannel__EventChannelSinkConnector() {
230                if (eventChannel__EventChannelSinkConnector != null && eventChannel__EventChannelSinkConnector.eIsProxy()) {
231                        InternalEObject oldEventChannel__EventChannelSinkConnector = (InternalEObject)eventChannel__EventChannelSinkConnector;
232                        eventChannel__EventChannelSinkConnector = (EventChannel)eResolveProxy(oldEventChannel__EventChannelSinkConnector);
233                        if (eventChannel__EventChannelSinkConnector != oldEventChannel__EventChannelSinkConnector) {
234                                if (eNotificationRequired())
235                                        eNotify(new ENotificationImpl(this, Notification.RESOLVE, CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__EVENT_CHANNEL_EVENT_CHANNEL_SINK_CONNECTOR, oldEventChannel__EventChannelSinkConnector, eventChannel__EventChannelSinkConnector));
236                        }
237                }
238                return eventChannel__EventChannelSinkConnector;
239        }
240 
241        /**
242         * <!-- begin-user-doc -->
243         * <!-- end-user-doc -->
244         * @generated
245         */
246        public EventChannel basicGetEventChannel__EventChannelSinkConnector() {
247                return eventChannel__EventChannelSinkConnector;
248        }
249 
250        /**
251         * <!-- begin-user-doc -->
252         * <!-- end-user-doc -->
253         * @generated
254         */
255        public NotificationChain basicSetEventChannel__EventChannelSinkConnector(EventChannel newEventChannel__EventChannelSinkConnector, NotificationChain msgs) {
256                EventChannel oldEventChannel__EventChannelSinkConnector = eventChannel__EventChannelSinkConnector;
257                eventChannel__EventChannelSinkConnector = newEventChannel__EventChannelSinkConnector;
258                if (eNotificationRequired()) {
259                        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__EVENT_CHANNEL_EVENT_CHANNEL_SINK_CONNECTOR, oldEventChannel__EventChannelSinkConnector, newEventChannel__EventChannelSinkConnector);
260                        if (msgs == null) msgs = notification; else msgs.add(notification);
261                }
262                return msgs;
263        }
264 
265        /**
266         * <!-- begin-user-doc -->
267         * <!-- end-user-doc -->
268         * @generated
269         */
270        public void setEventChannel__EventChannelSinkConnector(EventChannel newEventChannel__EventChannelSinkConnector) {
271                if (newEventChannel__EventChannelSinkConnector != eventChannel__EventChannelSinkConnector) {
272                        NotificationChain msgs = null;
273                        if (eventChannel__EventChannelSinkConnector != null)
274                                msgs = ((InternalEObject)eventChannel__EventChannelSinkConnector).eInverseRemove(this, CompositionPackage.EVENT_CHANNEL__EVENT_CHANNEL_SINK_CONNECTOR_EVENT_CHANNEL, EventChannel.class, msgs);
275                        if (newEventChannel__EventChannelSinkConnector != null)
276                                msgs = ((InternalEObject)newEventChannel__EventChannelSinkConnector).eInverseAdd(this, CompositionPackage.EVENT_CHANNEL__EVENT_CHANNEL_SINK_CONNECTOR_EVENT_CHANNEL, EventChannel.class, msgs);
277                        msgs = basicSetEventChannel__EventChannelSinkConnector(newEventChannel__EventChannelSinkConnector, msgs);
278                        if (msgs != null) msgs.dispatch();
279                }
280                else if (eNotificationRequired())
281                        eNotify(new ENotificationImpl(this, Notification.SET, CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__EVENT_CHANNEL_EVENT_CHANNEL_SINK_CONNECTOR, newEventChannel__EventChannelSinkConnector, newEventChannel__EventChannelSinkConnector));
282        }
283 
284        /**
285         * <!-- begin-user-doc -->
286         * <!-- end-user-doc -->
287         * @generated
288         */
289        @Override
290        public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
291                switch (featureID) {
292                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__FILTER_CONDITION_EVENT_CHANNEL_SINK_CONNECTOR:
293                                if (filterCondition__EventChannelSinkConnector != null)
294                                        msgs = ((InternalEObject)filterCondition__EventChannelSinkConnector).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__FILTER_CONDITION_EVENT_CHANNEL_SINK_CONNECTOR, null, msgs);
295                                return basicSetFilterCondition__EventChannelSinkConnector((PCMRandomVariable)otherEnd, msgs);
296                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__EVENT_CHANNEL_EVENT_CHANNEL_SINK_CONNECTOR:
297                                if (eventChannel__EventChannelSinkConnector != null)
298                                        msgs = ((InternalEObject)eventChannel__EventChannelSinkConnector).eInverseRemove(this, CompositionPackage.EVENT_CHANNEL__EVENT_CHANNEL_SINK_CONNECTOR_EVENT_CHANNEL, EventChannel.class, msgs);
299                                return basicSetEventChannel__EventChannelSinkConnector((EventChannel)otherEnd, msgs);
300                }
301                return super.eInverseAdd(otherEnd, featureID, msgs);
302        }
303 
304        /**
305         * <!-- begin-user-doc -->
306         * <!-- end-user-doc -->
307         * @generated
308         */
309        @Override
310        public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
311                switch (featureID) {
312                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__FILTER_CONDITION_EVENT_CHANNEL_SINK_CONNECTOR:
313                                return basicSetFilterCondition__EventChannelSinkConnector(null, msgs);
314                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__EVENT_CHANNEL_EVENT_CHANNEL_SINK_CONNECTOR:
315                                return basicSetEventChannel__EventChannelSinkConnector(null, msgs);
316                }
317                return super.eInverseRemove(otherEnd, featureID, msgs);
318        }
319 
320        /**
321         * <!-- begin-user-doc -->
322         * <!-- end-user-doc -->
323         * @generated
324         */
325        @Override
326        public Object eGet(int featureID, boolean resolve, boolean coreType) {
327                switch (featureID) {
328                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__SINK_ROLE_EVENT_CHANNEL_SINK_CONNECTOR:
329                                if (resolve) return getSinkRole__EventChannelSinkConnector();
330                                return basicGetSinkRole__EventChannelSinkConnector();
331                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__FILTER_CONDITION_EVENT_CHANNEL_SINK_CONNECTOR:
332                                return getFilterCondition__EventChannelSinkConnector();
333                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__ASSEMBLY_CONTEXT_EVENT_CHANNEL_SINK_CONNECTOR:
334                                if (resolve) return getAssemblyContext__EventChannelSinkConnector();
335                                return basicGetAssemblyContext__EventChannelSinkConnector();
336                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__EVENT_CHANNEL_EVENT_CHANNEL_SINK_CONNECTOR:
337                                if (resolve) return getEventChannel__EventChannelSinkConnector();
338                                return basicGetEventChannel__EventChannelSinkConnector();
339                }
340                return super.eGet(featureID, resolve, coreType);
341        }
342 
343        /**
344         * <!-- begin-user-doc -->
345         * <!-- end-user-doc -->
346         * @generated
347         */
348        @Override
349        public void eSet(int featureID, Object newValue) {
350                switch (featureID) {
351                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__SINK_ROLE_EVENT_CHANNEL_SINK_CONNECTOR:
352                                setSinkRole__EventChannelSinkConnector((SinkRole)newValue);
353                                return;
354                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__FILTER_CONDITION_EVENT_CHANNEL_SINK_CONNECTOR:
355                                setFilterCondition__EventChannelSinkConnector((PCMRandomVariable)newValue);
356                                return;
357                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__ASSEMBLY_CONTEXT_EVENT_CHANNEL_SINK_CONNECTOR:
358                                setAssemblyContext__EventChannelSinkConnector((AssemblyContext)newValue);
359                                return;
360                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__EVENT_CHANNEL_EVENT_CHANNEL_SINK_CONNECTOR:
361                                setEventChannel__EventChannelSinkConnector((EventChannel)newValue);
362                                return;
363                }
364                super.eSet(featureID, newValue);
365        }
366 
367        /**
368         * <!-- begin-user-doc -->
369         * <!-- end-user-doc -->
370         * @generated
371         */
372        @Override
373        public void eUnset(int featureID) {
374                switch (featureID) {
375                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__SINK_ROLE_EVENT_CHANNEL_SINK_CONNECTOR:
376                                setSinkRole__EventChannelSinkConnector((SinkRole)null);
377                                return;
378                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__FILTER_CONDITION_EVENT_CHANNEL_SINK_CONNECTOR:
379                                setFilterCondition__EventChannelSinkConnector((PCMRandomVariable)null);
380                                return;
381                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__ASSEMBLY_CONTEXT_EVENT_CHANNEL_SINK_CONNECTOR:
382                                setAssemblyContext__EventChannelSinkConnector((AssemblyContext)null);
383                                return;
384                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__EVENT_CHANNEL_EVENT_CHANNEL_SINK_CONNECTOR:
385                                setEventChannel__EventChannelSinkConnector((EventChannel)null);
386                                return;
387                }
388                super.eUnset(featureID);
389        }
390 
391        /**
392         * <!-- begin-user-doc -->
393         * <!-- end-user-doc -->
394         * @generated
395         */
396        @Override
397        public boolean eIsSet(int featureID) {
398                switch (featureID) {
399                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__SINK_ROLE_EVENT_CHANNEL_SINK_CONNECTOR:
400                                return sinkRole__EventChannelSinkConnector != null;
401                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__FILTER_CONDITION_EVENT_CHANNEL_SINK_CONNECTOR:
402                                return filterCondition__EventChannelSinkConnector != null;
403                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__ASSEMBLY_CONTEXT_EVENT_CHANNEL_SINK_CONNECTOR:
404                                return assemblyContext__EventChannelSinkConnector != null;
405                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR__EVENT_CHANNEL_EVENT_CHANNEL_SINK_CONNECTOR:
406                                return eventChannel__EventChannelSinkConnector != null;
407                }
408                return super.eIsSet(featureID);
409        }
410 
411} //EventChannelSinkConnectorImpl

[all classes][de.uka.ipd.sdq.pcm.core.composition.impl]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov