EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][LqnCore.impl]

COVERAGE SUMMARY FOR SOURCE FILE [PrecedenceTypeImpl.java]

nameclass, %method, %block, %line, %
PrecedenceTypeImpl.java0%   (0/1)0%   (0/28)0%   (0/796)0%   (0/190)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class PrecedenceTypeImpl0%   (0/1)0%   (0/28)0%   (0/796)0%   (0/190)
PrecedenceTypeImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
basicSetPost (SingleActivityListType, NotificationChain): NotificationChain 0%   (0/1)0%   (0/29)0%   (0/6)
basicSetPostAND (ActivityListType, NotificationChain): NotificationChain 0%   (0/1)0%   (0/29)0%   (0/6)
basicSetPostLOOP (ActivityLoopListType, NotificationChain): NotificationChain 0%   (0/1)0%   (0/29)0%   (0/6)
basicSetPostOR (OrListType, NotificationChain): NotificationChain 0%   (0/1)0%   (0/29)0%   (0/6)
basicSetPre (SingleActivityListType, NotificationChain): NotificationChain 0%   (0/1)0%   (0/29)0%   (0/6)
basicSetPreAND (AndJoinListType, NotificationChain): NotificationChain 0%   (0/1)0%   (0/29)0%   (0/6)
basicSetPreOR (ActivityListType, NotificationChain): NotificationChain 0%   (0/1)0%   (0/29)0%   (0/6)
eGet (int, boolean, boolean): Object 0%   (0/1)0%   (0/29)0%   (0/9)
eInverseRemove (InternalEObject, int, NotificationChain): NotificationChain 0%   (0/1)0%   (0/43)0%   (0/9)
eIsSet (int): boolean 0%   (0/1)0%   (0/55)0%   (0/9)
eSet (int, Object): void 0%   (0/1)0%   (0/42)0%   (0/17)
eStaticClass (): EClass 0%   (0/1)0%   (0/2)0%   (0/1)
eUnset (int): void 0%   (0/1)0%   (0/34)0%   (0/17)
getPost (): SingleActivityListType 0%   (0/1)0%   (0/3)0%   (0/1)
getPostAND (): ActivityListType 0%   (0/1)0%   (0/3)0%   (0/1)
getPostLOOP (): ActivityLoopListType 0%   (0/1)0%   (0/3)0%   (0/1)
getPostOR (): OrListType 0%   (0/1)0%   (0/3)0%   (0/1)
getPre (): SingleActivityListType 0%   (0/1)0%   (0/3)0%   (0/1)
getPreAND (): AndJoinListType 0%   (0/1)0%   (0/3)0%   (0/1)
getPreOR (): ActivityListType 0%   (0/1)0%   (0/3)0%   (0/1)
setPost (SingleActivityListType): void 0%   (0/1)0%   (0/52)0%   (0/11)
setPostAND (ActivityListType): void 0%   (0/1)0%   (0/52)0%   (0/11)
setPostLOOP (ActivityLoopListType): void 0%   (0/1)0%   (0/52)0%   (0/11)
setPostOR (OrListType): void 0%   (0/1)0%   (0/52)0%   (0/11)
setPre (SingleActivityListType): void 0%   (0/1)0%   (0/52)0%   (0/11)
setPreAND (AndJoinListType): void 0%   (0/1)0%   (0/52)0%   (0/11)
setPreOR (ActivityListType): void 0%   (0/1)0%   (0/52)0%   (0/11)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package LqnCore.impl;
8 
9import LqnCore.ActivityListType;
10import LqnCore.ActivityLoopListType;
11import LqnCore.AndJoinListType;
12import LqnCore.LqnCorePackage;
13import LqnCore.OrListType;
14import LqnCore.PrecedenceType;
15import LqnCore.SingleActivityListType;
16 
17import org.eclipse.emf.common.notify.Notification;
18import org.eclipse.emf.common.notify.NotificationChain;
19 
20import org.eclipse.emf.ecore.EClass;
21import org.eclipse.emf.ecore.InternalEObject;
22 
23import org.eclipse.emf.ecore.impl.ENotificationImpl;
24import org.eclipse.emf.ecore.impl.EObjectImpl;
25 
26/**
27 * <!-- begin-user-doc -->
28 * An implementation of the model object '<em><b>Precedence Type</b></em>'.
29 * <!-- end-user-doc -->
30 * <p>
31 * The following features are implemented:
32 * <ul>
33 *   <li>{@link LqnCore.impl.PrecedenceTypeImpl#getPre <em>Pre</em>}</li>
34 *   <li>{@link LqnCore.impl.PrecedenceTypeImpl#getPreOR <em>Pre OR</em>}</li>
35 *   <li>{@link LqnCore.impl.PrecedenceTypeImpl#getPreAND <em>Pre AND</em>}</li>
36 *   <li>{@link LqnCore.impl.PrecedenceTypeImpl#getPost <em>Post</em>}</li>
37 *   <li>{@link LqnCore.impl.PrecedenceTypeImpl#getPostOR <em>Post OR</em>}</li>
38 *   <li>{@link LqnCore.impl.PrecedenceTypeImpl#getPostAND <em>Post AND</em>}</li>
39 *   <li>{@link LqnCore.impl.PrecedenceTypeImpl#getPostLOOP <em>Post LOOP</em>}</li>
40 * </ul>
41 * </p>
42 *
43 * @generated
44 */
45public class PrecedenceTypeImpl extends EObjectImpl implements PrecedenceType {
46        /**
47         * The cached value of the '{@link #getPre() <em>Pre</em>}' containment reference.
48         * <!-- begin-user-doc -->
49         * <!-- end-user-doc -->
50         * @see #getPre()
51         * @generated
52         * @ordered
53         */
54        protected SingleActivityListType pre;
55 
56        /**
57         * The cached value of the '{@link #getPreOR() <em>Pre OR</em>}' containment reference.
58         * <!-- begin-user-doc -->
59         * <!-- end-user-doc -->
60         * @see #getPreOR()
61         * @generated
62         * @ordered
63         */
64        protected ActivityListType preOR;
65 
66        /**
67         * The cached value of the '{@link #getPreAND() <em>Pre AND</em>}' containment reference.
68         * <!-- begin-user-doc -->
69         * <!-- end-user-doc -->
70         * @see #getPreAND()
71         * @generated
72         * @ordered
73         */
74        protected AndJoinListType preAND;
75 
76        /**
77         * The cached value of the '{@link #getPost() <em>Post</em>}' containment reference.
78         * <!-- begin-user-doc -->
79         * <!-- end-user-doc -->
80         * @see #getPost()
81         * @generated
82         * @ordered
83         */
84        protected SingleActivityListType post;
85 
86        /**
87         * The cached value of the '{@link #getPostOR() <em>Post OR</em>}' containment reference.
88         * <!-- begin-user-doc -->
89         * <!-- end-user-doc -->
90         * @see #getPostOR()
91         * @generated
92         * @ordered
93         */
94        protected OrListType postOR;
95 
96        /**
97         * The cached value of the '{@link #getPostAND() <em>Post AND</em>}' containment reference.
98         * <!-- begin-user-doc -->
99         * <!-- end-user-doc -->
100         * @see #getPostAND()
101         * @generated
102         * @ordered
103         */
104        protected ActivityListType postAND;
105 
106        /**
107         * The cached value of the '{@link #getPostLOOP() <em>Post LOOP</em>}' containment reference.
108         * <!-- begin-user-doc -->
109         * <!-- end-user-doc -->
110         * @see #getPostLOOP()
111         * @generated
112         * @ordered
113         */
114        protected ActivityLoopListType postLOOP;
115 
116        /**
117         * <!-- begin-user-doc -->
118         * <!-- end-user-doc -->
119         * @generated
120         */
121        protected PrecedenceTypeImpl() {
122                super();
123        }
124 
125        /**
126         * <!-- begin-user-doc -->
127         * <!-- end-user-doc -->
128         * @generated
129         */
130        @Override
131        protected EClass eStaticClass() {
132                return LqnCorePackage.Literals.PRECEDENCE_TYPE;
133        }
134 
135        /**
136         * <!-- begin-user-doc -->
137         * <!-- end-user-doc -->
138         * @generated
139         */
140        public SingleActivityListType getPre() {
141                return pre;
142        }
143 
144        /**
145         * <!-- begin-user-doc -->
146         * <!-- end-user-doc -->
147         * @generated
148         */
149        public NotificationChain basicSetPre(SingleActivityListType newPre, NotificationChain msgs) {
150                SingleActivityListType oldPre = pre;
151                pre = newPre;
152                if (eNotificationRequired()) {
153                        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__PRE, oldPre, newPre);
154                        if (msgs == null) msgs = notification; else msgs.add(notification);
155                }
156                return msgs;
157        }
158 
159        /**
160         * <!-- begin-user-doc -->
161         * <!-- end-user-doc -->
162         * @generated
163         */
164        public void setPre(SingleActivityListType newPre) {
165                if (newPre != pre) {
166                        NotificationChain msgs = null;
167                        if (pre != null)
168                                msgs = ((InternalEObject)pre).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__PRE, null, msgs);
169                        if (newPre != null)
170                                msgs = ((InternalEObject)newPre).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__PRE, null, msgs);
171                        msgs = basicSetPre(newPre, msgs);
172                        if (msgs != null) msgs.dispatch();
173                }
174                else if (eNotificationRequired())
175                        eNotify(new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__PRE, newPre, newPre));
176        }
177 
178        /**
179         * <!-- begin-user-doc -->
180         * <!-- end-user-doc -->
181         * @generated
182         */
183        public ActivityListType getPreOR() {
184                return preOR;
185        }
186 
187        /**
188         * <!-- begin-user-doc -->
189         * <!-- end-user-doc -->
190         * @generated
191         */
192        public NotificationChain basicSetPreOR(ActivityListType newPreOR, NotificationChain msgs) {
193                ActivityListType oldPreOR = preOR;
194                preOR = newPreOR;
195                if (eNotificationRequired()) {
196                        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__PRE_OR, oldPreOR, newPreOR);
197                        if (msgs == null) msgs = notification; else msgs.add(notification);
198                }
199                return msgs;
200        }
201 
202        /**
203         * <!-- begin-user-doc -->
204         * <!-- end-user-doc -->
205         * @generated
206         */
207        public void setPreOR(ActivityListType newPreOR) {
208                if (newPreOR != preOR) {
209                        NotificationChain msgs = null;
210                        if (preOR != null)
211                                msgs = ((InternalEObject)preOR).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__PRE_OR, null, msgs);
212                        if (newPreOR != null)
213                                msgs = ((InternalEObject)newPreOR).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__PRE_OR, null, msgs);
214                        msgs = basicSetPreOR(newPreOR, msgs);
215                        if (msgs != null) msgs.dispatch();
216                }
217                else if (eNotificationRequired())
218                        eNotify(new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__PRE_OR, newPreOR, newPreOR));
219        }
220 
221        /**
222         * <!-- begin-user-doc -->
223         * <!-- end-user-doc -->
224         * @generated
225         */
226        public AndJoinListType getPreAND() {
227                return preAND;
228        }
229 
230        /**
231         * <!-- begin-user-doc -->
232         * <!-- end-user-doc -->
233         * @generated
234         */
235        public NotificationChain basicSetPreAND(AndJoinListType newPreAND, NotificationChain msgs) {
236                AndJoinListType oldPreAND = preAND;
237                preAND = newPreAND;
238                if (eNotificationRequired()) {
239                        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__PRE_AND, oldPreAND, newPreAND);
240                        if (msgs == null) msgs = notification; else msgs.add(notification);
241                }
242                return msgs;
243        }
244 
245        /**
246         * <!-- begin-user-doc -->
247         * <!-- end-user-doc -->
248         * @generated
249         */
250        public void setPreAND(AndJoinListType newPreAND) {
251                if (newPreAND != preAND) {
252                        NotificationChain msgs = null;
253                        if (preAND != null)
254                                msgs = ((InternalEObject)preAND).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__PRE_AND, null, msgs);
255                        if (newPreAND != null)
256                                msgs = ((InternalEObject)newPreAND).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__PRE_AND, null, msgs);
257                        msgs = basicSetPreAND(newPreAND, msgs);
258                        if (msgs != null) msgs.dispatch();
259                }
260                else if (eNotificationRequired())
261                        eNotify(new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__PRE_AND, newPreAND, newPreAND));
262        }
263 
264        /**
265         * <!-- begin-user-doc -->
266         * <!-- end-user-doc -->
267         * @generated
268         */
269        public SingleActivityListType getPost() {
270                return post;
271        }
272 
273        /**
274         * <!-- begin-user-doc -->
275         * <!-- end-user-doc -->
276         * @generated
277         */
278        public NotificationChain basicSetPost(SingleActivityListType newPost, NotificationChain msgs) {
279                SingleActivityListType oldPost = post;
280                post = newPost;
281                if (eNotificationRequired()) {
282                        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__POST, oldPost, newPost);
283                        if (msgs == null) msgs = notification; else msgs.add(notification);
284                }
285                return msgs;
286        }
287 
288        /**
289         * <!-- begin-user-doc -->
290         * <!-- end-user-doc -->
291         * @generated
292         */
293        public void setPost(SingleActivityListType newPost) {
294                if (newPost != post) {
295                        NotificationChain msgs = null;
296                        if (post != null)
297                                msgs = ((InternalEObject)post).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__POST, null, msgs);
298                        if (newPost != null)
299                                msgs = ((InternalEObject)newPost).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__POST, null, msgs);
300                        msgs = basicSetPost(newPost, msgs);
301                        if (msgs != null) msgs.dispatch();
302                }
303                else if (eNotificationRequired())
304                        eNotify(new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__POST, newPost, newPost));
305        }
306 
307        /**
308         * <!-- begin-user-doc -->
309         * <!-- end-user-doc -->
310         * @generated
311         */
312        public OrListType getPostOR() {
313                return postOR;
314        }
315 
316        /**
317         * <!-- begin-user-doc -->
318         * <!-- end-user-doc -->
319         * @generated
320         */
321        public NotificationChain basicSetPostOR(OrListType newPostOR, NotificationChain msgs) {
322                OrListType oldPostOR = postOR;
323                postOR = newPostOR;
324                if (eNotificationRequired()) {
325                        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__POST_OR, oldPostOR, newPostOR);
326                        if (msgs == null) msgs = notification; else msgs.add(notification);
327                }
328                return msgs;
329        }
330 
331        /**
332         * <!-- begin-user-doc -->
333         * <!-- end-user-doc -->
334         * @generated
335         */
336        public void setPostOR(OrListType newPostOR) {
337                if (newPostOR != postOR) {
338                        NotificationChain msgs = null;
339                        if (postOR != null)
340                                msgs = ((InternalEObject)postOR).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__POST_OR, null, msgs);
341                        if (newPostOR != null)
342                                msgs = ((InternalEObject)newPostOR).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__POST_OR, null, msgs);
343                        msgs = basicSetPostOR(newPostOR, msgs);
344                        if (msgs != null) msgs.dispatch();
345                }
346                else if (eNotificationRequired())
347                        eNotify(new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__POST_OR, newPostOR, newPostOR));
348        }
349 
350        /**
351         * <!-- begin-user-doc -->
352         * <!-- end-user-doc -->
353         * @generated
354         */
355        public ActivityListType getPostAND() {
356                return postAND;
357        }
358 
359        /**
360         * <!-- begin-user-doc -->
361         * <!-- end-user-doc -->
362         * @generated
363         */
364        public NotificationChain basicSetPostAND(ActivityListType newPostAND, NotificationChain msgs) {
365                ActivityListType oldPostAND = postAND;
366                postAND = newPostAND;
367                if (eNotificationRequired()) {
368                        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__POST_AND, oldPostAND, newPostAND);
369                        if (msgs == null) msgs = notification; else msgs.add(notification);
370                }
371                return msgs;
372        }
373 
374        /**
375         * <!-- begin-user-doc -->
376         * <!-- end-user-doc -->
377         * @generated
378         */
379        public void setPostAND(ActivityListType newPostAND) {
380                if (newPostAND != postAND) {
381                        NotificationChain msgs = null;
382                        if (postAND != null)
383                                msgs = ((InternalEObject)postAND).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__POST_AND, null, msgs);
384                        if (newPostAND != null)
385                                msgs = ((InternalEObject)newPostAND).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__POST_AND, null, msgs);
386                        msgs = basicSetPostAND(newPostAND, msgs);
387                        if (msgs != null) msgs.dispatch();
388                }
389                else if (eNotificationRequired())
390                        eNotify(new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__POST_AND, newPostAND, newPostAND));
391        }
392 
393        /**
394         * <!-- begin-user-doc -->
395         * <!-- end-user-doc -->
396         * @generated
397         */
398        public ActivityLoopListType getPostLOOP() {
399                return postLOOP;
400        }
401 
402        /**
403         * <!-- begin-user-doc -->
404         * <!-- end-user-doc -->
405         * @generated
406         */
407        public NotificationChain basicSetPostLOOP(ActivityLoopListType newPostLOOP, NotificationChain msgs) {
408                ActivityLoopListType oldPostLOOP = postLOOP;
409                postLOOP = newPostLOOP;
410                if (eNotificationRequired()) {
411                        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__POST_LOOP, oldPostLOOP, newPostLOOP);
412                        if (msgs == null) msgs = notification; else msgs.add(notification);
413                }
414                return msgs;
415        }
416 
417        /**
418         * <!-- begin-user-doc -->
419         * <!-- end-user-doc -->
420         * @generated
421         */
422        public void setPostLOOP(ActivityLoopListType newPostLOOP) {
423                if (newPostLOOP != postLOOP) {
424                        NotificationChain msgs = null;
425                        if (postLOOP != null)
426                                msgs = ((InternalEObject)postLOOP).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__POST_LOOP, null, msgs);
427                        if (newPostLOOP != null)
428                                msgs = ((InternalEObject)newPostLOOP).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LqnCorePackage.PRECEDENCE_TYPE__POST_LOOP, null, msgs);
429                        msgs = basicSetPostLOOP(newPostLOOP, msgs);
430                        if (msgs != null) msgs.dispatch();
431                }
432                else if (eNotificationRequired())
433                        eNotify(new ENotificationImpl(this, Notification.SET, LqnCorePackage.PRECEDENCE_TYPE__POST_LOOP, newPostLOOP, newPostLOOP));
434        }
435 
436        /**
437         * <!-- begin-user-doc -->
438         * <!-- end-user-doc -->
439         * @generated
440         */
441        @Override
442        public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
443                switch (featureID) {
444                        case LqnCorePackage.PRECEDENCE_TYPE__PRE:
445                                return basicSetPre(null, msgs);
446                        case LqnCorePackage.PRECEDENCE_TYPE__PRE_OR:
447                                return basicSetPreOR(null, msgs);
448                        case LqnCorePackage.PRECEDENCE_TYPE__PRE_AND:
449                                return basicSetPreAND(null, msgs);
450                        case LqnCorePackage.PRECEDENCE_TYPE__POST:
451                                return basicSetPost(null, msgs);
452                        case LqnCorePackage.PRECEDENCE_TYPE__POST_OR:
453                                return basicSetPostOR(null, msgs);
454                        case LqnCorePackage.PRECEDENCE_TYPE__POST_AND:
455                                return basicSetPostAND(null, msgs);
456                        case LqnCorePackage.PRECEDENCE_TYPE__POST_LOOP:
457                                return basicSetPostLOOP(null, msgs);
458                }
459                return super.eInverseRemove(otherEnd, featureID, msgs);
460        }
461 
462        /**
463         * <!-- begin-user-doc -->
464         * <!-- end-user-doc -->
465         * @generated
466         */
467        @Override
468        public Object eGet(int featureID, boolean resolve, boolean coreType) {
469                switch (featureID) {
470                        case LqnCorePackage.PRECEDENCE_TYPE__PRE:
471                                return getPre();
472                        case LqnCorePackage.PRECEDENCE_TYPE__PRE_OR:
473                                return getPreOR();
474                        case LqnCorePackage.PRECEDENCE_TYPE__PRE_AND:
475                                return getPreAND();
476                        case LqnCorePackage.PRECEDENCE_TYPE__POST:
477                                return getPost();
478                        case LqnCorePackage.PRECEDENCE_TYPE__POST_OR:
479                                return getPostOR();
480                        case LqnCorePackage.PRECEDENCE_TYPE__POST_AND:
481                                return getPostAND();
482                        case LqnCorePackage.PRECEDENCE_TYPE__POST_LOOP:
483                                return getPostLOOP();
484                }
485                return super.eGet(featureID, resolve, coreType);
486        }
487 
488        /**
489         * <!-- begin-user-doc -->
490         * <!-- end-user-doc -->
491         * @generated
492         */
493        @Override
494        public void eSet(int featureID, Object newValue) {
495                switch (featureID) {
496                        case LqnCorePackage.PRECEDENCE_TYPE__PRE:
497                                setPre((SingleActivityListType)newValue);
498                                return;
499                        case LqnCorePackage.PRECEDENCE_TYPE__PRE_OR:
500                                setPreOR((ActivityListType)newValue);
501                                return;
502                        case LqnCorePackage.PRECEDENCE_TYPE__PRE_AND:
503                                setPreAND((AndJoinListType)newValue);
504                                return;
505                        case LqnCorePackage.PRECEDENCE_TYPE__POST:
506                                setPost((SingleActivityListType)newValue);
507                                return;
508                        case LqnCorePackage.PRECEDENCE_TYPE__POST_OR:
509                                setPostOR((OrListType)newValue);
510                                return;
511                        case LqnCorePackage.PRECEDENCE_TYPE__POST_AND:
512                                setPostAND((ActivityListType)newValue);
513                                return;
514                        case LqnCorePackage.PRECEDENCE_TYPE__POST_LOOP:
515                                setPostLOOP((ActivityLoopListType)newValue);
516                                return;
517                }
518                super.eSet(featureID, newValue);
519        }
520 
521        /**
522         * <!-- begin-user-doc -->
523         * <!-- end-user-doc -->
524         * @generated
525         */
526        @Override
527        public void eUnset(int featureID) {
528                switch (featureID) {
529                        case LqnCorePackage.PRECEDENCE_TYPE__PRE:
530                                setPre((SingleActivityListType)null);
531                                return;
532                        case LqnCorePackage.PRECEDENCE_TYPE__PRE_OR:
533                                setPreOR((ActivityListType)null);
534                                return;
535                        case LqnCorePackage.PRECEDENCE_TYPE__PRE_AND:
536                                setPreAND((AndJoinListType)null);
537                                return;
538                        case LqnCorePackage.PRECEDENCE_TYPE__POST:
539                                setPost((SingleActivityListType)null);
540                                return;
541                        case LqnCorePackage.PRECEDENCE_TYPE__POST_OR:
542                                setPostOR((OrListType)null);
543                                return;
544                        case LqnCorePackage.PRECEDENCE_TYPE__POST_AND:
545                                setPostAND((ActivityListType)null);
546                                return;
547                        case LqnCorePackage.PRECEDENCE_TYPE__POST_LOOP:
548                                setPostLOOP((ActivityLoopListType)null);
549                                return;
550                }
551                super.eUnset(featureID);
552        }
553 
554        /**
555         * <!-- begin-user-doc -->
556         * <!-- end-user-doc -->
557         * @generated
558         */
559        @Override
560        public boolean eIsSet(int featureID) {
561                switch (featureID) {
562                        case LqnCorePackage.PRECEDENCE_TYPE__PRE:
563                                return pre != null;
564                        case LqnCorePackage.PRECEDENCE_TYPE__PRE_OR:
565                                return preOR != null;
566                        case LqnCorePackage.PRECEDENCE_TYPE__PRE_AND:
567                                return preAND != null;
568                        case LqnCorePackage.PRECEDENCE_TYPE__POST:
569                                return post != null;
570                        case LqnCorePackage.PRECEDENCE_TYPE__POST_OR:
571                                return postOR != null;
572                        case LqnCorePackage.PRECEDENCE_TYPE__POST_AND:
573                                return postAND != null;
574                        case LqnCorePackage.PRECEDENCE_TYPE__POST_LOOP:
575                                return postLOOP != null;
576                }
577                return super.eIsSet(featureID);
578        }
579 
580} //PrecedenceTypeImpl

[all classes][LqnCore.impl]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov