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

COVERAGE SUMMARY FOR SOURCE FILE [ResultConf95TypeImpl.java]

nameclass, %method, %block, %line, %
ResultConf95TypeImpl.java0%   (0/1)0%   (0/14)0%   (0/253)0%   (0/66)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ResultConf95TypeImpl0%   (0/1)0%   (0/14)0%   (0/253)0%   (0/66)
<static initializer> 0%   (0/1)0%   (0/7)0%   (0/4)
ResultConf95TypeImpl (): void 0%   (0/1)0%   (0/12)0%   (0/5)
eGet (int, boolean, boolean): Object 0%   (0/1)0%   (0/17)0%   (0/5)
eIsSet (int): boolean 0%   (0/1)0%   (0/60)0%   (0/5)
eSet (int, Object): void 0%   (0/1)0%   (0/19)0%   (0/9)
eStaticClass (): EClass 0%   (0/1)0%   (0/2)0%   (0/1)
eUnset (int): void 0%   (0/1)0%   (0/18)0%   (0/9)
getJoinVariance (): Object 0%   (0/1)0%   (0/3)0%   (0/1)
getJoinWaiting (): Object 0%   (0/1)0%   (0/3)0%   (0/1)
getWaiting (): Object 0%   (0/1)0%   (0/3)0%   (0/1)
setJoinVariance (Object): void 0%   (0/1)0%   (0/21)0%   (0/5)
setJoinWaiting (Object): void 0%   (0/1)0%   (0/21)0%   (0/5)
setWaiting (Object): void 0%   (0/1)0%   (0/21)0%   (0/5)
toString (): String 0%   (0/1)0%   (0/46)0%   (0/10)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package LqnCore.impl;
8 
9import LqnCore.LqnCorePackage;
10import LqnCore.ResultConf95Type;
11 
12import org.eclipse.emf.common.notify.Notification;
13 
14import org.eclipse.emf.ecore.EClass;
15 
16import org.eclipse.emf.ecore.impl.ENotificationImpl;
17import org.eclipse.emf.ecore.impl.EObjectImpl;
18 
19/**
20 * <!-- begin-user-doc -->
21 * An implementation of the model object '<em><b>Result Conf95 Type</b></em>'.
22 * <!-- end-user-doc -->
23 * <p>
24 * The following features are implemented:
25 * <ul>
26 *   <li>{@link LqnCore.impl.ResultConf95TypeImpl#getJoinVariance <em>Join Variance</em>}</li>
27 *   <li>{@link LqnCore.impl.ResultConf95TypeImpl#getJoinWaiting <em>Join Waiting</em>}</li>
28 *   <li>{@link LqnCore.impl.ResultConf95TypeImpl#getWaiting <em>Waiting</em>}</li>
29 * </ul>
30 * </p>
31 *
32 * @generated
33 */
34public class ResultConf95TypeImpl extends EObjectImpl implements ResultConf95Type {
35        /**
36         * The default value of the '{@link #getJoinVariance() <em>Join Variance</em>}' attribute.
37         * <!-- begin-user-doc -->
38         * <!-- end-user-doc -->
39         * @see #getJoinVariance()
40         * @generated
41         * @ordered
42         */
43        protected static final Object JOIN_VARIANCE_EDEFAULT = null;
44 
45        /**
46         * The cached value of the '{@link #getJoinVariance() <em>Join Variance</em>}' attribute.
47         * <!-- begin-user-doc -->
48         * <!-- end-user-doc -->
49         * @see #getJoinVariance()
50         * @generated
51         * @ordered
52         */
53        protected Object joinVariance = JOIN_VARIANCE_EDEFAULT;
54 
55        /**
56         * The default value of the '{@link #getJoinWaiting() <em>Join Waiting</em>}' attribute.
57         * <!-- begin-user-doc -->
58         * <!-- end-user-doc -->
59         * @see #getJoinWaiting()
60         * @generated
61         * @ordered
62         */
63        protected static final Object JOIN_WAITING_EDEFAULT = null;
64 
65        /**
66         * The cached value of the '{@link #getJoinWaiting() <em>Join Waiting</em>}' attribute.
67         * <!-- begin-user-doc -->
68         * <!-- end-user-doc -->
69         * @see #getJoinWaiting()
70         * @generated
71         * @ordered
72         */
73        protected Object joinWaiting = JOIN_WAITING_EDEFAULT;
74 
75        /**
76         * The default value of the '{@link #getWaiting() <em>Waiting</em>}' attribute.
77         * <!-- begin-user-doc -->
78         * <!-- end-user-doc -->
79         * @see #getWaiting()
80         * @generated
81         * @ordered
82         */
83        protected static final Object WAITING_EDEFAULT = null;
84 
85        /**
86         * The cached value of the '{@link #getWaiting() <em>Waiting</em>}' attribute.
87         * <!-- begin-user-doc -->
88         * <!-- end-user-doc -->
89         * @see #getWaiting()
90         * @generated
91         * @ordered
92         */
93        protected Object waiting = WAITING_EDEFAULT;
94 
95        /**
96         * <!-- begin-user-doc -->
97         * <!-- end-user-doc -->
98         * @generated
99         */
100        protected ResultConf95TypeImpl() {
101                super();
102        }
103 
104        /**
105         * <!-- begin-user-doc -->
106         * <!-- end-user-doc -->
107         * @generated
108         */
109        @Override
110        protected EClass eStaticClass() {
111                return LqnCorePackage.Literals.RESULT_CONF95_TYPE;
112        }
113 
114        /**
115         * <!-- begin-user-doc -->
116         * <!-- end-user-doc -->
117         * @generated
118         */
119        public Object getJoinVariance() {
120                return joinVariance;
121        }
122 
123        /**
124         * <!-- begin-user-doc -->
125         * <!-- end-user-doc -->
126         * @generated
127         */
128        public void setJoinVariance(Object newJoinVariance) {
129                Object oldJoinVariance = joinVariance;
130                joinVariance = newJoinVariance;
131                if (eNotificationRequired())
132                        eNotify(new ENotificationImpl(this, Notification.SET, LqnCorePackage.RESULT_CONF95_TYPE__JOIN_VARIANCE, oldJoinVariance, joinVariance));
133        }
134 
135        /**
136         * <!-- begin-user-doc -->
137         * <!-- end-user-doc -->
138         * @generated
139         */
140        public Object getJoinWaiting() {
141                return joinWaiting;
142        }
143 
144        /**
145         * <!-- begin-user-doc -->
146         * <!-- end-user-doc -->
147         * @generated
148         */
149        public void setJoinWaiting(Object newJoinWaiting) {
150                Object oldJoinWaiting = joinWaiting;
151                joinWaiting = newJoinWaiting;
152                if (eNotificationRequired())
153                        eNotify(new ENotificationImpl(this, Notification.SET, LqnCorePackage.RESULT_CONF95_TYPE__JOIN_WAITING, oldJoinWaiting, joinWaiting));
154        }
155 
156        /**
157         * <!-- begin-user-doc -->
158         * <!-- end-user-doc -->
159         * @generated
160         */
161        public Object getWaiting() {
162                return waiting;
163        }
164 
165        /**
166         * <!-- begin-user-doc -->
167         * <!-- end-user-doc -->
168         * @generated
169         */
170        public void setWaiting(Object newWaiting) {
171                Object oldWaiting = waiting;
172                waiting = newWaiting;
173                if (eNotificationRequired())
174                        eNotify(new ENotificationImpl(this, Notification.SET, LqnCorePackage.RESULT_CONF95_TYPE__WAITING, oldWaiting, waiting));
175        }
176 
177        /**
178         * <!-- begin-user-doc -->
179         * <!-- end-user-doc -->
180         * @generated
181         */
182        @Override
183        public Object eGet(int featureID, boolean resolve, boolean coreType) {
184                switch (featureID) {
185                        case LqnCorePackage.RESULT_CONF95_TYPE__JOIN_VARIANCE:
186                                return getJoinVariance();
187                        case LqnCorePackage.RESULT_CONF95_TYPE__JOIN_WAITING:
188                                return getJoinWaiting();
189                        case LqnCorePackage.RESULT_CONF95_TYPE__WAITING:
190                                return getWaiting();
191                }
192                return super.eGet(featureID, resolve, coreType);
193        }
194 
195        /**
196         * <!-- begin-user-doc -->
197         * <!-- end-user-doc -->
198         * @generated
199         */
200        @Override
201        public void eSet(int featureID, Object newValue) {
202                switch (featureID) {
203                        case LqnCorePackage.RESULT_CONF95_TYPE__JOIN_VARIANCE:
204                                setJoinVariance(newValue);
205                                return;
206                        case LqnCorePackage.RESULT_CONF95_TYPE__JOIN_WAITING:
207                                setJoinWaiting(newValue);
208                                return;
209                        case LqnCorePackage.RESULT_CONF95_TYPE__WAITING:
210                                setWaiting(newValue);
211                                return;
212                }
213                super.eSet(featureID, newValue);
214        }
215 
216        /**
217         * <!-- begin-user-doc -->
218         * <!-- end-user-doc -->
219         * @generated
220         */
221        @Override
222        public void eUnset(int featureID) {
223                switch (featureID) {
224                        case LqnCorePackage.RESULT_CONF95_TYPE__JOIN_VARIANCE:
225                                setJoinVariance(JOIN_VARIANCE_EDEFAULT);
226                                return;
227                        case LqnCorePackage.RESULT_CONF95_TYPE__JOIN_WAITING:
228                                setJoinWaiting(JOIN_WAITING_EDEFAULT);
229                                return;
230                        case LqnCorePackage.RESULT_CONF95_TYPE__WAITING:
231                                setWaiting(WAITING_EDEFAULT);
232                                return;
233                }
234                super.eUnset(featureID);
235        }
236 
237        /**
238         * <!-- begin-user-doc -->
239         * <!-- end-user-doc -->
240         * @generated
241         */
242        @Override
243        public boolean eIsSet(int featureID) {
244                switch (featureID) {
245                        case LqnCorePackage.RESULT_CONF95_TYPE__JOIN_VARIANCE:
246                                return JOIN_VARIANCE_EDEFAULT == null ? joinVariance != null : !JOIN_VARIANCE_EDEFAULT.equals(joinVariance);
247                        case LqnCorePackage.RESULT_CONF95_TYPE__JOIN_WAITING:
248                                return JOIN_WAITING_EDEFAULT == null ? joinWaiting != null : !JOIN_WAITING_EDEFAULT.equals(joinWaiting);
249                        case LqnCorePackage.RESULT_CONF95_TYPE__WAITING:
250                                return WAITING_EDEFAULT == null ? waiting != null : !WAITING_EDEFAULT.equals(waiting);
251                }
252                return super.eIsSet(featureID);
253        }
254 
255        /**
256         * <!-- begin-user-doc -->
257         * <!-- end-user-doc -->
258         * @generated
259         */
260        @Override
261        public String toString() {
262                if (eIsProxy()) return super.toString();
263 
264                StringBuffer result = new StringBuffer(super.toString());
265                result.append(" (joinVariance: ");
266                result.append(joinVariance);
267                result.append(", joinWaiting: ");
268                result.append(joinWaiting);
269                result.append(", waiting: ");
270                result.append(waiting);
271                result.append(')');
272                return result.toString();
273        }
274 
275} //ResultConf95TypeImpl

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