diff options
author | 2021-01-14 13:07:08 -0500 | |
---|---|---|
committer | 2021-01-14 13:07:08 -0500 | |
commit | 0de1dbfaed208ba70863abe3671f868f168bc9cd (patch) | |
tree | 24961120f0d94d4da6fd1ac03e6776e224d493b0 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java | |
parent | Add aird file for crossingScenario Ecore (diff) | |
download | VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.tar.gz VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.tar.zst VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.zip |
Adjust vsconfig xtext to consider reals as EDouble rather than EBigDecimals
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java | 656 |
1 files changed, 328 insertions, 328 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java index de983d7b..7f88e02d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java | |||
@@ -1,328 +1,328 @@ | |||
1 | /** | 1 | /** |
2 | * generated by Xtext 2.21.0 | 2 | * generated by Xtext 2.21.0 |
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | 4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | 6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; |
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification; |
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; | 8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; |
9 | 9 | ||
10 | import org.eclipse.emf.common.notify.Notification; | 10 | import org.eclipse.emf.common.notify.Notification; |
11 | import org.eclipse.emf.common.notify.NotificationChain; | 11 | import org.eclipse.emf.common.notify.NotificationChain; |
12 | 12 | ||
13 | import org.eclipse.emf.ecore.EClass; | 13 | import org.eclipse.emf.ecore.EClass; |
14 | import org.eclipse.emf.ecore.InternalEObject; | 14 | import org.eclipse.emf.ecore.InternalEObject; |
15 | 15 | ||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
17 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | 17 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; |
18 | 18 | ||
19 | /** | 19 | /** |
20 | * <!-- begin-user-doc --> | 20 | * <!-- begin-user-doc --> |
21 | * An implementation of the model object '<em><b>Type Scope</b></em>'. | 21 | * An implementation of the model object '<em><b>Type Scope</b></em>'. |
22 | * <!-- end-user-doc --> | 22 | * <!-- end-user-doc --> |
23 | * <p> | 23 | * <p> |
24 | * The following features are implemented: | 24 | * The following features are implemented: |
25 | * </p> | 25 | * </p> |
26 | * <ul> | 26 | * <ul> |
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isSetsNew <em>Sets New</em>}</li> | 27 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isSetsNew <em>Sets New</em>}</li> |
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isSetsSum <em>Sets Sum</em>}</li> | 28 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isSetsSum <em>Sets Sum</em>}</li> |
29 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#getNumber <em>Number</em>}</li> | 29 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#getNumber <em>Number</em>}</li> |
30 | * </ul> | 30 | * </ul> |
31 | * | 31 | * |
32 | * @generated | 32 | * @generated |
33 | */ | 33 | */ |
34 | public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeScope | 34 | public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeScope |
35 | { | 35 | { |
36 | /** | 36 | /** |
37 | * The default value of the '{@link #isSetsNew() <em>Sets New</em>}' attribute. | 37 | * The default value of the '{@link #isSetsNew() <em>Sets New</em>}' attribute. |
38 | * <!-- begin-user-doc --> | 38 | * <!-- begin-user-doc --> |
39 | * <!-- end-user-doc --> | 39 | * <!-- end-user-doc --> |
40 | * @see #isSetsNew() | 40 | * @see #isSetsNew() |
41 | * @generated | 41 | * @generated |
42 | * @ordered | 42 | * @ordered |
43 | */ | 43 | */ |
44 | protected static final boolean SETS_NEW_EDEFAULT = false; | 44 | protected static final boolean SETS_NEW_EDEFAULT = false; |
45 | 45 | ||
46 | /** | 46 | /** |
47 | * The cached value of the '{@link #isSetsNew() <em>Sets New</em>}' attribute. | 47 | * The cached value of the '{@link #isSetsNew() <em>Sets New</em>}' attribute. |
48 | * <!-- begin-user-doc --> | 48 | * <!-- begin-user-doc --> |
49 | * <!-- end-user-doc --> | 49 | * <!-- end-user-doc --> |
50 | * @see #isSetsNew() | 50 | * @see #isSetsNew() |
51 | * @generated | 51 | * @generated |
52 | * @ordered | 52 | * @ordered |
53 | */ | 53 | */ |
54 | protected boolean setsNew = SETS_NEW_EDEFAULT; | 54 | protected boolean setsNew = SETS_NEW_EDEFAULT; |
55 | 55 | ||
56 | /** | 56 | /** |
57 | * The default value of the '{@link #isSetsSum() <em>Sets Sum</em>}' attribute. | 57 | * The default value of the '{@link #isSetsSum() <em>Sets Sum</em>}' attribute. |
58 | * <!-- begin-user-doc --> | 58 | * <!-- begin-user-doc --> |
59 | * <!-- end-user-doc --> | 59 | * <!-- end-user-doc --> |
60 | * @see #isSetsSum() | 60 | * @see #isSetsSum() |
61 | * @generated | 61 | * @generated |
62 | * @ordered | 62 | * @ordered |
63 | */ | 63 | */ |
64 | protected static final boolean SETS_SUM_EDEFAULT = false; | 64 | protected static final boolean SETS_SUM_EDEFAULT = false; |
65 | 65 | ||
66 | /** | 66 | /** |
67 | * The cached value of the '{@link #isSetsSum() <em>Sets Sum</em>}' attribute. | 67 | * The cached value of the '{@link #isSetsSum() <em>Sets Sum</em>}' attribute. |
68 | * <!-- begin-user-doc --> | 68 | * <!-- begin-user-doc --> |
69 | * <!-- end-user-doc --> | 69 | * <!-- end-user-doc --> |
70 | * @see #isSetsSum() | 70 | * @see #isSetsSum() |
71 | * @generated | 71 | * @generated |
72 | * @ordered | 72 | * @ordered |
73 | */ | 73 | */ |
74 | protected boolean setsSum = SETS_SUM_EDEFAULT; | 74 | protected boolean setsSum = SETS_SUM_EDEFAULT; |
75 | 75 | ||
76 | /** | 76 | /** |
77 | * The cached value of the '{@link #getNumber() <em>Number</em>}' containment reference. | 77 | * The cached value of the '{@link #getNumber() <em>Number</em>}' containment reference. |
78 | * <!-- begin-user-doc --> | 78 | * <!-- begin-user-doc --> |
79 | * <!-- end-user-doc --> | 79 | * <!-- end-user-doc --> |
80 | * @see #getNumber() | 80 | * @see #getNumber() |
81 | * @generated | 81 | * @generated |
82 | * @ordered | 82 | * @ordered |
83 | */ | 83 | */ |
84 | protected NumberSpecification number; | 84 | protected NumberSpecification number; |
85 | 85 | ||
86 | /** | 86 | /** |
87 | * <!-- begin-user-doc --> | 87 | * <!-- begin-user-doc --> |
88 | * <!-- end-user-doc --> | 88 | * <!-- end-user-doc --> |
89 | * @generated | 89 | * @generated |
90 | */ | 90 | */ |
91 | protected TypeScopeImpl() | 91 | protected TypeScopeImpl() |
92 | { | 92 | { |
93 | super(); | 93 | super(); |
94 | } | 94 | } |
95 | 95 | ||
96 | /** | 96 | /** |
97 | * <!-- begin-user-doc --> | 97 | * <!-- begin-user-doc --> |
98 | * <!-- end-user-doc --> | 98 | * <!-- end-user-doc --> |
99 | * @generated | 99 | * @generated |
100 | */ | 100 | */ |
101 | @Override | 101 | @Override |
102 | protected EClass eStaticClass() | 102 | protected EClass eStaticClass() |
103 | { | 103 | { |
104 | return ApplicationConfigurationPackage.Literals.TYPE_SCOPE; | 104 | return ApplicationConfigurationPackage.Literals.TYPE_SCOPE; |
105 | } | 105 | } |
106 | 106 | ||
107 | /** | 107 | /** |
108 | * <!-- begin-user-doc --> | 108 | * <!-- begin-user-doc --> |
109 | * <!-- end-user-doc --> | 109 | * <!-- end-user-doc --> |
110 | * @generated | 110 | * @generated |
111 | */ | 111 | */ |
112 | @Override | 112 | @Override |
113 | public boolean isSetsNew() | 113 | public boolean isSetsNew() |
114 | { | 114 | { |
115 | return setsNew; | 115 | return setsNew; |
116 | } | 116 | } |
117 | 117 | ||
118 | /** | 118 | /** |
119 | * <!-- begin-user-doc --> | 119 | * <!-- begin-user-doc --> |
120 | * <!-- end-user-doc --> | 120 | * <!-- end-user-doc --> |
121 | * @generated | 121 | * @generated |
122 | */ | 122 | */ |
123 | @Override | 123 | @Override |
124 | public void setSetsNew(boolean newSetsNew) | 124 | public void setSetsNew(boolean newSetsNew) |
125 | { | 125 | { |
126 | boolean oldSetsNew = setsNew; | 126 | boolean oldSetsNew = setsNew; |
127 | setsNew = newSetsNew; | 127 | setsNew = newSetsNew; |
128 | if (eNotificationRequired()) | 128 | if (eNotificationRequired()) |
129 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW, oldSetsNew, setsNew)); | 129 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW, oldSetsNew, setsNew)); |
130 | } | 130 | } |
131 | 131 | ||
132 | /** | 132 | /** |
133 | * <!-- begin-user-doc --> | 133 | * <!-- begin-user-doc --> |
134 | * <!-- end-user-doc --> | 134 | * <!-- end-user-doc --> |
135 | * @generated | 135 | * @generated |
136 | */ | 136 | */ |
137 | @Override | 137 | @Override |
138 | public boolean isSetsSum() | 138 | public boolean isSetsSum() |
139 | { | 139 | { |
140 | return setsSum; | 140 | return setsSum; |
141 | } | 141 | } |
142 | 142 | ||
143 | /** | 143 | /** |
144 | * <!-- begin-user-doc --> | 144 | * <!-- begin-user-doc --> |
145 | * <!-- end-user-doc --> | 145 | * <!-- end-user-doc --> |
146 | * @generated | 146 | * @generated |
147 | */ | 147 | */ |
148 | @Override | 148 | @Override |
149 | public void setSetsSum(boolean newSetsSum) | 149 | public void setSetsSum(boolean newSetsSum) |
150 | { | 150 | { |
151 | boolean oldSetsSum = setsSum; | 151 | boolean oldSetsSum = setsSum; |
152 | setsSum = newSetsSum; | 152 | setsSum = newSetsSum; |
153 | if (eNotificationRequired()) | 153 | if (eNotificationRequired()) |
154 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM, oldSetsSum, setsSum)); | 154 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM, oldSetsSum, setsSum)); |
155 | } | 155 | } |
156 | 156 | ||
157 | /** | 157 | /** |
158 | * <!-- begin-user-doc --> | 158 | * <!-- begin-user-doc --> |
159 | * <!-- end-user-doc --> | 159 | * <!-- end-user-doc --> |
160 | * @generated | 160 | * @generated |
161 | */ | 161 | */ |
162 | @Override | 162 | @Override |
163 | public NumberSpecification getNumber() | 163 | public NumberSpecification getNumber() |
164 | { | 164 | { |
165 | return number; | 165 | return number; |
166 | } | 166 | } |
167 | 167 | ||
168 | /** | 168 | /** |
169 | * <!-- begin-user-doc --> | 169 | * <!-- begin-user-doc --> |
170 | * <!-- end-user-doc --> | 170 | * <!-- end-user-doc --> |
171 | * @generated | 171 | * @generated |
172 | */ | 172 | */ |
173 | public NotificationChain basicSetNumber(NumberSpecification newNumber, NotificationChain msgs) | 173 | public NotificationChain basicSetNumber(NumberSpecification newNumber, NotificationChain msgs) |
174 | { | 174 | { |
175 | NumberSpecification oldNumber = number; | 175 | NumberSpecification oldNumber = number; |
176 | number = newNumber; | 176 | number = newNumber; |
177 | if (eNotificationRequired()) | 177 | if (eNotificationRequired()) |
178 | { | 178 | { |
179 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, oldNumber, newNumber); | 179 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, oldNumber, newNumber); |
180 | if (msgs == null) msgs = notification; else msgs.add(notification); | 180 | if (msgs == null) msgs = notification; else msgs.add(notification); |
181 | } | 181 | } |
182 | return msgs; | 182 | return msgs; |
183 | } | 183 | } |
184 | 184 | ||
185 | /** | 185 | /** |
186 | * <!-- begin-user-doc --> | 186 | * <!-- begin-user-doc --> |
187 | * <!-- end-user-doc --> | 187 | * <!-- end-user-doc --> |
188 | * @generated | 188 | * @generated |
189 | */ | 189 | */ |
190 | @Override | 190 | @Override |
191 | public void setNumber(NumberSpecification newNumber) | 191 | public void setNumber(NumberSpecification newNumber) |
192 | { | 192 | { |
193 | if (newNumber != number) | 193 | if (newNumber != number) |
194 | { | 194 | { |
195 | NotificationChain msgs = null; | 195 | NotificationChain msgs = null; |
196 | if (number != null) | 196 | if (number != null) |
197 | msgs = ((InternalEObject)number).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, null, msgs); | 197 | msgs = ((InternalEObject)number).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, null, msgs); |
198 | if (newNumber != null) | 198 | if (newNumber != null) |
199 | msgs = ((InternalEObject)newNumber).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, null, msgs); | 199 | msgs = ((InternalEObject)newNumber).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, null, msgs); |
200 | msgs = basicSetNumber(newNumber, msgs); | 200 | msgs = basicSetNumber(newNumber, msgs); |
201 | if (msgs != null) msgs.dispatch(); | 201 | if (msgs != null) msgs.dispatch(); |
202 | } | 202 | } |
203 | else if (eNotificationRequired()) | 203 | else if (eNotificationRequired()) |
204 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, newNumber, newNumber)); | 204 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, newNumber, newNumber)); |
205 | } | 205 | } |
206 | 206 | ||
207 | /** | 207 | /** |
208 | * <!-- begin-user-doc --> | 208 | * <!-- begin-user-doc --> |
209 | * <!-- end-user-doc --> | 209 | * <!-- end-user-doc --> |
210 | * @generated | 210 | * @generated |
211 | */ | 211 | */ |
212 | @Override | 212 | @Override |
213 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | 213 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) |
214 | { | 214 | { |
215 | switch (featureID) | 215 | switch (featureID) |
216 | { | 216 | { |
217 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: | 217 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: |
218 | return basicSetNumber(null, msgs); | 218 | return basicSetNumber(null, msgs); |
219 | } | 219 | } |
220 | return super.eInverseRemove(otherEnd, featureID, msgs); | 220 | return super.eInverseRemove(otherEnd, featureID, msgs); |
221 | } | 221 | } |
222 | 222 | ||
223 | /** | 223 | /** |
224 | * <!-- begin-user-doc --> | 224 | * <!-- begin-user-doc --> |
225 | * <!-- end-user-doc --> | 225 | * <!-- end-user-doc --> |
226 | * @generated | 226 | * @generated |
227 | */ | 227 | */ |
228 | @Override | 228 | @Override |
229 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 229 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
230 | { | 230 | { |
231 | switch (featureID) | 231 | switch (featureID) |
232 | { | 232 | { |
233 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: | 233 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: |
234 | return isSetsNew(); | 234 | return isSetsNew(); |
235 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: | 235 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: |
236 | return isSetsSum(); | 236 | return isSetsSum(); |
237 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: | 237 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: |
238 | return getNumber(); | 238 | return getNumber(); |
239 | } | 239 | } |
240 | return super.eGet(featureID, resolve, coreType); | 240 | return super.eGet(featureID, resolve, coreType); |
241 | } | 241 | } |
242 | 242 | ||
243 | /** | 243 | /** |
244 | * <!-- begin-user-doc --> | 244 | * <!-- begin-user-doc --> |
245 | * <!-- end-user-doc --> | 245 | * <!-- end-user-doc --> |
246 | * @generated | 246 | * @generated |
247 | */ | 247 | */ |
248 | @Override | 248 | @Override |
249 | public void eSet(int featureID, Object newValue) | 249 | public void eSet(int featureID, Object newValue) |
250 | { | 250 | { |
251 | switch (featureID) | 251 | switch (featureID) |
252 | { | 252 | { |
253 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: | 253 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: |
254 | setSetsNew((Boolean)newValue); | 254 | setSetsNew((Boolean)newValue); |
255 | return; | 255 | return; |
256 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: | 256 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: |
257 | setSetsSum((Boolean)newValue); | 257 | setSetsSum((Boolean)newValue); |
258 | return; | 258 | return; |
259 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: | 259 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: |
260 | setNumber((NumberSpecification)newValue); | 260 | setNumber((NumberSpecification)newValue); |
261 | return; | 261 | return; |
262 | } | 262 | } |
263 | super.eSet(featureID, newValue); | 263 | super.eSet(featureID, newValue); |
264 | } | 264 | } |
265 | 265 | ||
266 | /** | 266 | /** |
267 | * <!-- begin-user-doc --> | 267 | * <!-- begin-user-doc --> |
268 | * <!-- end-user-doc --> | 268 | * <!-- end-user-doc --> |
269 | * @generated | 269 | * @generated |
270 | */ | 270 | */ |
271 | @Override | 271 | @Override |
272 | public void eUnset(int featureID) | 272 | public void eUnset(int featureID) |
273 | { | 273 | { |
274 | switch (featureID) | 274 | switch (featureID) |
275 | { | 275 | { |
276 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: | 276 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: |
277 | setSetsNew(SETS_NEW_EDEFAULT); | 277 | setSetsNew(SETS_NEW_EDEFAULT); |
278 | return; | 278 | return; |
279 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: | 279 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: |
280 | setSetsSum(SETS_SUM_EDEFAULT); | 280 | setSetsSum(SETS_SUM_EDEFAULT); |
281 | return; | 281 | return; |
282 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: | 282 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: |
283 | setNumber((NumberSpecification)null); | 283 | setNumber((NumberSpecification)null); |
284 | return; | 284 | return; |
285 | } | 285 | } |
286 | super.eUnset(featureID); | 286 | super.eUnset(featureID); |
287 | } | 287 | } |
288 | 288 | ||
289 | /** | 289 | /** |
290 | * <!-- begin-user-doc --> | 290 | * <!-- begin-user-doc --> |
291 | * <!-- end-user-doc --> | 291 | * <!-- end-user-doc --> |
292 | * @generated | 292 | * @generated |
293 | */ | 293 | */ |
294 | @Override | 294 | @Override |
295 | public boolean eIsSet(int featureID) | 295 | public boolean eIsSet(int featureID) |
296 | { | 296 | { |
297 | switch (featureID) | 297 | switch (featureID) |
298 | { | 298 | { |
299 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: | 299 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: |
300 | return setsNew != SETS_NEW_EDEFAULT; | 300 | return setsNew != SETS_NEW_EDEFAULT; |
301 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: | 301 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: |
302 | return setsSum != SETS_SUM_EDEFAULT; | 302 | return setsSum != SETS_SUM_EDEFAULT; |
303 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: | 303 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: |
304 | return number != null; | 304 | return number != null; |
305 | } | 305 | } |
306 | return super.eIsSet(featureID); | 306 | return super.eIsSet(featureID); |
307 | } | 307 | } |
308 | 308 | ||
309 | /** | 309 | /** |
310 | * <!-- begin-user-doc --> | 310 | * <!-- begin-user-doc --> |
311 | * <!-- end-user-doc --> | 311 | * <!-- end-user-doc --> |
312 | * @generated | 312 | * @generated |
313 | */ | 313 | */ |
314 | @Override | 314 | @Override |
315 | public String toString() | 315 | public String toString() |
316 | { | 316 | { |
317 | if (eIsProxy()) return super.toString(); | 317 | if (eIsProxy()) return super.toString(); |
318 | 318 | ||
319 | StringBuilder result = new StringBuilder(super.toString()); | 319 | StringBuilder result = new StringBuilder(super.toString()); |
320 | result.append(" (setsNew: "); | 320 | result.append(" (setsNew: "); |
321 | result.append(setsNew); | 321 | result.append(setsNew); |
322 | result.append(", setsSum: "); | 322 | result.append(", setsSum: "); |
323 | result.append(setsSum); | 323 | result.append(setsSum); |
324 | result.append(')'); | 324 | result.append(')'); |
325 | return result.toString(); | 325 | return result.toString(); |
326 | } | 326 | } |
327 | 327 | ||
328 | } //TypeScopeImpl | 328 | } //TypeScopeImpl |