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