diff options
author | OszkarSemerath <oszka@152.66.252.189> | 2017-06-10 21:03:09 +0200 |
---|---|---|
committer | OszkarSemerath <oszka@152.66.252.189> | 2017-06-10 21:03:09 +0200 |
commit | 17be8277d61825e6df21afe513dcfe53190663f0 (patch) | |
tree | 11cdac2d06328b2303cadc867bfea77148c06c69 /Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java | |
parent | Added generated Xtext artefacts (diff) | |
download | VIATRA-Generator-17be8277d61825e6df21afe513dcfe53190663f0.tar.gz VIATRA-Generator-17be8277d61825e6df21afe513dcfe53190663f0.tar.zst VIATRA-Generator-17be8277d61825e6df21afe513dcfe53190663f0.zip |
Added generated artefacts for the alloy parser
Diffstat (limited to 'Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java')
-rw-r--r-- | Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java | 801 |
1 files changed, 801 insertions, 0 deletions
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java new file mode 100644 index 00000000..45d92dca --- /dev/null +++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java | |||
@@ -0,0 +1,801 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EDataType; | ||
9 | import org.eclipse.emf.ecore.EObject; | ||
10 | import org.eclipse.emf.ecore.EPackage; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
13 | |||
14 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model <b>Factory</b>. | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | public class AlloyLanguageFactoryImpl extends EFactoryImpl implements AlloyLanguageFactory | ||
23 | { | ||
24 | /** | ||
25 | * Creates the default factory implementation. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @generated | ||
29 | */ | ||
30 | public static AlloyLanguageFactory init() | ||
31 | { | ||
32 | try | ||
33 | { | ||
34 | AlloyLanguageFactory theAlloyLanguageFactory = (AlloyLanguageFactory)EPackage.Registry.INSTANCE.getEFactory(AlloyLanguagePackage.eNS_URI); | ||
35 | if (theAlloyLanguageFactory != null) | ||
36 | { | ||
37 | return theAlloyLanguageFactory; | ||
38 | } | ||
39 | } | ||
40 | catch (Exception exception) | ||
41 | { | ||
42 | EcorePlugin.INSTANCE.log(exception); | ||
43 | } | ||
44 | return new AlloyLanguageFactoryImpl(); | ||
45 | } | ||
46 | |||
47 | /** | ||
48 | * Creates an instance of the factory. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | public AlloyLanguageFactoryImpl() | ||
54 | { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | public EObject create(EClass eClass) | ||
65 | { | ||
66 | switch (eClass.getClassifierID()) | ||
67 | { | ||
68 | case AlloyLanguagePackage.ALS_DOCUMENT: return createALSDocument(); | ||
69 | case AlloyLanguagePackage.ALS_RELATION_DECLARATION: return createALSRelationDeclaration(); | ||
70 | case AlloyLanguagePackage.ALS_TYPE_DECLARATION: return createALSTypeDeclaration(); | ||
71 | case AlloyLanguagePackage.ALS_ENUM_DECLARATION: return createALSEnumDeclaration(); | ||
72 | case AlloyLanguagePackage.ALS_ENUM_LITERAL: return createALSEnumLiteral(); | ||
73 | case AlloyLanguagePackage.ALS_SIGNATURE_DECLARATION: return createALSSignatureDeclaration(); | ||
74 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY: return createALSSignatureBody(); | ||
75 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION: return createALSFieldDeclaration(); | ||
76 | case AlloyLanguagePackage.ALS_DEFINITION: return createALSDefinition(); | ||
77 | case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION: return createALSFunctionDefinition(); | ||
78 | case AlloyLanguagePackage.ALS_RELATION_DEFINITION: return createALSRelationDefinition(); | ||
79 | case AlloyLanguagePackage.ALS_FACT_DECLARATION: return createALSFactDeclaration(); | ||
80 | case AlloyLanguagePackage.ALS_TERM: return createALSTerm(); | ||
81 | case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION: return createALSVariableDeclaration(); | ||
82 | case AlloyLanguagePackage.ALS_RUN_COMMAND: return createALSRunCommand(); | ||
83 | case AlloyLanguagePackage.ALS_TYPE_SCOPE: return createALSTypeScope(); | ||
84 | case AlloyLanguagePackage.ALS_SIG_SCOPE: return createALSSigScope(); | ||
85 | case AlloyLanguagePackage.ALS_INT_SCOPE: return createALSIntScope(); | ||
86 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX: return createALSQuantifiedEx(); | ||
87 | case AlloyLanguagePackage.ALS_OR: return createALSOr(); | ||
88 | case AlloyLanguagePackage.ALS_IFF: return createALSIff(); | ||
89 | case AlloyLanguagePackage.ALS_IMPL: return createALSImpl(); | ||
90 | case AlloyLanguagePackage.ALS_AND: return createALSAnd(); | ||
91 | case AlloyLanguagePackage.ALS_EQUALS: return createALSEquals(); | ||
92 | case AlloyLanguagePackage.ALS_NOT_EQUALS: return createALSNotEquals(); | ||
93 | case AlloyLanguagePackage.ALS_SUBSET: return createALSSubset(); | ||
94 | case AlloyLanguagePackage.ALS_LESS: return createALSLess(); | ||
95 | case AlloyLanguagePackage.ALS_LEQ: return createALSLeq(); | ||
96 | case AlloyLanguagePackage.ALS_MORE: return createALSMore(); | ||
97 | case AlloyLanguagePackage.ALS_MEQ: return createALSMeq(); | ||
98 | case AlloyLanguagePackage.ALS_OVERRIDE: return createALSOverride(); | ||
99 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT: return createALSRangeRestrictionRight(); | ||
100 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT: return createALSRangeRestrictionLeft(); | ||
101 | case AlloyLanguagePackage.ALS_JOIN: return createALSJoin(); | ||
102 | case AlloyLanguagePackage.ALS_MINUS: return createALSMinus(); | ||
103 | case AlloyLanguagePackage.ALS_PLUS: return createALSPlus(); | ||
104 | case AlloyLanguagePackage.ALS_INTERSECTION: return createALSIntersection(); | ||
105 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT: return createALSDirectProduct(); | ||
106 | case AlloyLanguagePackage.ALS_NOT: return createALSNot(); | ||
107 | case AlloyLanguagePackage.ALS_INVERSE_RELATION: return createALSInverseRelation(); | ||
108 | case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE: return createAlSTransitiveClosure(); | ||
109 | case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE: return createALSReflectiveTransitiveClosure(); | ||
110 | case AlloyLanguagePackage.ALS_CARDINALITY: return createALSCardinality(); | ||
111 | case AlloyLanguagePackage.ALS_UNARY_MINUS: return createALSUnaryMinus(); | ||
112 | case AlloyLanguagePackage.ALS_SUM: return createALSSum(); | ||
113 | case AlloyLanguagePackage.ALS_FUNCTION_CALL: return createALSFunctionCall(); | ||
114 | case AlloyLanguagePackage.ALS_NONE: return createALSNone(); | ||
115 | case AlloyLanguagePackage.ALS_IDEN: return createALSIden(); | ||
116 | case AlloyLanguagePackage.ALS_UNIV: return createALSUniv(); | ||
117 | case AlloyLanguagePackage.ALS_INT: return createALSInt(); | ||
118 | case AlloyLanguagePackage.ALS_REFERENCE: return createALSReference(); | ||
119 | case AlloyLanguagePackage.ALS_NUMBER_LITERAL: return createALSNumberLiteral(); | ||
120 | default: | ||
121 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
122 | } | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | @Override | ||
131 | public Object createFromString(EDataType eDataType, String initialValue) | ||
132 | { | ||
133 | switch (eDataType.getClassifierID()) | ||
134 | { | ||
135 | case AlloyLanguagePackage.ALS_MULTIPLICITY: | ||
136 | return createALSMultiplicityFromString(eDataType, initialValue); | ||
137 | case AlloyLanguagePackage.ALS_NUMERIC_OPERATOR: | ||
138 | return createALSNumericOperatorFromString(eDataType, initialValue); | ||
139 | default: | ||
140 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | ||
141 | } | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public String convertToString(EDataType eDataType, Object instanceValue) | ||
151 | { | ||
152 | switch (eDataType.getClassifierID()) | ||
153 | { | ||
154 | case AlloyLanguagePackage.ALS_MULTIPLICITY: | ||
155 | return convertALSMultiplicityToString(eDataType, instanceValue); | ||
156 | case AlloyLanguagePackage.ALS_NUMERIC_OPERATOR: | ||
157 | return convertALSNumericOperatorToString(eDataType, instanceValue); | ||
158 | default: | ||
159 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | ||
160 | } | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | public ALSDocument createALSDocument() | ||
169 | { | ||
170 | ALSDocumentImpl alsDocument = new ALSDocumentImpl(); | ||
171 | return alsDocument; | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | public ALSRelationDeclaration createALSRelationDeclaration() | ||
180 | { | ||
181 | ALSRelationDeclarationImpl alsRelationDeclaration = new ALSRelationDeclarationImpl(); | ||
182 | return alsRelationDeclaration; | ||
183 | } | ||
184 | |||
185 | /** | ||
186 | * <!-- begin-user-doc --> | ||
187 | * <!-- end-user-doc --> | ||
188 | * @generated | ||
189 | */ | ||
190 | public ALSTypeDeclaration createALSTypeDeclaration() | ||
191 | { | ||
192 | ALSTypeDeclarationImpl alsTypeDeclaration = new ALSTypeDeclarationImpl(); | ||
193 | return alsTypeDeclaration; | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @generated | ||
200 | */ | ||
201 | public ALSEnumDeclaration createALSEnumDeclaration() | ||
202 | { | ||
203 | ALSEnumDeclarationImpl alsEnumDeclaration = new ALSEnumDeclarationImpl(); | ||
204 | return alsEnumDeclaration; | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | public ALSEnumLiteral createALSEnumLiteral() | ||
213 | { | ||
214 | ALSEnumLiteralImpl alsEnumLiteral = new ALSEnumLiteralImpl(); | ||
215 | return alsEnumLiteral; | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | */ | ||
223 | public ALSSignatureDeclaration createALSSignatureDeclaration() | ||
224 | { | ||
225 | ALSSignatureDeclarationImpl alsSignatureDeclaration = new ALSSignatureDeclarationImpl(); | ||
226 | return alsSignatureDeclaration; | ||
227 | } | ||
228 | |||
229 | /** | ||
230 | * <!-- begin-user-doc --> | ||
231 | * <!-- end-user-doc --> | ||
232 | * @generated | ||
233 | */ | ||
234 | public ALSSignatureBody createALSSignatureBody() | ||
235 | { | ||
236 | ALSSignatureBodyImpl alsSignatureBody = new ALSSignatureBodyImpl(); | ||
237 | return alsSignatureBody; | ||
238 | } | ||
239 | |||
240 | /** | ||
241 | * <!-- begin-user-doc --> | ||
242 | * <!-- end-user-doc --> | ||
243 | * @generated | ||
244 | */ | ||
245 | public ALSFieldDeclaration createALSFieldDeclaration() | ||
246 | { | ||
247 | ALSFieldDeclarationImpl alsFieldDeclaration = new ALSFieldDeclarationImpl(); | ||
248 | return alsFieldDeclaration; | ||
249 | } | ||
250 | |||
251 | /** | ||
252 | * <!-- begin-user-doc --> | ||
253 | * <!-- end-user-doc --> | ||
254 | * @generated | ||
255 | */ | ||
256 | public ALSDefinition createALSDefinition() | ||
257 | { | ||
258 | ALSDefinitionImpl alsDefinition = new ALSDefinitionImpl(); | ||
259 | return alsDefinition; | ||
260 | } | ||
261 | |||
262 | /** | ||
263 | * <!-- begin-user-doc --> | ||
264 | * <!-- end-user-doc --> | ||
265 | * @generated | ||
266 | */ | ||
267 | public ALSFunctionDefinition createALSFunctionDefinition() | ||
268 | { | ||
269 | ALSFunctionDefinitionImpl alsFunctionDefinition = new ALSFunctionDefinitionImpl(); | ||
270 | return alsFunctionDefinition; | ||
271 | } | ||
272 | |||
273 | /** | ||
274 | * <!-- begin-user-doc --> | ||
275 | * <!-- end-user-doc --> | ||
276 | * @generated | ||
277 | */ | ||
278 | public ALSRelationDefinition createALSRelationDefinition() | ||
279 | { | ||
280 | ALSRelationDefinitionImpl alsRelationDefinition = new ALSRelationDefinitionImpl(); | ||
281 | return alsRelationDefinition; | ||
282 | } | ||
283 | |||
284 | /** | ||
285 | * <!-- begin-user-doc --> | ||
286 | * <!-- end-user-doc --> | ||
287 | * @generated | ||
288 | */ | ||
289 | public ALSFactDeclaration createALSFactDeclaration() | ||
290 | { | ||
291 | ALSFactDeclarationImpl alsFactDeclaration = new ALSFactDeclarationImpl(); | ||
292 | return alsFactDeclaration; | ||
293 | } | ||
294 | |||
295 | /** | ||
296 | * <!-- begin-user-doc --> | ||
297 | * <!-- end-user-doc --> | ||
298 | * @generated | ||
299 | */ | ||
300 | public ALSTerm createALSTerm() | ||
301 | { | ||
302 | ALSTermImpl alsTerm = new ALSTermImpl(); | ||
303 | return alsTerm; | ||
304 | } | ||
305 | |||
306 | /** | ||
307 | * <!-- begin-user-doc --> | ||
308 | * <!-- end-user-doc --> | ||
309 | * @generated | ||
310 | */ | ||
311 | public ALSVariableDeclaration createALSVariableDeclaration() | ||
312 | { | ||
313 | ALSVariableDeclarationImpl alsVariableDeclaration = new ALSVariableDeclarationImpl(); | ||
314 | return alsVariableDeclaration; | ||
315 | } | ||
316 | |||
317 | /** | ||
318 | * <!-- begin-user-doc --> | ||
319 | * <!-- end-user-doc --> | ||
320 | * @generated | ||
321 | */ | ||
322 | public ALSRunCommand createALSRunCommand() | ||
323 | { | ||
324 | ALSRunCommandImpl alsRunCommand = new ALSRunCommandImpl(); | ||
325 | return alsRunCommand; | ||
326 | } | ||
327 | |||
328 | /** | ||
329 | * <!-- begin-user-doc --> | ||
330 | * <!-- end-user-doc --> | ||
331 | * @generated | ||
332 | */ | ||
333 | public ALSTypeScope createALSTypeScope() | ||
334 | { | ||
335 | ALSTypeScopeImpl alsTypeScope = new ALSTypeScopeImpl(); | ||
336 | return alsTypeScope; | ||
337 | } | ||
338 | |||
339 | /** | ||
340 | * <!-- begin-user-doc --> | ||
341 | * <!-- end-user-doc --> | ||
342 | * @generated | ||
343 | */ | ||
344 | public ALSSigScope createALSSigScope() | ||
345 | { | ||
346 | ALSSigScopeImpl alsSigScope = new ALSSigScopeImpl(); | ||
347 | return alsSigScope; | ||
348 | } | ||
349 | |||
350 | /** | ||
351 | * <!-- begin-user-doc --> | ||
352 | * <!-- end-user-doc --> | ||
353 | * @generated | ||
354 | */ | ||
355 | public ALSIntScope createALSIntScope() | ||
356 | { | ||
357 | ALSIntScopeImpl alsIntScope = new ALSIntScopeImpl(); | ||
358 | return alsIntScope; | ||
359 | } | ||
360 | |||
361 | /** | ||
362 | * <!-- begin-user-doc --> | ||
363 | * <!-- end-user-doc --> | ||
364 | * @generated | ||
365 | */ | ||
366 | public ALSQuantifiedEx createALSQuantifiedEx() | ||
367 | { | ||
368 | ALSQuantifiedExImpl alsQuantifiedEx = new ALSQuantifiedExImpl(); | ||
369 | return alsQuantifiedEx; | ||
370 | } | ||
371 | |||
372 | /** | ||
373 | * <!-- begin-user-doc --> | ||
374 | * <!-- end-user-doc --> | ||
375 | * @generated | ||
376 | */ | ||
377 | public ALSOr createALSOr() | ||
378 | { | ||
379 | ALSOrImpl alsOr = new ALSOrImpl(); | ||
380 | return alsOr; | ||
381 | } | ||
382 | |||
383 | /** | ||
384 | * <!-- begin-user-doc --> | ||
385 | * <!-- end-user-doc --> | ||
386 | * @generated | ||
387 | */ | ||
388 | public ALSIff createALSIff() | ||
389 | { | ||
390 | ALSIffImpl alsIff = new ALSIffImpl(); | ||
391 | return alsIff; | ||
392 | } | ||
393 | |||
394 | /** | ||
395 | * <!-- begin-user-doc --> | ||
396 | * <!-- end-user-doc --> | ||
397 | * @generated | ||
398 | */ | ||
399 | public ALSImpl createALSImpl() | ||
400 | { | ||
401 | ALSImplImpl alsImpl = new ALSImplImpl(); | ||
402 | return alsImpl; | ||
403 | } | ||
404 | |||
405 | /** | ||
406 | * <!-- begin-user-doc --> | ||
407 | * <!-- end-user-doc --> | ||
408 | * @generated | ||
409 | */ | ||
410 | public ALSAnd createALSAnd() | ||
411 | { | ||
412 | ALSAndImpl alsAnd = new ALSAndImpl(); | ||
413 | return alsAnd; | ||
414 | } | ||
415 | |||
416 | /** | ||
417 | * <!-- begin-user-doc --> | ||
418 | * <!-- end-user-doc --> | ||
419 | * @generated | ||
420 | */ | ||
421 | public ALSEquals createALSEquals() | ||
422 | { | ||
423 | ALSEqualsImpl alsEquals = new ALSEqualsImpl(); | ||
424 | return alsEquals; | ||
425 | } | ||
426 | |||
427 | /** | ||
428 | * <!-- begin-user-doc --> | ||
429 | * <!-- end-user-doc --> | ||
430 | * @generated | ||
431 | */ | ||
432 | public ALSNotEquals createALSNotEquals() | ||
433 | { | ||
434 | ALSNotEqualsImpl alsNotEquals = new ALSNotEqualsImpl(); | ||
435 | return alsNotEquals; | ||
436 | } | ||
437 | |||
438 | /** | ||
439 | * <!-- begin-user-doc --> | ||
440 | * <!-- end-user-doc --> | ||
441 | * @generated | ||
442 | */ | ||
443 | public ALSSubset createALSSubset() | ||
444 | { | ||
445 | ALSSubsetImpl alsSubset = new ALSSubsetImpl(); | ||
446 | return alsSubset; | ||
447 | } | ||
448 | |||
449 | /** | ||
450 | * <!-- begin-user-doc --> | ||
451 | * <!-- end-user-doc --> | ||
452 | * @generated | ||
453 | */ | ||
454 | public ALSLess createALSLess() | ||
455 | { | ||
456 | ALSLessImpl alsLess = new ALSLessImpl(); | ||
457 | return alsLess; | ||
458 | } | ||
459 | |||
460 | /** | ||
461 | * <!-- begin-user-doc --> | ||
462 | * <!-- end-user-doc --> | ||
463 | * @generated | ||
464 | */ | ||
465 | public ALSLeq createALSLeq() | ||
466 | { | ||
467 | ALSLeqImpl alsLeq = new ALSLeqImpl(); | ||
468 | return alsLeq; | ||
469 | } | ||
470 | |||
471 | /** | ||
472 | * <!-- begin-user-doc --> | ||
473 | * <!-- end-user-doc --> | ||
474 | * @generated | ||
475 | */ | ||
476 | public ALSMore createALSMore() | ||
477 | { | ||
478 | ALSMoreImpl alsMore = new ALSMoreImpl(); | ||
479 | return alsMore; | ||
480 | } | ||
481 | |||
482 | /** | ||
483 | * <!-- begin-user-doc --> | ||
484 | * <!-- end-user-doc --> | ||
485 | * @generated | ||
486 | */ | ||
487 | public ALSMeq createALSMeq() | ||
488 | { | ||
489 | ALSMeqImpl alsMeq = new ALSMeqImpl(); | ||
490 | return alsMeq; | ||
491 | } | ||
492 | |||
493 | /** | ||
494 | * <!-- begin-user-doc --> | ||
495 | * <!-- end-user-doc --> | ||
496 | * @generated | ||
497 | */ | ||
498 | public ALSOverride createALSOverride() | ||
499 | { | ||
500 | ALSOverrideImpl alsOverride = new ALSOverrideImpl(); | ||
501 | return alsOverride; | ||
502 | } | ||
503 | |||
504 | /** | ||
505 | * <!-- begin-user-doc --> | ||
506 | * <!-- end-user-doc --> | ||
507 | * @generated | ||
508 | */ | ||
509 | public ALSRangeRestrictionRight createALSRangeRestrictionRight() | ||
510 | { | ||
511 | ALSRangeRestrictionRightImpl alsRangeRestrictionRight = new ALSRangeRestrictionRightImpl(); | ||
512 | return alsRangeRestrictionRight; | ||
513 | } | ||
514 | |||
515 | /** | ||
516 | * <!-- begin-user-doc --> | ||
517 | * <!-- end-user-doc --> | ||
518 | * @generated | ||
519 | */ | ||
520 | public ALSRangeRestrictionLeft createALSRangeRestrictionLeft() | ||
521 | { | ||
522 | ALSRangeRestrictionLeftImpl alsRangeRestrictionLeft = new ALSRangeRestrictionLeftImpl(); | ||
523 | return alsRangeRestrictionLeft; | ||
524 | } | ||
525 | |||
526 | /** | ||
527 | * <!-- begin-user-doc --> | ||
528 | * <!-- end-user-doc --> | ||
529 | * @generated | ||
530 | */ | ||
531 | public ALSJoin createALSJoin() | ||
532 | { | ||
533 | ALSJoinImpl alsJoin = new ALSJoinImpl(); | ||
534 | return alsJoin; | ||
535 | } | ||
536 | |||
537 | /** | ||
538 | * <!-- begin-user-doc --> | ||
539 | * <!-- end-user-doc --> | ||
540 | * @generated | ||
541 | */ | ||
542 | public ALSMinus createALSMinus() | ||
543 | { | ||
544 | ALSMinusImpl alsMinus = new ALSMinusImpl(); | ||
545 | return alsMinus; | ||
546 | } | ||
547 | |||
548 | /** | ||
549 | * <!-- begin-user-doc --> | ||
550 | * <!-- end-user-doc --> | ||
551 | * @generated | ||
552 | */ | ||
553 | public ALSPlus createALSPlus() | ||
554 | { | ||
555 | ALSPlusImpl alsPlus = new ALSPlusImpl(); | ||
556 | return alsPlus; | ||
557 | } | ||
558 | |||
559 | /** | ||
560 | * <!-- begin-user-doc --> | ||
561 | * <!-- end-user-doc --> | ||
562 | * @generated | ||
563 | */ | ||
564 | public ALSIntersection createALSIntersection() | ||
565 | { | ||
566 | ALSIntersectionImpl alsIntersection = new ALSIntersectionImpl(); | ||
567 | return alsIntersection; | ||
568 | } | ||
569 | |||
570 | /** | ||
571 | * <!-- begin-user-doc --> | ||
572 | * <!-- end-user-doc --> | ||
573 | * @generated | ||
574 | */ | ||
575 | public ALSDirectProduct createALSDirectProduct() | ||
576 | { | ||
577 | ALSDirectProductImpl alsDirectProduct = new ALSDirectProductImpl(); | ||
578 | return alsDirectProduct; | ||
579 | } | ||
580 | |||
581 | /** | ||
582 | * <!-- begin-user-doc --> | ||
583 | * <!-- end-user-doc --> | ||
584 | * @generated | ||
585 | */ | ||
586 | public ALSNot createALSNot() | ||
587 | { | ||
588 | ALSNotImpl alsNot = new ALSNotImpl(); | ||
589 | return alsNot; | ||
590 | } | ||
591 | |||
592 | /** | ||
593 | * <!-- begin-user-doc --> | ||
594 | * <!-- end-user-doc --> | ||
595 | * @generated | ||
596 | */ | ||
597 | public ALSInverseRelation createALSInverseRelation() | ||
598 | { | ||
599 | ALSInverseRelationImpl alsInverseRelation = new ALSInverseRelationImpl(); | ||
600 | return alsInverseRelation; | ||
601 | } | ||
602 | |||
603 | /** | ||
604 | * <!-- begin-user-doc --> | ||
605 | * <!-- end-user-doc --> | ||
606 | * @generated | ||
607 | */ | ||
608 | public AlSTransitiveClosure createAlSTransitiveClosure() | ||
609 | { | ||
610 | AlSTransitiveClosureImpl alSTransitiveClosure = new AlSTransitiveClosureImpl(); | ||
611 | return alSTransitiveClosure; | ||
612 | } | ||
613 | |||
614 | /** | ||
615 | * <!-- begin-user-doc --> | ||
616 | * <!-- end-user-doc --> | ||
617 | * @generated | ||
618 | */ | ||
619 | public ALSReflectiveTransitiveClosure createALSReflectiveTransitiveClosure() | ||
620 | { | ||
621 | ALSReflectiveTransitiveClosureImpl alsReflectiveTransitiveClosure = new ALSReflectiveTransitiveClosureImpl(); | ||
622 | return alsReflectiveTransitiveClosure; | ||
623 | } | ||
624 | |||
625 | /** | ||
626 | * <!-- begin-user-doc --> | ||
627 | * <!-- end-user-doc --> | ||
628 | * @generated | ||
629 | */ | ||
630 | public ALSCardinality createALSCardinality() | ||
631 | { | ||
632 | ALSCardinalityImpl alsCardinality = new ALSCardinalityImpl(); | ||
633 | return alsCardinality; | ||
634 | } | ||
635 | |||
636 | /** | ||
637 | * <!-- begin-user-doc --> | ||
638 | * <!-- end-user-doc --> | ||
639 | * @generated | ||
640 | */ | ||
641 | public ALSUnaryMinus createALSUnaryMinus() | ||
642 | { | ||
643 | ALSUnaryMinusImpl alsUnaryMinus = new ALSUnaryMinusImpl(); | ||
644 | return alsUnaryMinus; | ||
645 | } | ||
646 | |||
647 | /** | ||
648 | * <!-- begin-user-doc --> | ||
649 | * <!-- end-user-doc --> | ||
650 | * @generated | ||
651 | */ | ||
652 | public ALSSum createALSSum() | ||
653 | { | ||
654 | ALSSumImpl alsSum = new ALSSumImpl(); | ||
655 | return alsSum; | ||
656 | } | ||
657 | |||
658 | /** | ||
659 | * <!-- begin-user-doc --> | ||
660 | * <!-- end-user-doc --> | ||
661 | * @generated | ||
662 | */ | ||
663 | public ALSFunctionCall createALSFunctionCall() | ||
664 | { | ||
665 | ALSFunctionCallImpl alsFunctionCall = new ALSFunctionCallImpl(); | ||
666 | return alsFunctionCall; | ||
667 | } | ||
668 | |||
669 | /** | ||
670 | * <!-- begin-user-doc --> | ||
671 | * <!-- end-user-doc --> | ||
672 | * @generated | ||
673 | */ | ||
674 | public ALSNone createALSNone() | ||
675 | { | ||
676 | ALSNoneImpl alsNone = new ALSNoneImpl(); | ||
677 | return alsNone; | ||
678 | } | ||
679 | |||
680 | /** | ||
681 | * <!-- begin-user-doc --> | ||
682 | * <!-- end-user-doc --> | ||
683 | * @generated | ||
684 | */ | ||
685 | public ALSIden createALSIden() | ||
686 | { | ||
687 | ALSIdenImpl alsIden = new ALSIdenImpl(); | ||
688 | return alsIden; | ||
689 | } | ||
690 | |||
691 | /** | ||
692 | * <!-- begin-user-doc --> | ||
693 | * <!-- end-user-doc --> | ||
694 | * @generated | ||
695 | */ | ||
696 | public ALSUniv createALSUniv() | ||
697 | { | ||
698 | ALSUnivImpl alsUniv = new ALSUnivImpl(); | ||
699 | return alsUniv; | ||
700 | } | ||
701 | |||
702 | /** | ||
703 | * <!-- begin-user-doc --> | ||
704 | * <!-- end-user-doc --> | ||
705 | * @generated | ||
706 | */ | ||
707 | public ALSInt createALSInt() | ||
708 | { | ||
709 | ALSIntImpl alsInt = new ALSIntImpl(); | ||
710 | return alsInt; | ||
711 | } | ||
712 | |||
713 | /** | ||
714 | * <!-- begin-user-doc --> | ||
715 | * <!-- end-user-doc --> | ||
716 | * @generated | ||
717 | */ | ||
718 | public ALSReference createALSReference() | ||
719 | { | ||
720 | ALSReferenceImpl alsReference = new ALSReferenceImpl(); | ||
721 | return alsReference; | ||
722 | } | ||
723 | |||
724 | /** | ||
725 | * <!-- begin-user-doc --> | ||
726 | * <!-- end-user-doc --> | ||
727 | * @generated | ||
728 | */ | ||
729 | public ALSNumberLiteral createALSNumberLiteral() | ||
730 | { | ||
731 | ALSNumberLiteralImpl alsNumberLiteral = new ALSNumberLiteralImpl(); | ||
732 | return alsNumberLiteral; | ||
733 | } | ||
734 | |||
735 | /** | ||
736 | * <!-- begin-user-doc --> | ||
737 | * <!-- end-user-doc --> | ||
738 | * @generated | ||
739 | */ | ||
740 | public ALSMultiplicity createALSMultiplicityFromString(EDataType eDataType, String initialValue) | ||
741 | { | ||
742 | ALSMultiplicity result = ALSMultiplicity.get(initialValue); | ||
743 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
744 | return result; | ||
745 | } | ||
746 | |||
747 | /** | ||
748 | * <!-- begin-user-doc --> | ||
749 | * <!-- end-user-doc --> | ||
750 | * @generated | ||
751 | */ | ||
752 | public String convertALSMultiplicityToString(EDataType eDataType, Object instanceValue) | ||
753 | { | ||
754 | return instanceValue == null ? null : instanceValue.toString(); | ||
755 | } | ||
756 | |||
757 | /** | ||
758 | * <!-- begin-user-doc --> | ||
759 | * <!-- end-user-doc --> | ||
760 | * @generated | ||
761 | */ | ||
762 | public ALSNumericOperator createALSNumericOperatorFromString(EDataType eDataType, String initialValue) | ||
763 | { | ||
764 | ALSNumericOperator result = ALSNumericOperator.get(initialValue); | ||
765 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
766 | return result; | ||
767 | } | ||
768 | |||
769 | /** | ||
770 | * <!-- begin-user-doc --> | ||
771 | * <!-- end-user-doc --> | ||
772 | * @generated | ||
773 | */ | ||
774 | public String convertALSNumericOperatorToString(EDataType eDataType, Object instanceValue) | ||
775 | { | ||
776 | return instanceValue == null ? null : instanceValue.toString(); | ||
777 | } | ||
778 | |||
779 | /** | ||
780 | * <!-- begin-user-doc --> | ||
781 | * <!-- end-user-doc --> | ||
782 | * @generated | ||
783 | */ | ||
784 | public AlloyLanguagePackage getAlloyLanguagePackage() | ||
785 | { | ||
786 | return (AlloyLanguagePackage)getEPackage(); | ||
787 | } | ||
788 | |||
789 | /** | ||
790 | * <!-- begin-user-doc --> | ||
791 | * <!-- end-user-doc --> | ||
792 | * @deprecated | ||
793 | * @generated | ||
794 | */ | ||
795 | @Deprecated | ||
796 | public static AlloyLanguagePackage getPackage() | ||
797 | { | ||
798 | return AlloyLanguagePackage.eINSTANCE; | ||
799 | } | ||
800 | |||
801 | } //AlloyLanguageFactoryImpl | ||