diff options
author | 2020-06-23 15:17:00 +0200 | |
---|---|---|
committer | 2020-06-23 15:17:00 +0200 | |
commit | 42c58bbeead1dae09c51f47abc8e10dfbb9c3f9f (patch) | |
tree | 21d49c3a1dadc54dda399a4b8cfe8dc028563f51 /Application/org.eclipse.viatra.solver.language/ecore-gen/org | |
parent | Measurements framework fixes (diff) | |
download | VIATRA-Generator-42c58bbeead1dae09c51f47abc8e10dfbb9c3f9f.tar.gz VIATRA-Generator-42c58bbeead1dae09c51f47abc8e10dfbb9c3f9f.tar.zst VIATRA-Generator-42c58bbeead1dae09c51f47abc8e10dfbb9c3f9f.zip |
New configuration language parser WIP
Diffstat (limited to 'Application/org.eclipse.viatra.solver.language/ecore-gen/org')
127 files changed, 0 insertions, 28058 deletions
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java deleted file mode 100644 index f6159bd8..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java +++ /dev/null | |||
@@ -1,115 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Aggregation</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp <em>Op</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getLocalVariables <em>Local Variables</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody <em>Body</em>}</li> | ||
19 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition <em>Condition</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation() | ||
23 | * @model | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface Aggregation extends Expression { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Op</b></em>' reference. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Op</em>' reference. | ||
32 | * @see #setOp(NamedElement) | ||
33 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Op() | ||
34 | * @model | ||
35 | * @generated | ||
36 | */ | ||
37 | NamedElement getOp(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp <em>Op</em>}' reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Op</em>' reference. | ||
44 | * @see #getOp() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setOp(NamedElement value); | ||
48 | |||
49 | /** | ||
50 | * Returns the value of the '<em><b>Local Variables</b></em>' containment reference. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @return the value of the '<em>Local Variables</em>' containment reference. | ||
54 | * @see #setLocalVariables(LocalVariables) | ||
55 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_LocalVariables() | ||
56 | * @model containment="true" | ||
57 | * @generated | ||
58 | */ | ||
59 | LocalVariables getLocalVariables(); | ||
60 | |||
61 | /** | ||
62 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getLocalVariables <em>Local Variables</em>}' containment reference. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @param value the new value of the '<em>Local Variables</em>' containment reference. | ||
66 | * @see #getLocalVariables() | ||
67 | * @generated | ||
68 | */ | ||
69 | void setLocalVariables(LocalVariables value); | ||
70 | |||
71 | /** | ||
72 | * Returns the value of the '<em><b>Body</b></em>' containment reference. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @return the value of the '<em>Body</em>' containment reference. | ||
76 | * @see #setBody(Expression) | ||
77 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Body() | ||
78 | * @model containment="true" | ||
79 | * @generated | ||
80 | */ | ||
81 | Expression getBody(); | ||
82 | |||
83 | /** | ||
84 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody <em>Body</em>}' containment reference. | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @param value the new value of the '<em>Body</em>' containment reference. | ||
88 | * @see #getBody() | ||
89 | * @generated | ||
90 | */ | ||
91 | void setBody(Expression value); | ||
92 | |||
93 | /** | ||
94 | * Returns the value of the '<em><b>Condition</b></em>' containment reference. | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @return the value of the '<em>Condition</em>' containment reference. | ||
98 | * @see #setCondition(Expression) | ||
99 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Condition() | ||
100 | * @model containment="true" | ||
101 | * @generated | ||
102 | */ | ||
103 | Expression getCondition(); | ||
104 | |||
105 | /** | ||
106 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition <em>Condition</em>}' containment reference. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @param value the new value of the '<em>Condition</em>' containment reference. | ||
110 | * @see #getCondition() | ||
111 | * @generated | ||
112 | */ | ||
113 | void setCondition(Expression value); | ||
114 | |||
115 | } // Aggregation | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java deleted file mode 100644 index 3f5d1b45..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Argument</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * | ||
14 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgument() | ||
15 | * @model | ||
16 | * @generated | ||
17 | */ | ||
18 | public interface Argument extends EObject { | ||
19 | } // Argument | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java deleted file mode 100644 index 2be01423..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * A representation of the model object '<em><b>Argument List</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * <p> | ||
16 | * The following features are supported: | ||
17 | * </p> | ||
18 | * <ul> | ||
19 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments <em>Arguments</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgumentList() | ||
23 | * @model | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface ArgumentList extends EObject { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Arguments</b></em>' containment reference list. | ||
29 | * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Argument}. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Arguments</em>' containment reference list. | ||
33 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgumentList_Arguments() | ||
34 | * @model containment="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | EList<Argument> getArguments(); | ||
38 | |||
39 | } // ArgumentList | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java deleted file mode 100644 index 6b50beba..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java +++ /dev/null | |||
@@ -1,95 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Binary Expression</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft <em>Left</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp <em>Op</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight <em>Right</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface BinaryExpression extends Expression { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Left</b></em>' containment reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Left</em>' containment reference. | ||
31 | * @see #setLeft(Expression) | ||
32 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Left() | ||
33 | * @model containment="true" | ||
34 | * @generated | ||
35 | */ | ||
36 | Expression getLeft(); | ||
37 | |||
38 | /** | ||
39 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft <em>Left</em>}' containment reference. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @param value the new value of the '<em>Left</em>' containment reference. | ||
43 | * @see #getLeft() | ||
44 | * @generated | ||
45 | */ | ||
46 | void setLeft(Expression value); | ||
47 | |||
48 | /** | ||
49 | * Returns the value of the '<em><b>Op</b></em>' attribute. | ||
50 | * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator}. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @return the value of the '<em>Op</em>' attribute. | ||
54 | * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator | ||
55 | * @see #setOp(BinaryOperator) | ||
56 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Op() | ||
57 | * @model | ||
58 | * @generated | ||
59 | */ | ||
60 | BinaryOperator getOp(); | ||
61 | |||
62 | /** | ||
63 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp <em>Op</em>}' attribute. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @param value the new value of the '<em>Op</em>' attribute. | ||
67 | * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator | ||
68 | * @see #getOp() | ||
69 | * @generated | ||
70 | */ | ||
71 | void setOp(BinaryOperator value); | ||
72 | |||
73 | /** | ||
74 | * Returns the value of the '<em><b>Right</b></em>' containment reference. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @return the value of the '<em>Right</em>' containment reference. | ||
78 | * @see #setRight(Expression) | ||
79 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Right() | ||
80 | * @model containment="true" | ||
81 | * @generated | ||
82 | */ | ||
83 | Expression getRight(); | ||
84 | |||
85 | /** | ||
86 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight <em>Right</em>}' containment reference. | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @param value the new value of the '<em>Right</em>' containment reference. | ||
90 | * @see #getRight() | ||
91 | * @generated | ||
92 | */ | ||
93 | void setRight(Expression value); | ||
94 | |||
95 | } // BinaryExpression | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java deleted file mode 100644 index ce34afc7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java +++ /dev/null | |||
@@ -1,463 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import java.util.Arrays; | ||
7 | import java.util.Collections; | ||
8 | import java.util.List; | ||
9 | |||
10 | import org.eclipse.emf.common.util.Enumerator; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * A representation of the literals of the enumeration '<em><b>Binary Operator</b></em>', | ||
15 | * and utility methods for working with them. | ||
16 | * <!-- end-user-doc --> | ||
17 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryOperator() | ||
18 | * @model | ||
19 | * @generated | ||
20 | */ | ||
21 | public enum BinaryOperator implements Enumerator { | ||
22 | /** | ||
23 | * The '<em><b>EQ</b></em>' literal object. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @see #EQ_VALUE | ||
27 | * @generated | ||
28 | * @ordered | ||
29 | */ | ||
30 | EQ(0, "EQ", "EQ"), | ||
31 | |||
32 | /** | ||
33 | * The '<em><b>NOT EQ</b></em>' literal object. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #NOT_EQ_VALUE | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | NOT_EQ(1, "NOT_EQ", "NOT_EQ"), | ||
41 | |||
42 | /** | ||
43 | * The '<em><b>LESS</b></em>' literal object. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #LESS_VALUE | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | LESS(2, "LESS", "LESS"), | ||
51 | |||
52 | /** | ||
53 | * The '<em><b>LESS EQ</b></em>' literal object. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #LESS_EQ_VALUE | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | LESS_EQ(3, "LESS_EQ", "LESS_EQ"), | ||
61 | |||
62 | /** | ||
63 | * The '<em><b>GREATER</b></em>' literal object. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @see #GREATER_VALUE | ||
67 | * @generated | ||
68 | * @ordered | ||
69 | */ | ||
70 | GREATER(4, "GREATER", "GREATER"), | ||
71 | |||
72 | /** | ||
73 | * The '<em><b>GREATER EQ</b></em>' literal object. | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @see #GREATER_EQ_VALUE | ||
77 | * @generated | ||
78 | * @ordered | ||
79 | */ | ||
80 | GREATER_EQ(5, "GREATER_EQ", "GREATER_EQ"), | ||
81 | |||
82 | /** | ||
83 | * The '<em><b>IN</b></em>' literal object. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @see #IN_VALUE | ||
87 | * @generated | ||
88 | * @ordered | ||
89 | */ | ||
90 | IN(6, "IN", "IN"), | ||
91 | |||
92 | /** | ||
93 | * The '<em><b>ADD</b></em>' literal object. | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @see #ADD_VALUE | ||
97 | * @generated | ||
98 | * @ordered | ||
99 | */ | ||
100 | ADD(7, "ADD", "ADD"), | ||
101 | |||
102 | /** | ||
103 | * The '<em><b>SUB</b></em>' literal object. | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @see #SUB_VALUE | ||
107 | * @generated | ||
108 | * @ordered | ||
109 | */ | ||
110 | SUB(8, "SUB", "SUB"), | ||
111 | |||
112 | /** | ||
113 | * The '<em><b>MUL</b></em>' literal object. | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @see #MUL_VALUE | ||
117 | * @generated | ||
118 | * @ordered | ||
119 | */ | ||
120 | MUL(9, "MUL", "MUL"), | ||
121 | |||
122 | /** | ||
123 | * The '<em><b>DIV</b></em>' literal object. | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @see #DIV_VALUE | ||
127 | * @generated | ||
128 | * @ordered | ||
129 | */ | ||
130 | DIV(10, "DIV", "DIV"), | ||
131 | |||
132 | /** | ||
133 | * The '<em><b>POW</b></em>' literal object. | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @see #POW_VALUE | ||
137 | * @generated | ||
138 | * @ordered | ||
139 | */ | ||
140 | POW(11, "POW", "POW"), | ||
141 | |||
142 | /** | ||
143 | * The '<em><b>IMPLIES</b></em>' literal object. | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @see #IMPLIES_VALUE | ||
147 | * @generated | ||
148 | * @ordered | ||
149 | */ | ||
150 | IMPLIES(12, "IMPLIES", "IMPLIES"); | ||
151 | |||
152 | /** | ||
153 | * The '<em><b>EQ</b></em>' literal value. | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @see #EQ | ||
157 | * @model | ||
158 | * @generated | ||
159 | * @ordered | ||
160 | */ | ||
161 | public static final int EQ_VALUE = 0; | ||
162 | |||
163 | /** | ||
164 | * The '<em><b>NOT EQ</b></em>' literal value. | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @see #NOT_EQ | ||
168 | * @model | ||
169 | * @generated | ||
170 | * @ordered | ||
171 | */ | ||
172 | public static final int NOT_EQ_VALUE = 1; | ||
173 | |||
174 | /** | ||
175 | * The '<em><b>LESS</b></em>' literal value. | ||
176 | * <!-- begin-user-doc --> | ||
177 | * <!-- end-user-doc --> | ||
178 | * @see #LESS | ||
179 | * @model | ||
180 | * @generated | ||
181 | * @ordered | ||
182 | */ | ||
183 | public static final int LESS_VALUE = 2; | ||
184 | |||
185 | /** | ||
186 | * The '<em><b>LESS EQ</b></em>' literal value. | ||
187 | * <!-- begin-user-doc --> | ||
188 | * <!-- end-user-doc --> | ||
189 | * @see #LESS_EQ | ||
190 | * @model | ||
191 | * @generated | ||
192 | * @ordered | ||
193 | */ | ||
194 | public static final int LESS_EQ_VALUE = 3; | ||
195 | |||
196 | /** | ||
197 | * The '<em><b>GREATER</b></em>' literal value. | ||
198 | * <!-- begin-user-doc --> | ||
199 | * <!-- end-user-doc --> | ||
200 | * @see #GREATER | ||
201 | * @model | ||
202 | * @generated | ||
203 | * @ordered | ||
204 | */ | ||
205 | public static final int GREATER_VALUE = 4; | ||
206 | |||
207 | /** | ||
208 | * The '<em><b>GREATER EQ</b></em>' literal value. | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @see #GREATER_EQ | ||
212 | * @model | ||
213 | * @generated | ||
214 | * @ordered | ||
215 | */ | ||
216 | public static final int GREATER_EQ_VALUE = 5; | ||
217 | |||
218 | /** | ||
219 | * The '<em><b>IN</b></em>' literal value. | ||
220 | * <!-- begin-user-doc --> | ||
221 | * <!-- end-user-doc --> | ||
222 | * @see #IN | ||
223 | * @model | ||
224 | * @generated | ||
225 | * @ordered | ||
226 | */ | ||
227 | public static final int IN_VALUE = 6; | ||
228 | |||
229 | /** | ||
230 | * The '<em><b>ADD</b></em>' literal value. | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @see #ADD | ||
234 | * @model | ||
235 | * @generated | ||
236 | * @ordered | ||
237 | */ | ||
238 | public static final int ADD_VALUE = 7; | ||
239 | |||
240 | /** | ||
241 | * The '<em><b>SUB</b></em>' literal value. | ||
242 | * <!-- begin-user-doc --> | ||
243 | * <!-- end-user-doc --> | ||
244 | * @see #SUB | ||
245 | * @model | ||
246 | * @generated | ||
247 | * @ordered | ||
248 | */ | ||
249 | public static final int SUB_VALUE = 8; | ||
250 | |||
251 | /** | ||
252 | * The '<em><b>MUL</b></em>' literal value. | ||
253 | * <!-- begin-user-doc --> | ||
254 | * <!-- end-user-doc --> | ||
255 | * @see #MUL | ||
256 | * @model | ||
257 | * @generated | ||
258 | * @ordered | ||
259 | */ | ||
260 | public static final int MUL_VALUE = 9; | ||
261 | |||
262 | /** | ||
263 | * The '<em><b>DIV</b></em>' literal value. | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @see #DIV | ||
267 | * @model | ||
268 | * @generated | ||
269 | * @ordered | ||
270 | */ | ||
271 | public static final int DIV_VALUE = 10; | ||
272 | |||
273 | /** | ||
274 | * The '<em><b>POW</b></em>' literal value. | ||
275 | * <!-- begin-user-doc --> | ||
276 | * <!-- end-user-doc --> | ||
277 | * @see #POW | ||
278 | * @model | ||
279 | * @generated | ||
280 | * @ordered | ||
281 | */ | ||
282 | public static final int POW_VALUE = 11; | ||
283 | |||
284 | /** | ||
285 | * The '<em><b>IMPLIES</b></em>' literal value. | ||
286 | * <!-- begin-user-doc --> | ||
287 | * <!-- end-user-doc --> | ||
288 | * @see #IMPLIES | ||
289 | * @model | ||
290 | * @generated | ||
291 | * @ordered | ||
292 | */ | ||
293 | public static final int IMPLIES_VALUE = 12; | ||
294 | |||
295 | /** | ||
296 | * An array of all the '<em><b>Binary Operator</b></em>' enumerators. | ||
297 | * <!-- begin-user-doc --> | ||
298 | * <!-- end-user-doc --> | ||
299 | * @generated | ||
300 | */ | ||
301 | private static final BinaryOperator[] VALUES_ARRAY = | ||
302 | new BinaryOperator[] { | ||
303 | EQ, | ||
304 | NOT_EQ, | ||
305 | LESS, | ||
306 | LESS_EQ, | ||
307 | GREATER, | ||
308 | GREATER_EQ, | ||
309 | IN, | ||
310 | ADD, | ||
311 | SUB, | ||
312 | MUL, | ||
313 | DIV, | ||
314 | POW, | ||
315 | IMPLIES, | ||
316 | }; | ||
317 | |||
318 | /** | ||
319 | * A public read-only list of all the '<em><b>Binary Operator</b></em>' enumerators. | ||
320 | * <!-- begin-user-doc --> | ||
321 | * <!-- end-user-doc --> | ||
322 | * @generated | ||
323 | */ | ||
324 | public static final List<BinaryOperator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
325 | |||
326 | /** | ||
327 | * Returns the '<em><b>Binary Operator</b></em>' literal with the specified literal value. | ||
328 | * <!-- begin-user-doc --> | ||
329 | * <!-- end-user-doc --> | ||
330 | * @param literal the literal. | ||
331 | * @return the matching enumerator or <code>null</code>. | ||
332 | * @generated | ||
333 | */ | ||
334 | public static BinaryOperator get(String literal) { | ||
335 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
336 | BinaryOperator result = VALUES_ARRAY[i]; | ||
337 | if (result.toString().equals(literal)) { | ||
338 | return result; | ||
339 | } | ||
340 | } | ||
341 | return null; | ||
342 | } | ||
343 | |||
344 | /** | ||
345 | * Returns the '<em><b>Binary Operator</b></em>' literal with the specified name. | ||
346 | * <!-- begin-user-doc --> | ||
347 | * <!-- end-user-doc --> | ||
348 | * @param name the name. | ||
349 | * @return the matching enumerator or <code>null</code>. | ||
350 | * @generated | ||
351 | */ | ||
352 | public static BinaryOperator getByName(String name) { | ||
353 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
354 | BinaryOperator result = VALUES_ARRAY[i]; | ||
355 | if (result.getName().equals(name)) { | ||
356 | return result; | ||
357 | } | ||
358 | } | ||
359 | return null; | ||
360 | } | ||
361 | |||
362 | /** | ||
363 | * Returns the '<em><b>Binary Operator</b></em>' literal with the specified integer value. | ||
364 | * <!-- begin-user-doc --> | ||
365 | * <!-- end-user-doc --> | ||
366 | * @param value the integer value. | ||
367 | * @return the matching enumerator or <code>null</code>. | ||
368 | * @generated | ||
369 | */ | ||
370 | public static BinaryOperator get(int value) { | ||
371 | switch (value) { | ||
372 | case EQ_VALUE: return EQ; | ||
373 | case NOT_EQ_VALUE: return NOT_EQ; | ||
374 | case LESS_VALUE: return LESS; | ||
375 | case LESS_EQ_VALUE: return LESS_EQ; | ||
376 | case GREATER_VALUE: return GREATER; | ||
377 | case GREATER_EQ_VALUE: return GREATER_EQ; | ||
378 | case IN_VALUE: return IN; | ||
379 | case ADD_VALUE: return ADD; | ||
380 | case SUB_VALUE: return SUB; | ||
381 | case MUL_VALUE: return MUL; | ||
382 | case DIV_VALUE: return DIV; | ||
383 | case POW_VALUE: return POW; | ||
384 | case IMPLIES_VALUE: return IMPLIES; | ||
385 | } | ||
386 | return null; | ||
387 | } | ||
388 | |||
389 | /** | ||
390 | * <!-- begin-user-doc --> | ||
391 | * <!-- end-user-doc --> | ||
392 | * @generated | ||
393 | */ | ||
394 | private final int value; | ||
395 | |||
396 | /** | ||
397 | * <!-- begin-user-doc --> | ||
398 | * <!-- end-user-doc --> | ||
399 | * @generated | ||
400 | */ | ||
401 | private final String name; | ||
402 | |||
403 | /** | ||
404 | * <!-- begin-user-doc --> | ||
405 | * <!-- end-user-doc --> | ||
406 | * @generated | ||
407 | */ | ||
408 | private final String literal; | ||
409 | |||
410 | /** | ||
411 | * Only this class can construct instances. | ||
412 | * <!-- begin-user-doc --> | ||
413 | * <!-- end-user-doc --> | ||
414 | * @generated | ||
415 | */ | ||
416 | private BinaryOperator(int value, String name, String literal) { | ||
417 | this.value = value; | ||
418 | this.name = name; | ||
419 | this.literal = literal; | ||
420 | } | ||
421 | |||
422 | /** | ||
423 | * <!-- begin-user-doc --> | ||
424 | * <!-- end-user-doc --> | ||
425 | * @generated | ||
426 | */ | ||
427 | @Override | ||
428 | public int getValue() { | ||
429 | return value; | ||
430 | } | ||
431 | |||
432 | /** | ||
433 | * <!-- begin-user-doc --> | ||
434 | * <!-- end-user-doc --> | ||
435 | * @generated | ||
436 | */ | ||
437 | @Override | ||
438 | public String getName() { | ||
439 | return name; | ||
440 | } | ||
441 | |||
442 | /** | ||
443 | * <!-- begin-user-doc --> | ||
444 | * <!-- end-user-doc --> | ||
445 | * @generated | ||
446 | */ | ||
447 | @Override | ||
448 | public String getLiteral() { | ||
449 | return literal; | ||
450 | } | ||
451 | |||
452 | /** | ||
453 | * Returns the literal value of the enumerator, which is its string representation. | ||
454 | * <!-- begin-user-doc --> | ||
455 | * <!-- end-user-doc --> | ||
456 | * @generated | ||
457 | */ | ||
458 | @Override | ||
459 | public String toString() { | ||
460 | return literal; | ||
461 | } | ||
462 | |||
463 | } //BinaryOperator | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java deleted file mode 100644 index e0cea7d4..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Bounded Multiplicity</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound <em>Lower Bound</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound <em>Upper Bound</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface BoundedMultiplicity extends Multiplicity { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Lower Bound</b></em>' attribute. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Lower Bound</em>' attribute. | ||
30 | * @see #setLowerBound(int) | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity_LowerBound() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | int getLowerBound(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound <em>Lower Bound</em>}' attribute. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Lower Bound</em>' attribute. | ||
42 | * @see #getLowerBound() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setLowerBound(int value); | ||
46 | |||
47 | /** | ||
48 | * Returns the value of the '<em><b>Upper Bound</b></em>' attribute. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Upper Bound</em>' attribute. | ||
52 | * @see #setUpperBound(int) | ||
53 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity_UpperBound() | ||
54 | * @model | ||
55 | * @generated | ||
56 | */ | ||
57 | int getUpperBound(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound <em>Upper Bound</em>}' attribute. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Upper Bound</em>' attribute. | ||
64 | * @see #getUpperBound() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setUpperBound(int value); | ||
68 | |||
69 | } // BoundedMultiplicity | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java deleted file mode 100644 index 81f87193..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Bounded Scope Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound <em>Lower Bound</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound <em>Upper Bound</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScopeDefinition() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface BoundedScopeDefinition extends ScopeDefinition { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Lower Bound</b></em>' attribute. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Lower Bound</em>' attribute. | ||
30 | * @see #setLowerBound(int) | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScopeDefinition_LowerBound() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | int getLowerBound(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound <em>Lower Bound</em>}' attribute. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Lower Bound</em>' attribute. | ||
42 | * @see #getLowerBound() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setLowerBound(int value); | ||
46 | |||
47 | /** | ||
48 | * Returns the value of the '<em><b>Upper Bound</b></em>' attribute. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Upper Bound</em>' attribute. | ||
52 | * @see #setUpperBound(int) | ||
53 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScopeDefinition_UpperBound() | ||
54 | * @model | ||
55 | * @generated | ||
56 | */ | ||
57 | int getUpperBound(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound <em>Upper Bound</em>}' attribute. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Upper Bound</em>' attribute. | ||
64 | * @see #getUpperBound() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setUpperBound(int value); | ||
68 | |||
69 | } // BoundedScopeDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java deleted file mode 100644 index ab0940bb..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java +++ /dev/null | |||
@@ -1,115 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Call</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor <em>Functor</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure <em>Transitive Closure</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure <em>Reflexive Transitive Closure</em>}</li> | ||
19 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList <em>Argument List</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall() | ||
23 | * @model | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface Call extends Expression { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Functor</b></em>' containment reference. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Functor</em>' containment reference. | ||
32 | * @see #setFunctor(Reference) | ||
33 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_Functor() | ||
34 | * @model containment="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | Reference getFunctor(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor <em>Functor</em>}' containment reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Functor</em>' containment reference. | ||
44 | * @see #getFunctor() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setFunctor(Reference value); | ||
48 | |||
49 | /** | ||
50 | * Returns the value of the '<em><b>Transitive Closure</b></em>' attribute. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @return the value of the '<em>Transitive Closure</em>' attribute. | ||
54 | * @see #setTransitiveClosure(boolean) | ||
55 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_TransitiveClosure() | ||
56 | * @model | ||
57 | * @generated | ||
58 | */ | ||
59 | boolean isTransitiveClosure(); | ||
60 | |||
61 | /** | ||
62 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure <em>Transitive Closure</em>}' attribute. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @param value the new value of the '<em>Transitive Closure</em>' attribute. | ||
66 | * @see #isTransitiveClosure() | ||
67 | * @generated | ||
68 | */ | ||
69 | void setTransitiveClosure(boolean value); | ||
70 | |||
71 | /** | ||
72 | * Returns the value of the '<em><b>Reflexive Transitive Closure</b></em>' attribute. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @return the value of the '<em>Reflexive Transitive Closure</em>' attribute. | ||
76 | * @see #setReflexiveTransitiveClosure(boolean) | ||
77 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_ReflexiveTransitiveClosure() | ||
78 | * @model | ||
79 | * @generated | ||
80 | */ | ||
81 | boolean isReflexiveTransitiveClosure(); | ||
82 | |||
83 | /** | ||
84 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure <em>Reflexive Transitive Closure</em>}' attribute. | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @param value the new value of the '<em>Reflexive Transitive Closure</em>' attribute. | ||
88 | * @see #isReflexiveTransitiveClosure() | ||
89 | * @generated | ||
90 | */ | ||
91 | void setReflexiveTransitiveClosure(boolean value); | ||
92 | |||
93 | /** | ||
94 | * Returns the value of the '<em><b>Argument List</b></em>' containment reference. | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @return the value of the '<em>Argument List</em>' containment reference. | ||
98 | * @see #setArgumentList(ArgumentList) | ||
99 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_ArgumentList() | ||
100 | * @model containment="true" | ||
101 | * @generated | ||
102 | */ | ||
103 | ArgumentList getArgumentList(); | ||
104 | |||
105 | /** | ||
106 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList <em>Argument List</em>}' containment reference. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @param value the new value of the '<em>Argument List</em>' containment reference. | ||
110 | * @see #getArgumentList() | ||
111 | * @generated | ||
112 | */ | ||
113 | void setArgumentList(ArgumentList value); | ||
114 | |||
115 | } // Call | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java deleted file mode 100644 index f2d2e5a7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Case</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody <em>Body</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition <em>Condition</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface Case extends Expression { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Body</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Body</em>' containment reference. | ||
30 | * @see #setBody(Expression) | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase_Body() | ||
32 | * @model containment="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | Expression getBody(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody <em>Body</em>}' containment reference. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Body</em>' containment reference. | ||
42 | * @see #getBody() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setBody(Expression value); | ||
46 | |||
47 | /** | ||
48 | * Returns the value of the '<em><b>Condition</b></em>' containment reference. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Condition</em>' containment reference. | ||
52 | * @see #setCondition(Expression) | ||
53 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase_Condition() | ||
54 | * @model containment="true" | ||
55 | * @generated | ||
56 | */ | ||
57 | Expression getCondition(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition <em>Condition</em>}' containment reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Condition</em>' containment reference. | ||
64 | * @see #getCondition() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setCondition(Expression value); | ||
68 | |||
69 | } // Case | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java deleted file mode 100644 index d8fe4945..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Cast Expression</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody <em>Body</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getType <em>Type</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCastExpression() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface CastExpression extends Expression { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Body</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Body</em>' containment reference. | ||
30 | * @see #setBody(Expression) | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCastExpression_Body() | ||
32 | * @model containment="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | Expression getBody(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody <em>Body</em>}' containment reference. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Body</em>' containment reference. | ||
42 | * @see #getBody() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setBody(Expression value); | ||
46 | |||
47 | /** | ||
48 | * Returns the value of the '<em><b>Type</b></em>' reference. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Type</em>' reference. | ||
52 | * @see #setType(NamedElement) | ||
53 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCastExpression_Type() | ||
54 | * @model | ||
55 | * @generated | ||
56 | */ | ||
57 | NamedElement getType(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getType <em>Type</em>}' reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Type</em>' reference. | ||
64 | * @see #getType() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setType(NamedElement value); | ||
68 | |||
69 | } // CastExpression | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java deleted file mode 100644 index 0963c7a1..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java +++ /dev/null | |||
@@ -1,96 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Class Definition</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract <em>Abstract</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName <em>Name</em>}</li> | ||
19 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses <em>Superclasses</em>}</li> | ||
20 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers <em>Members</em>}</li> | ||
21 | * </ul> | ||
22 | * | ||
23 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition() | ||
24 | * @model | ||
25 | * @generated | ||
26 | */ | ||
27 | public interface ClassDefinition extends Statement { | ||
28 | /** | ||
29 | * Returns the value of the '<em><b>Abstract</b></em>' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Abstract</em>' attribute. | ||
33 | * @see #setAbstract(boolean) | ||
34 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Abstract() | ||
35 | * @model | ||
36 | * @generated | ||
37 | */ | ||
38 | boolean isAbstract(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract <em>Abstract</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Abstract</em>' attribute. | ||
45 | * @see #isAbstract() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setAbstract(boolean value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @return the value of the '<em>Name</em>' attribute. | ||
55 | * @see #setName(String) | ||
56 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Name() | ||
57 | * @model | ||
58 | * @generated | ||
59 | */ | ||
60 | String getName(); | ||
61 | |||
62 | /** | ||
63 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName <em>Name</em>}' attribute. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @param value the new value of the '<em>Name</em>' attribute. | ||
67 | * @see #getName() | ||
68 | * @generated | ||
69 | */ | ||
70 | void setName(String value); | ||
71 | |||
72 | /** | ||
73 | * Returns the value of the '<em><b>Superclasses</b></em>' reference list. | ||
74 | * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement}. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @return the value of the '<em>Superclasses</em>' reference list. | ||
78 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Superclasses() | ||
79 | * @model | ||
80 | * @generated | ||
81 | */ | ||
82 | EList<NamedElement> getSuperclasses(); | ||
83 | |||
84 | /** | ||
85 | * Returns the value of the '<em><b>Members</b></em>' containment reference list. | ||
86 | * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition}. | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @return the value of the '<em>Members</em>' containment reference list. | ||
90 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Members() | ||
91 | * @model containment="true" | ||
92 | * @generated | ||
93 | */ | ||
94 | EList<MemberDefinition> getMembers(); | ||
95 | |||
96 | } // ClassDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java deleted file mode 100644 index 5187c5db..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java +++ /dev/null | |||
@@ -1,95 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Comparison</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft <em>Left</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp <em>Op</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight <em>Right</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface Comparison extends Expression { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Left</b></em>' containment reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Left</em>' containment reference. | ||
31 | * @see #setLeft(Expression) | ||
32 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison_Left() | ||
33 | * @model containment="true" | ||
34 | * @generated | ||
35 | */ | ||
36 | Expression getLeft(); | ||
37 | |||
38 | /** | ||
39 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft <em>Left</em>}' containment reference. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @param value the new value of the '<em>Left</em>' containment reference. | ||
43 | * @see #getLeft() | ||
44 | * @generated | ||
45 | */ | ||
46 | void setLeft(Expression value); | ||
47 | |||
48 | /** | ||
49 | * Returns the value of the '<em><b>Op</b></em>' attribute. | ||
50 | * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator}. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @return the value of the '<em>Op</em>' attribute. | ||
54 | * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator | ||
55 | * @see #setOp(BinaryOperator) | ||
56 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison_Op() | ||
57 | * @model | ||
58 | * @generated | ||
59 | */ | ||
60 | BinaryOperator getOp(); | ||
61 | |||
62 | /** | ||
63 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp <em>Op</em>}' attribute. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @param value the new value of the '<em>Op</em>' attribute. | ||
67 | * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator | ||
68 | * @see #getOp() | ||
69 | * @generated | ||
70 | */ | ||
71 | void setOp(BinaryOperator value); | ||
72 | |||
73 | /** | ||
74 | * Returns the value of the '<em><b>Right</b></em>' containment reference. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @return the value of the '<em>Right</em>' containment reference. | ||
78 | * @see #setRight(Expression) | ||
79 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison_Right() | ||
80 | * @model containment="true" | ||
81 | * @generated | ||
82 | */ | ||
83 | Expression getRight(); | ||
84 | |||
85 | /** | ||
86 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight <em>Right</em>}' containment reference. | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @param value the new value of the '<em>Right</em>' containment reference. | ||
90 | * @see #getRight() | ||
91 | * @generated | ||
92 | */ | ||
93 | void setRight(Expression value); | ||
94 | |||
95 | } // Comparison | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java deleted file mode 100644 index 788f5a97..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Conjunction</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction#getChildren <em>Children</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConjunction() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface Conjunction extends Expression { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Children</b></em>' containment reference list. | ||
27 | * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Expression}. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Children</em>' containment reference list. | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConjunction_Children() | ||
32 | * @model containment="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | EList<Expression> getChildren(); | ||
36 | |||
37 | } // Conjunction | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java deleted file mode 100644 index ac5f6f32..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Default Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead <em>Head</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange <em>Range</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultDefinition() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface DefaultDefinition extends Statement { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Head</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Head</em>' containment reference. | ||
30 | * @see #setHead(Call) | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultDefinition_Head() | ||
32 | * @model containment="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | Call getHead(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead <em>Head</em>}' containment reference. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Head</em>' containment reference. | ||
42 | * @see #getHead() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setHead(Call value); | ||
46 | |||
47 | /** | ||
48 | * Returns the value of the '<em><b>Range</b></em>' containment reference. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Range</em>' containment reference. | ||
52 | * @see #setRange(Expression) | ||
53 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultDefinition_Range() | ||
54 | * @model containment="true" | ||
55 | * @generated | ||
56 | */ | ||
57 | Expression getRange(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange <em>Range</em>}' containment reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Range</em>' containment reference. | ||
64 | * @see #getRange() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setRange(Expression value); | ||
68 | |||
69 | } // DefaultDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java deleted file mode 100644 index eb1cafde..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Disjunction</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction#getChildren <em>Children</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDisjunction() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface Disjunction extends Expression { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Children</b></em>' containment reference list. | ||
27 | * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Expression}. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Children</em>' containment reference list. | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDisjunction_Children() | ||
32 | * @model containment="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | EList<Expression> getChildren(); | ||
36 | |||
37 | } // Disjunction | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java deleted file mode 100644 index b3e5ccf7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Empty Interval Literal</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getEmptyIntervalLiteral() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface EmptyIntervalLiteral extends Literal { | ||
18 | } // EmptyIntervalLiteral | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java deleted file mode 100644 index 666c2f43..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Exact Multiplicity</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity <em>Multiplicity</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactMultiplicity() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ExactMultiplicity extends Multiplicity { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Multiplicity</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>Multiplicity</em>' attribute. | ||
29 | * @see #setMultiplicity(int) | ||
30 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactMultiplicity_Multiplicity() | ||
31 | * @model | ||
32 | * @generated | ||
33 | */ | ||
34 | int getMultiplicity(); | ||
35 | |||
36 | /** | ||
37 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity <em>Multiplicity</em>}' attribute. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @param value the new value of the '<em>Multiplicity</em>' attribute. | ||
41 | * @see #getMultiplicity() | ||
42 | * @generated | ||
43 | */ | ||
44 | void setMultiplicity(int value); | ||
45 | |||
46 | } // ExactMultiplicity | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java deleted file mode 100644 index 035329e2..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Exact Scope Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope <em>Exact Scope</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactScopeDefinition() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ExactScopeDefinition extends ScopeDefinition { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Exact Scope</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>Exact Scope</em>' attribute. | ||
29 | * @see #setExactScope(int) | ||
30 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactScopeDefinition_ExactScope() | ||
31 | * @model | ||
32 | * @generated | ||
33 | */ | ||
34 | int getExactScope(); | ||
35 | |||
36 | /** | ||
37 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope <em>Exact Scope</em>}' attribute. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @param value the new value of the '<em>Exact Scope</em>' attribute. | ||
41 | * @see #getExactScope() | ||
42 | * @generated | ||
43 | */ | ||
44 | void setExactScope(int value); | ||
45 | |||
46 | } // ExactScopeDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java deleted file mode 100644 index 2034cdfd..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Expression</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpression() | ||
14 | * @model abstract="true" | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface Expression extends Statement { | ||
18 | } // Expression | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java deleted file mode 100644 index 26f6142e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Expression Argument</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody <em>Body</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpressionArgument() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ExpressionArgument extends Argument { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Body</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>Body</em>' containment reference. | ||
29 | * @see #setBody(Expression) | ||
30 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpressionArgument_Body() | ||
31 | * @model containment="true" | ||
32 | * @generated | ||
33 | */ | ||
34 | Expression getBody(); | ||
35 | |||
36 | /** | ||
37 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody <em>Body</em>}' containment reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @param value the new value of the '<em>Body</em>' containment reference. | ||
41 | * @see #getBody() | ||
42 | * @generated | ||
43 | */ | ||
44 | void setBody(Expression value); | ||
45 | |||
46 | } // ExpressionArgument | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregatorDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregatorDefinition.java deleted file mode 100644 index eb6b8cdf..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregatorDefinition.java +++ /dev/null | |||
@@ -1,92 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Extern Aggregator Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getType <em>Type</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getName <em>Name</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getInputType <em>Input Type</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregatorDefinition() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface ExternAggregatorDefinition extends Statement { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Type</b></em>' reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Type</em>' reference. | ||
31 | * @see #setType(NamedElement) | ||
32 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregatorDefinition_Type() | ||
33 | * @model | ||
34 | * @generated | ||
35 | */ | ||
36 | NamedElement getType(); | ||
37 | |||
38 | /** | ||
39 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getType <em>Type</em>}' reference. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @param value the new value of the '<em>Type</em>' reference. | ||
43 | * @see #getType() | ||
44 | * @generated | ||
45 | */ | ||
46 | void setType(NamedElement value); | ||
47 | |||
48 | /** | ||
49 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @return the value of the '<em>Name</em>' attribute. | ||
53 | * @see #setName(String) | ||
54 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregatorDefinition_Name() | ||
55 | * @model | ||
56 | * @generated | ||
57 | */ | ||
58 | String getName(); | ||
59 | |||
60 | /** | ||
61 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getName <em>Name</em>}' attribute. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @param value the new value of the '<em>Name</em>' attribute. | ||
65 | * @see #getName() | ||
66 | * @generated | ||
67 | */ | ||
68 | void setName(String value); | ||
69 | |||
70 | /** | ||
71 | * Returns the value of the '<em><b>Input Type</b></em>' reference. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @return the value of the '<em>Input Type</em>' reference. | ||
75 | * @see #setInputType(NamedElement) | ||
76 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregatorDefinition_InputType() | ||
77 | * @model | ||
78 | * @generated | ||
79 | */ | ||
80 | NamedElement getInputType(); | ||
81 | |||
82 | /** | ||
83 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getInputType <em>Input Type</em>}' reference. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @param value the new value of the '<em>Input Type</em>' reference. | ||
87 | * @see #getInputType() | ||
88 | * @generated | ||
89 | */ | ||
90 | void setInputType(NamedElement value); | ||
91 | |||
92 | } // ExternAggregatorDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDefinition.java deleted file mode 100644 index a0fb33eb..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDefinition.java +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Extern Datatype Definition</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getName <em>Name</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getSupertypes <em>Supertypes</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternDatatypeDefinition() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface ExternDatatypeDefinition extends Statement { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Name</em>' attribute. | ||
31 | * @see #setName(String) | ||
32 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternDatatypeDefinition_Name() | ||
33 | * @model | ||
34 | * @generated | ||
35 | */ | ||
36 | String getName(); | ||
37 | |||
38 | /** | ||
39 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getName <em>Name</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @param value the new value of the '<em>Name</em>' attribute. | ||
43 | * @see #getName() | ||
44 | * @generated | ||
45 | */ | ||
46 | void setName(String value); | ||
47 | |||
48 | /** | ||
49 | * Returns the value of the '<em><b>Supertypes</b></em>' reference list. | ||
50 | * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement}. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @return the value of the '<em>Supertypes</em>' reference list. | ||
54 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternDatatypeDefinition_Supertypes() | ||
55 | * @model | ||
56 | * @generated | ||
57 | */ | ||
58 | EList<NamedElement> getSupertypes(); | ||
59 | |||
60 | } // ExternDatatypeDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java deleted file mode 100644 index 45cac1e2..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java +++ /dev/null | |||
@@ -1,92 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Extern Metric Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType <em>Type</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getName <em>Name</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getArgumentList <em>Argument List</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface ExternMetricDefinition extends Statement { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Type</b></em>' reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Type</em>' reference. | ||
31 | * @see #setType(NamedElement) | ||
32 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition_Type() | ||
33 | * @model | ||
34 | * @generated | ||
35 | */ | ||
36 | NamedElement getType(); | ||
37 | |||
38 | /** | ||
39 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType <em>Type</em>}' reference. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @param value the new value of the '<em>Type</em>' reference. | ||
43 | * @see #getType() | ||
44 | * @generated | ||
45 | */ | ||
46 | void setType(NamedElement value); | ||
47 | |||
48 | /** | ||
49 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @return the value of the '<em>Name</em>' attribute. | ||
53 | * @see #setName(String) | ||
54 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition_Name() | ||
55 | * @model | ||
56 | * @generated | ||
57 | */ | ||
58 | String getName(); | ||
59 | |||
60 | /** | ||
61 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getName <em>Name</em>}' attribute. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @param value the new value of the '<em>Name</em>' attribute. | ||
65 | * @see #getName() | ||
66 | * @generated | ||
67 | */ | ||
68 | void setName(String value); | ||
69 | |||
70 | /** | ||
71 | * Returns the value of the '<em><b>Argument List</b></em>' containment reference. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @return the value of the '<em>Argument List</em>' containment reference. | ||
75 | * @see #setArgumentList(ArgumentList) | ||
76 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition_ArgumentList() | ||
77 | * @model containment="true" | ||
78 | * @generated | ||
79 | */ | ||
80 | ArgumentList getArgumentList(); | ||
81 | |||
82 | /** | ||
83 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getArgumentList <em>Argument List</em>}' containment reference. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @param value the new value of the '<em>Argument List</em>' containment reference. | ||
87 | * @see #getArgumentList() | ||
88 | * @generated | ||
89 | */ | ||
90 | void setArgumentList(ArgumentList value); | ||
91 | |||
92 | } // ExternMetricDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java deleted file mode 100644 index 647f7b91..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Extern Predicate Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getName <em>Name</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getArgumentList <em>Argument List</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternPredicateDefinition() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface ExternPredicateDefinition extends Statement { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Name</em>' attribute. | ||
30 | * @see #setName(String) | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternPredicateDefinition_Name() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | String getName(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getName <em>Name</em>}' attribute. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Name</em>' attribute. | ||
42 | * @see #getName() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setName(String value); | ||
46 | |||
47 | /** | ||
48 | * Returns the value of the '<em><b>Argument List</b></em>' containment reference. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Argument List</em>' containment reference. | ||
52 | * @see #setArgumentList(ArgumentList) | ||
53 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternPredicateDefinition_ArgumentList() | ||
54 | * @model containment="true" | ||
55 | * @generated | ||
56 | */ | ||
57 | ArgumentList getArgumentList(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getArgumentList <em>Argument List</em>}' containment reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Argument List</em>' containment reference. | ||
64 | * @see #getArgumentList() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setArgumentList(ArgumentList value); | ||
68 | |||
69 | } // ExternPredicateDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java deleted file mode 100644 index 45861d3e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Functor</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Functor#getParameters <em>Parameters</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctor() | ||
21 | * @model abstract="true" | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface Functor extends NamedElement { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Parameters</b></em>' reference list. | ||
27 | * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Variable}. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Parameters</em>' reference list. | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctor_Parameters() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | EList<Variable> getParameters(); | ||
36 | |||
37 | } // Functor | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java deleted file mode 100644 index d32ca1e3..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java +++ /dev/null | |||
@@ -1,92 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>If Else</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen <em>Then</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse <em>Else</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition <em>Condition</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface IfElse extends Expression { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Then</b></em>' containment reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Then</em>' containment reference. | ||
31 | * @see #setThen(Expression) | ||
32 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse_Then() | ||
33 | * @model containment="true" | ||
34 | * @generated | ||
35 | */ | ||
36 | Expression getThen(); | ||
37 | |||
38 | /** | ||
39 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen <em>Then</em>}' containment reference. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @param value the new value of the '<em>Then</em>' containment reference. | ||
43 | * @see #getThen() | ||
44 | * @generated | ||
45 | */ | ||
46 | void setThen(Expression value); | ||
47 | |||
48 | /** | ||
49 | * Returns the value of the '<em><b>Else</b></em>' containment reference. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @return the value of the '<em>Else</em>' containment reference. | ||
53 | * @see #setElse(Expression) | ||
54 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse_Else() | ||
55 | * @model containment="true" | ||
56 | * @generated | ||
57 | */ | ||
58 | Expression getElse(); | ||
59 | |||
60 | /** | ||
61 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse <em>Else</em>}' containment reference. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @param value the new value of the '<em>Else</em>' containment reference. | ||
65 | * @see #getElse() | ||
66 | * @generated | ||
67 | */ | ||
68 | void setElse(Expression value); | ||
69 | |||
70 | /** | ||
71 | * Returns the value of the '<em><b>Condition</b></em>' containment reference. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @return the value of the '<em>Condition</em>' containment reference. | ||
75 | * @see #setCondition(Expression) | ||
76 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse_Condition() | ||
77 | * @model containment="true" | ||
78 | * @generated | ||
79 | */ | ||
80 | Expression getCondition(); | ||
81 | |||
82 | /** | ||
83 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition <em>Condition</em>}' containment reference. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @param value the new value of the '<em>Condition</em>' containment reference. | ||
87 | * @see #getCondition() | ||
88 | * @generated | ||
89 | */ | ||
90 | void setCondition(Expression value); | ||
91 | |||
92 | } // IfElse | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java deleted file mode 100644 index 5a584019..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Infinity Literal</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInfinityLiteral() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface InfinityLiteral extends Literal { | ||
18 | } // InfinityLiteral | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interpretation.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interpretation.java deleted file mode 100644 index 4d1b6b77..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interpretation.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Interpretation</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getBody <em>Body</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getRange <em>Range</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterpretation() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface Interpretation extends Statement { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Body</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Body</em>' containment reference. | ||
30 | * @see #setBody(Expression) | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterpretation_Body() | ||
32 | * @model containment="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | Expression getBody(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getBody <em>Body</em>}' containment reference. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Body</em>' containment reference. | ||
42 | * @see #getBody() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setBody(Expression value); | ||
46 | |||
47 | /** | ||
48 | * Returns the value of the '<em><b>Range</b></em>' containment reference. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Range</em>' containment reference. | ||
52 | * @see #setRange(Expression) | ||
53 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterpretation_Range() | ||
54 | * @model containment="true" | ||
55 | * @generated | ||
56 | */ | ||
57 | Expression getRange(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getRange <em>Range</em>}' containment reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Range</em>' containment reference. | ||
64 | * @see #getRange() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setRange(Expression value); | ||
68 | |||
69 | } // Interpretation | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java deleted file mode 100644 index 39e4cbf3..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Interval</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound <em>Lower Bound</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound <em>Upper Bound</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface Interval extends Expression { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Lower Bound</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Lower Bound</em>' containment reference. | ||
30 | * @see #setLowerBound(Expression) | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval_LowerBound() | ||
32 | * @model containment="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | Expression getLowerBound(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound <em>Lower Bound</em>}' containment reference. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Lower Bound</em>' containment reference. | ||
42 | * @see #getLowerBound() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setLowerBound(Expression value); | ||
46 | |||
47 | /** | ||
48 | * Returns the value of the '<em><b>Upper Bound</b></em>' containment reference. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Upper Bound</em>' containment reference. | ||
52 | * @see #setUpperBound(Expression) | ||
53 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval_UpperBound() | ||
54 | * @model containment="true" | ||
55 | * @generated | ||
56 | */ | ||
57 | Expression getUpperBound(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound <em>Upper Bound</em>}' containment reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Upper Bound</em>' containment reference. | ||
64 | * @see #getUpperBound() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setUpperBound(Expression value); | ||
68 | |||
69 | } // Interval | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Let.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Let.java deleted file mode 100644 index d3e76c1e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Let.java +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Let</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBindings <em>Bindings</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBody <em>Body</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLet() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface Let extends Expression { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Bindings</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Bindings</em>' containment reference list. | ||
32 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLet_Bindings() | ||
33 | * @model containment="true" | ||
34 | * @generated | ||
35 | */ | ||
36 | EList<LetBinding> getBindings(); | ||
37 | |||
38 | /** | ||
39 | * Returns the value of the '<em><b>Body</b></em>' containment reference. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @return the value of the '<em>Body</em>' containment reference. | ||
43 | * @see #setBody(Expression) | ||
44 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLet_Body() | ||
45 | * @model containment="true" | ||
46 | * @generated | ||
47 | */ | ||
48 | Expression getBody(); | ||
49 | |||
50 | /** | ||
51 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBody <em>Body</em>}' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @param value the new value of the '<em>Body</em>' containment reference. | ||
55 | * @see #getBody() | ||
56 | * @generated | ||
57 | */ | ||
58 | void setBody(Expression value); | ||
59 | |||
60 | } // Let | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java deleted file mode 100644 index f6569b11..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java +++ /dev/null | |||
@@ -1,70 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Let Binding</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable <em>Variable</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue <em>Value</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface LetBinding extends EObject { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Variable</b></em>' containment reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Variable</em>' containment reference. | ||
31 | * @see #setVariable(NamedElement) | ||
32 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding_Variable() | ||
33 | * @model containment="true" | ||
34 | * @generated | ||
35 | */ | ||
36 | NamedElement getVariable(); | ||
37 | |||
38 | /** | ||
39 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable <em>Variable</em>}' containment reference. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @param value the new value of the '<em>Variable</em>' containment reference. | ||
43 | * @see #getVariable() | ||
44 | * @generated | ||
45 | */ | ||
46 | void setVariable(NamedElement value); | ||
47 | |||
48 | /** | ||
49 | * Returns the value of the '<em><b>Value</b></em>' containment reference. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @return the value of the '<em>Value</em>' containment reference. | ||
53 | * @see #setValue(Expression) | ||
54 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding_Value() | ||
55 | * @model containment="true" | ||
56 | * @generated | ||
57 | */ | ||
58 | Expression getValue(); | ||
59 | |||
60 | /** | ||
61 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue <em>Value</em>}' containment reference. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @param value the new value of the '<em>Value</em>' containment reference. | ||
65 | * @see #getValue() | ||
66 | * @generated | ||
67 | */ | ||
68 | void setValue(Expression value); | ||
69 | |||
70 | } // LetBinding | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java deleted file mode 100644 index c7f7a31a..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Literal</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLiteral() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface Literal extends Expression { | ||
18 | } // Literal | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LocalVariables.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LocalVariables.java deleted file mode 100644 index d5edda19..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LocalVariables.java +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * A representation of the model object '<em><b>Local Variables</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * <p> | ||
16 | * The following features are supported: | ||
17 | * </p> | ||
18 | * <ul> | ||
19 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.LocalVariables#getVariables <em>Variables</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLocalVariables() | ||
23 | * @model | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface LocalVariables extends EObject { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Variables</b></em>' containment reference list. | ||
29 | * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement}. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Variables</em>' containment reference list. | ||
33 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLocalVariables_Variables() | ||
34 | * @model containment="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | EList<NamedElement> getVariables(); | ||
38 | |||
39 | } // LocalVariables | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java deleted file mode 100644 index 8c60650b..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Logic Literal</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue <em>Value</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicLiteral() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface LogicLiteral extends Literal { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
26 | * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue}. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Value</em>' attribute. | ||
30 | * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue | ||
31 | * @see #setValue(LogicValue) | ||
32 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicLiteral_Value() | ||
33 | * @model | ||
34 | * @generated | ||
35 | */ | ||
36 | LogicValue getValue(); | ||
37 | |||
38 | /** | ||
39 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue <em>Value</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @param value the new value of the '<em>Value</em>' attribute. | ||
43 | * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue | ||
44 | * @see #getValue() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setValue(LogicValue value); | ||
48 | |||
49 | } // LogicLiteral | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java deleted file mode 100644 index 5f129c05..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java +++ /dev/null | |||
@@ -1,256 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import java.util.Arrays; | ||
7 | import java.util.Collections; | ||
8 | import java.util.List; | ||
9 | |||
10 | import org.eclipse.emf.common.util.Enumerator; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * A representation of the literals of the enumeration '<em><b>Logic Value</b></em>', | ||
15 | * and utility methods for working with them. | ||
16 | * <!-- end-user-doc --> | ||
17 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicValue() | ||
18 | * @model | ||
19 | * @generated | ||
20 | */ | ||
21 | public enum LogicValue implements Enumerator { | ||
22 | /** | ||
23 | * The '<em><b>TRUE</b></em>' literal object. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @see #TRUE_VALUE | ||
27 | * @generated | ||
28 | * @ordered | ||
29 | */ | ||
30 | TRUE(0, "TRUE", "true"), | ||
31 | |||
32 | /** | ||
33 | * The '<em><b>FALSE</b></em>' literal object. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #FALSE_VALUE | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | FALSE(1, "FALSE", "false"), | ||
41 | |||
42 | /** | ||
43 | * The '<em><b>UNKNOWN</b></em>' literal object. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #UNKNOWN_VALUE | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | UNKNOWN(2, "UNKNOWN", "unknown"), | ||
51 | |||
52 | /** | ||
53 | * The '<em><b>ERROR</b></em>' literal object. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #ERROR_VALUE | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | ERROR(3, "ERROR", "error"); | ||
61 | |||
62 | /** | ||
63 | * The '<em><b>TRUE</b></em>' literal value. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @see #TRUE | ||
67 | * @model literal="true" | ||
68 | * @generated | ||
69 | * @ordered | ||
70 | */ | ||
71 | public static final int TRUE_VALUE = 0; | ||
72 | |||
73 | /** | ||
74 | * The '<em><b>FALSE</b></em>' literal value. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @see #FALSE | ||
78 | * @model literal="false" | ||
79 | * @generated | ||
80 | * @ordered | ||
81 | */ | ||
82 | public static final int FALSE_VALUE = 1; | ||
83 | |||
84 | /** | ||
85 | * The '<em><b>UNKNOWN</b></em>' literal value. | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @see #UNKNOWN | ||
89 | * @model literal="unknown" | ||
90 | * @generated | ||
91 | * @ordered | ||
92 | */ | ||
93 | public static final int UNKNOWN_VALUE = 2; | ||
94 | |||
95 | /** | ||
96 | * The '<em><b>ERROR</b></em>' literal value. | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @see #ERROR | ||
100 | * @model literal="error" | ||
101 | * @generated | ||
102 | * @ordered | ||
103 | */ | ||
104 | public static final int ERROR_VALUE = 3; | ||
105 | |||
106 | /** | ||
107 | * An array of all the '<em><b>Logic Value</b></em>' enumerators. | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | private static final LogicValue[] VALUES_ARRAY = | ||
113 | new LogicValue[] { | ||
114 | TRUE, | ||
115 | FALSE, | ||
116 | UNKNOWN, | ||
117 | ERROR, | ||
118 | }; | ||
119 | |||
120 | /** | ||
121 | * A public read-only list of all the '<em><b>Logic Value</b></em>' enumerators. | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | public static final List<LogicValue> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
127 | |||
128 | /** | ||
129 | * Returns the '<em><b>Logic Value</b></em>' literal with the specified literal value. | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @param literal the literal. | ||
133 | * @return the matching enumerator or <code>null</code>. | ||
134 | * @generated | ||
135 | */ | ||
136 | public static LogicValue get(String literal) { | ||
137 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
138 | LogicValue result = VALUES_ARRAY[i]; | ||
139 | if (result.toString().equals(literal)) { | ||
140 | return result; | ||
141 | } | ||
142 | } | ||
143 | return null; | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * Returns the '<em><b>Logic Value</b></em>' literal with the specified name. | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @param name the name. | ||
151 | * @return the matching enumerator or <code>null</code>. | ||
152 | * @generated | ||
153 | */ | ||
154 | public static LogicValue getByName(String name) { | ||
155 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
156 | LogicValue result = VALUES_ARRAY[i]; | ||
157 | if (result.getName().equals(name)) { | ||
158 | return result; | ||
159 | } | ||
160 | } | ||
161 | return null; | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * Returns the '<em><b>Logic Value</b></em>' literal with the specified integer value. | ||
166 | * <!-- begin-user-doc --> | ||
167 | * <!-- end-user-doc --> | ||
168 | * @param value the integer value. | ||
169 | * @return the matching enumerator or <code>null</code>. | ||
170 | * @generated | ||
171 | */ | ||
172 | public static LogicValue get(int value) { | ||
173 | switch (value) { | ||
174 | case TRUE_VALUE: return TRUE; | ||
175 | case FALSE_VALUE: return FALSE; | ||
176 | case UNKNOWN_VALUE: return UNKNOWN; | ||
177 | case ERROR_VALUE: return ERROR; | ||
178 | } | ||
179 | return null; | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | private final int value; | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | private final String name; | ||
195 | |||
196 | /** | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @generated | ||
200 | */ | ||
201 | private final String literal; | ||
202 | |||
203 | /** | ||
204 | * Only this class can construct instances. | ||
205 | * <!-- begin-user-doc --> | ||
206 | * <!-- end-user-doc --> | ||
207 | * @generated | ||
208 | */ | ||
209 | private LogicValue(int value, String name, String literal) { | ||
210 | this.value = value; | ||
211 | this.name = name; | ||
212 | this.literal = literal; | ||
213 | } | ||
214 | |||
215 | /** | ||
216 | * <!-- begin-user-doc --> | ||
217 | * <!-- end-user-doc --> | ||
218 | * @generated | ||
219 | */ | ||
220 | @Override | ||
221 | public int getValue() { | ||
222 | return value; | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public String getName() { | ||
232 | return name; | ||
233 | } | ||
234 | |||
235 | /** | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @generated | ||
239 | */ | ||
240 | @Override | ||
241 | public String getLiteral() { | ||
242 | return literal; | ||
243 | } | ||
244 | |||
245 | /** | ||
246 | * Returns the literal value of the enumerator, which is its string representation. | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public String toString() { | ||
253 | return literal; | ||
254 | } | ||
255 | |||
256 | } //LogicValue | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java deleted file mode 100644 index 1c1c6764..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Lower Bounded Scope Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound <em>Lower Bound</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLowerBoundedScopeDefinition() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface LowerBoundedScopeDefinition extends ScopeDefinition { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Lower Bound</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>Lower Bound</em>' attribute. | ||
29 | * @see #setLowerBound(int) | ||
30 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLowerBoundedScopeDefinition_LowerBound() | ||
31 | * @model | ||
32 | * @generated | ||
33 | */ | ||
34 | int getLowerBound(); | ||
35 | |||
36 | /** | ||
37 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound <em>Lower Bound</em>}' attribute. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @param value the new value of the '<em>Lower Bound</em>' attribute. | ||
41 | * @see #getLowerBound() | ||
42 | * @generated | ||
43 | */ | ||
44 | void setLowerBound(int value); | ||
45 | |||
46 | } // LowerBoundedScopeDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java deleted file mode 100644 index 2d40f570..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Many Multiplicity</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getManyMultiplicity() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface ManyMultiplicity extends Multiplicity { | ||
18 | } // ManyMultiplicity | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java deleted file mode 100644 index 6a8d507e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java +++ /dev/null | |||
@@ -1,139 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Member Definition</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment <em>Containment</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType <em>Type</em>}</li> | ||
19 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity <em>Multiplicity</em>}</li> | ||
20 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName <em>Name</em>}</li> | ||
21 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite <em>Opposite</em>}</li> | ||
22 | * </ul> | ||
23 | * | ||
24 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition() | ||
25 | * @model | ||
26 | * @generated | ||
27 | */ | ||
28 | public interface MemberDefinition extends EObject { | ||
29 | /** | ||
30 | * Returns the value of the '<em><b>Containment</b></em>' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Containment</em>' attribute. | ||
34 | * @see #setContainment(boolean) | ||
35 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Containment() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | boolean isContainment(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment <em>Containment</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Containment</em>' attribute. | ||
46 | * @see #isContainment() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setContainment(boolean value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Type</b></em>' reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @return the value of the '<em>Type</em>' reference. | ||
56 | * @see #setType(NamedElement) | ||
57 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Type() | ||
58 | * @model | ||
59 | * @generated | ||
60 | */ | ||
61 | NamedElement getType(); | ||
62 | |||
63 | /** | ||
64 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType <em>Type</em>}' reference. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @param value the new value of the '<em>Type</em>' reference. | ||
68 | * @see #getType() | ||
69 | * @generated | ||
70 | */ | ||
71 | void setType(NamedElement value); | ||
72 | |||
73 | /** | ||
74 | * Returns the value of the '<em><b>Multiplicity</b></em>' containment reference. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @return the value of the '<em>Multiplicity</em>' containment reference. | ||
78 | * @see #setMultiplicity(Multiplicity) | ||
79 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Multiplicity() | ||
80 | * @model containment="true" | ||
81 | * @generated | ||
82 | */ | ||
83 | Multiplicity getMultiplicity(); | ||
84 | |||
85 | /** | ||
86 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity <em>Multiplicity</em>}' containment reference. | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @param value the new value of the '<em>Multiplicity</em>' containment reference. | ||
90 | * @see #getMultiplicity() | ||
91 | * @generated | ||
92 | */ | ||
93 | void setMultiplicity(Multiplicity value); | ||
94 | |||
95 | /** | ||
96 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @return the value of the '<em>Name</em>' attribute. | ||
100 | * @see #setName(String) | ||
101 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Name() | ||
102 | * @model | ||
103 | * @generated | ||
104 | */ | ||
105 | String getName(); | ||
106 | |||
107 | /** | ||
108 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName <em>Name</em>}' attribute. | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @param value the new value of the '<em>Name</em>' attribute. | ||
112 | * @see #getName() | ||
113 | * @generated | ||
114 | */ | ||
115 | void setName(String value); | ||
116 | |||
117 | /** | ||
118 | * Returns the value of the '<em><b>Opposite</b></em>' reference. | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @return the value of the '<em>Opposite</em>' reference. | ||
122 | * @see #setOpposite(NamedElement) | ||
123 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Opposite() | ||
124 | * @model | ||
125 | * @generated | ||
126 | */ | ||
127 | NamedElement getOpposite(); | ||
128 | |||
129 | /** | ||
130 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite <em>Opposite</em>}' reference. | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @param value the new value of the '<em>Opposite</em>' reference. | ||
134 | * @see #getOpposite() | ||
135 | * @generated | ||
136 | */ | ||
137 | void setOpposite(NamedElement value); | ||
138 | |||
139 | } // MemberDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java deleted file mode 100644 index 02724d03..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Metric</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Metric#getReturnType <em>Return Type</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetric() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface Metric extends Functor { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Return Type</b></em>' reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>Return Type</em>' reference. | ||
29 | * @see #setReturnType(NamedElement) | ||
30 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetric_ReturnType() | ||
31 | * @model | ||
32 | * @generated | ||
33 | */ | ||
34 | NamedElement getReturnType(); | ||
35 | |||
36 | /** | ||
37 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric#getReturnType <em>Return Type</em>}' reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @param value the new value of the '<em>Return Type</em>' reference. | ||
41 | * @see #getReturnType() | ||
42 | * @generated | ||
43 | */ | ||
44 | void setReturnType(NamedElement value); | ||
45 | |||
46 | } // Metric | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java deleted file mode 100644 index fa86f55e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java +++ /dev/null | |||
@@ -1,92 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Metric Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead <em>Head</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody <em>Body</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType <em>Type</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface MetricDefinition extends Statement { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Head</b></em>' containment reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Head</em>' containment reference. | ||
31 | * @see #setHead(Expression) | ||
32 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition_Head() | ||
33 | * @model containment="true" | ||
34 | * @generated | ||
35 | */ | ||
36 | Expression getHead(); | ||
37 | |||
38 | /** | ||
39 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead <em>Head</em>}' containment reference. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @param value the new value of the '<em>Head</em>' containment reference. | ||
43 | * @see #getHead() | ||
44 | * @generated | ||
45 | */ | ||
46 | void setHead(Expression value); | ||
47 | |||
48 | /** | ||
49 | * Returns the value of the '<em><b>Body</b></em>' containment reference. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @return the value of the '<em>Body</em>' containment reference. | ||
53 | * @see #setBody(Expression) | ||
54 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition_Body() | ||
55 | * @model containment="true" | ||
56 | * @generated | ||
57 | */ | ||
58 | Expression getBody(); | ||
59 | |||
60 | /** | ||
61 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody <em>Body</em>}' containment reference. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @param value the new value of the '<em>Body</em>' containment reference. | ||
65 | * @see #getBody() | ||
66 | * @generated | ||
67 | */ | ||
68 | void setBody(Expression value); | ||
69 | |||
70 | /** | ||
71 | * Returns the value of the '<em><b>Type</b></em>' reference. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @return the value of the '<em>Type</em>' reference. | ||
75 | * @see #setType(NamedElement) | ||
76 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition_Type() | ||
77 | * @model | ||
78 | * @generated | ||
79 | */ | ||
80 | NamedElement getType(); | ||
81 | |||
82 | /** | ||
83 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType <em>Type</em>}' reference. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @param value the new value of the '<em>Type</em>' reference. | ||
87 | * @see #getType() | ||
88 | * @generated | ||
89 | */ | ||
90 | void setType(NamedElement value); | ||
91 | |||
92 | } // MetricDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java deleted file mode 100644 index 5b6f1306..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Multiplicity</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * | ||
14 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMultiplicity() | ||
15 | * @model | ||
16 | * @generated | ||
17 | */ | ||
18 | public interface Multiplicity extends EObject { | ||
19 | } // Multiplicity | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java deleted file mode 100644 index 4daa21ab..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Named Element</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName <em>Name</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNamedElement() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface NamedElement extends EObject { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Name</em>' attribute. | ||
30 | * @see #setName(String) | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNamedElement_Name() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | String getName(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName <em>Name</em>}' attribute. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Name</em>' attribute. | ||
42 | * @see #getName() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setName(String value); | ||
46 | |||
47 | } // NamedElement | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java deleted file mode 100644 index f9c5d833..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Node</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Node#isWithId <em>With Id</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNode() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface Node extends NamedElement { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>With Id</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>With Id</em>' attribute. | ||
29 | * @see #setWithId(boolean) | ||
30 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNode_WithId() | ||
31 | * @model | ||
32 | * @generated | ||
33 | */ | ||
34 | boolean isWithId(); | ||
35 | |||
36 | /** | ||
37 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Node#isWithId <em>With Id</em>}' attribute. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @param value the new value of the '<em>With Id</em>' attribute. | ||
41 | * @see #isWithId() | ||
42 | * @generated | ||
43 | */ | ||
44 | void setWithId(boolean value); | ||
45 | |||
46 | } // Node | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java deleted file mode 100644 index dcefba48..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import java.math.BigDecimal; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Numeric Literal</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue <em>Value</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNumericLiteral() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface NumericLiteral extends Literal { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Value</em>' attribute. | ||
30 | * @see #setValue(BigDecimal) | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNumericLiteral_Value() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | BigDecimal getValue(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue <em>Value</em>}' attribute. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Value</em>' attribute. | ||
42 | * @see #getValue() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setValue(BigDecimal value); | ||
46 | |||
47 | } // NumericLiteral | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java deleted file mode 100644 index ffd46d01..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Objective Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind <em>Kind</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective <em>Objective</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDefinition() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface ObjectiveDefinition extends Statement { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Kind</b></em>' attribute. | ||
27 | * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind}. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Kind</em>' attribute. | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind | ||
32 | * @see #setKind(ObjectiveKind) | ||
33 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDefinition_Kind() | ||
34 | * @model | ||
35 | * @generated | ||
36 | */ | ||
37 | ObjectiveKind getKind(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind <em>Kind</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Kind</em>' attribute. | ||
44 | * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind | ||
45 | * @see #getKind() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setKind(ObjectiveKind value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Objective</b></em>' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @return the value of the '<em>Objective</em>' containment reference. | ||
55 | * @see #setObjective(Expression) | ||
56 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDefinition_Objective() | ||
57 | * @model containment="true" | ||
58 | * @generated | ||
59 | */ | ||
60 | Expression getObjective(); | ||
61 | |||
62 | /** | ||
63 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective <em>Objective</em>}' containment reference. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @param value the new value of the '<em>Objective</em>' containment reference. | ||
67 | * @see #getObjective() | ||
68 | * @generated | ||
69 | */ | ||
70 | void setObjective(Expression value); | ||
71 | |||
72 | } // ObjectiveDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java deleted file mode 100644 index 72f5947c..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java +++ /dev/null | |||
@@ -1,210 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import java.util.Arrays; | ||
7 | import java.util.Collections; | ||
8 | import java.util.List; | ||
9 | |||
10 | import org.eclipse.emf.common.util.Enumerator; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * A representation of the literals of the enumeration '<em><b>Objective Kind</b></em>', | ||
15 | * and utility methods for working with them. | ||
16 | * <!-- end-user-doc --> | ||
17 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveKind() | ||
18 | * @model | ||
19 | * @generated | ||
20 | */ | ||
21 | public enum ObjectiveKind implements Enumerator { | ||
22 | /** | ||
23 | * The '<em><b>MINIMIZE</b></em>' literal object. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @see #MINIMIZE_VALUE | ||
27 | * @generated | ||
28 | * @ordered | ||
29 | */ | ||
30 | MINIMIZE(0, "MINIMIZE", "minimize"), | ||
31 | |||
32 | /** | ||
33 | * The '<em><b>MAXIMIZE</b></em>' literal object. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #MAXIMIZE_VALUE | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | MAXIMIZE(1, "MAXIMIZE", "maximize"); | ||
41 | |||
42 | /** | ||
43 | * The '<em><b>MINIMIZE</b></em>' literal value. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #MINIMIZE | ||
47 | * @model literal="minimize" | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | public static final int MINIMIZE_VALUE = 0; | ||
52 | |||
53 | /** | ||
54 | * The '<em><b>MAXIMIZE</b></em>' literal value. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @see #MAXIMIZE | ||
58 | * @model literal="maximize" | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | public static final int MAXIMIZE_VALUE = 1; | ||
63 | |||
64 | /** | ||
65 | * An array of all the '<em><b>Objective Kind</b></em>' enumerators. | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | private static final ObjectiveKind[] VALUES_ARRAY = | ||
71 | new ObjectiveKind[] { | ||
72 | MINIMIZE, | ||
73 | MAXIMIZE, | ||
74 | }; | ||
75 | |||
76 | /** | ||
77 | * A public read-only list of all the '<em><b>Objective Kind</b></em>' enumerators. | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | public static final List<ObjectiveKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
83 | |||
84 | /** | ||
85 | * Returns the '<em><b>Objective Kind</b></em>' literal with the specified literal value. | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @param literal the literal. | ||
89 | * @return the matching enumerator or <code>null</code>. | ||
90 | * @generated | ||
91 | */ | ||
92 | public static ObjectiveKind get(String literal) { | ||
93 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
94 | ObjectiveKind result = VALUES_ARRAY[i]; | ||
95 | if (result.toString().equals(literal)) { | ||
96 | return result; | ||
97 | } | ||
98 | } | ||
99 | return null; | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * Returns the '<em><b>Objective Kind</b></em>' literal with the specified name. | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @param name the name. | ||
107 | * @return the matching enumerator or <code>null</code>. | ||
108 | * @generated | ||
109 | */ | ||
110 | public static ObjectiveKind getByName(String name) { | ||
111 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
112 | ObjectiveKind result = VALUES_ARRAY[i]; | ||
113 | if (result.getName().equals(name)) { | ||
114 | return result; | ||
115 | } | ||
116 | } | ||
117 | return null; | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * Returns the '<em><b>Objective Kind</b></em>' literal with the specified integer value. | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @param value the integer value. | ||
125 | * @return the matching enumerator or <code>null</code>. | ||
126 | * @generated | ||
127 | */ | ||
128 | public static ObjectiveKind get(int value) { | ||
129 | switch (value) { | ||
130 | case MINIMIZE_VALUE: return MINIMIZE; | ||
131 | case MAXIMIZE_VALUE: return MAXIMIZE; | ||
132 | } | ||
133 | return null; | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | private final int value; | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | private final String name; | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | private final String literal; | ||
156 | |||
157 | /** | ||
158 | * Only this class can construct instances. | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | private ObjectiveKind(int value, String name, String literal) { | ||
164 | this.value = value; | ||
165 | this.name = name; | ||
166 | this.literal = literal; | ||
167 | } | ||
168 | |||
169 | /** | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @generated | ||
173 | */ | ||
174 | @Override | ||
175 | public int getValue() { | ||
176 | return value; | ||
177 | } | ||
178 | |||
179 | /** | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @generated | ||
183 | */ | ||
184 | @Override | ||
185 | public String getName() { | ||
186 | return name; | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public String getLiteral() { | ||
196 | return literal; | ||
197 | } | ||
198 | |||
199 | /** | ||
200 | * Returns the literal value of the enumerator, which is its string representation. | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @generated | ||
204 | */ | ||
205 | @Override | ||
206 | public String toString() { | ||
207 | return literal; | ||
208 | } | ||
209 | |||
210 | } //ObjectiveKind | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java deleted file mode 100644 index cfeaa0f2..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Predicate</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicate() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface Predicate extends Functor { | ||
18 | } // Predicate | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java deleted file mode 100644 index ff248906..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java +++ /dev/null | |||
@@ -1,115 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Predicate Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead <em>Head</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody <em>Body</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional <em>Functional</em>}</li> | ||
19 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError <em>Error</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition() | ||
23 | * @model | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface PredicateDefinition extends Statement { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Head</b></em>' containment reference. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @return the value of the '<em>Head</em>' containment reference. | ||
32 | * @see #setHead(Expression) | ||
33 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Head() | ||
34 | * @model containment="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | Expression getHead(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead <em>Head</em>}' containment reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Head</em>' containment reference. | ||
44 | * @see #getHead() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setHead(Expression value); | ||
48 | |||
49 | /** | ||
50 | * Returns the value of the '<em><b>Body</b></em>' containment reference. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @return the value of the '<em>Body</em>' containment reference. | ||
54 | * @see #setBody(Expression) | ||
55 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Body() | ||
56 | * @model containment="true" | ||
57 | * @generated | ||
58 | */ | ||
59 | Expression getBody(); | ||
60 | |||
61 | /** | ||
62 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody <em>Body</em>}' containment reference. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @param value the new value of the '<em>Body</em>' containment reference. | ||
66 | * @see #getBody() | ||
67 | * @generated | ||
68 | */ | ||
69 | void setBody(Expression value); | ||
70 | |||
71 | /** | ||
72 | * Returns the value of the '<em><b>Functional</b></em>' attribute. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @return the value of the '<em>Functional</em>' attribute. | ||
76 | * @see #setFunctional(boolean) | ||
77 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Functional() | ||
78 | * @model | ||
79 | * @generated | ||
80 | */ | ||
81 | boolean isFunctional(); | ||
82 | |||
83 | /** | ||
84 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional <em>Functional</em>}' attribute. | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @param value the new value of the '<em>Functional</em>' attribute. | ||
88 | * @see #isFunctional() | ||
89 | * @generated | ||
90 | */ | ||
91 | void setFunctional(boolean value); | ||
92 | |||
93 | /** | ||
94 | * Returns the value of the '<em><b>Error</b></em>' attribute. | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @return the value of the '<em>Error</em>' attribute. | ||
98 | * @see #setError(boolean) | ||
99 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Error() | ||
100 | * @model | ||
101 | * @generated | ||
102 | */ | ||
103 | boolean isError(); | ||
104 | |||
105 | /** | ||
106 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError <em>Error</em>}' attribute. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @param value the new value of the '<em>Error</em>' attribute. | ||
110 | * @see #isError() | ||
111 | * @generated | ||
112 | */ | ||
113 | void setError(boolean value); | ||
114 | |||
115 | } // PredicateDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java deleted file mode 100644 index 56fac081..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * A representation of the model object '<em><b>Problem</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * <p> | ||
16 | * The following features are supported: | ||
17 | * </p> | ||
18 | * <ul> | ||
19 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements <em>Statements</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem() | ||
23 | * @model | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface Problem extends EObject { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Statements</b></em>' containment reference list. | ||
29 | * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Statement}. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Statements</em>' containment reference list. | ||
33 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem_Statements() | ||
34 | * @model containment="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | EList<Statement> getStatements(); | ||
38 | |||
39 | } // Problem | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/QuantifiedExpression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/QuantifiedExpression.java deleted file mode 100644 index 0b2edb36..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/QuantifiedExpression.java +++ /dev/null | |||
@@ -1,95 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Quantified Expression</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getLocalVariables <em>Local Variables</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getBody <em>Body</em>}</li> | ||
18 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getQuantifier <em>Quantifier</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifiedExpression() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface QuantifiedExpression extends Expression { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Local Variables</b></em>' containment reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Local Variables</em>' containment reference. | ||
31 | * @see #setLocalVariables(LocalVariables) | ||
32 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifiedExpression_LocalVariables() | ||
33 | * @model containment="true" | ||
34 | * @generated | ||
35 | */ | ||
36 | LocalVariables getLocalVariables(); | ||
37 | |||
38 | /** | ||
39 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getLocalVariables <em>Local Variables</em>}' containment reference. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @param value the new value of the '<em>Local Variables</em>' containment reference. | ||
43 | * @see #getLocalVariables() | ||
44 | * @generated | ||
45 | */ | ||
46 | void setLocalVariables(LocalVariables value); | ||
47 | |||
48 | /** | ||
49 | * Returns the value of the '<em><b>Body</b></em>' containment reference. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @return the value of the '<em>Body</em>' containment reference. | ||
53 | * @see #setBody(Expression) | ||
54 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifiedExpression_Body() | ||
55 | * @model containment="true" | ||
56 | * @generated | ||
57 | */ | ||
58 | Expression getBody(); | ||
59 | |||
60 | /** | ||
61 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getBody <em>Body</em>}' containment reference. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @param value the new value of the '<em>Body</em>' containment reference. | ||
65 | * @see #getBody() | ||
66 | * @generated | ||
67 | */ | ||
68 | void setBody(Expression value); | ||
69 | |||
70 | /** | ||
71 | * Returns the value of the '<em><b>Quantifier</b></em>' attribute. | ||
72 | * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.Quantifier}. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @return the value of the '<em>Quantifier</em>' attribute. | ||
76 | * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier | ||
77 | * @see #setQuantifier(Quantifier) | ||
78 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifiedExpression_Quantifier() | ||
79 | * @model | ||
80 | * @generated | ||
81 | */ | ||
82 | Quantifier getQuantifier(); | ||
83 | |||
84 | /** | ||
85 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getQuantifier <em>Quantifier</em>}' attribute. | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @param value the new value of the '<em>Quantifier</em>' attribute. | ||
89 | * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier | ||
90 | * @see #getQuantifier() | ||
91 | * @generated | ||
92 | */ | ||
93 | void setQuantifier(Quantifier value); | ||
94 | |||
95 | } // QuantifiedExpression | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Quantifier.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Quantifier.java deleted file mode 100644 index 4c674fe0..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Quantifier.java +++ /dev/null | |||
@@ -1,233 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import java.util.Arrays; | ||
7 | import java.util.Collections; | ||
8 | import java.util.List; | ||
9 | |||
10 | import org.eclipse.emf.common.util.Enumerator; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * A representation of the literals of the enumeration '<em><b>Quantifier</b></em>', | ||
15 | * and utility methods for working with them. | ||
16 | * <!-- end-user-doc --> | ||
17 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifier() | ||
18 | * @model | ||
19 | * @generated | ||
20 | */ | ||
21 | public enum Quantifier implements Enumerator { | ||
22 | /** | ||
23 | * The '<em><b>EXISTS</b></em>' literal object. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @see #EXISTS_VALUE | ||
27 | * @generated | ||
28 | * @ordered | ||
29 | */ | ||
30 | EXISTS(0, "EXISTS", "EXISTS"), | ||
31 | |||
32 | /** | ||
33 | * The '<em><b>FORALL</b></em>' literal object. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #FORALL_VALUE | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | FORALL(1, "FORALL", "FORALL"), | ||
41 | |||
42 | /** | ||
43 | * The '<em><b>COUNT</b></em>' literal object. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #COUNT_VALUE | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | COUNT(2, "COUNT", "COUNT"); | ||
51 | |||
52 | /** | ||
53 | * The '<em><b>EXISTS</b></em>' literal value. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #EXISTS | ||
57 | * @model | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | public static final int EXISTS_VALUE = 0; | ||
62 | |||
63 | /** | ||
64 | * The '<em><b>FORALL</b></em>' literal value. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @see #FORALL | ||
68 | * @model | ||
69 | * @generated | ||
70 | * @ordered | ||
71 | */ | ||
72 | public static final int FORALL_VALUE = 1; | ||
73 | |||
74 | /** | ||
75 | * The '<em><b>COUNT</b></em>' literal value. | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @see #COUNT | ||
79 | * @model | ||
80 | * @generated | ||
81 | * @ordered | ||
82 | */ | ||
83 | public static final int COUNT_VALUE = 2; | ||
84 | |||
85 | /** | ||
86 | * An array of all the '<em><b>Quantifier</b></em>' enumerators. | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | private static final Quantifier[] VALUES_ARRAY = | ||
92 | new Quantifier[] { | ||
93 | EXISTS, | ||
94 | FORALL, | ||
95 | COUNT, | ||
96 | }; | ||
97 | |||
98 | /** | ||
99 | * A public read-only list of all the '<em><b>Quantifier</b></em>' enumerators. | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | public static final List<Quantifier> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
105 | |||
106 | /** | ||
107 | * Returns the '<em><b>Quantifier</b></em>' literal with the specified literal value. | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @param literal the literal. | ||
111 | * @return the matching enumerator or <code>null</code>. | ||
112 | * @generated | ||
113 | */ | ||
114 | public static Quantifier get(String literal) { | ||
115 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
116 | Quantifier result = VALUES_ARRAY[i]; | ||
117 | if (result.toString().equals(literal)) { | ||
118 | return result; | ||
119 | } | ||
120 | } | ||
121 | return null; | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * Returns the '<em><b>Quantifier</b></em>' literal with the specified name. | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @param name the name. | ||
129 | * @return the matching enumerator or <code>null</code>. | ||
130 | * @generated | ||
131 | */ | ||
132 | public static Quantifier getByName(String name) { | ||
133 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
134 | Quantifier result = VALUES_ARRAY[i]; | ||
135 | if (result.getName().equals(name)) { | ||
136 | return result; | ||
137 | } | ||
138 | } | ||
139 | return null; | ||
140 | } | ||
141 | |||
142 | /** | ||
143 | * Returns the '<em><b>Quantifier</b></em>' literal with the specified integer value. | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @param value the integer value. | ||
147 | * @return the matching enumerator or <code>null</code>. | ||
148 | * @generated | ||
149 | */ | ||
150 | public static Quantifier get(int value) { | ||
151 | switch (value) { | ||
152 | case EXISTS_VALUE: return EXISTS; | ||
153 | case FORALL_VALUE: return FORALL; | ||
154 | case COUNT_VALUE: return COUNT; | ||
155 | } | ||
156 | return null; | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | private final int value; | ||
165 | |||
166 | /** | ||
167 | * <!-- begin-user-doc --> | ||
168 | * <!-- end-user-doc --> | ||
169 | * @generated | ||
170 | */ | ||
171 | private final String name; | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | private final String literal; | ||
179 | |||
180 | /** | ||
181 | * Only this class can construct instances. | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | private Quantifier(int value, String name, String literal) { | ||
187 | this.value = value; | ||
188 | this.name = name; | ||
189 | this.literal = literal; | ||
190 | } | ||
191 | |||
192 | /** | ||
193 | * <!-- begin-user-doc --> | ||
194 | * <!-- end-user-doc --> | ||
195 | * @generated | ||
196 | */ | ||
197 | @Override | ||
198 | public int getValue() { | ||
199 | return value; | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | @Override | ||
208 | public String getName() { | ||
209 | return name; | ||
210 | } | ||
211 | |||
212 | /** | ||
213 | * <!-- begin-user-doc --> | ||
214 | * <!-- end-user-doc --> | ||
215 | * @generated | ||
216 | */ | ||
217 | @Override | ||
218 | public String getLiteral() { | ||
219 | return literal; | ||
220 | } | ||
221 | |||
222 | /** | ||
223 | * Returns the literal value of the enumerator, which is its string representation. | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @generated | ||
227 | */ | ||
228 | @Override | ||
229 | public String toString() { | ||
230 | return literal; | ||
231 | } | ||
232 | |||
233 | } //Quantifier | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java deleted file mode 100644 index 5fd43f34..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Reference</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred <em>Referred</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getReference() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface Reference extends Expression { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Referred</b></em>' reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>Referred</em>' reference. | ||
29 | * @see #setReferred(NamedElement) | ||
30 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getReference_Referred() | ||
31 | * @model | ||
32 | * @generated | ||
33 | */ | ||
34 | NamedElement getReferred(); | ||
35 | |||
36 | /** | ||
37 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred <em>Referred</em>}' reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @param value the new value of the '<em>Referred</em>' reference. | ||
41 | * @see #getReferred() | ||
42 | * @generated | ||
43 | */ | ||
44 | void setReferred(NamedElement value); | ||
45 | |||
46 | } // Reference | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java deleted file mode 100644 index 6cd03ef0..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Scope Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType <em>Type</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getScopeDefinition() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ScopeDefinition extends Statement { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Type</b></em>' reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>Type</em>' reference. | ||
29 | * @see #setType(NamedElement) | ||
30 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getScopeDefinition_Type() | ||
31 | * @model | ||
32 | * @generated | ||
33 | */ | ||
34 | NamedElement getType(); | ||
35 | |||
36 | /** | ||
37 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType <em>Type</em>}' reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @param value the new value of the '<em>Type</em>' reference. | ||
41 | * @see #getType() | ||
42 | * @generated | ||
43 | */ | ||
44 | void setType(NamedElement value); | ||
45 | |||
46 | } // ScopeDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java deleted file mode 100644 index 6589eaa4..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java +++ /dev/null | |||
@@ -1,538 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EFactory; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * The <b>Factory</b> for the model. | ||
11 | * It provides a create method for each non-abstract class of the model. | ||
12 | * <!-- end-user-doc --> | ||
13 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface SolverLanguageFactory extends EFactory { | ||
17 | /** | ||
18 | * The singleton instance of the factory. | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | SolverLanguageFactory eINSTANCE = org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguageFactoryImpl.init(); | ||
24 | |||
25 | /** | ||
26 | * Returns a new object of class '<em>Problem</em>'. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return a new object of class '<em>Problem</em>'. | ||
30 | * @generated | ||
31 | */ | ||
32 | Problem createProblem(); | ||
33 | |||
34 | /** | ||
35 | * Returns a new object of class '<em>Statement</em>'. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @return a new object of class '<em>Statement</em>'. | ||
39 | * @generated | ||
40 | */ | ||
41 | Statement createStatement(); | ||
42 | |||
43 | /** | ||
44 | * Returns a new object of class '<em>Predicate Definition</em>'. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @return a new object of class '<em>Predicate Definition</em>'. | ||
48 | * @generated | ||
49 | */ | ||
50 | PredicateDefinition createPredicateDefinition(); | ||
51 | |||
52 | /** | ||
53 | * Returns a new object of class '<em>Unnamed Error Prediate Definition</em>'. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @return a new object of class '<em>Unnamed Error Prediate Definition</em>'. | ||
57 | * @generated | ||
58 | */ | ||
59 | UnnamedErrorPrediateDefinition createUnnamedErrorPrediateDefinition(); | ||
60 | |||
61 | /** | ||
62 | * Returns a new object of class '<em>Default Definition</em>'. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @return a new object of class '<em>Default Definition</em>'. | ||
66 | * @generated | ||
67 | */ | ||
68 | DefaultDefinition createDefaultDefinition(); | ||
69 | |||
70 | /** | ||
71 | * Returns a new object of class '<em>Metric Definition</em>'. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @return a new object of class '<em>Metric Definition</em>'. | ||
75 | * @generated | ||
76 | */ | ||
77 | MetricDefinition createMetricDefinition(); | ||
78 | |||
79 | /** | ||
80 | * Returns a new object of class '<em>Extern Predicate Definition</em>'. | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @return a new object of class '<em>Extern Predicate Definition</em>'. | ||
84 | * @generated | ||
85 | */ | ||
86 | ExternPredicateDefinition createExternPredicateDefinition(); | ||
87 | |||
88 | /** | ||
89 | * Returns a new object of class '<em>Extern Metric Definition</em>'. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @return a new object of class '<em>Extern Metric Definition</em>'. | ||
93 | * @generated | ||
94 | */ | ||
95 | ExternMetricDefinition createExternMetricDefinition(); | ||
96 | |||
97 | /** | ||
98 | * Returns a new object of class '<em>Extern Aggregator Definition</em>'. | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @return a new object of class '<em>Extern Aggregator Definition</em>'. | ||
102 | * @generated | ||
103 | */ | ||
104 | ExternAggregatorDefinition createExternAggregatorDefinition(); | ||
105 | |||
106 | /** | ||
107 | * Returns a new object of class '<em>Extern Datatype Definition</em>'. | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @return a new object of class '<em>Extern Datatype Definition</em>'. | ||
111 | * @generated | ||
112 | */ | ||
113 | ExternDatatypeDefinition createExternDatatypeDefinition(); | ||
114 | |||
115 | /** | ||
116 | * Returns a new object of class '<em>Named Element</em>'. | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @return a new object of class '<em>Named Element</em>'. | ||
120 | * @generated | ||
121 | */ | ||
122 | NamedElement createNamedElement(); | ||
123 | |||
124 | /** | ||
125 | * Returns a new object of class '<em>If Else</em>'. | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @return a new object of class '<em>If Else</em>'. | ||
129 | * @generated | ||
130 | */ | ||
131 | IfElse createIfElse(); | ||
132 | |||
133 | /** | ||
134 | * Returns a new object of class '<em>Let</em>'. | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @return a new object of class '<em>Let</em>'. | ||
138 | * @generated | ||
139 | */ | ||
140 | Let createLet(); | ||
141 | |||
142 | /** | ||
143 | * Returns a new object of class '<em>Let Binding</em>'. | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @return a new object of class '<em>Let Binding</em>'. | ||
147 | * @generated | ||
148 | */ | ||
149 | LetBinding createLetBinding(); | ||
150 | |||
151 | /** | ||
152 | * Returns a new object of class '<em>Case</em>'. | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @return a new object of class '<em>Case</em>'. | ||
156 | * @generated | ||
157 | */ | ||
158 | Case createCase(); | ||
159 | |||
160 | /** | ||
161 | * Returns a new object of class '<em>Local Variables</em>'. | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @return a new object of class '<em>Local Variables</em>'. | ||
165 | * @generated | ||
166 | */ | ||
167 | LocalVariables createLocalVariables(); | ||
168 | |||
169 | /** | ||
170 | * Returns a new object of class '<em>Quantified Expression</em>'. | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @return a new object of class '<em>Quantified Expression</em>'. | ||
174 | * @generated | ||
175 | */ | ||
176 | QuantifiedExpression createQuantifiedExpression(); | ||
177 | |||
178 | /** | ||
179 | * Returns a new object of class '<em>Aggregation</em>'. | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @return a new object of class '<em>Aggregation</em>'. | ||
183 | * @generated | ||
184 | */ | ||
185 | Aggregation createAggregation(); | ||
186 | |||
187 | /** | ||
188 | * Returns a new object of class '<em>Call</em>'. | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @return a new object of class '<em>Call</em>'. | ||
192 | * @generated | ||
193 | */ | ||
194 | Call createCall(); | ||
195 | |||
196 | /** | ||
197 | * Returns a new object of class '<em>Argument List</em>'. | ||
198 | * <!-- begin-user-doc --> | ||
199 | * <!-- end-user-doc --> | ||
200 | * @return a new object of class '<em>Argument List</em>'. | ||
201 | * @generated | ||
202 | */ | ||
203 | ArgumentList createArgumentList(); | ||
204 | |||
205 | /** | ||
206 | * Returns a new object of class '<em>Argument</em>'. | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @return a new object of class '<em>Argument</em>'. | ||
210 | * @generated | ||
211 | */ | ||
212 | Argument createArgument(); | ||
213 | |||
214 | /** | ||
215 | * Returns a new object of class '<em>Expression Argument</em>'. | ||
216 | * <!-- begin-user-doc --> | ||
217 | * <!-- end-user-doc --> | ||
218 | * @return a new object of class '<em>Expression Argument</em>'. | ||
219 | * @generated | ||
220 | */ | ||
221 | ExpressionArgument createExpressionArgument(); | ||
222 | |||
223 | /** | ||
224 | * Returns a new object of class '<em>Star Argument</em>'. | ||
225 | * <!-- begin-user-doc --> | ||
226 | * <!-- end-user-doc --> | ||
227 | * @return a new object of class '<em>Star Argument</em>'. | ||
228 | * @generated | ||
229 | */ | ||
230 | StarArgument createStarArgument(); | ||
231 | |||
232 | /** | ||
233 | * Returns a new object of class '<em>Typed Argument</em>'. | ||
234 | * <!-- begin-user-doc --> | ||
235 | * <!-- end-user-doc --> | ||
236 | * @return a new object of class '<em>Typed Argument</em>'. | ||
237 | * @generated | ||
238 | */ | ||
239 | TypedArgument createTypedArgument(); | ||
240 | |||
241 | /** | ||
242 | * Returns a new object of class '<em>Typed Star Argument</em>'. | ||
243 | * <!-- begin-user-doc --> | ||
244 | * <!-- end-user-doc --> | ||
245 | * @return a new object of class '<em>Typed Star Argument</em>'. | ||
246 | * @generated | ||
247 | */ | ||
248 | TypedStarArgument createTypedStarArgument(); | ||
249 | |||
250 | /** | ||
251 | * Returns a new object of class '<em>Reference</em>'. | ||
252 | * <!-- begin-user-doc --> | ||
253 | * <!-- end-user-doc --> | ||
254 | * @return a new object of class '<em>Reference</em>'. | ||
255 | * @generated | ||
256 | */ | ||
257 | Reference createReference(); | ||
258 | |||
259 | /** | ||
260 | * Returns a new object of class '<em>Interval</em>'. | ||
261 | * <!-- begin-user-doc --> | ||
262 | * <!-- end-user-doc --> | ||
263 | * @return a new object of class '<em>Interval</em>'. | ||
264 | * @generated | ||
265 | */ | ||
266 | Interval createInterval(); | ||
267 | |||
268 | /** | ||
269 | * Returns a new object of class '<em>Literal</em>'. | ||
270 | * <!-- begin-user-doc --> | ||
271 | * <!-- end-user-doc --> | ||
272 | * @return a new object of class '<em>Literal</em>'. | ||
273 | * @generated | ||
274 | */ | ||
275 | Literal createLiteral(); | ||
276 | |||
277 | /** | ||
278 | * Returns a new object of class '<em>Logic Literal</em>'. | ||
279 | * <!-- begin-user-doc --> | ||
280 | * <!-- end-user-doc --> | ||
281 | * @return a new object of class '<em>Logic Literal</em>'. | ||
282 | * @generated | ||
283 | */ | ||
284 | LogicLiteral createLogicLiteral(); | ||
285 | |||
286 | /** | ||
287 | * Returns a new object of class '<em>Numeric Literal</em>'. | ||
288 | * <!-- begin-user-doc --> | ||
289 | * <!-- end-user-doc --> | ||
290 | * @return a new object of class '<em>Numeric Literal</em>'. | ||
291 | * @generated | ||
292 | */ | ||
293 | NumericLiteral createNumericLiteral(); | ||
294 | |||
295 | /** | ||
296 | * Returns a new object of class '<em>Infinity Literal</em>'. | ||
297 | * <!-- begin-user-doc --> | ||
298 | * <!-- end-user-doc --> | ||
299 | * @return a new object of class '<em>Infinity Literal</em>'. | ||
300 | * @generated | ||
301 | */ | ||
302 | InfinityLiteral createInfinityLiteral(); | ||
303 | |||
304 | /** | ||
305 | * Returns a new object of class '<em>Empty Interval Literal</em>'. | ||
306 | * <!-- begin-user-doc --> | ||
307 | * <!-- end-user-doc --> | ||
308 | * @return a new object of class '<em>Empty Interval Literal</em>'. | ||
309 | * @generated | ||
310 | */ | ||
311 | EmptyIntervalLiteral createEmptyIntervalLiteral(); | ||
312 | |||
313 | /** | ||
314 | * Returns a new object of class '<em>String Literal</em>'. | ||
315 | * <!-- begin-user-doc --> | ||
316 | * <!-- end-user-doc --> | ||
317 | * @return a new object of class '<em>String Literal</em>'. | ||
318 | * @generated | ||
319 | */ | ||
320 | StringLiteral createStringLiteral(); | ||
321 | |||
322 | /** | ||
323 | * Returns a new object of class '<em>Class Definition</em>'. | ||
324 | * <!-- begin-user-doc --> | ||
325 | * <!-- end-user-doc --> | ||
326 | * @return a new object of class '<em>Class Definition</em>'. | ||
327 | * @generated | ||
328 | */ | ||
329 | ClassDefinition createClassDefinition(); | ||
330 | |||
331 | /** | ||
332 | * Returns a new object of class '<em>Member Definition</em>'. | ||
333 | * <!-- begin-user-doc --> | ||
334 | * <!-- end-user-doc --> | ||
335 | * @return a new object of class '<em>Member Definition</em>'. | ||
336 | * @generated | ||
337 | */ | ||
338 | MemberDefinition createMemberDefinition(); | ||
339 | |||
340 | /** | ||
341 | * Returns a new object of class '<em>Multiplicity</em>'. | ||
342 | * <!-- begin-user-doc --> | ||
343 | * <!-- end-user-doc --> | ||
344 | * @return a new object of class '<em>Multiplicity</em>'. | ||
345 | * @generated | ||
346 | */ | ||
347 | Multiplicity createMultiplicity(); | ||
348 | |||
349 | /** | ||
350 | * Returns a new object of class '<em>Many Multiplicity</em>'. | ||
351 | * <!-- begin-user-doc --> | ||
352 | * <!-- end-user-doc --> | ||
353 | * @return a new object of class '<em>Many Multiplicity</em>'. | ||
354 | * @generated | ||
355 | */ | ||
356 | ManyMultiplicity createManyMultiplicity(); | ||
357 | |||
358 | /** | ||
359 | * Returns a new object of class '<em>Exact Multiplicity</em>'. | ||
360 | * <!-- begin-user-doc --> | ||
361 | * <!-- end-user-doc --> | ||
362 | * @return a new object of class '<em>Exact Multiplicity</em>'. | ||
363 | * @generated | ||
364 | */ | ||
365 | ExactMultiplicity createExactMultiplicity(); | ||
366 | |||
367 | /** | ||
368 | * Returns a new object of class '<em>Bounded Multiplicity</em>'. | ||
369 | * <!-- begin-user-doc --> | ||
370 | * <!-- end-user-doc --> | ||
371 | * @return a new object of class '<em>Bounded Multiplicity</em>'. | ||
372 | * @generated | ||
373 | */ | ||
374 | BoundedMultiplicity createBoundedMultiplicity(); | ||
375 | |||
376 | /** | ||
377 | * Returns a new object of class '<em>Scope Definition</em>'. | ||
378 | * <!-- begin-user-doc --> | ||
379 | * <!-- end-user-doc --> | ||
380 | * @return a new object of class '<em>Scope Definition</em>'. | ||
381 | * @generated | ||
382 | */ | ||
383 | ScopeDefinition createScopeDefinition(); | ||
384 | |||
385 | /** | ||
386 | * Returns a new object of class '<em>Exact Scope Definition</em>'. | ||
387 | * <!-- begin-user-doc --> | ||
388 | * <!-- end-user-doc --> | ||
389 | * @return a new object of class '<em>Exact Scope Definition</em>'. | ||
390 | * @generated | ||
391 | */ | ||
392 | ExactScopeDefinition createExactScopeDefinition(); | ||
393 | |||
394 | /** | ||
395 | * Returns a new object of class '<em>Bounded Scope Definition</em>'. | ||
396 | * <!-- begin-user-doc --> | ||
397 | * <!-- end-user-doc --> | ||
398 | * @return a new object of class '<em>Bounded Scope Definition</em>'. | ||
399 | * @generated | ||
400 | */ | ||
401 | BoundedScopeDefinition createBoundedScopeDefinition(); | ||
402 | |||
403 | /** | ||
404 | * Returns a new object of class '<em>Lower Bounded Scope Definition</em>'. | ||
405 | * <!-- begin-user-doc --> | ||
406 | * <!-- end-user-doc --> | ||
407 | * @return a new object of class '<em>Lower Bounded Scope Definition</em>'. | ||
408 | * @generated | ||
409 | */ | ||
410 | LowerBoundedScopeDefinition createLowerBoundedScopeDefinition(); | ||
411 | |||
412 | /** | ||
413 | * Returns a new object of class '<em>Objective Definition</em>'. | ||
414 | * <!-- begin-user-doc --> | ||
415 | * <!-- end-user-doc --> | ||
416 | * @return a new object of class '<em>Objective Definition</em>'. | ||
417 | * @generated | ||
418 | */ | ||
419 | ObjectiveDefinition createObjectiveDefinition(); | ||
420 | |||
421 | /** | ||
422 | * Returns a new object of class '<em>Interpretation</em>'. | ||
423 | * <!-- begin-user-doc --> | ||
424 | * <!-- end-user-doc --> | ||
425 | * @return a new object of class '<em>Interpretation</em>'. | ||
426 | * @generated | ||
427 | */ | ||
428 | Interpretation createInterpretation(); | ||
429 | |||
430 | /** | ||
431 | * Returns a new object of class '<em>Variable</em>'. | ||
432 | * <!-- begin-user-doc --> | ||
433 | * <!-- end-user-doc --> | ||
434 | * @return a new object of class '<em>Variable</em>'. | ||
435 | * @generated | ||
436 | */ | ||
437 | Variable createVariable(); | ||
438 | |||
439 | /** | ||
440 | * Returns a new object of class '<em>Disjunction</em>'. | ||
441 | * <!-- begin-user-doc --> | ||
442 | * <!-- end-user-doc --> | ||
443 | * @return a new object of class '<em>Disjunction</em>'. | ||
444 | * @generated | ||
445 | */ | ||
446 | Disjunction createDisjunction(); | ||
447 | |||
448 | /** | ||
449 | * Returns a new object of class '<em>Switch</em>'. | ||
450 | * <!-- begin-user-doc --> | ||
451 | * <!-- end-user-doc --> | ||
452 | * @return a new object of class '<em>Switch</em>'. | ||
453 | * @generated | ||
454 | */ | ||
455 | Switch createSwitch(); | ||
456 | |||
457 | /** | ||
458 | * Returns a new object of class '<em>Conjunction</em>'. | ||
459 | * <!-- begin-user-doc --> | ||
460 | * <!-- end-user-doc --> | ||
461 | * @return a new object of class '<em>Conjunction</em>'. | ||
462 | * @generated | ||
463 | */ | ||
464 | Conjunction createConjunction(); | ||
465 | |||
466 | /** | ||
467 | * Returns a new object of class '<em>Comparison</em>'. | ||
468 | * <!-- begin-user-doc --> | ||
469 | * <!-- end-user-doc --> | ||
470 | * @return a new object of class '<em>Comparison</em>'. | ||
471 | * @generated | ||
472 | */ | ||
473 | Comparison createComparison(); | ||
474 | |||
475 | /** | ||
476 | * Returns a new object of class '<em>Binary Expression</em>'. | ||
477 | * <!-- begin-user-doc --> | ||
478 | * <!-- end-user-doc --> | ||
479 | * @return a new object of class '<em>Binary Expression</em>'. | ||
480 | * @generated | ||
481 | */ | ||
482 | BinaryExpression createBinaryExpression(); | ||
483 | |||
484 | /** | ||
485 | * Returns a new object of class '<em>Cast Expression</em>'. | ||
486 | * <!-- begin-user-doc --> | ||
487 | * <!-- end-user-doc --> | ||
488 | * @return a new object of class '<em>Cast Expression</em>'. | ||
489 | * @generated | ||
490 | */ | ||
491 | CastExpression createCastExpression(); | ||
492 | |||
493 | /** | ||
494 | * Returns a new object of class '<em>Unary Expression</em>'. | ||
495 | * <!-- begin-user-doc --> | ||
496 | * <!-- end-user-doc --> | ||
497 | * @return a new object of class '<em>Unary Expression</em>'. | ||
498 | * @generated | ||
499 | */ | ||
500 | UnaryExpression createUnaryExpression(); | ||
501 | |||
502 | /** | ||
503 | * Returns a new object of class '<em>Node</em>'. | ||
504 | * <!-- begin-user-doc --> | ||
505 | * <!-- end-user-doc --> | ||
506 | * @return a new object of class '<em>Node</em>'. | ||
507 | * @generated | ||
508 | */ | ||
509 | Node createNode(); | ||
510 | |||
511 | /** | ||
512 | * Returns a new object of class '<em>Predicate</em>'. | ||
513 | * <!-- begin-user-doc --> | ||
514 | * <!-- end-user-doc --> | ||
515 | * @return a new object of class '<em>Predicate</em>'. | ||
516 | * @generated | ||
517 | */ | ||
518 | Predicate createPredicate(); | ||
519 | |||
520 | /** | ||
521 | * Returns a new object of class '<em>Metric</em>'. | ||
522 | * <!-- begin-user-doc --> | ||
523 | * <!-- end-user-doc --> | ||
524 | * @return a new object of class '<em>Metric</em>'. | ||
525 | * @generated | ||
526 | */ | ||
527 | Metric createMetric(); | ||
528 | |||
529 | /** | ||
530 | * Returns the package supported by this factory. | ||
531 | * <!-- begin-user-doc --> | ||
532 | * <!-- end-user-doc --> | ||
533 | * @return the package supported by this factory. | ||
534 | * @generated | ||
535 | */ | ||
536 | SolverLanguagePackage getSolverLanguagePackage(); | ||
537 | |||
538 | } //SolverLanguageFactory | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java deleted file mode 100644 index 9e01d8db..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java +++ /dev/null | |||
@@ -1,5191 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EAttribute; | ||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EEnum; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | import org.eclipse.emf.ecore.EReference; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Package</b> for the model. | ||
15 | * It contains accessors for the meta objects to represent | ||
16 | * <ul> | ||
17 | * <li>each class,</li> | ||
18 | * <li>each feature of each class,</li> | ||
19 | * <li>each enum,</li> | ||
20 | * <li>and each data type</li> | ||
21 | * </ul> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguageFactory | ||
24 | * @model kind="package" | ||
25 | * @generated | ||
26 | */ | ||
27 | public interface SolverLanguagePackage extends EPackage { | ||
28 | /** | ||
29 | * The package name. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | String eNAME = "solverLanguage"; | ||
35 | |||
36 | /** | ||
37 | * The package namespace URI. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @generated | ||
41 | */ | ||
42 | String eNS_URI = "http://www.eclipse.org/viatra/solver/language/SolverLanguage"; | ||
43 | |||
44 | /** | ||
45 | * The package namespace name. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @generated | ||
49 | */ | ||
50 | String eNS_PREFIX = "solverLanguage"; | ||
51 | |||
52 | /** | ||
53 | * The singleton instance of the package. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | SolverLanguagePackage eINSTANCE = org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl.init(); | ||
59 | |||
60 | /** | ||
61 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl <em>Problem</em>}' class. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl | ||
65 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getProblem() | ||
66 | * @generated | ||
67 | */ | ||
68 | int PROBLEM = 0; | ||
69 | |||
70 | /** | ||
71 | * The feature id for the '<em><b>Statements</b></em>' containment reference list. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | * @ordered | ||
76 | */ | ||
77 | int PROBLEM__STATEMENTS = 0; | ||
78 | |||
79 | /** | ||
80 | * The number of structural features of the '<em>Problem</em>' class. | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | * @ordered | ||
85 | */ | ||
86 | int PROBLEM_FEATURE_COUNT = 1; | ||
87 | |||
88 | /** | ||
89 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl <em>Statement</em>}' class. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl | ||
93 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStatement() | ||
94 | * @generated | ||
95 | */ | ||
96 | int STATEMENT = 1; | ||
97 | |||
98 | /** | ||
99 | * The number of structural features of the '<em>Statement</em>' class. | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | * @ordered | ||
104 | */ | ||
105 | int STATEMENT_FEATURE_COUNT = 0; | ||
106 | |||
107 | /** | ||
108 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl <em>Predicate Definition</em>}' class. | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl | ||
112 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateDefinition() | ||
113 | * @generated | ||
114 | */ | ||
115 | int PREDICATE_DEFINITION = 2; | ||
116 | |||
117 | /** | ||
118 | * The feature id for the '<em><b>Head</b></em>' containment reference. | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | * @ordered | ||
123 | */ | ||
124 | int PREDICATE_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; | ||
125 | |||
126 | /** | ||
127 | * The feature id for the '<em><b>Body</b></em>' containment reference. | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | * @ordered | ||
132 | */ | ||
133 | int PREDICATE_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1; | ||
134 | |||
135 | /** | ||
136 | * The feature id for the '<em><b>Functional</b></em>' attribute. | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | * @ordered | ||
141 | */ | ||
142 | int PREDICATE_DEFINITION__FUNCTIONAL = STATEMENT_FEATURE_COUNT + 2; | ||
143 | |||
144 | /** | ||
145 | * The feature id for the '<em><b>Error</b></em>' attribute. | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | * @ordered | ||
150 | */ | ||
151 | int PREDICATE_DEFINITION__ERROR = STATEMENT_FEATURE_COUNT + 3; | ||
152 | |||
153 | /** | ||
154 | * The number of structural features of the '<em>Predicate Definition</em>' class. | ||
155 | * <!-- begin-user-doc --> | ||
156 | * <!-- end-user-doc --> | ||
157 | * @generated | ||
158 | * @ordered | ||
159 | */ | ||
160 | int PREDICATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 4; | ||
161 | |||
162 | /** | ||
163 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl <em>Unnamed Error Prediate Definition</em>}' class. | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl | ||
167 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnnamedErrorPrediateDefinition() | ||
168 | * @generated | ||
169 | */ | ||
170 | int UNNAMED_ERROR_PREDIATE_DEFINITION = 3; | ||
171 | |||
172 | /** | ||
173 | * The feature id for the '<em><b>Argument List</b></em>' containment reference. | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | * @ordered | ||
178 | */ | ||
179 | int UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 0; | ||
180 | |||
181 | /** | ||
182 | * The feature id for the '<em><b>Body</b></em>' containment reference. | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | * @ordered | ||
187 | */ | ||
188 | int UNNAMED_ERROR_PREDIATE_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1; | ||
189 | |||
190 | /** | ||
191 | * The number of structural features of the '<em>Unnamed Error Prediate Definition</em>' class. | ||
192 | * <!-- begin-user-doc --> | ||
193 | * <!-- end-user-doc --> | ||
194 | * @generated | ||
195 | * @ordered | ||
196 | */ | ||
197 | int UNNAMED_ERROR_PREDIATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; | ||
198 | |||
199 | /** | ||
200 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl <em>Default Definition</em>}' class. | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl | ||
204 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultDefinition() | ||
205 | * @generated | ||
206 | */ | ||
207 | int DEFAULT_DEFINITION = 4; | ||
208 | |||
209 | /** | ||
210 | * The feature id for the '<em><b>Head</b></em>' containment reference. | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | * @ordered | ||
215 | */ | ||
216 | int DEFAULT_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; | ||
217 | |||
218 | /** | ||
219 | * The feature id for the '<em><b>Range</b></em>' containment reference. | ||
220 | * <!-- begin-user-doc --> | ||
221 | * <!-- end-user-doc --> | ||
222 | * @generated | ||
223 | * @ordered | ||
224 | */ | ||
225 | int DEFAULT_DEFINITION__RANGE = STATEMENT_FEATURE_COUNT + 1; | ||
226 | |||
227 | /** | ||
228 | * The number of structural features of the '<em>Default Definition</em>' class. | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | * @ordered | ||
233 | */ | ||
234 | int DEFAULT_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; | ||
235 | |||
236 | /** | ||
237 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl <em>Metric Definition</em>}' class. | ||
238 | * <!-- begin-user-doc --> | ||
239 | * <!-- end-user-doc --> | ||
240 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl | ||
241 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricDefinition() | ||
242 | * @generated | ||
243 | */ | ||
244 | int METRIC_DEFINITION = 5; | ||
245 | |||
246 | /** | ||
247 | * The feature id for the '<em><b>Head</b></em>' containment reference. | ||
248 | * <!-- begin-user-doc --> | ||
249 | * <!-- end-user-doc --> | ||
250 | * @generated | ||
251 | * @ordered | ||
252 | */ | ||
253 | int METRIC_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; | ||
254 | |||
255 | /** | ||
256 | * The feature id for the '<em><b>Body</b></em>' containment reference. | ||
257 | * <!-- begin-user-doc --> | ||
258 | * <!-- end-user-doc --> | ||
259 | * @generated | ||
260 | * @ordered | ||
261 | */ | ||
262 | int METRIC_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1; | ||
263 | |||
264 | /** | ||
265 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
266 | * <!-- begin-user-doc --> | ||
267 | * <!-- end-user-doc --> | ||
268 | * @generated | ||
269 | * @ordered | ||
270 | */ | ||
271 | int METRIC_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 2; | ||
272 | |||
273 | /** | ||
274 | * The number of structural features of the '<em>Metric Definition</em>' class. | ||
275 | * <!-- begin-user-doc --> | ||
276 | * <!-- end-user-doc --> | ||
277 | * @generated | ||
278 | * @ordered | ||
279 | */ | ||
280 | int METRIC_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 3; | ||
281 | |||
282 | /** | ||
283 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl <em>Extern Predicate Definition</em>}' class. | ||
284 | * <!-- begin-user-doc --> | ||
285 | * <!-- end-user-doc --> | ||
286 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl | ||
287 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternPredicateDefinition() | ||
288 | * @generated | ||
289 | */ | ||
290 | int EXTERN_PREDICATE_DEFINITION = 6; | ||
291 | |||
292 | /** | ||
293 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
294 | * <!-- begin-user-doc --> | ||
295 | * <!-- end-user-doc --> | ||
296 | * @generated | ||
297 | * @ordered | ||
298 | */ | ||
299 | int EXTERN_PREDICATE_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 0; | ||
300 | |||
301 | /** | ||
302 | * The feature id for the '<em><b>Argument List</b></em>' containment reference. | ||
303 | * <!-- begin-user-doc --> | ||
304 | * <!-- end-user-doc --> | ||
305 | * @generated | ||
306 | * @ordered | ||
307 | */ | ||
308 | int EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 1; | ||
309 | |||
310 | /** | ||
311 | * The number of structural features of the '<em>Extern Predicate Definition</em>' class. | ||
312 | * <!-- begin-user-doc --> | ||
313 | * <!-- end-user-doc --> | ||
314 | * @generated | ||
315 | * @ordered | ||
316 | */ | ||
317 | int EXTERN_PREDICATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; | ||
318 | |||
319 | /** | ||
320 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl <em>Extern Metric Definition</em>}' class. | ||
321 | * <!-- begin-user-doc --> | ||
322 | * <!-- end-user-doc --> | ||
323 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl | ||
324 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternMetricDefinition() | ||
325 | * @generated | ||
326 | */ | ||
327 | int EXTERN_METRIC_DEFINITION = 7; | ||
328 | |||
329 | /** | ||
330 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
331 | * <!-- begin-user-doc --> | ||
332 | * <!-- end-user-doc --> | ||
333 | * @generated | ||
334 | * @ordered | ||
335 | */ | ||
336 | int EXTERN_METRIC_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0; | ||
337 | |||
338 | /** | ||
339 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
340 | * <!-- begin-user-doc --> | ||
341 | * <!-- end-user-doc --> | ||
342 | * @generated | ||
343 | * @ordered | ||
344 | */ | ||
345 | int EXTERN_METRIC_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 1; | ||
346 | |||
347 | /** | ||
348 | * The feature id for the '<em><b>Argument List</b></em>' containment reference. | ||
349 | * <!-- begin-user-doc --> | ||
350 | * <!-- end-user-doc --> | ||
351 | * @generated | ||
352 | * @ordered | ||
353 | */ | ||
354 | int EXTERN_METRIC_DEFINITION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 2; | ||
355 | |||
356 | /** | ||
357 | * The number of structural features of the '<em>Extern Metric Definition</em>' class. | ||
358 | * <!-- begin-user-doc --> | ||
359 | * <!-- end-user-doc --> | ||
360 | * @generated | ||
361 | * @ordered | ||
362 | */ | ||
363 | int EXTERN_METRIC_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 3; | ||
364 | |||
365 | /** | ||
366 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl <em>Extern Aggregator Definition</em>}' class. | ||
367 | * <!-- begin-user-doc --> | ||
368 | * <!-- end-user-doc --> | ||
369 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl | ||
370 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternAggregatorDefinition() | ||
371 | * @generated | ||
372 | */ | ||
373 | int EXTERN_AGGREGATOR_DEFINITION = 8; | ||
374 | |||
375 | /** | ||
376 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
377 | * <!-- begin-user-doc --> | ||
378 | * <!-- end-user-doc --> | ||
379 | * @generated | ||
380 | * @ordered | ||
381 | */ | ||
382 | int EXTERN_AGGREGATOR_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0; | ||
383 | |||
384 | /** | ||
385 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
386 | * <!-- begin-user-doc --> | ||
387 | * <!-- end-user-doc --> | ||
388 | * @generated | ||
389 | * @ordered | ||
390 | */ | ||
391 | int EXTERN_AGGREGATOR_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 1; | ||
392 | |||
393 | /** | ||
394 | * The feature id for the '<em><b>Input Type</b></em>' reference. | ||
395 | * <!-- begin-user-doc --> | ||
396 | * <!-- end-user-doc --> | ||
397 | * @generated | ||
398 | * @ordered | ||
399 | */ | ||
400 | int EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE = STATEMENT_FEATURE_COUNT + 2; | ||
401 | |||
402 | /** | ||
403 | * The number of structural features of the '<em>Extern Aggregator Definition</em>' class. | ||
404 | * <!-- begin-user-doc --> | ||
405 | * <!-- end-user-doc --> | ||
406 | * @generated | ||
407 | * @ordered | ||
408 | */ | ||
409 | int EXTERN_AGGREGATOR_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 3; | ||
410 | |||
411 | /** | ||
412 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl <em>Extern Datatype Definition</em>}' class. | ||
413 | * <!-- begin-user-doc --> | ||
414 | * <!-- end-user-doc --> | ||
415 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl | ||
416 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternDatatypeDefinition() | ||
417 | * @generated | ||
418 | */ | ||
419 | int EXTERN_DATATYPE_DEFINITION = 9; | ||
420 | |||
421 | /** | ||
422 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
423 | * <!-- begin-user-doc --> | ||
424 | * <!-- end-user-doc --> | ||
425 | * @generated | ||
426 | * @ordered | ||
427 | */ | ||
428 | int EXTERN_DATATYPE_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 0; | ||
429 | |||
430 | /** | ||
431 | * The feature id for the '<em><b>Supertypes</b></em>' reference list. | ||
432 | * <!-- begin-user-doc --> | ||
433 | * <!-- end-user-doc --> | ||
434 | * @generated | ||
435 | * @ordered | ||
436 | */ | ||
437 | int EXTERN_DATATYPE_DEFINITION__SUPERTYPES = STATEMENT_FEATURE_COUNT + 1; | ||
438 | |||
439 | /** | ||
440 | * The number of structural features of the '<em>Extern Datatype Definition</em>' class. | ||
441 | * <!-- begin-user-doc --> | ||
442 | * <!-- end-user-doc --> | ||
443 | * @generated | ||
444 | * @ordered | ||
445 | */ | ||
446 | int EXTERN_DATATYPE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; | ||
447 | |||
448 | /** | ||
449 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl <em>Named Element</em>}' class. | ||
450 | * <!-- begin-user-doc --> | ||
451 | * <!-- end-user-doc --> | ||
452 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl | ||
453 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNamedElement() | ||
454 | * @generated | ||
455 | */ | ||
456 | int NAMED_ELEMENT = 10; | ||
457 | |||
458 | /** | ||
459 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
460 | * <!-- begin-user-doc --> | ||
461 | * <!-- end-user-doc --> | ||
462 | * @generated | ||
463 | * @ordered | ||
464 | */ | ||
465 | int NAMED_ELEMENT__NAME = 0; | ||
466 | |||
467 | /** | ||
468 | * The number of structural features of the '<em>Named Element</em>' class. | ||
469 | * <!-- begin-user-doc --> | ||
470 | * <!-- end-user-doc --> | ||
471 | * @generated | ||
472 | * @ordered | ||
473 | */ | ||
474 | int NAMED_ELEMENT_FEATURE_COUNT = 1; | ||
475 | |||
476 | /** | ||
477 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl <em>Expression</em>}' class. | ||
478 | * <!-- begin-user-doc --> | ||
479 | * <!-- end-user-doc --> | ||
480 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl | ||
481 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpression() | ||
482 | * @generated | ||
483 | */ | ||
484 | int EXPRESSION = 11; | ||
485 | |||
486 | /** | ||
487 | * The number of structural features of the '<em>Expression</em>' class. | ||
488 | * <!-- begin-user-doc --> | ||
489 | * <!-- end-user-doc --> | ||
490 | * @generated | ||
491 | * @ordered | ||
492 | */ | ||
493 | int EXPRESSION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 0; | ||
494 | |||
495 | /** | ||
496 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl <em>If Else</em>}' class. | ||
497 | * <!-- begin-user-doc --> | ||
498 | * <!-- end-user-doc --> | ||
499 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl | ||
500 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIfElse() | ||
501 | * @generated | ||
502 | */ | ||
503 | int IF_ELSE = 12; | ||
504 | |||
505 | /** | ||
506 | * The feature id for the '<em><b>Then</b></em>' containment reference. | ||
507 | * <!-- begin-user-doc --> | ||
508 | * <!-- end-user-doc --> | ||
509 | * @generated | ||
510 | * @ordered | ||
511 | */ | ||
512 | int IF_ELSE__THEN = EXPRESSION_FEATURE_COUNT + 0; | ||
513 | |||
514 | /** | ||
515 | * The feature id for the '<em><b>Else</b></em>' containment reference. | ||
516 | * <!-- begin-user-doc --> | ||
517 | * <!-- end-user-doc --> | ||
518 | * @generated | ||
519 | * @ordered | ||
520 | */ | ||
521 | int IF_ELSE__ELSE = EXPRESSION_FEATURE_COUNT + 1; | ||
522 | |||
523 | /** | ||
524 | * The feature id for the '<em><b>Condition</b></em>' containment reference. | ||
525 | * <!-- begin-user-doc --> | ||
526 | * <!-- end-user-doc --> | ||
527 | * @generated | ||
528 | * @ordered | ||
529 | */ | ||
530 | int IF_ELSE__CONDITION = EXPRESSION_FEATURE_COUNT + 2; | ||
531 | |||
532 | /** | ||
533 | * The number of structural features of the '<em>If Else</em>' class. | ||
534 | * <!-- begin-user-doc --> | ||
535 | * <!-- end-user-doc --> | ||
536 | * @generated | ||
537 | * @ordered | ||
538 | */ | ||
539 | int IF_ELSE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; | ||
540 | |||
541 | /** | ||
542 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl <em>Let</em>}' class. | ||
543 | * <!-- begin-user-doc --> | ||
544 | * <!-- end-user-doc --> | ||
545 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl | ||
546 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLet() | ||
547 | * @generated | ||
548 | */ | ||
549 | int LET = 13; | ||
550 | |||
551 | /** | ||
552 | * The feature id for the '<em><b>Bindings</b></em>' containment reference list. | ||
553 | * <!-- begin-user-doc --> | ||
554 | * <!-- end-user-doc --> | ||
555 | * @generated | ||
556 | * @ordered | ||
557 | */ | ||
558 | int LET__BINDINGS = EXPRESSION_FEATURE_COUNT + 0; | ||
559 | |||
560 | /** | ||
561 | * The feature id for the '<em><b>Body</b></em>' containment reference. | ||
562 | * <!-- begin-user-doc --> | ||
563 | * <!-- end-user-doc --> | ||
564 | * @generated | ||
565 | * @ordered | ||
566 | */ | ||
567 | int LET__BODY = EXPRESSION_FEATURE_COUNT + 1; | ||
568 | |||
569 | /** | ||
570 | * The number of structural features of the '<em>Let</em>' class. | ||
571 | * <!-- begin-user-doc --> | ||
572 | * <!-- end-user-doc --> | ||
573 | * @generated | ||
574 | * @ordered | ||
575 | */ | ||
576 | int LET_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; | ||
577 | |||
578 | /** | ||
579 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl <em>Let Binding</em>}' class. | ||
580 | * <!-- begin-user-doc --> | ||
581 | * <!-- end-user-doc --> | ||
582 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl | ||
583 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLetBinding() | ||
584 | * @generated | ||
585 | */ | ||
586 | int LET_BINDING = 14; | ||
587 | |||
588 | /** | ||
589 | * The feature id for the '<em><b>Variable</b></em>' containment reference. | ||
590 | * <!-- begin-user-doc --> | ||
591 | * <!-- end-user-doc --> | ||
592 | * @generated | ||
593 | * @ordered | ||
594 | */ | ||
595 | int LET_BINDING__VARIABLE = 0; | ||
596 | |||
597 | /** | ||
598 | * The feature id for the '<em><b>Value</b></em>' containment reference. | ||
599 | * <!-- begin-user-doc --> | ||
600 | * <!-- end-user-doc --> | ||
601 | * @generated | ||
602 | * @ordered | ||
603 | */ | ||
604 | int LET_BINDING__VALUE = 1; | ||
605 | |||
606 | /** | ||
607 | * The number of structural features of the '<em>Let Binding</em>' class. | ||
608 | * <!-- begin-user-doc --> | ||
609 | * <!-- end-user-doc --> | ||
610 | * @generated | ||
611 | * @ordered | ||
612 | */ | ||
613 | int LET_BINDING_FEATURE_COUNT = 2; | ||
614 | |||
615 | /** | ||
616 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl <em>Case</em>}' class. | ||
617 | * <!-- begin-user-doc --> | ||
618 | * <!-- end-user-doc --> | ||
619 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl | ||
620 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCase() | ||
621 | * @generated | ||
622 | */ | ||
623 | int CASE = 15; | ||
624 | |||
625 | /** | ||
626 | * The feature id for the '<em><b>Body</b></em>' containment reference. | ||
627 | * <!-- begin-user-doc --> | ||
628 | * <!-- end-user-doc --> | ||
629 | * @generated | ||
630 | * @ordered | ||
631 | */ | ||
632 | int CASE__BODY = EXPRESSION_FEATURE_COUNT + 0; | ||
633 | |||
634 | /** | ||
635 | * The feature id for the '<em><b>Condition</b></em>' containment reference. | ||
636 | * <!-- begin-user-doc --> | ||
637 | * <!-- end-user-doc --> | ||
638 | * @generated | ||
639 | * @ordered | ||
640 | */ | ||
641 | int CASE__CONDITION = EXPRESSION_FEATURE_COUNT + 1; | ||
642 | |||
643 | /** | ||
644 | * The number of structural features of the '<em>Case</em>' class. | ||
645 | * <!-- begin-user-doc --> | ||
646 | * <!-- end-user-doc --> | ||
647 | * @generated | ||
648 | * @ordered | ||
649 | */ | ||
650 | int CASE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; | ||
651 | |||
652 | /** | ||
653 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl <em>Local Variables</em>}' class. | ||
654 | * <!-- begin-user-doc --> | ||
655 | * <!-- end-user-doc --> | ||
656 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl | ||
657 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLocalVariables() | ||
658 | * @generated | ||
659 | */ | ||
660 | int LOCAL_VARIABLES = 16; | ||
661 | |||
662 | /** | ||
663 | * The feature id for the '<em><b>Variables</b></em>' containment reference list. | ||
664 | * <!-- begin-user-doc --> | ||
665 | * <!-- end-user-doc --> | ||
666 | * @generated | ||
667 | * @ordered | ||
668 | */ | ||
669 | int LOCAL_VARIABLES__VARIABLES = 0; | ||
670 | |||
671 | /** | ||
672 | * The number of structural features of the '<em>Local Variables</em>' class. | ||
673 | * <!-- begin-user-doc --> | ||
674 | * <!-- end-user-doc --> | ||
675 | * @generated | ||
676 | * @ordered | ||
677 | */ | ||
678 | int LOCAL_VARIABLES_FEATURE_COUNT = 1; | ||
679 | |||
680 | /** | ||
681 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl <em>Quantified Expression</em>}' class. | ||
682 | * <!-- begin-user-doc --> | ||
683 | * <!-- end-user-doc --> | ||
684 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl | ||
685 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getQuantifiedExpression() | ||
686 | * @generated | ||
687 | */ | ||
688 | int QUANTIFIED_EXPRESSION = 17; | ||
689 | |||
690 | /** | ||
691 | * The feature id for the '<em><b>Local Variables</b></em>' containment reference. | ||
692 | * <!-- begin-user-doc --> | ||
693 | * <!-- end-user-doc --> | ||
694 | * @generated | ||
695 | * @ordered | ||
696 | */ | ||
697 | int QUANTIFIED_EXPRESSION__LOCAL_VARIABLES = EXPRESSION_FEATURE_COUNT + 0; | ||
698 | |||
699 | /** | ||
700 | * The feature id for the '<em><b>Body</b></em>' containment reference. | ||
701 | * <!-- begin-user-doc --> | ||
702 | * <!-- end-user-doc --> | ||
703 | * @generated | ||
704 | * @ordered | ||
705 | */ | ||
706 | int QUANTIFIED_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 1; | ||
707 | |||
708 | /** | ||
709 | * The feature id for the '<em><b>Quantifier</b></em>' attribute. | ||
710 | * <!-- begin-user-doc --> | ||
711 | * <!-- end-user-doc --> | ||
712 | * @generated | ||
713 | * @ordered | ||
714 | */ | ||
715 | int QUANTIFIED_EXPRESSION__QUANTIFIER = EXPRESSION_FEATURE_COUNT + 2; | ||
716 | |||
717 | /** | ||
718 | * The number of structural features of the '<em>Quantified Expression</em>' class. | ||
719 | * <!-- begin-user-doc --> | ||
720 | * <!-- end-user-doc --> | ||
721 | * @generated | ||
722 | * @ordered | ||
723 | */ | ||
724 | int QUANTIFIED_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; | ||
725 | |||
726 | /** | ||
727 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl <em>Aggregation</em>}' class. | ||
728 | * <!-- begin-user-doc --> | ||
729 | * <!-- end-user-doc --> | ||
730 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl | ||
731 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregation() | ||
732 | * @generated | ||
733 | */ | ||
734 | int AGGREGATION = 18; | ||
735 | |||
736 | /** | ||
737 | * The feature id for the '<em><b>Op</b></em>' reference. | ||
738 | * <!-- begin-user-doc --> | ||
739 | * <!-- end-user-doc --> | ||
740 | * @generated | ||
741 | * @ordered | ||
742 | */ | ||
743 | int AGGREGATION__OP = EXPRESSION_FEATURE_COUNT + 0; | ||
744 | |||
745 | /** | ||
746 | * The feature id for the '<em><b>Local Variables</b></em>' containment reference. | ||
747 | * <!-- begin-user-doc --> | ||
748 | * <!-- end-user-doc --> | ||
749 | * @generated | ||
750 | * @ordered | ||
751 | */ | ||
752 | int AGGREGATION__LOCAL_VARIABLES = EXPRESSION_FEATURE_COUNT + 1; | ||
753 | |||
754 | /** | ||
755 | * The feature id for the '<em><b>Body</b></em>' containment reference. | ||
756 | * <!-- begin-user-doc --> | ||
757 | * <!-- end-user-doc --> | ||
758 | * @generated | ||
759 | * @ordered | ||
760 | */ | ||
761 | int AGGREGATION__BODY = EXPRESSION_FEATURE_COUNT + 2; | ||
762 | |||
763 | /** | ||
764 | * The feature id for the '<em><b>Condition</b></em>' containment reference. | ||
765 | * <!-- begin-user-doc --> | ||
766 | * <!-- end-user-doc --> | ||
767 | * @generated | ||
768 | * @ordered | ||
769 | */ | ||
770 | int AGGREGATION__CONDITION = EXPRESSION_FEATURE_COUNT + 3; | ||
771 | |||
772 | /** | ||
773 | * The number of structural features of the '<em>Aggregation</em>' class. | ||
774 | * <!-- begin-user-doc --> | ||
775 | * <!-- end-user-doc --> | ||
776 | * @generated | ||
777 | * @ordered | ||
778 | */ | ||
779 | int AGGREGATION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 4; | ||
780 | |||
781 | /** | ||
782 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl <em>Call</em>}' class. | ||
783 | * <!-- begin-user-doc --> | ||
784 | * <!-- end-user-doc --> | ||
785 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl | ||
786 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCall() | ||
787 | * @generated | ||
788 | */ | ||
789 | int CALL = 19; | ||
790 | |||
791 | /** | ||
792 | * The feature id for the '<em><b>Functor</b></em>' containment reference. | ||
793 | * <!-- begin-user-doc --> | ||
794 | * <!-- end-user-doc --> | ||
795 | * @generated | ||
796 | * @ordered | ||
797 | */ | ||
798 | int CALL__FUNCTOR = EXPRESSION_FEATURE_COUNT + 0; | ||
799 | |||
800 | /** | ||
801 | * The feature id for the '<em><b>Transitive Closure</b></em>' attribute. | ||
802 | * <!-- begin-user-doc --> | ||
803 | * <!-- end-user-doc --> | ||
804 | * @generated | ||
805 | * @ordered | ||
806 | */ | ||
807 | int CALL__TRANSITIVE_CLOSURE = EXPRESSION_FEATURE_COUNT + 1; | ||
808 | |||
809 | /** | ||
810 | * The feature id for the '<em><b>Reflexive Transitive Closure</b></em>' attribute. | ||
811 | * <!-- begin-user-doc --> | ||
812 | * <!-- end-user-doc --> | ||
813 | * @generated | ||
814 | * @ordered | ||
815 | */ | ||
816 | int CALL__REFLEXIVE_TRANSITIVE_CLOSURE = EXPRESSION_FEATURE_COUNT + 2; | ||
817 | |||
818 | /** | ||
819 | * The feature id for the '<em><b>Argument List</b></em>' containment reference. | ||
820 | * <!-- begin-user-doc --> | ||
821 | * <!-- end-user-doc --> | ||
822 | * @generated | ||
823 | * @ordered | ||
824 | */ | ||
825 | int CALL__ARGUMENT_LIST = EXPRESSION_FEATURE_COUNT + 3; | ||
826 | |||
827 | /** | ||
828 | * The number of structural features of the '<em>Call</em>' class. | ||
829 | * <!-- begin-user-doc --> | ||
830 | * <!-- end-user-doc --> | ||
831 | * @generated | ||
832 | * @ordered | ||
833 | */ | ||
834 | int CALL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 4; | ||
835 | |||
836 | /** | ||
837 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl <em>Argument List</em>}' class. | ||
838 | * <!-- begin-user-doc --> | ||
839 | * <!-- end-user-doc --> | ||
840 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl | ||
841 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgumentList() | ||
842 | * @generated | ||
843 | */ | ||
844 | int ARGUMENT_LIST = 20; | ||
845 | |||
846 | /** | ||
847 | * The feature id for the '<em><b>Arguments</b></em>' containment reference list. | ||
848 | * <!-- begin-user-doc --> | ||
849 | * <!-- end-user-doc --> | ||
850 | * @generated | ||
851 | * @ordered | ||
852 | */ | ||
853 | int ARGUMENT_LIST__ARGUMENTS = 0; | ||
854 | |||
855 | /** | ||
856 | * The number of structural features of the '<em>Argument List</em>' class. | ||
857 | * <!-- begin-user-doc --> | ||
858 | * <!-- end-user-doc --> | ||
859 | * @generated | ||
860 | * @ordered | ||
861 | */ | ||
862 | int ARGUMENT_LIST_FEATURE_COUNT = 1; | ||
863 | |||
864 | /** | ||
865 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl <em>Argument</em>}' class. | ||
866 | * <!-- begin-user-doc --> | ||
867 | * <!-- end-user-doc --> | ||
868 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl | ||
869 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgument() | ||
870 | * @generated | ||
871 | */ | ||
872 | int ARGUMENT = 21; | ||
873 | |||
874 | /** | ||
875 | * The number of structural features of the '<em>Argument</em>' class. | ||
876 | * <!-- begin-user-doc --> | ||
877 | * <!-- end-user-doc --> | ||
878 | * @generated | ||
879 | * @ordered | ||
880 | */ | ||
881 | int ARGUMENT_FEATURE_COUNT = 0; | ||
882 | |||
883 | /** | ||
884 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl <em>Expression Argument</em>}' class. | ||
885 | * <!-- begin-user-doc --> | ||
886 | * <!-- end-user-doc --> | ||
887 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl | ||
888 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpressionArgument() | ||
889 | * @generated | ||
890 | */ | ||
891 | int EXPRESSION_ARGUMENT = 22; | ||
892 | |||
893 | /** | ||
894 | * The feature id for the '<em><b>Body</b></em>' containment reference. | ||
895 | * <!-- begin-user-doc --> | ||
896 | * <!-- end-user-doc --> | ||
897 | * @generated | ||
898 | * @ordered | ||
899 | */ | ||
900 | int EXPRESSION_ARGUMENT__BODY = ARGUMENT_FEATURE_COUNT + 0; | ||
901 | |||
902 | /** | ||
903 | * The number of structural features of the '<em>Expression Argument</em>' class. | ||
904 | * <!-- begin-user-doc --> | ||
905 | * <!-- end-user-doc --> | ||
906 | * @generated | ||
907 | * @ordered | ||
908 | */ | ||
909 | int EXPRESSION_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1; | ||
910 | |||
911 | /** | ||
912 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl <em>Star Argument</em>}' class. | ||
913 | * <!-- begin-user-doc --> | ||
914 | * <!-- end-user-doc --> | ||
915 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl | ||
916 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStarArgument() | ||
917 | * @generated | ||
918 | */ | ||
919 | int STAR_ARGUMENT = 23; | ||
920 | |||
921 | /** | ||
922 | * The number of structural features of the '<em>Star Argument</em>' class. | ||
923 | * <!-- begin-user-doc --> | ||
924 | * <!-- end-user-doc --> | ||
925 | * @generated | ||
926 | * @ordered | ||
927 | */ | ||
928 | int STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 0; | ||
929 | |||
930 | /** | ||
931 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl <em>Typed Argument</em>}' class. | ||
932 | * <!-- begin-user-doc --> | ||
933 | * <!-- end-user-doc --> | ||
934 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl | ||
935 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedArgument() | ||
936 | * @generated | ||
937 | */ | ||
938 | int TYPED_ARGUMENT = 24; | ||
939 | |||
940 | /** | ||
941 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
942 | * <!-- begin-user-doc --> | ||
943 | * <!-- end-user-doc --> | ||
944 | * @generated | ||
945 | * @ordered | ||
946 | */ | ||
947 | int TYPED_ARGUMENT__TYPE = ARGUMENT_FEATURE_COUNT + 0; | ||
948 | |||
949 | /** | ||
950 | * The feature id for the '<em><b>Variable</b></em>' reference. | ||
951 | * <!-- begin-user-doc --> | ||
952 | * <!-- end-user-doc --> | ||
953 | * @generated | ||
954 | * @ordered | ||
955 | */ | ||
956 | int TYPED_ARGUMENT__VARIABLE = ARGUMENT_FEATURE_COUNT + 1; | ||
957 | |||
958 | /** | ||
959 | * The number of structural features of the '<em>Typed Argument</em>' class. | ||
960 | * <!-- begin-user-doc --> | ||
961 | * <!-- end-user-doc --> | ||
962 | * @generated | ||
963 | * @ordered | ||
964 | */ | ||
965 | int TYPED_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 2; | ||
966 | |||
967 | /** | ||
968 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl <em>Typed Star Argument</em>}' class. | ||
969 | * <!-- begin-user-doc --> | ||
970 | * <!-- end-user-doc --> | ||
971 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl | ||
972 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedStarArgument() | ||
973 | * @generated | ||
974 | */ | ||
975 | int TYPED_STAR_ARGUMENT = 25; | ||
976 | |||
977 | /** | ||
978 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
979 | * <!-- begin-user-doc --> | ||
980 | * <!-- end-user-doc --> | ||
981 | * @generated | ||
982 | * @ordered | ||
983 | */ | ||
984 | int TYPED_STAR_ARGUMENT__TYPE = ARGUMENT_FEATURE_COUNT + 0; | ||
985 | |||
986 | /** | ||
987 | * The number of structural features of the '<em>Typed Star Argument</em>' class. | ||
988 | * <!-- begin-user-doc --> | ||
989 | * <!-- end-user-doc --> | ||
990 | * @generated | ||
991 | * @ordered | ||
992 | */ | ||
993 | int TYPED_STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1; | ||
994 | |||
995 | /** | ||
996 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl <em>Reference</em>}' class. | ||
997 | * <!-- begin-user-doc --> | ||
998 | * <!-- end-user-doc --> | ||
999 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl | ||
1000 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReference() | ||
1001 | * @generated | ||
1002 | */ | ||
1003 | int REFERENCE = 26; | ||
1004 | |||
1005 | /** | ||
1006 | * The feature id for the '<em><b>Referred</b></em>' reference. | ||
1007 | * <!-- begin-user-doc --> | ||
1008 | * <!-- end-user-doc --> | ||
1009 | * @generated | ||
1010 | * @ordered | ||
1011 | */ | ||
1012 | int REFERENCE__REFERRED = EXPRESSION_FEATURE_COUNT + 0; | ||
1013 | |||
1014 | /** | ||
1015 | * The number of structural features of the '<em>Reference</em>' class. | ||
1016 | * <!-- begin-user-doc --> | ||
1017 | * <!-- end-user-doc --> | ||
1018 | * @generated | ||
1019 | * @ordered | ||
1020 | */ | ||
1021 | int REFERENCE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; | ||
1022 | |||
1023 | /** | ||
1024 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl <em>Interval</em>}' class. | ||
1025 | * <!-- begin-user-doc --> | ||
1026 | * <!-- end-user-doc --> | ||
1027 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl | ||
1028 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterval() | ||
1029 | * @generated | ||
1030 | */ | ||
1031 | int INTERVAL = 27; | ||
1032 | |||
1033 | /** | ||
1034 | * The feature id for the '<em><b>Lower Bound</b></em>' containment reference. | ||
1035 | * <!-- begin-user-doc --> | ||
1036 | * <!-- end-user-doc --> | ||
1037 | * @generated | ||
1038 | * @ordered | ||
1039 | */ | ||
1040 | int INTERVAL__LOWER_BOUND = EXPRESSION_FEATURE_COUNT + 0; | ||
1041 | |||
1042 | /** | ||
1043 | * The feature id for the '<em><b>Upper Bound</b></em>' containment reference. | ||
1044 | * <!-- begin-user-doc --> | ||
1045 | * <!-- end-user-doc --> | ||
1046 | * @generated | ||
1047 | * @ordered | ||
1048 | */ | ||
1049 | int INTERVAL__UPPER_BOUND = EXPRESSION_FEATURE_COUNT + 1; | ||
1050 | |||
1051 | /** | ||
1052 | * The number of structural features of the '<em>Interval</em>' class. | ||
1053 | * <!-- begin-user-doc --> | ||
1054 | * <!-- end-user-doc --> | ||
1055 | * @generated | ||
1056 | * @ordered | ||
1057 | */ | ||
1058 | int INTERVAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; | ||
1059 | |||
1060 | /** | ||
1061 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl <em>Literal</em>}' class. | ||
1062 | * <!-- begin-user-doc --> | ||
1063 | * <!-- end-user-doc --> | ||
1064 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl | ||
1065 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral() | ||
1066 | * @generated | ||
1067 | */ | ||
1068 | int LITERAL = 28; | ||
1069 | |||
1070 | /** | ||
1071 | * The number of structural features of the '<em>Literal</em>' class. | ||
1072 | * <!-- begin-user-doc --> | ||
1073 | * <!-- end-user-doc --> | ||
1074 | * @generated | ||
1075 | * @ordered | ||
1076 | */ | ||
1077 | int LITERAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 0; | ||
1078 | |||
1079 | /** | ||
1080 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl <em>Logic Literal</em>}' class. | ||
1081 | * <!-- begin-user-doc --> | ||
1082 | * <!-- end-user-doc --> | ||
1083 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl | ||
1084 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicLiteral() | ||
1085 | * @generated | ||
1086 | */ | ||
1087 | int LOGIC_LITERAL = 29; | ||
1088 | |||
1089 | /** | ||
1090 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
1091 | * <!-- begin-user-doc --> | ||
1092 | * <!-- end-user-doc --> | ||
1093 | * @generated | ||
1094 | * @ordered | ||
1095 | */ | ||
1096 | int LOGIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; | ||
1097 | |||
1098 | /** | ||
1099 | * The number of structural features of the '<em>Logic Literal</em>' class. | ||
1100 | * <!-- begin-user-doc --> | ||
1101 | * <!-- end-user-doc --> | ||
1102 | * @generated | ||
1103 | * @ordered | ||
1104 | */ | ||
1105 | int LOGIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; | ||
1106 | |||
1107 | /** | ||
1108 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl <em>Numeric Literal</em>}' class. | ||
1109 | * <!-- begin-user-doc --> | ||
1110 | * <!-- end-user-doc --> | ||
1111 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl | ||
1112 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNumericLiteral() | ||
1113 | * @generated | ||
1114 | */ | ||
1115 | int NUMERIC_LITERAL = 30; | ||
1116 | |||
1117 | /** | ||
1118 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
1119 | * <!-- begin-user-doc --> | ||
1120 | * <!-- end-user-doc --> | ||
1121 | * @generated | ||
1122 | * @ordered | ||
1123 | */ | ||
1124 | int NUMERIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; | ||
1125 | |||
1126 | /** | ||
1127 | * The number of structural features of the '<em>Numeric Literal</em>' class. | ||
1128 | * <!-- begin-user-doc --> | ||
1129 | * <!-- end-user-doc --> | ||
1130 | * @generated | ||
1131 | * @ordered | ||
1132 | */ | ||
1133 | int NUMERIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; | ||
1134 | |||
1135 | /** | ||
1136 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl <em>Infinity Literal</em>}' class. | ||
1137 | * <!-- begin-user-doc --> | ||
1138 | * <!-- end-user-doc --> | ||
1139 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl | ||
1140 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInfinityLiteral() | ||
1141 | * @generated | ||
1142 | */ | ||
1143 | int INFINITY_LITERAL = 31; | ||
1144 | |||
1145 | /** | ||
1146 | * The number of structural features of the '<em>Infinity Literal</em>' class. | ||
1147 | * <!-- begin-user-doc --> | ||
1148 | * <!-- end-user-doc --> | ||
1149 | * @generated | ||
1150 | * @ordered | ||
1151 | */ | ||
1152 | int INFINITY_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0; | ||
1153 | |||
1154 | /** | ||
1155 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl <em>Empty Interval Literal</em>}' class. | ||
1156 | * <!-- begin-user-doc --> | ||
1157 | * <!-- end-user-doc --> | ||
1158 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl | ||
1159 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEmptyIntervalLiteral() | ||
1160 | * @generated | ||
1161 | */ | ||
1162 | int EMPTY_INTERVAL_LITERAL = 32; | ||
1163 | |||
1164 | /** | ||
1165 | * The number of structural features of the '<em>Empty Interval Literal</em>' class. | ||
1166 | * <!-- begin-user-doc --> | ||
1167 | * <!-- end-user-doc --> | ||
1168 | * @generated | ||
1169 | * @ordered | ||
1170 | */ | ||
1171 | int EMPTY_INTERVAL_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0; | ||
1172 | |||
1173 | /** | ||
1174 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl <em>String Literal</em>}' class. | ||
1175 | * <!-- begin-user-doc --> | ||
1176 | * <!-- end-user-doc --> | ||
1177 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl | ||
1178 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStringLiteral() | ||
1179 | * @generated | ||
1180 | */ | ||
1181 | int STRING_LITERAL = 33; | ||
1182 | |||
1183 | /** | ||
1184 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
1185 | * <!-- begin-user-doc --> | ||
1186 | * <!-- end-user-doc --> | ||
1187 | * @generated | ||
1188 | * @ordered | ||
1189 | */ | ||
1190 | int STRING_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; | ||
1191 | |||
1192 | /** | ||
1193 | * The number of structural features of the '<em>String Literal</em>' class. | ||
1194 | * <!-- begin-user-doc --> | ||
1195 | * <!-- end-user-doc --> | ||
1196 | * @generated | ||
1197 | * @ordered | ||
1198 | */ | ||
1199 | int STRING_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; | ||
1200 | |||
1201 | /** | ||
1202 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl <em>Class Definition</em>}' class. | ||
1203 | * <!-- begin-user-doc --> | ||
1204 | * <!-- end-user-doc --> | ||
1205 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl | ||
1206 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassDefinition() | ||
1207 | * @generated | ||
1208 | */ | ||
1209 | int CLASS_DEFINITION = 34; | ||
1210 | |||
1211 | /** | ||
1212 | * The feature id for the '<em><b>Abstract</b></em>' attribute. | ||
1213 | * <!-- begin-user-doc --> | ||
1214 | * <!-- end-user-doc --> | ||
1215 | * @generated | ||
1216 | * @ordered | ||
1217 | */ | ||
1218 | int CLASS_DEFINITION__ABSTRACT = STATEMENT_FEATURE_COUNT + 0; | ||
1219 | |||
1220 | /** | ||
1221 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
1222 | * <!-- begin-user-doc --> | ||
1223 | * <!-- end-user-doc --> | ||
1224 | * @generated | ||
1225 | * @ordered | ||
1226 | */ | ||
1227 | int CLASS_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 1; | ||
1228 | |||
1229 | /** | ||
1230 | * The feature id for the '<em><b>Superclasses</b></em>' reference list. | ||
1231 | * <!-- begin-user-doc --> | ||
1232 | * <!-- end-user-doc --> | ||
1233 | * @generated | ||
1234 | * @ordered | ||
1235 | */ | ||
1236 | int CLASS_DEFINITION__SUPERCLASSES = STATEMENT_FEATURE_COUNT + 2; | ||
1237 | |||
1238 | /** | ||
1239 | * The feature id for the '<em><b>Members</b></em>' containment reference list. | ||
1240 | * <!-- begin-user-doc --> | ||
1241 | * <!-- end-user-doc --> | ||
1242 | * @generated | ||
1243 | * @ordered | ||
1244 | */ | ||
1245 | int CLASS_DEFINITION__MEMBERS = STATEMENT_FEATURE_COUNT + 3; | ||
1246 | |||
1247 | /** | ||
1248 | * The number of structural features of the '<em>Class Definition</em>' class. | ||
1249 | * <!-- begin-user-doc --> | ||
1250 | * <!-- end-user-doc --> | ||
1251 | * @generated | ||
1252 | * @ordered | ||
1253 | */ | ||
1254 | int CLASS_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 4; | ||
1255 | |||
1256 | /** | ||
1257 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl <em>Member Definition</em>}' class. | ||
1258 | * <!-- begin-user-doc --> | ||
1259 | * <!-- end-user-doc --> | ||
1260 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl | ||
1261 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMemberDefinition() | ||
1262 | * @generated | ||
1263 | */ | ||
1264 | int MEMBER_DEFINITION = 35; | ||
1265 | |||
1266 | /** | ||
1267 | * The feature id for the '<em><b>Containment</b></em>' attribute. | ||
1268 | * <!-- begin-user-doc --> | ||
1269 | * <!-- end-user-doc --> | ||
1270 | * @generated | ||
1271 | * @ordered | ||
1272 | */ | ||
1273 | int MEMBER_DEFINITION__CONTAINMENT = 0; | ||
1274 | |||
1275 | /** | ||
1276 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
1277 | * <!-- begin-user-doc --> | ||
1278 | * <!-- end-user-doc --> | ||
1279 | * @generated | ||
1280 | * @ordered | ||
1281 | */ | ||
1282 | int MEMBER_DEFINITION__TYPE = 1; | ||
1283 | |||
1284 | /** | ||
1285 | * The feature id for the '<em><b>Multiplicity</b></em>' containment reference. | ||
1286 | * <!-- begin-user-doc --> | ||
1287 | * <!-- end-user-doc --> | ||
1288 | * @generated | ||
1289 | * @ordered | ||
1290 | */ | ||
1291 | int MEMBER_DEFINITION__MULTIPLICITY = 2; | ||
1292 | |||
1293 | /** | ||
1294 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
1295 | * <!-- begin-user-doc --> | ||
1296 | * <!-- end-user-doc --> | ||
1297 | * @generated | ||
1298 | * @ordered | ||
1299 | */ | ||
1300 | int MEMBER_DEFINITION__NAME = 3; | ||
1301 | |||
1302 | /** | ||
1303 | * The feature id for the '<em><b>Opposite</b></em>' reference. | ||
1304 | * <!-- begin-user-doc --> | ||
1305 | * <!-- end-user-doc --> | ||
1306 | * @generated | ||
1307 | * @ordered | ||
1308 | */ | ||
1309 | int MEMBER_DEFINITION__OPPOSITE = 4; | ||
1310 | |||
1311 | /** | ||
1312 | * The number of structural features of the '<em>Member Definition</em>' class. | ||
1313 | * <!-- begin-user-doc --> | ||
1314 | * <!-- end-user-doc --> | ||
1315 | * @generated | ||
1316 | * @ordered | ||
1317 | */ | ||
1318 | int MEMBER_DEFINITION_FEATURE_COUNT = 5; | ||
1319 | |||
1320 | /** | ||
1321 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl <em>Multiplicity</em>}' class. | ||
1322 | * <!-- begin-user-doc --> | ||
1323 | * <!-- end-user-doc --> | ||
1324 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl | ||
1325 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicity() | ||
1326 | * @generated | ||
1327 | */ | ||
1328 | int MULTIPLICITY = 36; | ||
1329 | |||
1330 | /** | ||
1331 | * The number of structural features of the '<em>Multiplicity</em>' class. | ||
1332 | * <!-- begin-user-doc --> | ||
1333 | * <!-- end-user-doc --> | ||
1334 | * @generated | ||
1335 | * @ordered | ||
1336 | */ | ||
1337 | int MULTIPLICITY_FEATURE_COUNT = 0; | ||
1338 | |||
1339 | /** | ||
1340 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl <em>Many Multiplicity</em>}' class. | ||
1341 | * <!-- begin-user-doc --> | ||
1342 | * <!-- end-user-doc --> | ||
1343 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl | ||
1344 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getManyMultiplicity() | ||
1345 | * @generated | ||
1346 | */ | ||
1347 | int MANY_MULTIPLICITY = 37; | ||
1348 | |||
1349 | /** | ||
1350 | * The number of structural features of the '<em>Many Multiplicity</em>' class. | ||
1351 | * <!-- begin-user-doc --> | ||
1352 | * <!-- end-user-doc --> | ||
1353 | * @generated | ||
1354 | * @ordered | ||
1355 | */ | ||
1356 | int MANY_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 0; | ||
1357 | |||
1358 | /** | ||
1359 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl <em>Exact Multiplicity</em>}' class. | ||
1360 | * <!-- begin-user-doc --> | ||
1361 | * <!-- end-user-doc --> | ||
1362 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl | ||
1363 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactMultiplicity() | ||
1364 | * @generated | ||
1365 | */ | ||
1366 | int EXACT_MULTIPLICITY = 38; | ||
1367 | |||
1368 | /** | ||
1369 | * The feature id for the '<em><b>Multiplicity</b></em>' attribute. | ||
1370 | * <!-- begin-user-doc --> | ||
1371 | * <!-- end-user-doc --> | ||
1372 | * @generated | ||
1373 | * @ordered | ||
1374 | */ | ||
1375 | int EXACT_MULTIPLICITY__MULTIPLICITY = MULTIPLICITY_FEATURE_COUNT + 0; | ||
1376 | |||
1377 | /** | ||
1378 | * The number of structural features of the '<em>Exact Multiplicity</em>' class. | ||
1379 | * <!-- begin-user-doc --> | ||
1380 | * <!-- end-user-doc --> | ||
1381 | * @generated | ||
1382 | * @ordered | ||
1383 | */ | ||
1384 | int EXACT_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 1; | ||
1385 | |||
1386 | /** | ||
1387 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl <em>Bounded Multiplicity</em>}' class. | ||
1388 | * <!-- begin-user-doc --> | ||
1389 | * <!-- end-user-doc --> | ||
1390 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl | ||
1391 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedMultiplicity() | ||
1392 | * @generated | ||
1393 | */ | ||
1394 | int BOUNDED_MULTIPLICITY = 39; | ||
1395 | |||
1396 | /** | ||
1397 | * The feature id for the '<em><b>Lower Bound</b></em>' attribute. | ||
1398 | * <!-- begin-user-doc --> | ||
1399 | * <!-- end-user-doc --> | ||
1400 | * @generated | ||
1401 | * @ordered | ||
1402 | */ | ||
1403 | int BOUNDED_MULTIPLICITY__LOWER_BOUND = MULTIPLICITY_FEATURE_COUNT + 0; | ||
1404 | |||
1405 | /** | ||
1406 | * The feature id for the '<em><b>Upper Bound</b></em>' attribute. | ||
1407 | * <!-- begin-user-doc --> | ||
1408 | * <!-- end-user-doc --> | ||
1409 | * @generated | ||
1410 | * @ordered | ||
1411 | */ | ||
1412 | int BOUNDED_MULTIPLICITY__UPPER_BOUND = MULTIPLICITY_FEATURE_COUNT + 1; | ||
1413 | |||
1414 | /** | ||
1415 | * The number of structural features of the '<em>Bounded Multiplicity</em>' class. | ||
1416 | * <!-- begin-user-doc --> | ||
1417 | * <!-- end-user-doc --> | ||
1418 | * @generated | ||
1419 | * @ordered | ||
1420 | */ | ||
1421 | int BOUNDED_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 2; | ||
1422 | |||
1423 | /** | ||
1424 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl <em>Scope Definition</em>}' class. | ||
1425 | * <!-- begin-user-doc --> | ||
1426 | * <!-- end-user-doc --> | ||
1427 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl | ||
1428 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getScopeDefinition() | ||
1429 | * @generated | ||
1430 | */ | ||
1431 | int SCOPE_DEFINITION = 40; | ||
1432 | |||
1433 | /** | ||
1434 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
1435 | * <!-- begin-user-doc --> | ||
1436 | * <!-- end-user-doc --> | ||
1437 | * @generated | ||
1438 | * @ordered | ||
1439 | */ | ||
1440 | int SCOPE_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0; | ||
1441 | |||
1442 | /** | ||
1443 | * The number of structural features of the '<em>Scope Definition</em>' class. | ||
1444 | * <!-- begin-user-doc --> | ||
1445 | * <!-- end-user-doc --> | ||
1446 | * @generated | ||
1447 | * @ordered | ||
1448 | */ | ||
1449 | int SCOPE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1; | ||
1450 | |||
1451 | /** | ||
1452 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl <em>Exact Scope Definition</em>}' class. | ||
1453 | * <!-- begin-user-doc --> | ||
1454 | * <!-- end-user-doc --> | ||
1455 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl | ||
1456 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactScopeDefinition() | ||
1457 | * @generated | ||
1458 | */ | ||
1459 | int EXACT_SCOPE_DEFINITION = 41; | ||
1460 | |||
1461 | /** | ||
1462 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
1463 | * <!-- begin-user-doc --> | ||
1464 | * <!-- end-user-doc --> | ||
1465 | * @generated | ||
1466 | * @ordered | ||
1467 | */ | ||
1468 | int EXACT_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE; | ||
1469 | |||
1470 | /** | ||
1471 | * The feature id for the '<em><b>Exact Scope</b></em>' attribute. | ||
1472 | * <!-- begin-user-doc --> | ||
1473 | * <!-- end-user-doc --> | ||
1474 | * @generated | ||
1475 | * @ordered | ||
1476 | */ | ||
1477 | int EXACT_SCOPE_DEFINITION__EXACT_SCOPE = SCOPE_DEFINITION_FEATURE_COUNT + 0; | ||
1478 | |||
1479 | /** | ||
1480 | * The number of structural features of the '<em>Exact Scope Definition</em>' class. | ||
1481 | * <!-- begin-user-doc --> | ||
1482 | * <!-- end-user-doc --> | ||
1483 | * @generated | ||
1484 | * @ordered | ||
1485 | */ | ||
1486 | int EXACT_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 1; | ||
1487 | |||
1488 | /** | ||
1489 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl <em>Bounded Scope Definition</em>}' class. | ||
1490 | * <!-- begin-user-doc --> | ||
1491 | * <!-- end-user-doc --> | ||
1492 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl | ||
1493 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedScopeDefinition() | ||
1494 | * @generated | ||
1495 | */ | ||
1496 | int BOUNDED_SCOPE_DEFINITION = 42; | ||
1497 | |||
1498 | /** | ||
1499 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
1500 | * <!-- begin-user-doc --> | ||
1501 | * <!-- end-user-doc --> | ||
1502 | * @generated | ||
1503 | * @ordered | ||
1504 | */ | ||
1505 | int BOUNDED_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE; | ||
1506 | |||
1507 | /** | ||
1508 | * The feature id for the '<em><b>Lower Bound</b></em>' attribute. | ||
1509 | * <!-- begin-user-doc --> | ||
1510 | * <!-- end-user-doc --> | ||
1511 | * @generated | ||
1512 | * @ordered | ||
1513 | */ | ||
1514 | int BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 0; | ||
1515 | |||
1516 | /** | ||
1517 | * The feature id for the '<em><b>Upper Bound</b></em>' attribute. | ||
1518 | * <!-- begin-user-doc --> | ||
1519 | * <!-- end-user-doc --> | ||
1520 | * @generated | ||
1521 | * @ordered | ||
1522 | */ | ||
1523 | int BOUNDED_SCOPE_DEFINITION__UPPER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 1; | ||
1524 | |||
1525 | /** | ||
1526 | * The number of structural features of the '<em>Bounded Scope Definition</em>' class. | ||
1527 | * <!-- begin-user-doc --> | ||
1528 | * <!-- end-user-doc --> | ||
1529 | * @generated | ||
1530 | * @ordered | ||
1531 | */ | ||
1532 | int BOUNDED_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 2; | ||
1533 | |||
1534 | /** | ||
1535 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl <em>Lower Bounded Scope Definition</em>}' class. | ||
1536 | * <!-- begin-user-doc --> | ||
1537 | * <!-- end-user-doc --> | ||
1538 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl | ||
1539 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLowerBoundedScopeDefinition() | ||
1540 | * @generated | ||
1541 | */ | ||
1542 | int LOWER_BOUNDED_SCOPE_DEFINITION = 43; | ||
1543 | |||
1544 | /** | ||
1545 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
1546 | * <!-- begin-user-doc --> | ||
1547 | * <!-- end-user-doc --> | ||
1548 | * @generated | ||
1549 | * @ordered | ||
1550 | */ | ||
1551 | int LOWER_BOUNDED_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE; | ||
1552 | |||
1553 | /** | ||
1554 | * The feature id for the '<em><b>Lower Bound</b></em>' attribute. | ||
1555 | * <!-- begin-user-doc --> | ||
1556 | * <!-- end-user-doc --> | ||
1557 | * @generated | ||
1558 | * @ordered | ||
1559 | */ | ||
1560 | int LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 0; | ||
1561 | |||
1562 | /** | ||
1563 | * The number of structural features of the '<em>Lower Bounded Scope Definition</em>' class. | ||
1564 | * <!-- begin-user-doc --> | ||
1565 | * <!-- end-user-doc --> | ||
1566 | * @generated | ||
1567 | * @ordered | ||
1568 | */ | ||
1569 | int LOWER_BOUNDED_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 1; | ||
1570 | |||
1571 | /** | ||
1572 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl <em>Objective Definition</em>}' class. | ||
1573 | * <!-- begin-user-doc --> | ||
1574 | * <!-- end-user-doc --> | ||
1575 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl | ||
1576 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveDefinition() | ||
1577 | * @generated | ||
1578 | */ | ||
1579 | int OBJECTIVE_DEFINITION = 44; | ||
1580 | |||
1581 | /** | ||
1582 | * The feature id for the '<em><b>Kind</b></em>' attribute. | ||
1583 | * <!-- begin-user-doc --> | ||
1584 | * <!-- end-user-doc --> | ||
1585 | * @generated | ||
1586 | * @ordered | ||
1587 | */ | ||
1588 | int OBJECTIVE_DEFINITION__KIND = STATEMENT_FEATURE_COUNT + 0; | ||
1589 | |||
1590 | /** | ||
1591 | * The feature id for the '<em><b>Objective</b></em>' containment reference. | ||
1592 | * <!-- begin-user-doc --> | ||
1593 | * <!-- end-user-doc --> | ||
1594 | * @generated | ||
1595 | * @ordered | ||
1596 | */ | ||
1597 | int OBJECTIVE_DEFINITION__OBJECTIVE = STATEMENT_FEATURE_COUNT + 1; | ||
1598 | |||
1599 | /** | ||
1600 | * The number of structural features of the '<em>Objective Definition</em>' class. | ||
1601 | * <!-- begin-user-doc --> | ||
1602 | * <!-- end-user-doc --> | ||
1603 | * @generated | ||
1604 | * @ordered | ||
1605 | */ | ||
1606 | int OBJECTIVE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; | ||
1607 | |||
1608 | /** | ||
1609 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl <em>Interpretation</em>}' class. | ||
1610 | * <!-- begin-user-doc --> | ||
1611 | * <!-- end-user-doc --> | ||
1612 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl | ||
1613 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterpretation() | ||
1614 | * @generated | ||
1615 | */ | ||
1616 | int INTERPRETATION = 45; | ||
1617 | |||
1618 | /** | ||
1619 | * The feature id for the '<em><b>Body</b></em>' containment reference. | ||
1620 | * <!-- begin-user-doc --> | ||
1621 | * <!-- end-user-doc --> | ||
1622 | * @generated | ||
1623 | * @ordered | ||
1624 | */ | ||
1625 | int INTERPRETATION__BODY = STATEMENT_FEATURE_COUNT + 0; | ||
1626 | |||
1627 | /** | ||
1628 | * The feature id for the '<em><b>Range</b></em>' containment reference. | ||
1629 | * <!-- begin-user-doc --> | ||
1630 | * <!-- end-user-doc --> | ||
1631 | * @generated | ||
1632 | * @ordered | ||
1633 | */ | ||
1634 | int INTERPRETATION__RANGE = STATEMENT_FEATURE_COUNT + 1; | ||
1635 | |||
1636 | /** | ||
1637 | * The number of structural features of the '<em>Interpretation</em>' class. | ||
1638 | * <!-- begin-user-doc --> | ||
1639 | * <!-- end-user-doc --> | ||
1640 | * @generated | ||
1641 | * @ordered | ||
1642 | */ | ||
1643 | int INTERPRETATION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; | ||
1644 | |||
1645 | /** | ||
1646 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl <em>Variable</em>}' class. | ||
1647 | * <!-- begin-user-doc --> | ||
1648 | * <!-- end-user-doc --> | ||
1649 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl | ||
1650 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getVariable() | ||
1651 | * @generated | ||
1652 | */ | ||
1653 | int VARIABLE = 46; | ||
1654 | |||
1655 | /** | ||
1656 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
1657 | * <!-- begin-user-doc --> | ||
1658 | * <!-- end-user-doc --> | ||
1659 | * @generated | ||
1660 | * @ordered | ||
1661 | */ | ||
1662 | int VARIABLE__NAME = NAMED_ELEMENT__NAME; | ||
1663 | |||
1664 | /** | ||
1665 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
1666 | * <!-- begin-user-doc --> | ||
1667 | * <!-- end-user-doc --> | ||
1668 | * @generated | ||
1669 | * @ordered | ||
1670 | */ | ||
1671 | int VARIABLE__TYPE = NAMED_ELEMENT_FEATURE_COUNT + 0; | ||
1672 | |||
1673 | /** | ||
1674 | * The number of structural features of the '<em>Variable</em>' class. | ||
1675 | * <!-- begin-user-doc --> | ||
1676 | * <!-- end-user-doc --> | ||
1677 | * @generated | ||
1678 | * @ordered | ||
1679 | */ | ||
1680 | int VARIABLE_FEATURE_COUNT = NAMED_ELEMENT_FEATURE_COUNT + 1; | ||
1681 | |||
1682 | /** | ||
1683 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl <em>Disjunction</em>}' class. | ||
1684 | * <!-- begin-user-doc --> | ||
1685 | * <!-- end-user-doc --> | ||
1686 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl | ||
1687 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDisjunction() | ||
1688 | * @generated | ||
1689 | */ | ||
1690 | int DISJUNCTION = 47; | ||
1691 | |||
1692 | /** | ||
1693 | * The feature id for the '<em><b>Children</b></em>' containment reference list. | ||
1694 | * <!-- begin-user-doc --> | ||
1695 | * <!-- end-user-doc --> | ||
1696 | * @generated | ||
1697 | * @ordered | ||
1698 | */ | ||
1699 | int DISJUNCTION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0; | ||
1700 | |||
1701 | /** | ||
1702 | * The number of structural features of the '<em>Disjunction</em>' class. | ||
1703 | * <!-- begin-user-doc --> | ||
1704 | * <!-- end-user-doc --> | ||
1705 | * @generated | ||
1706 | * @ordered | ||
1707 | */ | ||
1708 | int DISJUNCTION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; | ||
1709 | |||
1710 | /** | ||
1711 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl <em>Switch</em>}' class. | ||
1712 | * <!-- begin-user-doc --> | ||
1713 | * <!-- end-user-doc --> | ||
1714 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl | ||
1715 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSwitch() | ||
1716 | * @generated | ||
1717 | */ | ||
1718 | int SWITCH = 48; | ||
1719 | |||
1720 | /** | ||
1721 | * The feature id for the '<em><b>Cases</b></em>' containment reference list. | ||
1722 | * <!-- begin-user-doc --> | ||
1723 | * <!-- end-user-doc --> | ||
1724 | * @generated | ||
1725 | * @ordered | ||
1726 | */ | ||
1727 | int SWITCH__CASES = EXPRESSION_FEATURE_COUNT + 0; | ||
1728 | |||
1729 | /** | ||
1730 | * The number of structural features of the '<em>Switch</em>' class. | ||
1731 | * <!-- begin-user-doc --> | ||
1732 | * <!-- end-user-doc --> | ||
1733 | * @generated | ||
1734 | * @ordered | ||
1735 | */ | ||
1736 | int SWITCH_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; | ||
1737 | |||
1738 | /** | ||
1739 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl <em>Conjunction</em>}' class. | ||
1740 | * <!-- begin-user-doc --> | ||
1741 | * <!-- end-user-doc --> | ||
1742 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl | ||
1743 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConjunction() | ||
1744 | * @generated | ||
1745 | */ | ||
1746 | int CONJUNCTION = 49; | ||
1747 | |||
1748 | /** | ||
1749 | * The feature id for the '<em><b>Children</b></em>' containment reference list. | ||
1750 | * <!-- begin-user-doc --> | ||
1751 | * <!-- end-user-doc --> | ||
1752 | * @generated | ||
1753 | * @ordered | ||
1754 | */ | ||
1755 | int CONJUNCTION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0; | ||
1756 | |||
1757 | /** | ||
1758 | * The number of structural features of the '<em>Conjunction</em>' class. | ||
1759 | * <!-- begin-user-doc --> | ||
1760 | * <!-- end-user-doc --> | ||
1761 | * @generated | ||
1762 | * @ordered | ||
1763 | */ | ||
1764 | int CONJUNCTION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; | ||
1765 | |||
1766 | /** | ||
1767 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl <em>Comparison</em>}' class. | ||
1768 | * <!-- begin-user-doc --> | ||
1769 | * <!-- end-user-doc --> | ||
1770 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl | ||
1771 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getComparison() | ||
1772 | * @generated | ||
1773 | */ | ||
1774 | int COMPARISON = 50; | ||
1775 | |||
1776 | /** | ||
1777 | * The feature id for the '<em><b>Left</b></em>' containment reference. | ||
1778 | * <!-- begin-user-doc --> | ||
1779 | * <!-- end-user-doc --> | ||
1780 | * @generated | ||
1781 | * @ordered | ||
1782 | */ | ||
1783 | int COMPARISON__LEFT = EXPRESSION_FEATURE_COUNT + 0; | ||
1784 | |||
1785 | /** | ||
1786 | * The feature id for the '<em><b>Op</b></em>' attribute. | ||
1787 | * <!-- begin-user-doc --> | ||
1788 | * <!-- end-user-doc --> | ||
1789 | * @generated | ||
1790 | * @ordered | ||
1791 | */ | ||
1792 | int COMPARISON__OP = EXPRESSION_FEATURE_COUNT + 1; | ||
1793 | |||
1794 | /** | ||
1795 | * The feature id for the '<em><b>Right</b></em>' containment reference. | ||
1796 | * <!-- begin-user-doc --> | ||
1797 | * <!-- end-user-doc --> | ||
1798 | * @generated | ||
1799 | * @ordered | ||
1800 | */ | ||
1801 | int COMPARISON__RIGHT = EXPRESSION_FEATURE_COUNT + 2; | ||
1802 | |||
1803 | /** | ||
1804 | * The number of structural features of the '<em>Comparison</em>' class. | ||
1805 | * <!-- begin-user-doc --> | ||
1806 | * <!-- end-user-doc --> | ||
1807 | * @generated | ||
1808 | * @ordered | ||
1809 | */ | ||
1810 | int COMPARISON_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; | ||
1811 | |||
1812 | /** | ||
1813 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl <em>Binary Expression</em>}' class. | ||
1814 | * <!-- begin-user-doc --> | ||
1815 | * <!-- end-user-doc --> | ||
1816 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl | ||
1817 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryExpression() | ||
1818 | * @generated | ||
1819 | */ | ||
1820 | int BINARY_EXPRESSION = 51; | ||
1821 | |||
1822 | /** | ||
1823 | * The feature id for the '<em><b>Left</b></em>' containment reference. | ||
1824 | * <!-- begin-user-doc --> | ||
1825 | * <!-- end-user-doc --> | ||
1826 | * @generated | ||
1827 | * @ordered | ||
1828 | */ | ||
1829 | int BINARY_EXPRESSION__LEFT = EXPRESSION_FEATURE_COUNT + 0; | ||
1830 | |||
1831 | /** | ||
1832 | * The feature id for the '<em><b>Op</b></em>' attribute. | ||
1833 | * <!-- begin-user-doc --> | ||
1834 | * <!-- end-user-doc --> | ||
1835 | * @generated | ||
1836 | * @ordered | ||
1837 | */ | ||
1838 | int BINARY_EXPRESSION__OP = EXPRESSION_FEATURE_COUNT + 1; | ||
1839 | |||
1840 | /** | ||
1841 | * The feature id for the '<em><b>Right</b></em>' containment reference. | ||
1842 | * <!-- begin-user-doc --> | ||
1843 | * <!-- end-user-doc --> | ||
1844 | * @generated | ||
1845 | * @ordered | ||
1846 | */ | ||
1847 | int BINARY_EXPRESSION__RIGHT = EXPRESSION_FEATURE_COUNT + 2; | ||
1848 | |||
1849 | /** | ||
1850 | * The number of structural features of the '<em>Binary Expression</em>' class. | ||
1851 | * <!-- begin-user-doc --> | ||
1852 | * <!-- end-user-doc --> | ||
1853 | * @generated | ||
1854 | * @ordered | ||
1855 | */ | ||
1856 | int BINARY_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; | ||
1857 | |||
1858 | /** | ||
1859 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl <em>Cast Expression</em>}' class. | ||
1860 | * <!-- begin-user-doc --> | ||
1861 | * <!-- end-user-doc --> | ||
1862 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl | ||
1863 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCastExpression() | ||
1864 | * @generated | ||
1865 | */ | ||
1866 | int CAST_EXPRESSION = 52; | ||
1867 | |||
1868 | /** | ||
1869 | * The feature id for the '<em><b>Body</b></em>' containment reference. | ||
1870 | * <!-- begin-user-doc --> | ||
1871 | * <!-- end-user-doc --> | ||
1872 | * @generated | ||
1873 | * @ordered | ||
1874 | */ | ||
1875 | int CAST_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 0; | ||
1876 | |||
1877 | /** | ||
1878 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
1879 | * <!-- begin-user-doc --> | ||
1880 | * <!-- end-user-doc --> | ||
1881 | * @generated | ||
1882 | * @ordered | ||
1883 | */ | ||
1884 | int CAST_EXPRESSION__TYPE = EXPRESSION_FEATURE_COUNT + 1; | ||
1885 | |||
1886 | /** | ||
1887 | * The number of structural features of the '<em>Cast Expression</em>' class. | ||
1888 | * <!-- begin-user-doc --> | ||
1889 | * <!-- end-user-doc --> | ||
1890 | * @generated | ||
1891 | * @ordered | ||
1892 | */ | ||
1893 | int CAST_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; | ||
1894 | |||
1895 | /** | ||
1896 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl <em>Unary Expression</em>}' class. | ||
1897 | * <!-- begin-user-doc --> | ||
1898 | * <!-- end-user-doc --> | ||
1899 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl | ||
1900 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryExpression() | ||
1901 | * @generated | ||
1902 | */ | ||
1903 | int UNARY_EXPRESSION = 53; | ||
1904 | |||
1905 | /** | ||
1906 | * The feature id for the '<em><b>Op</b></em>' attribute. | ||
1907 | * <!-- begin-user-doc --> | ||
1908 | * <!-- end-user-doc --> | ||
1909 | * @generated | ||
1910 | * @ordered | ||
1911 | */ | ||
1912 | int UNARY_EXPRESSION__OP = EXPRESSION_FEATURE_COUNT + 0; | ||
1913 | |||
1914 | /** | ||
1915 | * The feature id for the '<em><b>Body</b></em>' containment reference. | ||
1916 | * <!-- begin-user-doc --> | ||
1917 | * <!-- end-user-doc --> | ||
1918 | * @generated | ||
1919 | * @ordered | ||
1920 | */ | ||
1921 | int UNARY_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 1; | ||
1922 | |||
1923 | /** | ||
1924 | * The number of structural features of the '<em>Unary Expression</em>' class. | ||
1925 | * <!-- begin-user-doc --> | ||
1926 | * <!-- end-user-doc --> | ||
1927 | * @generated | ||
1928 | * @ordered | ||
1929 | */ | ||
1930 | int UNARY_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; | ||
1931 | |||
1932 | /** | ||
1933 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl <em>Node</em>}' class. | ||
1934 | * <!-- begin-user-doc --> | ||
1935 | * <!-- end-user-doc --> | ||
1936 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl | ||
1937 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNode() | ||
1938 | * @generated | ||
1939 | */ | ||
1940 | int NODE = 54; | ||
1941 | |||
1942 | /** | ||
1943 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
1944 | * <!-- begin-user-doc --> | ||
1945 | * <!-- end-user-doc --> | ||
1946 | * @generated | ||
1947 | * @ordered | ||
1948 | */ | ||
1949 | int NODE__NAME = NAMED_ELEMENT__NAME; | ||
1950 | |||
1951 | /** | ||
1952 | * The feature id for the '<em><b>With Id</b></em>' attribute. | ||
1953 | * <!-- begin-user-doc --> | ||
1954 | * <!-- end-user-doc --> | ||
1955 | * @generated | ||
1956 | * @ordered | ||
1957 | */ | ||
1958 | int NODE__WITH_ID = NAMED_ELEMENT_FEATURE_COUNT + 0; | ||
1959 | |||
1960 | /** | ||
1961 | * The number of structural features of the '<em>Node</em>' class. | ||
1962 | * <!-- begin-user-doc --> | ||
1963 | * <!-- end-user-doc --> | ||
1964 | * @generated | ||
1965 | * @ordered | ||
1966 | */ | ||
1967 | int NODE_FEATURE_COUNT = NAMED_ELEMENT_FEATURE_COUNT + 1; | ||
1968 | |||
1969 | /** | ||
1970 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl <em>Functor</em>}' class. | ||
1971 | * <!-- begin-user-doc --> | ||
1972 | * <!-- end-user-doc --> | ||
1973 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl | ||
1974 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunctor() | ||
1975 | * @generated | ||
1976 | */ | ||
1977 | int FUNCTOR = 55; | ||
1978 | |||
1979 | /** | ||
1980 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
1981 | * <!-- begin-user-doc --> | ||
1982 | * <!-- end-user-doc --> | ||
1983 | * @generated | ||
1984 | * @ordered | ||
1985 | */ | ||
1986 | int FUNCTOR__NAME = NAMED_ELEMENT__NAME; | ||
1987 | |||
1988 | /** | ||
1989 | * The feature id for the '<em><b>Parameters</b></em>' reference list. | ||
1990 | * <!-- begin-user-doc --> | ||
1991 | * <!-- end-user-doc --> | ||
1992 | * @generated | ||
1993 | * @ordered | ||
1994 | */ | ||
1995 | int FUNCTOR__PARAMETERS = NAMED_ELEMENT_FEATURE_COUNT + 0; | ||
1996 | |||
1997 | /** | ||
1998 | * The number of structural features of the '<em>Functor</em>' class. | ||
1999 | * <!-- begin-user-doc --> | ||
2000 | * <!-- end-user-doc --> | ||
2001 | * @generated | ||
2002 | * @ordered | ||
2003 | */ | ||
2004 | int FUNCTOR_FEATURE_COUNT = NAMED_ELEMENT_FEATURE_COUNT + 1; | ||
2005 | |||
2006 | /** | ||
2007 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl <em>Predicate</em>}' class. | ||
2008 | * <!-- begin-user-doc --> | ||
2009 | * <!-- end-user-doc --> | ||
2010 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl | ||
2011 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicate() | ||
2012 | * @generated | ||
2013 | */ | ||
2014 | int PREDICATE = 56; | ||
2015 | |||
2016 | /** | ||
2017 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
2018 | * <!-- begin-user-doc --> | ||
2019 | * <!-- end-user-doc --> | ||
2020 | * @generated | ||
2021 | * @ordered | ||
2022 | */ | ||
2023 | int PREDICATE__NAME = FUNCTOR__NAME; | ||
2024 | |||
2025 | /** | ||
2026 | * The feature id for the '<em><b>Parameters</b></em>' reference list. | ||
2027 | * <!-- begin-user-doc --> | ||
2028 | * <!-- end-user-doc --> | ||
2029 | * @generated | ||
2030 | * @ordered | ||
2031 | */ | ||
2032 | int PREDICATE__PARAMETERS = FUNCTOR__PARAMETERS; | ||
2033 | |||
2034 | /** | ||
2035 | * The number of structural features of the '<em>Predicate</em>' class. | ||
2036 | * <!-- begin-user-doc --> | ||
2037 | * <!-- end-user-doc --> | ||
2038 | * @generated | ||
2039 | * @ordered | ||
2040 | */ | ||
2041 | int PREDICATE_FEATURE_COUNT = FUNCTOR_FEATURE_COUNT + 0; | ||
2042 | |||
2043 | /** | ||
2044 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl <em>Metric</em>}' class. | ||
2045 | * <!-- begin-user-doc --> | ||
2046 | * <!-- end-user-doc --> | ||
2047 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl | ||
2048 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetric() | ||
2049 | * @generated | ||
2050 | */ | ||
2051 | int METRIC = 57; | ||
2052 | |||
2053 | /** | ||
2054 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
2055 | * <!-- begin-user-doc --> | ||
2056 | * <!-- end-user-doc --> | ||
2057 | * @generated | ||
2058 | * @ordered | ||
2059 | */ | ||
2060 | int METRIC__NAME = FUNCTOR__NAME; | ||
2061 | |||
2062 | /** | ||
2063 | * The feature id for the '<em><b>Parameters</b></em>' reference list. | ||
2064 | * <!-- begin-user-doc --> | ||
2065 | * <!-- end-user-doc --> | ||
2066 | * @generated | ||
2067 | * @ordered | ||
2068 | */ | ||
2069 | int METRIC__PARAMETERS = FUNCTOR__PARAMETERS; | ||
2070 | |||
2071 | /** | ||
2072 | * The feature id for the '<em><b>Return Type</b></em>' reference. | ||
2073 | * <!-- begin-user-doc --> | ||
2074 | * <!-- end-user-doc --> | ||
2075 | * @generated | ||
2076 | * @ordered | ||
2077 | */ | ||
2078 | int METRIC__RETURN_TYPE = FUNCTOR_FEATURE_COUNT + 0; | ||
2079 | |||
2080 | /** | ||
2081 | * The number of structural features of the '<em>Metric</em>' class. | ||
2082 | * <!-- begin-user-doc --> | ||
2083 | * <!-- end-user-doc --> | ||
2084 | * @generated | ||
2085 | * @ordered | ||
2086 | */ | ||
2087 | int METRIC_FEATURE_COUNT = FUNCTOR_FEATURE_COUNT + 1; | ||
2088 | |||
2089 | /** | ||
2090 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator <em>Binary Operator</em>}' enum. | ||
2091 | * <!-- begin-user-doc --> | ||
2092 | * <!-- end-user-doc --> | ||
2093 | * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator | ||
2094 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryOperator() | ||
2095 | * @generated | ||
2096 | */ | ||
2097 | int BINARY_OPERATOR = 58; | ||
2098 | |||
2099 | /** | ||
2100 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp <em>Unary Op</em>}' enum. | ||
2101 | * <!-- begin-user-doc --> | ||
2102 | * <!-- end-user-doc --> | ||
2103 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp | ||
2104 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryOp() | ||
2105 | * @generated | ||
2106 | */ | ||
2107 | int UNARY_OP = 59; | ||
2108 | |||
2109 | /** | ||
2110 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue <em>Logic Value</em>}' enum. | ||
2111 | * <!-- begin-user-doc --> | ||
2112 | * <!-- end-user-doc --> | ||
2113 | * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue | ||
2114 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicValue() | ||
2115 | * @generated | ||
2116 | */ | ||
2117 | int LOGIC_VALUE = 60; | ||
2118 | |||
2119 | /** | ||
2120 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind <em>Objective Kind</em>}' enum. | ||
2121 | * <!-- begin-user-doc --> | ||
2122 | * <!-- end-user-doc --> | ||
2123 | * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind | ||
2124 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveKind() | ||
2125 | * @generated | ||
2126 | */ | ||
2127 | int OBJECTIVE_KIND = 61; | ||
2128 | |||
2129 | /** | ||
2130 | * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.Quantifier <em>Quantifier</em>}' enum. | ||
2131 | * <!-- begin-user-doc --> | ||
2132 | * <!-- end-user-doc --> | ||
2133 | * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier | ||
2134 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getQuantifier() | ||
2135 | * @generated | ||
2136 | */ | ||
2137 | int QUANTIFIER = 62; | ||
2138 | |||
2139 | |||
2140 | /** | ||
2141 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem <em>Problem</em>}'. | ||
2142 | * <!-- begin-user-doc --> | ||
2143 | * <!-- end-user-doc --> | ||
2144 | * @return the meta object for class '<em>Problem</em>'. | ||
2145 | * @see org.eclipse.viatra.solver.language.solverLanguage.Problem | ||
2146 | * @generated | ||
2147 | */ | ||
2148 | EClass getProblem(); | ||
2149 | |||
2150 | /** | ||
2151 | * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements <em>Statements</em>}'. | ||
2152 | * <!-- begin-user-doc --> | ||
2153 | * <!-- end-user-doc --> | ||
2154 | * @return the meta object for the containment reference list '<em>Statements</em>'. | ||
2155 | * @see org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements() | ||
2156 | * @see #getProblem() | ||
2157 | * @generated | ||
2158 | */ | ||
2159 | EReference getProblem_Statements(); | ||
2160 | |||
2161 | /** | ||
2162 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement <em>Statement</em>}'. | ||
2163 | * <!-- begin-user-doc --> | ||
2164 | * <!-- end-user-doc --> | ||
2165 | * @return the meta object for class '<em>Statement</em>'. | ||
2166 | * @see org.eclipse.viatra.solver.language.solverLanguage.Statement | ||
2167 | * @generated | ||
2168 | */ | ||
2169 | EClass getStatement(); | ||
2170 | |||
2171 | /** | ||
2172 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition <em>Predicate Definition</em>}'. | ||
2173 | * <!-- begin-user-doc --> | ||
2174 | * <!-- end-user-doc --> | ||
2175 | * @return the meta object for class '<em>Predicate Definition</em>'. | ||
2176 | * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition | ||
2177 | * @generated | ||
2178 | */ | ||
2179 | EClass getPredicateDefinition(); | ||
2180 | |||
2181 | /** | ||
2182 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead <em>Head</em>}'. | ||
2183 | * <!-- begin-user-doc --> | ||
2184 | * <!-- end-user-doc --> | ||
2185 | * @return the meta object for the containment reference '<em>Head</em>'. | ||
2186 | * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead() | ||
2187 | * @see #getPredicateDefinition() | ||
2188 | * @generated | ||
2189 | */ | ||
2190 | EReference getPredicateDefinition_Head(); | ||
2191 | |||
2192 | /** | ||
2193 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody <em>Body</em>}'. | ||
2194 | * <!-- begin-user-doc --> | ||
2195 | * <!-- end-user-doc --> | ||
2196 | * @return the meta object for the containment reference '<em>Body</em>'. | ||
2197 | * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody() | ||
2198 | * @see #getPredicateDefinition() | ||
2199 | * @generated | ||
2200 | */ | ||
2201 | EReference getPredicateDefinition_Body(); | ||
2202 | |||
2203 | /** | ||
2204 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional <em>Functional</em>}'. | ||
2205 | * <!-- begin-user-doc --> | ||
2206 | * <!-- end-user-doc --> | ||
2207 | * @return the meta object for the attribute '<em>Functional</em>'. | ||
2208 | * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional() | ||
2209 | * @see #getPredicateDefinition() | ||
2210 | * @generated | ||
2211 | */ | ||
2212 | EAttribute getPredicateDefinition_Functional(); | ||
2213 | |||
2214 | /** | ||
2215 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError <em>Error</em>}'. | ||
2216 | * <!-- begin-user-doc --> | ||
2217 | * <!-- end-user-doc --> | ||
2218 | * @return the meta object for the attribute '<em>Error</em>'. | ||
2219 | * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError() | ||
2220 | * @see #getPredicateDefinition() | ||
2221 | * @generated | ||
2222 | */ | ||
2223 | EAttribute getPredicateDefinition_Error(); | ||
2224 | |||
2225 | /** | ||
2226 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition <em>Unnamed Error Prediate Definition</em>}'. | ||
2227 | * <!-- begin-user-doc --> | ||
2228 | * <!-- end-user-doc --> | ||
2229 | * @return the meta object for class '<em>Unnamed Error Prediate Definition</em>'. | ||
2230 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition | ||
2231 | * @generated | ||
2232 | */ | ||
2233 | EClass getUnnamedErrorPrediateDefinition(); | ||
2234 | |||
2235 | /** | ||
2236 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList <em>Argument List</em>}'. | ||
2237 | * <!-- begin-user-doc --> | ||
2238 | * <!-- end-user-doc --> | ||
2239 | * @return the meta object for the containment reference '<em>Argument List</em>'. | ||
2240 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList() | ||
2241 | * @see #getUnnamedErrorPrediateDefinition() | ||
2242 | * @generated | ||
2243 | */ | ||
2244 | EReference getUnnamedErrorPrediateDefinition_ArgumentList(); | ||
2245 | |||
2246 | /** | ||
2247 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody <em>Body</em>}'. | ||
2248 | * <!-- begin-user-doc --> | ||
2249 | * <!-- end-user-doc --> | ||
2250 | * @return the meta object for the containment reference '<em>Body</em>'. | ||
2251 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody() | ||
2252 | * @see #getUnnamedErrorPrediateDefinition() | ||
2253 | * @generated | ||
2254 | */ | ||
2255 | EReference getUnnamedErrorPrediateDefinition_Body(); | ||
2256 | |||
2257 | /** | ||
2258 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition <em>Default Definition</em>}'. | ||
2259 | * <!-- begin-user-doc --> | ||
2260 | * <!-- end-user-doc --> | ||
2261 | * @return the meta object for class '<em>Default Definition</em>'. | ||
2262 | * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition | ||
2263 | * @generated | ||
2264 | */ | ||
2265 | EClass getDefaultDefinition(); | ||
2266 | |||
2267 | /** | ||
2268 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead <em>Head</em>}'. | ||
2269 | * <!-- begin-user-doc --> | ||
2270 | * <!-- end-user-doc --> | ||
2271 | * @return the meta object for the containment reference '<em>Head</em>'. | ||
2272 | * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead() | ||
2273 | * @see #getDefaultDefinition() | ||
2274 | * @generated | ||
2275 | */ | ||
2276 | EReference getDefaultDefinition_Head(); | ||
2277 | |||
2278 | /** | ||
2279 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange <em>Range</em>}'. | ||
2280 | * <!-- begin-user-doc --> | ||
2281 | * <!-- end-user-doc --> | ||
2282 | * @return the meta object for the containment reference '<em>Range</em>'. | ||
2283 | * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange() | ||
2284 | * @see #getDefaultDefinition() | ||
2285 | * @generated | ||
2286 | */ | ||
2287 | EReference getDefaultDefinition_Range(); | ||
2288 | |||
2289 | /** | ||
2290 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition <em>Metric Definition</em>}'. | ||
2291 | * <!-- begin-user-doc --> | ||
2292 | * <!-- end-user-doc --> | ||
2293 | * @return the meta object for class '<em>Metric Definition</em>'. | ||
2294 | * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition | ||
2295 | * @generated | ||
2296 | */ | ||
2297 | EClass getMetricDefinition(); | ||
2298 | |||
2299 | /** | ||
2300 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead <em>Head</em>}'. | ||
2301 | * <!-- begin-user-doc --> | ||
2302 | * <!-- end-user-doc --> | ||
2303 | * @return the meta object for the containment reference '<em>Head</em>'. | ||
2304 | * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead() | ||
2305 | * @see #getMetricDefinition() | ||
2306 | * @generated | ||
2307 | */ | ||
2308 | EReference getMetricDefinition_Head(); | ||
2309 | |||
2310 | /** | ||
2311 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody <em>Body</em>}'. | ||
2312 | * <!-- begin-user-doc --> | ||
2313 | * <!-- end-user-doc --> | ||
2314 | * @return the meta object for the containment reference '<em>Body</em>'. | ||
2315 | * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody() | ||
2316 | * @see #getMetricDefinition() | ||
2317 | * @generated | ||
2318 | */ | ||
2319 | EReference getMetricDefinition_Body(); | ||
2320 | |||
2321 | /** | ||
2322 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType <em>Type</em>}'. | ||
2323 | * <!-- begin-user-doc --> | ||
2324 | * <!-- end-user-doc --> | ||
2325 | * @return the meta object for the reference '<em>Type</em>'. | ||
2326 | * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType() | ||
2327 | * @see #getMetricDefinition() | ||
2328 | * @generated | ||
2329 | */ | ||
2330 | EReference getMetricDefinition_Type(); | ||
2331 | |||
2332 | /** | ||
2333 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition <em>Extern Predicate Definition</em>}'. | ||
2334 | * <!-- begin-user-doc --> | ||
2335 | * <!-- end-user-doc --> | ||
2336 | * @return the meta object for class '<em>Extern Predicate Definition</em>'. | ||
2337 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition | ||
2338 | * @generated | ||
2339 | */ | ||
2340 | EClass getExternPredicateDefinition(); | ||
2341 | |||
2342 | /** | ||
2343 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getName <em>Name</em>}'. | ||
2344 | * <!-- begin-user-doc --> | ||
2345 | * <!-- end-user-doc --> | ||
2346 | * @return the meta object for the attribute '<em>Name</em>'. | ||
2347 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getName() | ||
2348 | * @see #getExternPredicateDefinition() | ||
2349 | * @generated | ||
2350 | */ | ||
2351 | EAttribute getExternPredicateDefinition_Name(); | ||
2352 | |||
2353 | /** | ||
2354 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getArgumentList <em>Argument List</em>}'. | ||
2355 | * <!-- begin-user-doc --> | ||
2356 | * <!-- end-user-doc --> | ||
2357 | * @return the meta object for the containment reference '<em>Argument List</em>'. | ||
2358 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getArgumentList() | ||
2359 | * @see #getExternPredicateDefinition() | ||
2360 | * @generated | ||
2361 | */ | ||
2362 | EReference getExternPredicateDefinition_ArgumentList(); | ||
2363 | |||
2364 | /** | ||
2365 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition <em>Extern Metric Definition</em>}'. | ||
2366 | * <!-- begin-user-doc --> | ||
2367 | * <!-- end-user-doc --> | ||
2368 | * @return the meta object for class '<em>Extern Metric Definition</em>'. | ||
2369 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition | ||
2370 | * @generated | ||
2371 | */ | ||
2372 | EClass getExternMetricDefinition(); | ||
2373 | |||
2374 | /** | ||
2375 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType <em>Type</em>}'. | ||
2376 | * <!-- begin-user-doc --> | ||
2377 | * <!-- end-user-doc --> | ||
2378 | * @return the meta object for the reference '<em>Type</em>'. | ||
2379 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType() | ||
2380 | * @see #getExternMetricDefinition() | ||
2381 | * @generated | ||
2382 | */ | ||
2383 | EReference getExternMetricDefinition_Type(); | ||
2384 | |||
2385 | /** | ||
2386 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getName <em>Name</em>}'. | ||
2387 | * <!-- begin-user-doc --> | ||
2388 | * <!-- end-user-doc --> | ||
2389 | * @return the meta object for the attribute '<em>Name</em>'. | ||
2390 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getName() | ||
2391 | * @see #getExternMetricDefinition() | ||
2392 | * @generated | ||
2393 | */ | ||
2394 | EAttribute getExternMetricDefinition_Name(); | ||
2395 | |||
2396 | /** | ||
2397 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getArgumentList <em>Argument List</em>}'. | ||
2398 | * <!-- begin-user-doc --> | ||
2399 | * <!-- end-user-doc --> | ||
2400 | * @return the meta object for the containment reference '<em>Argument List</em>'. | ||
2401 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getArgumentList() | ||
2402 | * @see #getExternMetricDefinition() | ||
2403 | * @generated | ||
2404 | */ | ||
2405 | EReference getExternMetricDefinition_ArgumentList(); | ||
2406 | |||
2407 | /** | ||
2408 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition <em>Extern Aggregator Definition</em>}'. | ||
2409 | * <!-- begin-user-doc --> | ||
2410 | * <!-- end-user-doc --> | ||
2411 | * @return the meta object for class '<em>Extern Aggregator Definition</em>'. | ||
2412 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition | ||
2413 | * @generated | ||
2414 | */ | ||
2415 | EClass getExternAggregatorDefinition(); | ||
2416 | |||
2417 | /** | ||
2418 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getType <em>Type</em>}'. | ||
2419 | * <!-- begin-user-doc --> | ||
2420 | * <!-- end-user-doc --> | ||
2421 | * @return the meta object for the reference '<em>Type</em>'. | ||
2422 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getType() | ||
2423 | * @see #getExternAggregatorDefinition() | ||
2424 | * @generated | ||
2425 | */ | ||
2426 | EReference getExternAggregatorDefinition_Type(); | ||
2427 | |||
2428 | /** | ||
2429 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getName <em>Name</em>}'. | ||
2430 | * <!-- begin-user-doc --> | ||
2431 | * <!-- end-user-doc --> | ||
2432 | * @return the meta object for the attribute '<em>Name</em>'. | ||
2433 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getName() | ||
2434 | * @see #getExternAggregatorDefinition() | ||
2435 | * @generated | ||
2436 | */ | ||
2437 | EAttribute getExternAggregatorDefinition_Name(); | ||
2438 | |||
2439 | /** | ||
2440 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getInputType <em>Input Type</em>}'. | ||
2441 | * <!-- begin-user-doc --> | ||
2442 | * <!-- end-user-doc --> | ||
2443 | * @return the meta object for the reference '<em>Input Type</em>'. | ||
2444 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getInputType() | ||
2445 | * @see #getExternAggregatorDefinition() | ||
2446 | * @generated | ||
2447 | */ | ||
2448 | EReference getExternAggregatorDefinition_InputType(); | ||
2449 | |||
2450 | /** | ||
2451 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition <em>Extern Datatype Definition</em>}'. | ||
2452 | * <!-- begin-user-doc --> | ||
2453 | * <!-- end-user-doc --> | ||
2454 | * @return the meta object for class '<em>Extern Datatype Definition</em>'. | ||
2455 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition | ||
2456 | * @generated | ||
2457 | */ | ||
2458 | EClass getExternDatatypeDefinition(); | ||
2459 | |||
2460 | /** | ||
2461 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getName <em>Name</em>}'. | ||
2462 | * <!-- begin-user-doc --> | ||
2463 | * <!-- end-user-doc --> | ||
2464 | * @return the meta object for the attribute '<em>Name</em>'. | ||
2465 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getName() | ||
2466 | * @see #getExternDatatypeDefinition() | ||
2467 | * @generated | ||
2468 | */ | ||
2469 | EAttribute getExternDatatypeDefinition_Name(); | ||
2470 | |||
2471 | /** | ||
2472 | * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getSupertypes <em>Supertypes</em>}'. | ||
2473 | * <!-- begin-user-doc --> | ||
2474 | * <!-- end-user-doc --> | ||
2475 | * @return the meta object for the reference list '<em>Supertypes</em>'. | ||
2476 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getSupertypes() | ||
2477 | * @see #getExternDatatypeDefinition() | ||
2478 | * @generated | ||
2479 | */ | ||
2480 | EReference getExternDatatypeDefinition_Supertypes(); | ||
2481 | |||
2482 | /** | ||
2483 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement <em>Named Element</em>}'. | ||
2484 | * <!-- begin-user-doc --> | ||
2485 | * <!-- end-user-doc --> | ||
2486 | * @return the meta object for class '<em>Named Element</em>'. | ||
2487 | * @see org.eclipse.viatra.solver.language.solverLanguage.NamedElement | ||
2488 | * @generated | ||
2489 | */ | ||
2490 | EClass getNamedElement(); | ||
2491 | |||
2492 | /** | ||
2493 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName <em>Name</em>}'. | ||
2494 | * <!-- begin-user-doc --> | ||
2495 | * <!-- end-user-doc --> | ||
2496 | * @return the meta object for the attribute '<em>Name</em>'. | ||
2497 | * @see org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName() | ||
2498 | * @see #getNamedElement() | ||
2499 | * @generated | ||
2500 | */ | ||
2501 | EAttribute getNamedElement_Name(); | ||
2502 | |||
2503 | /** | ||
2504 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Expression <em>Expression</em>}'. | ||
2505 | * <!-- begin-user-doc --> | ||
2506 | * <!-- end-user-doc --> | ||
2507 | * @return the meta object for class '<em>Expression</em>'. | ||
2508 | * @see org.eclipse.viatra.solver.language.solverLanguage.Expression | ||
2509 | * @generated | ||
2510 | */ | ||
2511 | EClass getExpression(); | ||
2512 | |||
2513 | /** | ||
2514 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse <em>If Else</em>}'. | ||
2515 | * <!-- begin-user-doc --> | ||
2516 | * <!-- end-user-doc --> | ||
2517 | * @return the meta object for class '<em>If Else</em>'. | ||
2518 | * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse | ||
2519 | * @generated | ||
2520 | */ | ||
2521 | EClass getIfElse(); | ||
2522 | |||
2523 | /** | ||
2524 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen <em>Then</em>}'. | ||
2525 | * <!-- begin-user-doc --> | ||
2526 | * <!-- end-user-doc --> | ||
2527 | * @return the meta object for the containment reference '<em>Then</em>'. | ||
2528 | * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen() | ||
2529 | * @see #getIfElse() | ||
2530 | * @generated | ||
2531 | */ | ||
2532 | EReference getIfElse_Then(); | ||
2533 | |||
2534 | /** | ||
2535 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse <em>Else</em>}'. | ||
2536 | * <!-- begin-user-doc --> | ||
2537 | * <!-- end-user-doc --> | ||
2538 | * @return the meta object for the containment reference '<em>Else</em>'. | ||
2539 | * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse() | ||
2540 | * @see #getIfElse() | ||
2541 | * @generated | ||
2542 | */ | ||
2543 | EReference getIfElse_Else(); | ||
2544 | |||
2545 | /** | ||
2546 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition <em>Condition</em>}'. | ||
2547 | * <!-- begin-user-doc --> | ||
2548 | * <!-- end-user-doc --> | ||
2549 | * @return the meta object for the containment reference '<em>Condition</em>'. | ||
2550 | * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition() | ||
2551 | * @see #getIfElse() | ||
2552 | * @generated | ||
2553 | */ | ||
2554 | EReference getIfElse_Condition(); | ||
2555 | |||
2556 | /** | ||
2557 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Let <em>Let</em>}'. | ||
2558 | * <!-- begin-user-doc --> | ||
2559 | * <!-- end-user-doc --> | ||
2560 | * @return the meta object for class '<em>Let</em>'. | ||
2561 | * @see org.eclipse.viatra.solver.language.solverLanguage.Let | ||
2562 | * @generated | ||
2563 | */ | ||
2564 | EClass getLet(); | ||
2565 | |||
2566 | /** | ||
2567 | * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBindings <em>Bindings</em>}'. | ||
2568 | * <!-- begin-user-doc --> | ||
2569 | * <!-- end-user-doc --> | ||
2570 | * @return the meta object for the containment reference list '<em>Bindings</em>'. | ||
2571 | * @see org.eclipse.viatra.solver.language.solverLanguage.Let#getBindings() | ||
2572 | * @see #getLet() | ||
2573 | * @generated | ||
2574 | */ | ||
2575 | EReference getLet_Bindings(); | ||
2576 | |||
2577 | /** | ||
2578 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBody <em>Body</em>}'. | ||
2579 | * <!-- begin-user-doc --> | ||
2580 | * <!-- end-user-doc --> | ||
2581 | * @return the meta object for the containment reference '<em>Body</em>'. | ||
2582 | * @see org.eclipse.viatra.solver.language.solverLanguage.Let#getBody() | ||
2583 | * @see #getLet() | ||
2584 | * @generated | ||
2585 | */ | ||
2586 | EReference getLet_Body(); | ||
2587 | |||
2588 | /** | ||
2589 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding <em>Let Binding</em>}'. | ||
2590 | * <!-- begin-user-doc --> | ||
2591 | * <!-- end-user-doc --> | ||
2592 | * @return the meta object for class '<em>Let Binding</em>'. | ||
2593 | * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding | ||
2594 | * @generated | ||
2595 | */ | ||
2596 | EClass getLetBinding(); | ||
2597 | |||
2598 | /** | ||
2599 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable <em>Variable</em>}'. | ||
2600 | * <!-- begin-user-doc --> | ||
2601 | * <!-- end-user-doc --> | ||
2602 | * @return the meta object for the containment reference '<em>Variable</em>'. | ||
2603 | * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable() | ||
2604 | * @see #getLetBinding() | ||
2605 | * @generated | ||
2606 | */ | ||
2607 | EReference getLetBinding_Variable(); | ||
2608 | |||
2609 | /** | ||
2610 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue <em>Value</em>}'. | ||
2611 | * <!-- begin-user-doc --> | ||
2612 | * <!-- end-user-doc --> | ||
2613 | * @return the meta object for the containment reference '<em>Value</em>'. | ||
2614 | * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue() | ||
2615 | * @see #getLetBinding() | ||
2616 | * @generated | ||
2617 | */ | ||
2618 | EReference getLetBinding_Value(); | ||
2619 | |||
2620 | /** | ||
2621 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Case <em>Case</em>}'. | ||
2622 | * <!-- begin-user-doc --> | ||
2623 | * <!-- end-user-doc --> | ||
2624 | * @return the meta object for class '<em>Case</em>'. | ||
2625 | * @see org.eclipse.viatra.solver.language.solverLanguage.Case | ||
2626 | * @generated | ||
2627 | */ | ||
2628 | EClass getCase(); | ||
2629 | |||
2630 | /** | ||
2631 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody <em>Body</em>}'. | ||
2632 | * <!-- begin-user-doc --> | ||
2633 | * <!-- end-user-doc --> | ||
2634 | * @return the meta object for the containment reference '<em>Body</em>'. | ||
2635 | * @see org.eclipse.viatra.solver.language.solverLanguage.Case#getBody() | ||
2636 | * @see #getCase() | ||
2637 | * @generated | ||
2638 | */ | ||
2639 | EReference getCase_Body(); | ||
2640 | |||
2641 | /** | ||
2642 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition <em>Condition</em>}'. | ||
2643 | * <!-- begin-user-doc --> | ||
2644 | * <!-- end-user-doc --> | ||
2645 | * @return the meta object for the containment reference '<em>Condition</em>'. | ||
2646 | * @see org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition() | ||
2647 | * @see #getCase() | ||
2648 | * @generated | ||
2649 | */ | ||
2650 | EReference getCase_Condition(); | ||
2651 | |||
2652 | /** | ||
2653 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LocalVariables <em>Local Variables</em>}'. | ||
2654 | * <!-- begin-user-doc --> | ||
2655 | * <!-- end-user-doc --> | ||
2656 | * @return the meta object for class '<em>Local Variables</em>'. | ||
2657 | * @see org.eclipse.viatra.solver.language.solverLanguage.LocalVariables | ||
2658 | * @generated | ||
2659 | */ | ||
2660 | EClass getLocalVariables(); | ||
2661 | |||
2662 | /** | ||
2663 | * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.LocalVariables#getVariables <em>Variables</em>}'. | ||
2664 | * <!-- begin-user-doc --> | ||
2665 | * <!-- end-user-doc --> | ||
2666 | * @return the meta object for the containment reference list '<em>Variables</em>'. | ||
2667 | * @see org.eclipse.viatra.solver.language.solverLanguage.LocalVariables#getVariables() | ||
2668 | * @see #getLocalVariables() | ||
2669 | * @generated | ||
2670 | */ | ||
2671 | EReference getLocalVariables_Variables(); | ||
2672 | |||
2673 | /** | ||
2674 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression <em>Quantified Expression</em>}'. | ||
2675 | * <!-- begin-user-doc --> | ||
2676 | * <!-- end-user-doc --> | ||
2677 | * @return the meta object for class '<em>Quantified Expression</em>'. | ||
2678 | * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression | ||
2679 | * @generated | ||
2680 | */ | ||
2681 | EClass getQuantifiedExpression(); | ||
2682 | |||
2683 | /** | ||
2684 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getLocalVariables <em>Local Variables</em>}'. | ||
2685 | * <!-- begin-user-doc --> | ||
2686 | * <!-- end-user-doc --> | ||
2687 | * @return the meta object for the containment reference '<em>Local Variables</em>'. | ||
2688 | * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getLocalVariables() | ||
2689 | * @see #getQuantifiedExpression() | ||
2690 | * @generated | ||
2691 | */ | ||
2692 | EReference getQuantifiedExpression_LocalVariables(); | ||
2693 | |||
2694 | /** | ||
2695 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getBody <em>Body</em>}'. | ||
2696 | * <!-- begin-user-doc --> | ||
2697 | * <!-- end-user-doc --> | ||
2698 | * @return the meta object for the containment reference '<em>Body</em>'. | ||
2699 | * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getBody() | ||
2700 | * @see #getQuantifiedExpression() | ||
2701 | * @generated | ||
2702 | */ | ||
2703 | EReference getQuantifiedExpression_Body(); | ||
2704 | |||
2705 | /** | ||
2706 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getQuantifier <em>Quantifier</em>}'. | ||
2707 | * <!-- begin-user-doc --> | ||
2708 | * <!-- end-user-doc --> | ||
2709 | * @return the meta object for the attribute '<em>Quantifier</em>'. | ||
2710 | * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getQuantifier() | ||
2711 | * @see #getQuantifiedExpression() | ||
2712 | * @generated | ||
2713 | */ | ||
2714 | EAttribute getQuantifiedExpression_Quantifier(); | ||
2715 | |||
2716 | /** | ||
2717 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation <em>Aggregation</em>}'. | ||
2718 | * <!-- begin-user-doc --> | ||
2719 | * <!-- end-user-doc --> | ||
2720 | * @return the meta object for class '<em>Aggregation</em>'. | ||
2721 | * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation | ||
2722 | * @generated | ||
2723 | */ | ||
2724 | EClass getAggregation(); | ||
2725 | |||
2726 | /** | ||
2727 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp <em>Op</em>}'. | ||
2728 | * <!-- begin-user-doc --> | ||
2729 | * <!-- end-user-doc --> | ||
2730 | * @return the meta object for the reference '<em>Op</em>'. | ||
2731 | * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp() | ||
2732 | * @see #getAggregation() | ||
2733 | * @generated | ||
2734 | */ | ||
2735 | EReference getAggregation_Op(); | ||
2736 | |||
2737 | /** | ||
2738 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getLocalVariables <em>Local Variables</em>}'. | ||
2739 | * <!-- begin-user-doc --> | ||
2740 | * <!-- end-user-doc --> | ||
2741 | * @return the meta object for the containment reference '<em>Local Variables</em>'. | ||
2742 | * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getLocalVariables() | ||
2743 | * @see #getAggregation() | ||
2744 | * @generated | ||
2745 | */ | ||
2746 | EReference getAggregation_LocalVariables(); | ||
2747 | |||
2748 | /** | ||
2749 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody <em>Body</em>}'. | ||
2750 | * <!-- begin-user-doc --> | ||
2751 | * <!-- end-user-doc --> | ||
2752 | * @return the meta object for the containment reference '<em>Body</em>'. | ||
2753 | * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody() | ||
2754 | * @see #getAggregation() | ||
2755 | * @generated | ||
2756 | */ | ||
2757 | EReference getAggregation_Body(); | ||
2758 | |||
2759 | /** | ||
2760 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition <em>Condition</em>}'. | ||
2761 | * <!-- begin-user-doc --> | ||
2762 | * <!-- end-user-doc --> | ||
2763 | * @return the meta object for the containment reference '<em>Condition</em>'. | ||
2764 | * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition() | ||
2765 | * @see #getAggregation() | ||
2766 | * @generated | ||
2767 | */ | ||
2768 | EReference getAggregation_Condition(); | ||
2769 | |||
2770 | /** | ||
2771 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Call <em>Call</em>}'. | ||
2772 | * <!-- begin-user-doc --> | ||
2773 | * <!-- end-user-doc --> | ||
2774 | * @return the meta object for class '<em>Call</em>'. | ||
2775 | * @see org.eclipse.viatra.solver.language.solverLanguage.Call | ||
2776 | * @generated | ||
2777 | */ | ||
2778 | EClass getCall(); | ||
2779 | |||
2780 | /** | ||
2781 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor <em>Functor</em>}'. | ||
2782 | * <!-- begin-user-doc --> | ||
2783 | * <!-- end-user-doc --> | ||
2784 | * @return the meta object for the containment reference '<em>Functor</em>'. | ||
2785 | * @see org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor() | ||
2786 | * @see #getCall() | ||
2787 | * @generated | ||
2788 | */ | ||
2789 | EReference getCall_Functor(); | ||
2790 | |||
2791 | /** | ||
2792 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure <em>Transitive Closure</em>}'. | ||
2793 | * <!-- begin-user-doc --> | ||
2794 | * <!-- end-user-doc --> | ||
2795 | * @return the meta object for the attribute '<em>Transitive Closure</em>'. | ||
2796 | * @see org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure() | ||
2797 | * @see #getCall() | ||
2798 | * @generated | ||
2799 | */ | ||
2800 | EAttribute getCall_TransitiveClosure(); | ||
2801 | |||
2802 | /** | ||
2803 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure <em>Reflexive Transitive Closure</em>}'. | ||
2804 | * <!-- begin-user-doc --> | ||
2805 | * <!-- end-user-doc --> | ||
2806 | * @return the meta object for the attribute '<em>Reflexive Transitive Closure</em>'. | ||
2807 | * @see org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure() | ||
2808 | * @see #getCall() | ||
2809 | * @generated | ||
2810 | */ | ||
2811 | EAttribute getCall_ReflexiveTransitiveClosure(); | ||
2812 | |||
2813 | /** | ||
2814 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList <em>Argument List</em>}'. | ||
2815 | * <!-- begin-user-doc --> | ||
2816 | * <!-- end-user-doc --> | ||
2817 | * @return the meta object for the containment reference '<em>Argument List</em>'. | ||
2818 | * @see org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList() | ||
2819 | * @see #getCall() | ||
2820 | * @generated | ||
2821 | */ | ||
2822 | EReference getCall_ArgumentList(); | ||
2823 | |||
2824 | /** | ||
2825 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList <em>Argument List</em>}'. | ||
2826 | * <!-- begin-user-doc --> | ||
2827 | * <!-- end-user-doc --> | ||
2828 | * @return the meta object for class '<em>Argument List</em>'. | ||
2829 | * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList | ||
2830 | * @generated | ||
2831 | */ | ||
2832 | EClass getArgumentList(); | ||
2833 | |||
2834 | /** | ||
2835 | * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments <em>Arguments</em>}'. | ||
2836 | * <!-- begin-user-doc --> | ||
2837 | * <!-- end-user-doc --> | ||
2838 | * @return the meta object for the containment reference list '<em>Arguments</em>'. | ||
2839 | * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments() | ||
2840 | * @see #getArgumentList() | ||
2841 | * @generated | ||
2842 | */ | ||
2843 | EReference getArgumentList_Arguments(); | ||
2844 | |||
2845 | /** | ||
2846 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Argument <em>Argument</em>}'. | ||
2847 | * <!-- begin-user-doc --> | ||
2848 | * <!-- end-user-doc --> | ||
2849 | * @return the meta object for class '<em>Argument</em>'. | ||
2850 | * @see org.eclipse.viatra.solver.language.solverLanguage.Argument | ||
2851 | * @generated | ||
2852 | */ | ||
2853 | EClass getArgument(); | ||
2854 | |||
2855 | /** | ||
2856 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument <em>Expression Argument</em>}'. | ||
2857 | * <!-- begin-user-doc --> | ||
2858 | * <!-- end-user-doc --> | ||
2859 | * @return the meta object for class '<em>Expression Argument</em>'. | ||
2860 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument | ||
2861 | * @generated | ||
2862 | */ | ||
2863 | EClass getExpressionArgument(); | ||
2864 | |||
2865 | /** | ||
2866 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody <em>Body</em>}'. | ||
2867 | * <!-- begin-user-doc --> | ||
2868 | * <!-- end-user-doc --> | ||
2869 | * @return the meta object for the containment reference '<em>Body</em>'. | ||
2870 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody() | ||
2871 | * @see #getExpressionArgument() | ||
2872 | * @generated | ||
2873 | */ | ||
2874 | EReference getExpressionArgument_Body(); | ||
2875 | |||
2876 | /** | ||
2877 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.StarArgument <em>Star Argument</em>}'. | ||
2878 | * <!-- begin-user-doc --> | ||
2879 | * <!-- end-user-doc --> | ||
2880 | * @return the meta object for class '<em>Star Argument</em>'. | ||
2881 | * @see org.eclipse.viatra.solver.language.solverLanguage.StarArgument | ||
2882 | * @generated | ||
2883 | */ | ||
2884 | EClass getStarArgument(); | ||
2885 | |||
2886 | /** | ||
2887 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument <em>Typed Argument</em>}'. | ||
2888 | * <!-- begin-user-doc --> | ||
2889 | * <!-- end-user-doc --> | ||
2890 | * @return the meta object for class '<em>Typed Argument</em>'. | ||
2891 | * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument | ||
2892 | * @generated | ||
2893 | */ | ||
2894 | EClass getTypedArgument(); | ||
2895 | |||
2896 | /** | ||
2897 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType <em>Type</em>}'. | ||
2898 | * <!-- begin-user-doc --> | ||
2899 | * <!-- end-user-doc --> | ||
2900 | * @return the meta object for the reference '<em>Type</em>'. | ||
2901 | * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType() | ||
2902 | * @see #getTypedArgument() | ||
2903 | * @generated | ||
2904 | */ | ||
2905 | EReference getTypedArgument_Type(); | ||
2906 | |||
2907 | /** | ||
2908 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable <em>Variable</em>}'. | ||
2909 | * <!-- begin-user-doc --> | ||
2910 | * <!-- end-user-doc --> | ||
2911 | * @return the meta object for the reference '<em>Variable</em>'. | ||
2912 | * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable() | ||
2913 | * @see #getTypedArgument() | ||
2914 | * @generated | ||
2915 | */ | ||
2916 | EReference getTypedArgument_Variable(); | ||
2917 | |||
2918 | /** | ||
2919 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument <em>Typed Star Argument</em>}'. | ||
2920 | * <!-- begin-user-doc --> | ||
2921 | * <!-- end-user-doc --> | ||
2922 | * @return the meta object for class '<em>Typed Star Argument</em>'. | ||
2923 | * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument | ||
2924 | * @generated | ||
2925 | */ | ||
2926 | EClass getTypedStarArgument(); | ||
2927 | |||
2928 | /** | ||
2929 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType <em>Type</em>}'. | ||
2930 | * <!-- begin-user-doc --> | ||
2931 | * <!-- end-user-doc --> | ||
2932 | * @return the meta object for the reference '<em>Type</em>'. | ||
2933 | * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType() | ||
2934 | * @see #getTypedStarArgument() | ||
2935 | * @generated | ||
2936 | */ | ||
2937 | EReference getTypedStarArgument_Type(); | ||
2938 | |||
2939 | /** | ||
2940 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference <em>Reference</em>}'. | ||
2941 | * <!-- begin-user-doc --> | ||
2942 | * <!-- end-user-doc --> | ||
2943 | * @return the meta object for class '<em>Reference</em>'. | ||
2944 | * @see org.eclipse.viatra.solver.language.solverLanguage.Reference | ||
2945 | * @generated | ||
2946 | */ | ||
2947 | EClass getReference(); | ||
2948 | |||
2949 | /** | ||
2950 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred <em>Referred</em>}'. | ||
2951 | * <!-- begin-user-doc --> | ||
2952 | * <!-- end-user-doc --> | ||
2953 | * @return the meta object for the reference '<em>Referred</em>'. | ||
2954 | * @see org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred() | ||
2955 | * @see #getReference() | ||
2956 | * @generated | ||
2957 | */ | ||
2958 | EReference getReference_Referred(); | ||
2959 | |||
2960 | /** | ||
2961 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval <em>Interval</em>}'. | ||
2962 | * <!-- begin-user-doc --> | ||
2963 | * <!-- end-user-doc --> | ||
2964 | * @return the meta object for class '<em>Interval</em>'. | ||
2965 | * @see org.eclipse.viatra.solver.language.solverLanguage.Interval | ||
2966 | * @generated | ||
2967 | */ | ||
2968 | EClass getInterval(); | ||
2969 | |||
2970 | /** | ||
2971 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound <em>Lower Bound</em>}'. | ||
2972 | * <!-- begin-user-doc --> | ||
2973 | * <!-- end-user-doc --> | ||
2974 | * @return the meta object for the containment reference '<em>Lower Bound</em>'. | ||
2975 | * @see org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound() | ||
2976 | * @see #getInterval() | ||
2977 | * @generated | ||
2978 | */ | ||
2979 | EReference getInterval_LowerBound(); | ||
2980 | |||
2981 | /** | ||
2982 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound <em>Upper Bound</em>}'. | ||
2983 | * <!-- begin-user-doc --> | ||
2984 | * <!-- end-user-doc --> | ||
2985 | * @return the meta object for the containment reference '<em>Upper Bound</em>'. | ||
2986 | * @see org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound() | ||
2987 | * @see #getInterval() | ||
2988 | * @generated | ||
2989 | */ | ||
2990 | EReference getInterval_UpperBound(); | ||
2991 | |||
2992 | /** | ||
2993 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Literal <em>Literal</em>}'. | ||
2994 | * <!-- begin-user-doc --> | ||
2995 | * <!-- end-user-doc --> | ||
2996 | * @return the meta object for class '<em>Literal</em>'. | ||
2997 | * @see org.eclipse.viatra.solver.language.solverLanguage.Literal | ||
2998 | * @generated | ||
2999 | */ | ||
3000 | EClass getLiteral(); | ||
3001 | |||
3002 | /** | ||
3003 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral <em>Logic Literal</em>}'. | ||
3004 | * <!-- begin-user-doc --> | ||
3005 | * <!-- end-user-doc --> | ||
3006 | * @return the meta object for class '<em>Logic Literal</em>'. | ||
3007 | * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral | ||
3008 | * @generated | ||
3009 | */ | ||
3010 | EClass getLogicLiteral(); | ||
3011 | |||
3012 | /** | ||
3013 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue <em>Value</em>}'. | ||
3014 | * <!-- begin-user-doc --> | ||
3015 | * <!-- end-user-doc --> | ||
3016 | * @return the meta object for the attribute '<em>Value</em>'. | ||
3017 | * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue() | ||
3018 | * @see #getLogicLiteral() | ||
3019 | * @generated | ||
3020 | */ | ||
3021 | EAttribute getLogicLiteral_Value(); | ||
3022 | |||
3023 | /** | ||
3024 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral <em>Numeric Literal</em>}'. | ||
3025 | * <!-- begin-user-doc --> | ||
3026 | * <!-- end-user-doc --> | ||
3027 | * @return the meta object for class '<em>Numeric Literal</em>'. | ||
3028 | * @see org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral | ||
3029 | * @generated | ||
3030 | */ | ||
3031 | EClass getNumericLiteral(); | ||
3032 | |||
3033 | /** | ||
3034 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue <em>Value</em>}'. | ||
3035 | * <!-- begin-user-doc --> | ||
3036 | * <!-- end-user-doc --> | ||
3037 | * @return the meta object for the attribute '<em>Value</em>'. | ||
3038 | * @see org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue() | ||
3039 | * @see #getNumericLiteral() | ||
3040 | * @generated | ||
3041 | */ | ||
3042 | EAttribute getNumericLiteral_Value(); | ||
3043 | |||
3044 | /** | ||
3045 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral <em>Infinity Literal</em>}'. | ||
3046 | * <!-- begin-user-doc --> | ||
3047 | * <!-- end-user-doc --> | ||
3048 | * @return the meta object for class '<em>Infinity Literal</em>'. | ||
3049 | * @see org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral | ||
3050 | * @generated | ||
3051 | */ | ||
3052 | EClass getInfinityLiteral(); | ||
3053 | |||
3054 | /** | ||
3055 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral <em>Empty Interval Literal</em>}'. | ||
3056 | * <!-- begin-user-doc --> | ||
3057 | * <!-- end-user-doc --> | ||
3058 | * @return the meta object for class '<em>Empty Interval Literal</em>'. | ||
3059 | * @see org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral | ||
3060 | * @generated | ||
3061 | */ | ||
3062 | EClass getEmptyIntervalLiteral(); | ||
3063 | |||
3064 | /** | ||
3065 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral <em>String Literal</em>}'. | ||
3066 | * <!-- begin-user-doc --> | ||
3067 | * <!-- end-user-doc --> | ||
3068 | * @return the meta object for class '<em>String Literal</em>'. | ||
3069 | * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral | ||
3070 | * @generated | ||
3071 | */ | ||
3072 | EClass getStringLiteral(); | ||
3073 | |||
3074 | /** | ||
3075 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue <em>Value</em>}'. | ||
3076 | * <!-- begin-user-doc --> | ||
3077 | * <!-- end-user-doc --> | ||
3078 | * @return the meta object for the attribute '<em>Value</em>'. | ||
3079 | * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue() | ||
3080 | * @see #getStringLiteral() | ||
3081 | * @generated | ||
3082 | */ | ||
3083 | EAttribute getStringLiteral_Value(); | ||
3084 | |||
3085 | /** | ||
3086 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition <em>Class Definition</em>}'. | ||
3087 | * <!-- begin-user-doc --> | ||
3088 | * <!-- end-user-doc --> | ||
3089 | * @return the meta object for class '<em>Class Definition</em>'. | ||
3090 | * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition | ||
3091 | * @generated | ||
3092 | */ | ||
3093 | EClass getClassDefinition(); | ||
3094 | |||
3095 | /** | ||
3096 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract <em>Abstract</em>}'. | ||
3097 | * <!-- begin-user-doc --> | ||
3098 | * <!-- end-user-doc --> | ||
3099 | * @return the meta object for the attribute '<em>Abstract</em>'. | ||
3100 | * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract() | ||
3101 | * @see #getClassDefinition() | ||
3102 | * @generated | ||
3103 | */ | ||
3104 | EAttribute getClassDefinition_Abstract(); | ||
3105 | |||
3106 | /** | ||
3107 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName <em>Name</em>}'. | ||
3108 | * <!-- begin-user-doc --> | ||
3109 | * <!-- end-user-doc --> | ||
3110 | * @return the meta object for the attribute '<em>Name</em>'. | ||
3111 | * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName() | ||
3112 | * @see #getClassDefinition() | ||
3113 | * @generated | ||
3114 | */ | ||
3115 | EAttribute getClassDefinition_Name(); | ||
3116 | |||
3117 | /** | ||
3118 | * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses <em>Superclasses</em>}'. | ||
3119 | * <!-- begin-user-doc --> | ||
3120 | * <!-- end-user-doc --> | ||
3121 | * @return the meta object for the reference list '<em>Superclasses</em>'. | ||
3122 | * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses() | ||
3123 | * @see #getClassDefinition() | ||
3124 | * @generated | ||
3125 | */ | ||
3126 | EReference getClassDefinition_Superclasses(); | ||
3127 | |||
3128 | /** | ||
3129 | * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers <em>Members</em>}'. | ||
3130 | * <!-- begin-user-doc --> | ||
3131 | * <!-- end-user-doc --> | ||
3132 | * @return the meta object for the containment reference list '<em>Members</em>'. | ||
3133 | * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers() | ||
3134 | * @see #getClassDefinition() | ||
3135 | * @generated | ||
3136 | */ | ||
3137 | EReference getClassDefinition_Members(); | ||
3138 | |||
3139 | /** | ||
3140 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition <em>Member Definition</em>}'. | ||
3141 | * <!-- begin-user-doc --> | ||
3142 | * <!-- end-user-doc --> | ||
3143 | * @return the meta object for class '<em>Member Definition</em>'. | ||
3144 | * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition | ||
3145 | * @generated | ||
3146 | */ | ||
3147 | EClass getMemberDefinition(); | ||
3148 | |||
3149 | /** | ||
3150 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment <em>Containment</em>}'. | ||
3151 | * <!-- begin-user-doc --> | ||
3152 | * <!-- end-user-doc --> | ||
3153 | * @return the meta object for the attribute '<em>Containment</em>'. | ||
3154 | * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment() | ||
3155 | * @see #getMemberDefinition() | ||
3156 | * @generated | ||
3157 | */ | ||
3158 | EAttribute getMemberDefinition_Containment(); | ||
3159 | |||
3160 | /** | ||
3161 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType <em>Type</em>}'. | ||
3162 | * <!-- begin-user-doc --> | ||
3163 | * <!-- end-user-doc --> | ||
3164 | * @return the meta object for the reference '<em>Type</em>'. | ||
3165 | * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType() | ||
3166 | * @see #getMemberDefinition() | ||
3167 | * @generated | ||
3168 | */ | ||
3169 | EReference getMemberDefinition_Type(); | ||
3170 | |||
3171 | /** | ||
3172 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity <em>Multiplicity</em>}'. | ||
3173 | * <!-- begin-user-doc --> | ||
3174 | * <!-- end-user-doc --> | ||
3175 | * @return the meta object for the containment reference '<em>Multiplicity</em>'. | ||
3176 | * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity() | ||
3177 | * @see #getMemberDefinition() | ||
3178 | * @generated | ||
3179 | */ | ||
3180 | EReference getMemberDefinition_Multiplicity(); | ||
3181 | |||
3182 | /** | ||
3183 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName <em>Name</em>}'. | ||
3184 | * <!-- begin-user-doc --> | ||
3185 | * <!-- end-user-doc --> | ||
3186 | * @return the meta object for the attribute '<em>Name</em>'. | ||
3187 | * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName() | ||
3188 | * @see #getMemberDefinition() | ||
3189 | * @generated | ||
3190 | */ | ||
3191 | EAttribute getMemberDefinition_Name(); | ||
3192 | |||
3193 | /** | ||
3194 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite <em>Opposite</em>}'. | ||
3195 | * <!-- begin-user-doc --> | ||
3196 | * <!-- end-user-doc --> | ||
3197 | * @return the meta object for the reference '<em>Opposite</em>'. | ||
3198 | * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite() | ||
3199 | * @see #getMemberDefinition() | ||
3200 | * @generated | ||
3201 | */ | ||
3202 | EReference getMemberDefinition_Opposite(); | ||
3203 | |||
3204 | /** | ||
3205 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Multiplicity <em>Multiplicity</em>}'. | ||
3206 | * <!-- begin-user-doc --> | ||
3207 | * <!-- end-user-doc --> | ||
3208 | * @return the meta object for class '<em>Multiplicity</em>'. | ||
3209 | * @see org.eclipse.viatra.solver.language.solverLanguage.Multiplicity | ||
3210 | * @generated | ||
3211 | */ | ||
3212 | EClass getMultiplicity(); | ||
3213 | |||
3214 | /** | ||
3215 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity <em>Many Multiplicity</em>}'. | ||
3216 | * <!-- begin-user-doc --> | ||
3217 | * <!-- end-user-doc --> | ||
3218 | * @return the meta object for class '<em>Many Multiplicity</em>'. | ||
3219 | * @see org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity | ||
3220 | * @generated | ||
3221 | */ | ||
3222 | EClass getManyMultiplicity(); | ||
3223 | |||
3224 | /** | ||
3225 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity <em>Exact Multiplicity</em>}'. | ||
3226 | * <!-- begin-user-doc --> | ||
3227 | * <!-- end-user-doc --> | ||
3228 | * @return the meta object for class '<em>Exact Multiplicity</em>'. | ||
3229 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity | ||
3230 | * @generated | ||
3231 | */ | ||
3232 | EClass getExactMultiplicity(); | ||
3233 | |||
3234 | /** | ||
3235 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity <em>Multiplicity</em>}'. | ||
3236 | * <!-- begin-user-doc --> | ||
3237 | * <!-- end-user-doc --> | ||
3238 | * @return the meta object for the attribute '<em>Multiplicity</em>'. | ||
3239 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity() | ||
3240 | * @see #getExactMultiplicity() | ||
3241 | * @generated | ||
3242 | */ | ||
3243 | EAttribute getExactMultiplicity_Multiplicity(); | ||
3244 | |||
3245 | /** | ||
3246 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity <em>Bounded Multiplicity</em>}'. | ||
3247 | * <!-- begin-user-doc --> | ||
3248 | * <!-- end-user-doc --> | ||
3249 | * @return the meta object for class '<em>Bounded Multiplicity</em>'. | ||
3250 | * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity | ||
3251 | * @generated | ||
3252 | */ | ||
3253 | EClass getBoundedMultiplicity(); | ||
3254 | |||
3255 | /** | ||
3256 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound <em>Lower Bound</em>}'. | ||
3257 | * <!-- begin-user-doc --> | ||
3258 | * <!-- end-user-doc --> | ||
3259 | * @return the meta object for the attribute '<em>Lower Bound</em>'. | ||
3260 | * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound() | ||
3261 | * @see #getBoundedMultiplicity() | ||
3262 | * @generated | ||
3263 | */ | ||
3264 | EAttribute getBoundedMultiplicity_LowerBound(); | ||
3265 | |||
3266 | /** | ||
3267 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound <em>Upper Bound</em>}'. | ||
3268 | * <!-- begin-user-doc --> | ||
3269 | * <!-- end-user-doc --> | ||
3270 | * @return the meta object for the attribute '<em>Upper Bound</em>'. | ||
3271 | * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound() | ||
3272 | * @see #getBoundedMultiplicity() | ||
3273 | * @generated | ||
3274 | */ | ||
3275 | EAttribute getBoundedMultiplicity_UpperBound(); | ||
3276 | |||
3277 | /** | ||
3278 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition <em>Scope Definition</em>}'. | ||
3279 | * <!-- begin-user-doc --> | ||
3280 | * <!-- end-user-doc --> | ||
3281 | * @return the meta object for class '<em>Scope Definition</em>'. | ||
3282 | * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition | ||
3283 | * @generated | ||
3284 | */ | ||
3285 | EClass getScopeDefinition(); | ||
3286 | |||
3287 | /** | ||
3288 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType <em>Type</em>}'. | ||
3289 | * <!-- begin-user-doc --> | ||
3290 | * <!-- end-user-doc --> | ||
3291 | * @return the meta object for the reference '<em>Type</em>'. | ||
3292 | * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType() | ||
3293 | * @see #getScopeDefinition() | ||
3294 | * @generated | ||
3295 | */ | ||
3296 | EReference getScopeDefinition_Type(); | ||
3297 | |||
3298 | /** | ||
3299 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition <em>Exact Scope Definition</em>}'. | ||
3300 | * <!-- begin-user-doc --> | ||
3301 | * <!-- end-user-doc --> | ||
3302 | * @return the meta object for class '<em>Exact Scope Definition</em>'. | ||
3303 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition | ||
3304 | * @generated | ||
3305 | */ | ||
3306 | EClass getExactScopeDefinition(); | ||
3307 | |||
3308 | /** | ||
3309 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope <em>Exact Scope</em>}'. | ||
3310 | * <!-- begin-user-doc --> | ||
3311 | * <!-- end-user-doc --> | ||
3312 | * @return the meta object for the attribute '<em>Exact Scope</em>'. | ||
3313 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope() | ||
3314 | * @see #getExactScopeDefinition() | ||
3315 | * @generated | ||
3316 | */ | ||
3317 | EAttribute getExactScopeDefinition_ExactScope(); | ||
3318 | |||
3319 | /** | ||
3320 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition <em>Bounded Scope Definition</em>}'. | ||
3321 | * <!-- begin-user-doc --> | ||
3322 | * <!-- end-user-doc --> | ||
3323 | * @return the meta object for class '<em>Bounded Scope Definition</em>'. | ||
3324 | * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition | ||
3325 | * @generated | ||
3326 | */ | ||
3327 | EClass getBoundedScopeDefinition(); | ||
3328 | |||
3329 | /** | ||
3330 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound <em>Lower Bound</em>}'. | ||
3331 | * <!-- begin-user-doc --> | ||
3332 | * <!-- end-user-doc --> | ||
3333 | * @return the meta object for the attribute '<em>Lower Bound</em>'. | ||
3334 | * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound() | ||
3335 | * @see #getBoundedScopeDefinition() | ||
3336 | * @generated | ||
3337 | */ | ||
3338 | EAttribute getBoundedScopeDefinition_LowerBound(); | ||
3339 | |||
3340 | /** | ||
3341 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound <em>Upper Bound</em>}'. | ||
3342 | * <!-- begin-user-doc --> | ||
3343 | * <!-- end-user-doc --> | ||
3344 | * @return the meta object for the attribute '<em>Upper Bound</em>'. | ||
3345 | * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound() | ||
3346 | * @see #getBoundedScopeDefinition() | ||
3347 | * @generated | ||
3348 | */ | ||
3349 | EAttribute getBoundedScopeDefinition_UpperBound(); | ||
3350 | |||
3351 | /** | ||
3352 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition <em>Lower Bounded Scope Definition</em>}'. | ||
3353 | * <!-- begin-user-doc --> | ||
3354 | * <!-- end-user-doc --> | ||
3355 | * @return the meta object for class '<em>Lower Bounded Scope Definition</em>'. | ||
3356 | * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition | ||
3357 | * @generated | ||
3358 | */ | ||
3359 | EClass getLowerBoundedScopeDefinition(); | ||
3360 | |||
3361 | /** | ||
3362 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound <em>Lower Bound</em>}'. | ||
3363 | * <!-- begin-user-doc --> | ||
3364 | * <!-- end-user-doc --> | ||
3365 | * @return the meta object for the attribute '<em>Lower Bound</em>'. | ||
3366 | * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound() | ||
3367 | * @see #getLowerBoundedScopeDefinition() | ||
3368 | * @generated | ||
3369 | */ | ||
3370 | EAttribute getLowerBoundedScopeDefinition_LowerBound(); | ||
3371 | |||
3372 | /** | ||
3373 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition <em>Objective Definition</em>}'. | ||
3374 | * <!-- begin-user-doc --> | ||
3375 | * <!-- end-user-doc --> | ||
3376 | * @return the meta object for class '<em>Objective Definition</em>'. | ||
3377 | * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition | ||
3378 | * @generated | ||
3379 | */ | ||
3380 | EClass getObjectiveDefinition(); | ||
3381 | |||
3382 | /** | ||
3383 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind <em>Kind</em>}'. | ||
3384 | * <!-- begin-user-doc --> | ||
3385 | * <!-- end-user-doc --> | ||
3386 | * @return the meta object for the attribute '<em>Kind</em>'. | ||
3387 | * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind() | ||
3388 | * @see #getObjectiveDefinition() | ||
3389 | * @generated | ||
3390 | */ | ||
3391 | EAttribute getObjectiveDefinition_Kind(); | ||
3392 | |||
3393 | /** | ||
3394 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective <em>Objective</em>}'. | ||
3395 | * <!-- begin-user-doc --> | ||
3396 | * <!-- end-user-doc --> | ||
3397 | * @return the meta object for the containment reference '<em>Objective</em>'. | ||
3398 | * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective() | ||
3399 | * @see #getObjectiveDefinition() | ||
3400 | * @generated | ||
3401 | */ | ||
3402 | EReference getObjectiveDefinition_Objective(); | ||
3403 | |||
3404 | /** | ||
3405 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation <em>Interpretation</em>}'. | ||
3406 | * <!-- begin-user-doc --> | ||
3407 | * <!-- end-user-doc --> | ||
3408 | * @return the meta object for class '<em>Interpretation</em>'. | ||
3409 | * @see org.eclipse.viatra.solver.language.solverLanguage.Interpretation | ||
3410 | * @generated | ||
3411 | */ | ||
3412 | EClass getInterpretation(); | ||
3413 | |||
3414 | /** | ||
3415 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getBody <em>Body</em>}'. | ||
3416 | * <!-- begin-user-doc --> | ||
3417 | * <!-- end-user-doc --> | ||
3418 | * @return the meta object for the containment reference '<em>Body</em>'. | ||
3419 | * @see org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getBody() | ||
3420 | * @see #getInterpretation() | ||
3421 | * @generated | ||
3422 | */ | ||
3423 | EReference getInterpretation_Body(); | ||
3424 | |||
3425 | /** | ||
3426 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getRange <em>Range</em>}'. | ||
3427 | * <!-- begin-user-doc --> | ||
3428 | * <!-- end-user-doc --> | ||
3429 | * @return the meta object for the containment reference '<em>Range</em>'. | ||
3430 | * @see org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getRange() | ||
3431 | * @see #getInterpretation() | ||
3432 | * @generated | ||
3433 | */ | ||
3434 | EReference getInterpretation_Range(); | ||
3435 | |||
3436 | /** | ||
3437 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable <em>Variable</em>}'. | ||
3438 | * <!-- begin-user-doc --> | ||
3439 | * <!-- end-user-doc --> | ||
3440 | * @return the meta object for class '<em>Variable</em>'. | ||
3441 | * @see org.eclipse.viatra.solver.language.solverLanguage.Variable | ||
3442 | * @generated | ||
3443 | */ | ||
3444 | EClass getVariable(); | ||
3445 | |||
3446 | /** | ||
3447 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable#getType <em>Type</em>}'. | ||
3448 | * <!-- begin-user-doc --> | ||
3449 | * <!-- end-user-doc --> | ||
3450 | * @return the meta object for the reference '<em>Type</em>'. | ||
3451 | * @see org.eclipse.viatra.solver.language.solverLanguage.Variable#getType() | ||
3452 | * @see #getVariable() | ||
3453 | * @generated | ||
3454 | */ | ||
3455 | EReference getVariable_Type(); | ||
3456 | |||
3457 | /** | ||
3458 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction <em>Disjunction</em>}'. | ||
3459 | * <!-- begin-user-doc --> | ||
3460 | * <!-- end-user-doc --> | ||
3461 | * @return the meta object for class '<em>Disjunction</em>'. | ||
3462 | * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction | ||
3463 | * @generated | ||
3464 | */ | ||
3465 | EClass getDisjunction(); | ||
3466 | |||
3467 | /** | ||
3468 | * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction#getChildren <em>Children</em>}'. | ||
3469 | * <!-- begin-user-doc --> | ||
3470 | * <!-- end-user-doc --> | ||
3471 | * @return the meta object for the containment reference list '<em>Children</em>'. | ||
3472 | * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction#getChildren() | ||
3473 | * @see #getDisjunction() | ||
3474 | * @generated | ||
3475 | */ | ||
3476 | EReference getDisjunction_Children(); | ||
3477 | |||
3478 | /** | ||
3479 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch <em>Switch</em>}'. | ||
3480 | * <!-- begin-user-doc --> | ||
3481 | * <!-- end-user-doc --> | ||
3482 | * @return the meta object for class '<em>Switch</em>'. | ||
3483 | * @see org.eclipse.viatra.solver.language.solverLanguage.Switch | ||
3484 | * @generated | ||
3485 | */ | ||
3486 | EClass getSwitch(); | ||
3487 | |||
3488 | /** | ||
3489 | * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases <em>Cases</em>}'. | ||
3490 | * <!-- begin-user-doc --> | ||
3491 | * <!-- end-user-doc --> | ||
3492 | * @return the meta object for the containment reference list '<em>Cases</em>'. | ||
3493 | * @see org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases() | ||
3494 | * @see #getSwitch() | ||
3495 | * @generated | ||
3496 | */ | ||
3497 | EReference getSwitch_Cases(); | ||
3498 | |||
3499 | /** | ||
3500 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction <em>Conjunction</em>}'. | ||
3501 | * <!-- begin-user-doc --> | ||
3502 | * <!-- end-user-doc --> | ||
3503 | * @return the meta object for class '<em>Conjunction</em>'. | ||
3504 | * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction | ||
3505 | * @generated | ||
3506 | */ | ||
3507 | EClass getConjunction(); | ||
3508 | |||
3509 | /** | ||
3510 | * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction#getChildren <em>Children</em>}'. | ||
3511 | * <!-- begin-user-doc --> | ||
3512 | * <!-- end-user-doc --> | ||
3513 | * @return the meta object for the containment reference list '<em>Children</em>'. | ||
3514 | * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction#getChildren() | ||
3515 | * @see #getConjunction() | ||
3516 | * @generated | ||
3517 | */ | ||
3518 | EReference getConjunction_Children(); | ||
3519 | |||
3520 | /** | ||
3521 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison <em>Comparison</em>}'. | ||
3522 | * <!-- begin-user-doc --> | ||
3523 | * <!-- end-user-doc --> | ||
3524 | * @return the meta object for class '<em>Comparison</em>'. | ||
3525 | * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison | ||
3526 | * @generated | ||
3527 | */ | ||
3528 | EClass getComparison(); | ||
3529 | |||
3530 | /** | ||
3531 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft <em>Left</em>}'. | ||
3532 | * <!-- begin-user-doc --> | ||
3533 | * <!-- end-user-doc --> | ||
3534 | * @return the meta object for the containment reference '<em>Left</em>'. | ||
3535 | * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft() | ||
3536 | * @see #getComparison() | ||
3537 | * @generated | ||
3538 | */ | ||
3539 | EReference getComparison_Left(); | ||
3540 | |||
3541 | /** | ||
3542 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp <em>Op</em>}'. | ||
3543 | * <!-- begin-user-doc --> | ||
3544 | * <!-- end-user-doc --> | ||
3545 | * @return the meta object for the attribute '<em>Op</em>'. | ||
3546 | * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp() | ||
3547 | * @see #getComparison() | ||
3548 | * @generated | ||
3549 | */ | ||
3550 | EAttribute getComparison_Op(); | ||
3551 | |||
3552 | /** | ||
3553 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight <em>Right</em>}'. | ||
3554 | * <!-- begin-user-doc --> | ||
3555 | * <!-- end-user-doc --> | ||
3556 | * @return the meta object for the containment reference '<em>Right</em>'. | ||
3557 | * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight() | ||
3558 | * @see #getComparison() | ||
3559 | * @generated | ||
3560 | */ | ||
3561 | EReference getComparison_Right(); | ||
3562 | |||
3563 | /** | ||
3564 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression <em>Binary Expression</em>}'. | ||
3565 | * <!-- begin-user-doc --> | ||
3566 | * <!-- end-user-doc --> | ||
3567 | * @return the meta object for class '<em>Binary Expression</em>'. | ||
3568 | * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression | ||
3569 | * @generated | ||
3570 | */ | ||
3571 | EClass getBinaryExpression(); | ||
3572 | |||
3573 | /** | ||
3574 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft <em>Left</em>}'. | ||
3575 | * <!-- begin-user-doc --> | ||
3576 | * <!-- end-user-doc --> | ||
3577 | * @return the meta object for the containment reference '<em>Left</em>'. | ||
3578 | * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft() | ||
3579 | * @see #getBinaryExpression() | ||
3580 | * @generated | ||
3581 | */ | ||
3582 | EReference getBinaryExpression_Left(); | ||
3583 | |||
3584 | /** | ||
3585 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp <em>Op</em>}'. | ||
3586 | * <!-- begin-user-doc --> | ||
3587 | * <!-- end-user-doc --> | ||
3588 | * @return the meta object for the attribute '<em>Op</em>'. | ||
3589 | * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp() | ||
3590 | * @see #getBinaryExpression() | ||
3591 | * @generated | ||
3592 | */ | ||
3593 | EAttribute getBinaryExpression_Op(); | ||
3594 | |||
3595 | /** | ||
3596 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight <em>Right</em>}'. | ||
3597 | * <!-- begin-user-doc --> | ||
3598 | * <!-- end-user-doc --> | ||
3599 | * @return the meta object for the containment reference '<em>Right</em>'. | ||
3600 | * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight() | ||
3601 | * @see #getBinaryExpression() | ||
3602 | * @generated | ||
3603 | */ | ||
3604 | EReference getBinaryExpression_Right(); | ||
3605 | |||
3606 | /** | ||
3607 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression <em>Cast Expression</em>}'. | ||
3608 | * <!-- begin-user-doc --> | ||
3609 | * <!-- end-user-doc --> | ||
3610 | * @return the meta object for class '<em>Cast Expression</em>'. | ||
3611 | * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression | ||
3612 | * @generated | ||
3613 | */ | ||
3614 | EClass getCastExpression(); | ||
3615 | |||
3616 | /** | ||
3617 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody <em>Body</em>}'. | ||
3618 | * <!-- begin-user-doc --> | ||
3619 | * <!-- end-user-doc --> | ||
3620 | * @return the meta object for the containment reference '<em>Body</em>'. | ||
3621 | * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody() | ||
3622 | * @see #getCastExpression() | ||
3623 | * @generated | ||
3624 | */ | ||
3625 | EReference getCastExpression_Body(); | ||
3626 | |||
3627 | /** | ||
3628 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getType <em>Type</em>}'. | ||
3629 | * <!-- begin-user-doc --> | ||
3630 | * <!-- end-user-doc --> | ||
3631 | * @return the meta object for the reference '<em>Type</em>'. | ||
3632 | * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getType() | ||
3633 | * @see #getCastExpression() | ||
3634 | * @generated | ||
3635 | */ | ||
3636 | EReference getCastExpression_Type(); | ||
3637 | |||
3638 | /** | ||
3639 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression <em>Unary Expression</em>}'. | ||
3640 | * <!-- begin-user-doc --> | ||
3641 | * <!-- end-user-doc --> | ||
3642 | * @return the meta object for class '<em>Unary Expression</em>'. | ||
3643 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression | ||
3644 | * @generated | ||
3645 | */ | ||
3646 | EClass getUnaryExpression(); | ||
3647 | |||
3648 | /** | ||
3649 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp <em>Op</em>}'. | ||
3650 | * <!-- begin-user-doc --> | ||
3651 | * <!-- end-user-doc --> | ||
3652 | * @return the meta object for the attribute '<em>Op</em>'. | ||
3653 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp() | ||
3654 | * @see #getUnaryExpression() | ||
3655 | * @generated | ||
3656 | */ | ||
3657 | EAttribute getUnaryExpression_Op(); | ||
3658 | |||
3659 | /** | ||
3660 | * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody <em>Body</em>}'. | ||
3661 | * <!-- begin-user-doc --> | ||
3662 | * <!-- end-user-doc --> | ||
3663 | * @return the meta object for the containment reference '<em>Body</em>'. | ||
3664 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody() | ||
3665 | * @see #getUnaryExpression() | ||
3666 | * @generated | ||
3667 | */ | ||
3668 | EReference getUnaryExpression_Body(); | ||
3669 | |||
3670 | /** | ||
3671 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Node <em>Node</em>}'. | ||
3672 | * <!-- begin-user-doc --> | ||
3673 | * <!-- end-user-doc --> | ||
3674 | * @return the meta object for class '<em>Node</em>'. | ||
3675 | * @see org.eclipse.viatra.solver.language.solverLanguage.Node | ||
3676 | * @generated | ||
3677 | */ | ||
3678 | EClass getNode(); | ||
3679 | |||
3680 | /** | ||
3681 | * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Node#isWithId <em>With Id</em>}'. | ||
3682 | * <!-- begin-user-doc --> | ||
3683 | * <!-- end-user-doc --> | ||
3684 | * @return the meta object for the attribute '<em>With Id</em>'. | ||
3685 | * @see org.eclipse.viatra.solver.language.solverLanguage.Node#isWithId() | ||
3686 | * @see #getNode() | ||
3687 | * @generated | ||
3688 | */ | ||
3689 | EAttribute getNode_WithId(); | ||
3690 | |||
3691 | /** | ||
3692 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Functor <em>Functor</em>}'. | ||
3693 | * <!-- begin-user-doc --> | ||
3694 | * <!-- end-user-doc --> | ||
3695 | * @return the meta object for class '<em>Functor</em>'. | ||
3696 | * @see org.eclipse.viatra.solver.language.solverLanguage.Functor | ||
3697 | * @generated | ||
3698 | */ | ||
3699 | EClass getFunctor(); | ||
3700 | |||
3701 | /** | ||
3702 | * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Functor#getParameters <em>Parameters</em>}'. | ||
3703 | * <!-- begin-user-doc --> | ||
3704 | * <!-- end-user-doc --> | ||
3705 | * @return the meta object for the reference list '<em>Parameters</em>'. | ||
3706 | * @see org.eclipse.viatra.solver.language.solverLanguage.Functor#getParameters() | ||
3707 | * @see #getFunctor() | ||
3708 | * @generated | ||
3709 | */ | ||
3710 | EReference getFunctor_Parameters(); | ||
3711 | |||
3712 | /** | ||
3713 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate <em>Predicate</em>}'. | ||
3714 | * <!-- begin-user-doc --> | ||
3715 | * <!-- end-user-doc --> | ||
3716 | * @return the meta object for class '<em>Predicate</em>'. | ||
3717 | * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate | ||
3718 | * @generated | ||
3719 | */ | ||
3720 | EClass getPredicate(); | ||
3721 | |||
3722 | /** | ||
3723 | * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric <em>Metric</em>}'. | ||
3724 | * <!-- begin-user-doc --> | ||
3725 | * <!-- end-user-doc --> | ||
3726 | * @return the meta object for class '<em>Metric</em>'. | ||
3727 | * @see org.eclipse.viatra.solver.language.solverLanguage.Metric | ||
3728 | * @generated | ||
3729 | */ | ||
3730 | EClass getMetric(); | ||
3731 | |||
3732 | /** | ||
3733 | * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric#getReturnType <em>Return Type</em>}'. | ||
3734 | * <!-- begin-user-doc --> | ||
3735 | * <!-- end-user-doc --> | ||
3736 | * @return the meta object for the reference '<em>Return Type</em>'. | ||
3737 | * @see org.eclipse.viatra.solver.language.solverLanguage.Metric#getReturnType() | ||
3738 | * @see #getMetric() | ||
3739 | * @generated | ||
3740 | */ | ||
3741 | EReference getMetric_ReturnType(); | ||
3742 | |||
3743 | /** | ||
3744 | * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator <em>Binary Operator</em>}'. | ||
3745 | * <!-- begin-user-doc --> | ||
3746 | * <!-- end-user-doc --> | ||
3747 | * @return the meta object for enum '<em>Binary Operator</em>'. | ||
3748 | * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator | ||
3749 | * @generated | ||
3750 | */ | ||
3751 | EEnum getBinaryOperator(); | ||
3752 | |||
3753 | /** | ||
3754 | * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp <em>Unary Op</em>}'. | ||
3755 | * <!-- begin-user-doc --> | ||
3756 | * <!-- end-user-doc --> | ||
3757 | * @return the meta object for enum '<em>Unary Op</em>'. | ||
3758 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp | ||
3759 | * @generated | ||
3760 | */ | ||
3761 | EEnum getUnaryOp(); | ||
3762 | |||
3763 | /** | ||
3764 | * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue <em>Logic Value</em>}'. | ||
3765 | * <!-- begin-user-doc --> | ||
3766 | * <!-- end-user-doc --> | ||
3767 | * @return the meta object for enum '<em>Logic Value</em>'. | ||
3768 | * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue | ||
3769 | * @generated | ||
3770 | */ | ||
3771 | EEnum getLogicValue(); | ||
3772 | |||
3773 | /** | ||
3774 | * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind <em>Objective Kind</em>}'. | ||
3775 | * <!-- begin-user-doc --> | ||
3776 | * <!-- end-user-doc --> | ||
3777 | * @return the meta object for enum '<em>Objective Kind</em>'. | ||
3778 | * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind | ||
3779 | * @generated | ||
3780 | */ | ||
3781 | EEnum getObjectiveKind(); | ||
3782 | |||
3783 | /** | ||
3784 | * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.Quantifier <em>Quantifier</em>}'. | ||
3785 | * <!-- begin-user-doc --> | ||
3786 | * <!-- end-user-doc --> | ||
3787 | * @return the meta object for enum '<em>Quantifier</em>'. | ||
3788 | * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier | ||
3789 | * @generated | ||
3790 | */ | ||
3791 | EEnum getQuantifier(); | ||
3792 | |||
3793 | /** | ||
3794 | * Returns the factory that creates the instances of the model. | ||
3795 | * <!-- begin-user-doc --> | ||
3796 | * <!-- end-user-doc --> | ||
3797 | * @return the factory that creates the instances of the model. | ||
3798 | * @generated | ||
3799 | */ | ||
3800 | SolverLanguageFactory getSolverLanguageFactory(); | ||
3801 | |||
3802 | /** | ||
3803 | * <!-- begin-user-doc --> | ||
3804 | * Defines literals for the meta objects that represent | ||
3805 | * <ul> | ||
3806 | * <li>each class,</li> | ||
3807 | * <li>each feature of each class,</li> | ||
3808 | * <li>each enum,</li> | ||
3809 | * <li>and each data type</li> | ||
3810 | * </ul> | ||
3811 | * <!-- end-user-doc --> | ||
3812 | * @generated | ||
3813 | */ | ||
3814 | interface Literals { | ||
3815 | /** | ||
3816 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl <em>Problem</em>}' class. | ||
3817 | * <!-- begin-user-doc --> | ||
3818 | * <!-- end-user-doc --> | ||
3819 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl | ||
3820 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getProblem() | ||
3821 | * @generated | ||
3822 | */ | ||
3823 | EClass PROBLEM = eINSTANCE.getProblem(); | ||
3824 | |||
3825 | /** | ||
3826 | * The meta object literal for the '<em><b>Statements</b></em>' containment reference list feature. | ||
3827 | * <!-- begin-user-doc --> | ||
3828 | * <!-- end-user-doc --> | ||
3829 | * @generated | ||
3830 | */ | ||
3831 | EReference PROBLEM__STATEMENTS = eINSTANCE.getProblem_Statements(); | ||
3832 | |||
3833 | /** | ||
3834 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl <em>Statement</em>}' class. | ||
3835 | * <!-- begin-user-doc --> | ||
3836 | * <!-- end-user-doc --> | ||
3837 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl | ||
3838 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStatement() | ||
3839 | * @generated | ||
3840 | */ | ||
3841 | EClass STATEMENT = eINSTANCE.getStatement(); | ||
3842 | |||
3843 | /** | ||
3844 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl <em>Predicate Definition</em>}' class. | ||
3845 | * <!-- begin-user-doc --> | ||
3846 | * <!-- end-user-doc --> | ||
3847 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl | ||
3848 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateDefinition() | ||
3849 | * @generated | ||
3850 | */ | ||
3851 | EClass PREDICATE_DEFINITION = eINSTANCE.getPredicateDefinition(); | ||
3852 | |||
3853 | /** | ||
3854 | * The meta object literal for the '<em><b>Head</b></em>' containment reference feature. | ||
3855 | * <!-- begin-user-doc --> | ||
3856 | * <!-- end-user-doc --> | ||
3857 | * @generated | ||
3858 | */ | ||
3859 | EReference PREDICATE_DEFINITION__HEAD = eINSTANCE.getPredicateDefinition_Head(); | ||
3860 | |||
3861 | /** | ||
3862 | * The meta object literal for the '<em><b>Body</b></em>' containment reference feature. | ||
3863 | * <!-- begin-user-doc --> | ||
3864 | * <!-- end-user-doc --> | ||
3865 | * @generated | ||
3866 | */ | ||
3867 | EReference PREDICATE_DEFINITION__BODY = eINSTANCE.getPredicateDefinition_Body(); | ||
3868 | |||
3869 | /** | ||
3870 | * The meta object literal for the '<em><b>Functional</b></em>' attribute feature. | ||
3871 | * <!-- begin-user-doc --> | ||
3872 | * <!-- end-user-doc --> | ||
3873 | * @generated | ||
3874 | */ | ||
3875 | EAttribute PREDICATE_DEFINITION__FUNCTIONAL = eINSTANCE.getPredicateDefinition_Functional(); | ||
3876 | |||
3877 | /** | ||
3878 | * The meta object literal for the '<em><b>Error</b></em>' attribute feature. | ||
3879 | * <!-- begin-user-doc --> | ||
3880 | * <!-- end-user-doc --> | ||
3881 | * @generated | ||
3882 | */ | ||
3883 | EAttribute PREDICATE_DEFINITION__ERROR = eINSTANCE.getPredicateDefinition_Error(); | ||
3884 | |||
3885 | /** | ||
3886 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl <em>Unnamed Error Prediate Definition</em>}' class. | ||
3887 | * <!-- begin-user-doc --> | ||
3888 | * <!-- end-user-doc --> | ||
3889 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl | ||
3890 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnnamedErrorPrediateDefinition() | ||
3891 | * @generated | ||
3892 | */ | ||
3893 | EClass UNNAMED_ERROR_PREDIATE_DEFINITION = eINSTANCE.getUnnamedErrorPrediateDefinition(); | ||
3894 | |||
3895 | /** | ||
3896 | * The meta object literal for the '<em><b>Argument List</b></em>' containment reference feature. | ||
3897 | * <!-- begin-user-doc --> | ||
3898 | * <!-- end-user-doc --> | ||
3899 | * @generated | ||
3900 | */ | ||
3901 | EReference UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST = eINSTANCE.getUnnamedErrorPrediateDefinition_ArgumentList(); | ||
3902 | |||
3903 | /** | ||
3904 | * The meta object literal for the '<em><b>Body</b></em>' containment reference feature. | ||
3905 | * <!-- begin-user-doc --> | ||
3906 | * <!-- end-user-doc --> | ||
3907 | * @generated | ||
3908 | */ | ||
3909 | EReference UNNAMED_ERROR_PREDIATE_DEFINITION__BODY = eINSTANCE.getUnnamedErrorPrediateDefinition_Body(); | ||
3910 | |||
3911 | /** | ||
3912 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl <em>Default Definition</em>}' class. | ||
3913 | * <!-- begin-user-doc --> | ||
3914 | * <!-- end-user-doc --> | ||
3915 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl | ||
3916 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultDefinition() | ||
3917 | * @generated | ||
3918 | */ | ||
3919 | EClass DEFAULT_DEFINITION = eINSTANCE.getDefaultDefinition(); | ||
3920 | |||
3921 | /** | ||
3922 | * The meta object literal for the '<em><b>Head</b></em>' containment reference feature. | ||
3923 | * <!-- begin-user-doc --> | ||
3924 | * <!-- end-user-doc --> | ||
3925 | * @generated | ||
3926 | */ | ||
3927 | EReference DEFAULT_DEFINITION__HEAD = eINSTANCE.getDefaultDefinition_Head(); | ||
3928 | |||
3929 | /** | ||
3930 | * The meta object literal for the '<em><b>Range</b></em>' containment reference feature. | ||
3931 | * <!-- begin-user-doc --> | ||
3932 | * <!-- end-user-doc --> | ||
3933 | * @generated | ||
3934 | */ | ||
3935 | EReference DEFAULT_DEFINITION__RANGE = eINSTANCE.getDefaultDefinition_Range(); | ||
3936 | |||
3937 | /** | ||
3938 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl <em>Metric Definition</em>}' class. | ||
3939 | * <!-- begin-user-doc --> | ||
3940 | * <!-- end-user-doc --> | ||
3941 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl | ||
3942 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricDefinition() | ||
3943 | * @generated | ||
3944 | */ | ||
3945 | EClass METRIC_DEFINITION = eINSTANCE.getMetricDefinition(); | ||
3946 | |||
3947 | /** | ||
3948 | * The meta object literal for the '<em><b>Head</b></em>' containment reference feature. | ||
3949 | * <!-- begin-user-doc --> | ||
3950 | * <!-- end-user-doc --> | ||
3951 | * @generated | ||
3952 | */ | ||
3953 | EReference METRIC_DEFINITION__HEAD = eINSTANCE.getMetricDefinition_Head(); | ||
3954 | |||
3955 | /** | ||
3956 | * The meta object literal for the '<em><b>Body</b></em>' containment reference feature. | ||
3957 | * <!-- begin-user-doc --> | ||
3958 | * <!-- end-user-doc --> | ||
3959 | * @generated | ||
3960 | */ | ||
3961 | EReference METRIC_DEFINITION__BODY = eINSTANCE.getMetricDefinition_Body(); | ||
3962 | |||
3963 | /** | ||
3964 | * The meta object literal for the '<em><b>Type</b></em>' reference feature. | ||
3965 | * <!-- begin-user-doc --> | ||
3966 | * <!-- end-user-doc --> | ||
3967 | * @generated | ||
3968 | */ | ||
3969 | EReference METRIC_DEFINITION__TYPE = eINSTANCE.getMetricDefinition_Type(); | ||
3970 | |||
3971 | /** | ||
3972 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl <em>Extern Predicate Definition</em>}' class. | ||
3973 | * <!-- begin-user-doc --> | ||
3974 | * <!-- end-user-doc --> | ||
3975 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl | ||
3976 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternPredicateDefinition() | ||
3977 | * @generated | ||
3978 | */ | ||
3979 | EClass EXTERN_PREDICATE_DEFINITION = eINSTANCE.getExternPredicateDefinition(); | ||
3980 | |||
3981 | /** | ||
3982 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
3983 | * <!-- begin-user-doc --> | ||
3984 | * <!-- end-user-doc --> | ||
3985 | * @generated | ||
3986 | */ | ||
3987 | EAttribute EXTERN_PREDICATE_DEFINITION__NAME = eINSTANCE.getExternPredicateDefinition_Name(); | ||
3988 | |||
3989 | /** | ||
3990 | * The meta object literal for the '<em><b>Argument List</b></em>' containment reference feature. | ||
3991 | * <!-- begin-user-doc --> | ||
3992 | * <!-- end-user-doc --> | ||
3993 | * @generated | ||
3994 | */ | ||
3995 | EReference EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST = eINSTANCE.getExternPredicateDefinition_ArgumentList(); | ||
3996 | |||
3997 | /** | ||
3998 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl <em>Extern Metric Definition</em>}' class. | ||
3999 | * <!-- begin-user-doc --> | ||
4000 | * <!-- end-user-doc --> | ||
4001 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl | ||
4002 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternMetricDefinition() | ||
4003 | * @generated | ||
4004 | */ | ||
4005 | EClass EXTERN_METRIC_DEFINITION = eINSTANCE.getExternMetricDefinition(); | ||
4006 | |||
4007 | /** | ||
4008 | * The meta object literal for the '<em><b>Type</b></em>' reference feature. | ||
4009 | * <!-- begin-user-doc --> | ||
4010 | * <!-- end-user-doc --> | ||
4011 | * @generated | ||
4012 | */ | ||
4013 | EReference EXTERN_METRIC_DEFINITION__TYPE = eINSTANCE.getExternMetricDefinition_Type(); | ||
4014 | |||
4015 | /** | ||
4016 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
4017 | * <!-- begin-user-doc --> | ||
4018 | * <!-- end-user-doc --> | ||
4019 | * @generated | ||
4020 | */ | ||
4021 | EAttribute EXTERN_METRIC_DEFINITION__NAME = eINSTANCE.getExternMetricDefinition_Name(); | ||
4022 | |||
4023 | /** | ||
4024 | * The meta object literal for the '<em><b>Argument List</b></em>' containment reference feature. | ||
4025 | * <!-- begin-user-doc --> | ||
4026 | * <!-- end-user-doc --> | ||
4027 | * @generated | ||
4028 | */ | ||
4029 | EReference EXTERN_METRIC_DEFINITION__ARGUMENT_LIST = eINSTANCE.getExternMetricDefinition_ArgumentList(); | ||
4030 | |||
4031 | /** | ||
4032 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl <em>Extern Aggregator Definition</em>}' class. | ||
4033 | * <!-- begin-user-doc --> | ||
4034 | * <!-- end-user-doc --> | ||
4035 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl | ||
4036 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternAggregatorDefinition() | ||
4037 | * @generated | ||
4038 | */ | ||
4039 | EClass EXTERN_AGGREGATOR_DEFINITION = eINSTANCE.getExternAggregatorDefinition(); | ||
4040 | |||
4041 | /** | ||
4042 | * The meta object literal for the '<em><b>Type</b></em>' reference feature. | ||
4043 | * <!-- begin-user-doc --> | ||
4044 | * <!-- end-user-doc --> | ||
4045 | * @generated | ||
4046 | */ | ||
4047 | EReference EXTERN_AGGREGATOR_DEFINITION__TYPE = eINSTANCE.getExternAggregatorDefinition_Type(); | ||
4048 | |||
4049 | /** | ||
4050 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
4051 | * <!-- begin-user-doc --> | ||
4052 | * <!-- end-user-doc --> | ||
4053 | * @generated | ||
4054 | */ | ||
4055 | EAttribute EXTERN_AGGREGATOR_DEFINITION__NAME = eINSTANCE.getExternAggregatorDefinition_Name(); | ||
4056 | |||
4057 | /** | ||
4058 | * The meta object literal for the '<em><b>Input Type</b></em>' reference feature. | ||
4059 | * <!-- begin-user-doc --> | ||
4060 | * <!-- end-user-doc --> | ||
4061 | * @generated | ||
4062 | */ | ||
4063 | EReference EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE = eINSTANCE.getExternAggregatorDefinition_InputType(); | ||
4064 | |||
4065 | /** | ||
4066 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl <em>Extern Datatype Definition</em>}' class. | ||
4067 | * <!-- begin-user-doc --> | ||
4068 | * <!-- end-user-doc --> | ||
4069 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl | ||
4070 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternDatatypeDefinition() | ||
4071 | * @generated | ||
4072 | */ | ||
4073 | EClass EXTERN_DATATYPE_DEFINITION = eINSTANCE.getExternDatatypeDefinition(); | ||
4074 | |||
4075 | /** | ||
4076 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
4077 | * <!-- begin-user-doc --> | ||
4078 | * <!-- end-user-doc --> | ||
4079 | * @generated | ||
4080 | */ | ||
4081 | EAttribute EXTERN_DATATYPE_DEFINITION__NAME = eINSTANCE.getExternDatatypeDefinition_Name(); | ||
4082 | |||
4083 | /** | ||
4084 | * The meta object literal for the '<em><b>Supertypes</b></em>' reference list feature. | ||
4085 | * <!-- begin-user-doc --> | ||
4086 | * <!-- end-user-doc --> | ||
4087 | * @generated | ||
4088 | */ | ||
4089 | EReference EXTERN_DATATYPE_DEFINITION__SUPERTYPES = eINSTANCE.getExternDatatypeDefinition_Supertypes(); | ||
4090 | |||
4091 | /** | ||
4092 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl <em>Named Element</em>}' class. | ||
4093 | * <!-- begin-user-doc --> | ||
4094 | * <!-- end-user-doc --> | ||
4095 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl | ||
4096 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNamedElement() | ||
4097 | * @generated | ||
4098 | */ | ||
4099 | EClass NAMED_ELEMENT = eINSTANCE.getNamedElement(); | ||
4100 | |||
4101 | /** | ||
4102 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
4103 | * <!-- begin-user-doc --> | ||
4104 | * <!-- end-user-doc --> | ||
4105 | * @generated | ||
4106 | */ | ||
4107 | EAttribute NAMED_ELEMENT__NAME = eINSTANCE.getNamedElement_Name(); | ||
4108 | |||
4109 | /** | ||
4110 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl <em>Expression</em>}' class. | ||
4111 | * <!-- begin-user-doc --> | ||
4112 | * <!-- end-user-doc --> | ||
4113 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl | ||
4114 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpression() | ||
4115 | * @generated | ||
4116 | */ | ||
4117 | EClass EXPRESSION = eINSTANCE.getExpression(); | ||
4118 | |||
4119 | /** | ||
4120 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl <em>If Else</em>}' class. | ||
4121 | * <!-- begin-user-doc --> | ||
4122 | * <!-- end-user-doc --> | ||
4123 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl | ||
4124 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIfElse() | ||
4125 | * @generated | ||
4126 | */ | ||
4127 | EClass IF_ELSE = eINSTANCE.getIfElse(); | ||
4128 | |||
4129 | /** | ||
4130 | * The meta object literal for the '<em><b>Then</b></em>' containment reference feature. | ||
4131 | * <!-- begin-user-doc --> | ||
4132 | * <!-- end-user-doc --> | ||
4133 | * @generated | ||
4134 | */ | ||
4135 | EReference IF_ELSE__THEN = eINSTANCE.getIfElse_Then(); | ||
4136 | |||
4137 | /** | ||
4138 | * The meta object literal for the '<em><b>Else</b></em>' containment reference feature. | ||
4139 | * <!-- begin-user-doc --> | ||
4140 | * <!-- end-user-doc --> | ||
4141 | * @generated | ||
4142 | */ | ||
4143 | EReference IF_ELSE__ELSE = eINSTANCE.getIfElse_Else(); | ||
4144 | |||
4145 | /** | ||
4146 | * The meta object literal for the '<em><b>Condition</b></em>' containment reference feature. | ||
4147 | * <!-- begin-user-doc --> | ||
4148 | * <!-- end-user-doc --> | ||
4149 | * @generated | ||
4150 | */ | ||
4151 | EReference IF_ELSE__CONDITION = eINSTANCE.getIfElse_Condition(); | ||
4152 | |||
4153 | /** | ||
4154 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl <em>Let</em>}' class. | ||
4155 | * <!-- begin-user-doc --> | ||
4156 | * <!-- end-user-doc --> | ||
4157 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl | ||
4158 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLet() | ||
4159 | * @generated | ||
4160 | */ | ||
4161 | EClass LET = eINSTANCE.getLet(); | ||
4162 | |||
4163 | /** | ||
4164 | * The meta object literal for the '<em><b>Bindings</b></em>' containment reference list feature. | ||
4165 | * <!-- begin-user-doc --> | ||
4166 | * <!-- end-user-doc --> | ||
4167 | * @generated | ||
4168 | */ | ||
4169 | EReference LET__BINDINGS = eINSTANCE.getLet_Bindings(); | ||
4170 | |||
4171 | /** | ||
4172 | * The meta object literal for the '<em><b>Body</b></em>' containment reference feature. | ||
4173 | * <!-- begin-user-doc --> | ||
4174 | * <!-- end-user-doc --> | ||
4175 | * @generated | ||
4176 | */ | ||
4177 | EReference LET__BODY = eINSTANCE.getLet_Body(); | ||
4178 | |||
4179 | /** | ||
4180 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl <em>Let Binding</em>}' class. | ||
4181 | * <!-- begin-user-doc --> | ||
4182 | * <!-- end-user-doc --> | ||
4183 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl | ||
4184 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLetBinding() | ||
4185 | * @generated | ||
4186 | */ | ||
4187 | EClass LET_BINDING = eINSTANCE.getLetBinding(); | ||
4188 | |||
4189 | /** | ||
4190 | * The meta object literal for the '<em><b>Variable</b></em>' containment reference feature. | ||
4191 | * <!-- begin-user-doc --> | ||
4192 | * <!-- end-user-doc --> | ||
4193 | * @generated | ||
4194 | */ | ||
4195 | EReference LET_BINDING__VARIABLE = eINSTANCE.getLetBinding_Variable(); | ||
4196 | |||
4197 | /** | ||
4198 | * The meta object literal for the '<em><b>Value</b></em>' containment reference feature. | ||
4199 | * <!-- begin-user-doc --> | ||
4200 | * <!-- end-user-doc --> | ||
4201 | * @generated | ||
4202 | */ | ||
4203 | EReference LET_BINDING__VALUE = eINSTANCE.getLetBinding_Value(); | ||
4204 | |||
4205 | /** | ||
4206 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl <em>Case</em>}' class. | ||
4207 | * <!-- begin-user-doc --> | ||
4208 | * <!-- end-user-doc --> | ||
4209 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl | ||
4210 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCase() | ||
4211 | * @generated | ||
4212 | */ | ||
4213 | EClass CASE = eINSTANCE.getCase(); | ||
4214 | |||
4215 | /** | ||
4216 | * The meta object literal for the '<em><b>Body</b></em>' containment reference feature. | ||
4217 | * <!-- begin-user-doc --> | ||
4218 | * <!-- end-user-doc --> | ||
4219 | * @generated | ||
4220 | */ | ||
4221 | EReference CASE__BODY = eINSTANCE.getCase_Body(); | ||
4222 | |||
4223 | /** | ||
4224 | * The meta object literal for the '<em><b>Condition</b></em>' containment reference feature. | ||
4225 | * <!-- begin-user-doc --> | ||
4226 | * <!-- end-user-doc --> | ||
4227 | * @generated | ||
4228 | */ | ||
4229 | EReference CASE__CONDITION = eINSTANCE.getCase_Condition(); | ||
4230 | |||
4231 | /** | ||
4232 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl <em>Local Variables</em>}' class. | ||
4233 | * <!-- begin-user-doc --> | ||
4234 | * <!-- end-user-doc --> | ||
4235 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl | ||
4236 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLocalVariables() | ||
4237 | * @generated | ||
4238 | */ | ||
4239 | EClass LOCAL_VARIABLES = eINSTANCE.getLocalVariables(); | ||
4240 | |||
4241 | /** | ||
4242 | * The meta object literal for the '<em><b>Variables</b></em>' containment reference list feature. | ||
4243 | * <!-- begin-user-doc --> | ||
4244 | * <!-- end-user-doc --> | ||
4245 | * @generated | ||
4246 | */ | ||
4247 | EReference LOCAL_VARIABLES__VARIABLES = eINSTANCE.getLocalVariables_Variables(); | ||
4248 | |||
4249 | /** | ||
4250 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl <em>Quantified Expression</em>}' class. | ||
4251 | * <!-- begin-user-doc --> | ||
4252 | * <!-- end-user-doc --> | ||
4253 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl | ||
4254 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getQuantifiedExpression() | ||
4255 | * @generated | ||
4256 | */ | ||
4257 | EClass QUANTIFIED_EXPRESSION = eINSTANCE.getQuantifiedExpression(); | ||
4258 | |||
4259 | /** | ||
4260 | * The meta object literal for the '<em><b>Local Variables</b></em>' containment reference feature. | ||
4261 | * <!-- begin-user-doc --> | ||
4262 | * <!-- end-user-doc --> | ||
4263 | * @generated | ||
4264 | */ | ||
4265 | EReference QUANTIFIED_EXPRESSION__LOCAL_VARIABLES = eINSTANCE.getQuantifiedExpression_LocalVariables(); | ||
4266 | |||
4267 | /** | ||
4268 | * The meta object literal for the '<em><b>Body</b></em>' containment reference feature. | ||
4269 | * <!-- begin-user-doc --> | ||
4270 | * <!-- end-user-doc --> | ||
4271 | * @generated | ||
4272 | */ | ||
4273 | EReference QUANTIFIED_EXPRESSION__BODY = eINSTANCE.getQuantifiedExpression_Body(); | ||
4274 | |||
4275 | /** | ||
4276 | * The meta object literal for the '<em><b>Quantifier</b></em>' attribute feature. | ||
4277 | * <!-- begin-user-doc --> | ||
4278 | * <!-- end-user-doc --> | ||
4279 | * @generated | ||
4280 | */ | ||
4281 | EAttribute QUANTIFIED_EXPRESSION__QUANTIFIER = eINSTANCE.getQuantifiedExpression_Quantifier(); | ||
4282 | |||
4283 | /** | ||
4284 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl <em>Aggregation</em>}' class. | ||
4285 | * <!-- begin-user-doc --> | ||
4286 | * <!-- end-user-doc --> | ||
4287 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl | ||
4288 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregation() | ||
4289 | * @generated | ||
4290 | */ | ||
4291 | EClass AGGREGATION = eINSTANCE.getAggregation(); | ||
4292 | |||
4293 | /** | ||
4294 | * The meta object literal for the '<em><b>Op</b></em>' reference feature. | ||
4295 | * <!-- begin-user-doc --> | ||
4296 | * <!-- end-user-doc --> | ||
4297 | * @generated | ||
4298 | */ | ||
4299 | EReference AGGREGATION__OP = eINSTANCE.getAggregation_Op(); | ||
4300 | |||
4301 | /** | ||
4302 | * The meta object literal for the '<em><b>Local Variables</b></em>' containment reference feature. | ||
4303 | * <!-- begin-user-doc --> | ||
4304 | * <!-- end-user-doc --> | ||
4305 | * @generated | ||
4306 | */ | ||
4307 | EReference AGGREGATION__LOCAL_VARIABLES = eINSTANCE.getAggregation_LocalVariables(); | ||
4308 | |||
4309 | /** | ||
4310 | * The meta object literal for the '<em><b>Body</b></em>' containment reference feature. | ||
4311 | * <!-- begin-user-doc --> | ||
4312 | * <!-- end-user-doc --> | ||
4313 | * @generated | ||
4314 | */ | ||
4315 | EReference AGGREGATION__BODY = eINSTANCE.getAggregation_Body(); | ||
4316 | |||
4317 | /** | ||
4318 | * The meta object literal for the '<em><b>Condition</b></em>' containment reference feature. | ||
4319 | * <!-- begin-user-doc --> | ||
4320 | * <!-- end-user-doc --> | ||
4321 | * @generated | ||
4322 | */ | ||
4323 | EReference AGGREGATION__CONDITION = eINSTANCE.getAggregation_Condition(); | ||
4324 | |||
4325 | /** | ||
4326 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl <em>Call</em>}' class. | ||
4327 | * <!-- begin-user-doc --> | ||
4328 | * <!-- end-user-doc --> | ||
4329 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl | ||
4330 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCall() | ||
4331 | * @generated | ||
4332 | */ | ||
4333 | EClass CALL = eINSTANCE.getCall(); | ||
4334 | |||
4335 | /** | ||
4336 | * The meta object literal for the '<em><b>Functor</b></em>' containment reference feature. | ||
4337 | * <!-- begin-user-doc --> | ||
4338 | * <!-- end-user-doc --> | ||
4339 | * @generated | ||
4340 | */ | ||
4341 | EReference CALL__FUNCTOR = eINSTANCE.getCall_Functor(); | ||
4342 | |||
4343 | /** | ||
4344 | * The meta object literal for the '<em><b>Transitive Closure</b></em>' attribute feature. | ||
4345 | * <!-- begin-user-doc --> | ||
4346 | * <!-- end-user-doc --> | ||
4347 | * @generated | ||
4348 | */ | ||
4349 | EAttribute CALL__TRANSITIVE_CLOSURE = eINSTANCE.getCall_TransitiveClosure(); | ||
4350 | |||
4351 | /** | ||
4352 | * The meta object literal for the '<em><b>Reflexive Transitive Closure</b></em>' attribute feature. | ||
4353 | * <!-- begin-user-doc --> | ||
4354 | * <!-- end-user-doc --> | ||
4355 | * @generated | ||
4356 | */ | ||
4357 | EAttribute CALL__REFLEXIVE_TRANSITIVE_CLOSURE = eINSTANCE.getCall_ReflexiveTransitiveClosure(); | ||
4358 | |||
4359 | /** | ||
4360 | * The meta object literal for the '<em><b>Argument List</b></em>' containment reference feature. | ||
4361 | * <!-- begin-user-doc --> | ||
4362 | * <!-- end-user-doc --> | ||
4363 | * @generated | ||
4364 | */ | ||
4365 | EReference CALL__ARGUMENT_LIST = eINSTANCE.getCall_ArgumentList(); | ||
4366 | |||
4367 | /** | ||
4368 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl <em>Argument List</em>}' class. | ||
4369 | * <!-- begin-user-doc --> | ||
4370 | * <!-- end-user-doc --> | ||
4371 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl | ||
4372 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgumentList() | ||
4373 | * @generated | ||
4374 | */ | ||
4375 | EClass ARGUMENT_LIST = eINSTANCE.getArgumentList(); | ||
4376 | |||
4377 | /** | ||
4378 | * The meta object literal for the '<em><b>Arguments</b></em>' containment reference list feature. | ||
4379 | * <!-- begin-user-doc --> | ||
4380 | * <!-- end-user-doc --> | ||
4381 | * @generated | ||
4382 | */ | ||
4383 | EReference ARGUMENT_LIST__ARGUMENTS = eINSTANCE.getArgumentList_Arguments(); | ||
4384 | |||
4385 | /** | ||
4386 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl <em>Argument</em>}' class. | ||
4387 | * <!-- begin-user-doc --> | ||
4388 | * <!-- end-user-doc --> | ||
4389 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl | ||
4390 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgument() | ||
4391 | * @generated | ||
4392 | */ | ||
4393 | EClass ARGUMENT = eINSTANCE.getArgument(); | ||
4394 | |||
4395 | /** | ||
4396 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl <em>Expression Argument</em>}' class. | ||
4397 | * <!-- begin-user-doc --> | ||
4398 | * <!-- end-user-doc --> | ||
4399 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl | ||
4400 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpressionArgument() | ||
4401 | * @generated | ||
4402 | */ | ||
4403 | EClass EXPRESSION_ARGUMENT = eINSTANCE.getExpressionArgument(); | ||
4404 | |||
4405 | /** | ||
4406 | * The meta object literal for the '<em><b>Body</b></em>' containment reference feature. | ||
4407 | * <!-- begin-user-doc --> | ||
4408 | * <!-- end-user-doc --> | ||
4409 | * @generated | ||
4410 | */ | ||
4411 | EReference EXPRESSION_ARGUMENT__BODY = eINSTANCE.getExpressionArgument_Body(); | ||
4412 | |||
4413 | /** | ||
4414 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl <em>Star Argument</em>}' class. | ||
4415 | * <!-- begin-user-doc --> | ||
4416 | * <!-- end-user-doc --> | ||
4417 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl | ||
4418 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStarArgument() | ||
4419 | * @generated | ||
4420 | */ | ||
4421 | EClass STAR_ARGUMENT = eINSTANCE.getStarArgument(); | ||
4422 | |||
4423 | /** | ||
4424 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl <em>Typed Argument</em>}' class. | ||
4425 | * <!-- begin-user-doc --> | ||
4426 | * <!-- end-user-doc --> | ||
4427 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl | ||
4428 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedArgument() | ||
4429 | * @generated | ||
4430 | */ | ||
4431 | EClass TYPED_ARGUMENT = eINSTANCE.getTypedArgument(); | ||
4432 | |||
4433 | /** | ||
4434 | * The meta object literal for the '<em><b>Type</b></em>' reference feature. | ||
4435 | * <!-- begin-user-doc --> | ||
4436 | * <!-- end-user-doc --> | ||
4437 | * @generated | ||
4438 | */ | ||
4439 | EReference TYPED_ARGUMENT__TYPE = eINSTANCE.getTypedArgument_Type(); | ||
4440 | |||
4441 | /** | ||
4442 | * The meta object literal for the '<em><b>Variable</b></em>' reference feature. | ||
4443 | * <!-- begin-user-doc --> | ||
4444 | * <!-- end-user-doc --> | ||
4445 | * @generated | ||
4446 | */ | ||
4447 | EReference TYPED_ARGUMENT__VARIABLE = eINSTANCE.getTypedArgument_Variable(); | ||
4448 | |||
4449 | /** | ||
4450 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl <em>Typed Star Argument</em>}' class. | ||
4451 | * <!-- begin-user-doc --> | ||
4452 | * <!-- end-user-doc --> | ||
4453 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl | ||
4454 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedStarArgument() | ||
4455 | * @generated | ||
4456 | */ | ||
4457 | EClass TYPED_STAR_ARGUMENT = eINSTANCE.getTypedStarArgument(); | ||
4458 | |||
4459 | /** | ||
4460 | * The meta object literal for the '<em><b>Type</b></em>' reference feature. | ||
4461 | * <!-- begin-user-doc --> | ||
4462 | * <!-- end-user-doc --> | ||
4463 | * @generated | ||
4464 | */ | ||
4465 | EReference TYPED_STAR_ARGUMENT__TYPE = eINSTANCE.getTypedStarArgument_Type(); | ||
4466 | |||
4467 | /** | ||
4468 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl <em>Reference</em>}' class. | ||
4469 | * <!-- begin-user-doc --> | ||
4470 | * <!-- end-user-doc --> | ||
4471 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl | ||
4472 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReference() | ||
4473 | * @generated | ||
4474 | */ | ||
4475 | EClass REFERENCE = eINSTANCE.getReference(); | ||
4476 | |||
4477 | /** | ||
4478 | * The meta object literal for the '<em><b>Referred</b></em>' reference feature. | ||
4479 | * <!-- begin-user-doc --> | ||
4480 | * <!-- end-user-doc --> | ||
4481 | * @generated | ||
4482 | */ | ||
4483 | EReference REFERENCE__REFERRED = eINSTANCE.getReference_Referred(); | ||
4484 | |||
4485 | /** | ||
4486 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl <em>Interval</em>}' class. | ||
4487 | * <!-- begin-user-doc --> | ||
4488 | * <!-- end-user-doc --> | ||
4489 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl | ||
4490 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterval() | ||
4491 | * @generated | ||
4492 | */ | ||
4493 | EClass INTERVAL = eINSTANCE.getInterval(); | ||
4494 | |||
4495 | /** | ||
4496 | * The meta object literal for the '<em><b>Lower Bound</b></em>' containment reference feature. | ||
4497 | * <!-- begin-user-doc --> | ||
4498 | * <!-- end-user-doc --> | ||
4499 | * @generated | ||
4500 | */ | ||
4501 | EReference INTERVAL__LOWER_BOUND = eINSTANCE.getInterval_LowerBound(); | ||
4502 | |||
4503 | /** | ||
4504 | * The meta object literal for the '<em><b>Upper Bound</b></em>' containment reference feature. | ||
4505 | * <!-- begin-user-doc --> | ||
4506 | * <!-- end-user-doc --> | ||
4507 | * @generated | ||
4508 | */ | ||
4509 | EReference INTERVAL__UPPER_BOUND = eINSTANCE.getInterval_UpperBound(); | ||
4510 | |||
4511 | /** | ||
4512 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl <em>Literal</em>}' class. | ||
4513 | * <!-- begin-user-doc --> | ||
4514 | * <!-- end-user-doc --> | ||
4515 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl | ||
4516 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral() | ||
4517 | * @generated | ||
4518 | */ | ||
4519 | EClass LITERAL = eINSTANCE.getLiteral(); | ||
4520 | |||
4521 | /** | ||
4522 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl <em>Logic Literal</em>}' class. | ||
4523 | * <!-- begin-user-doc --> | ||
4524 | * <!-- end-user-doc --> | ||
4525 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl | ||
4526 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicLiteral() | ||
4527 | * @generated | ||
4528 | */ | ||
4529 | EClass LOGIC_LITERAL = eINSTANCE.getLogicLiteral(); | ||
4530 | |||
4531 | /** | ||
4532 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
4533 | * <!-- begin-user-doc --> | ||
4534 | * <!-- end-user-doc --> | ||
4535 | * @generated | ||
4536 | */ | ||
4537 | EAttribute LOGIC_LITERAL__VALUE = eINSTANCE.getLogicLiteral_Value(); | ||
4538 | |||
4539 | /** | ||
4540 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl <em>Numeric Literal</em>}' class. | ||
4541 | * <!-- begin-user-doc --> | ||
4542 | * <!-- end-user-doc --> | ||
4543 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl | ||
4544 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNumericLiteral() | ||
4545 | * @generated | ||
4546 | */ | ||
4547 | EClass NUMERIC_LITERAL = eINSTANCE.getNumericLiteral(); | ||
4548 | |||
4549 | /** | ||
4550 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
4551 | * <!-- begin-user-doc --> | ||
4552 | * <!-- end-user-doc --> | ||
4553 | * @generated | ||
4554 | */ | ||
4555 | EAttribute NUMERIC_LITERAL__VALUE = eINSTANCE.getNumericLiteral_Value(); | ||
4556 | |||
4557 | /** | ||
4558 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl <em>Infinity Literal</em>}' class. | ||
4559 | * <!-- begin-user-doc --> | ||
4560 | * <!-- end-user-doc --> | ||
4561 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl | ||
4562 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInfinityLiteral() | ||
4563 | * @generated | ||
4564 | */ | ||
4565 | EClass INFINITY_LITERAL = eINSTANCE.getInfinityLiteral(); | ||
4566 | |||
4567 | /** | ||
4568 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl <em>Empty Interval Literal</em>}' class. | ||
4569 | * <!-- begin-user-doc --> | ||
4570 | * <!-- end-user-doc --> | ||
4571 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl | ||
4572 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEmptyIntervalLiteral() | ||
4573 | * @generated | ||
4574 | */ | ||
4575 | EClass EMPTY_INTERVAL_LITERAL = eINSTANCE.getEmptyIntervalLiteral(); | ||
4576 | |||
4577 | /** | ||
4578 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl <em>String Literal</em>}' class. | ||
4579 | * <!-- begin-user-doc --> | ||
4580 | * <!-- end-user-doc --> | ||
4581 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl | ||
4582 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStringLiteral() | ||
4583 | * @generated | ||
4584 | */ | ||
4585 | EClass STRING_LITERAL = eINSTANCE.getStringLiteral(); | ||
4586 | |||
4587 | /** | ||
4588 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
4589 | * <!-- begin-user-doc --> | ||
4590 | * <!-- end-user-doc --> | ||
4591 | * @generated | ||
4592 | */ | ||
4593 | EAttribute STRING_LITERAL__VALUE = eINSTANCE.getStringLiteral_Value(); | ||
4594 | |||
4595 | /** | ||
4596 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl <em>Class Definition</em>}' class. | ||
4597 | * <!-- begin-user-doc --> | ||
4598 | * <!-- end-user-doc --> | ||
4599 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl | ||
4600 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassDefinition() | ||
4601 | * @generated | ||
4602 | */ | ||
4603 | EClass CLASS_DEFINITION = eINSTANCE.getClassDefinition(); | ||
4604 | |||
4605 | /** | ||
4606 | * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature. | ||
4607 | * <!-- begin-user-doc --> | ||
4608 | * <!-- end-user-doc --> | ||
4609 | * @generated | ||
4610 | */ | ||
4611 | EAttribute CLASS_DEFINITION__ABSTRACT = eINSTANCE.getClassDefinition_Abstract(); | ||
4612 | |||
4613 | /** | ||
4614 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
4615 | * <!-- begin-user-doc --> | ||
4616 | * <!-- end-user-doc --> | ||
4617 | * @generated | ||
4618 | */ | ||
4619 | EAttribute CLASS_DEFINITION__NAME = eINSTANCE.getClassDefinition_Name(); | ||
4620 | |||
4621 | /** | ||
4622 | * The meta object literal for the '<em><b>Superclasses</b></em>' reference list feature. | ||
4623 | * <!-- begin-user-doc --> | ||
4624 | * <!-- end-user-doc --> | ||
4625 | * @generated | ||
4626 | */ | ||
4627 | EReference CLASS_DEFINITION__SUPERCLASSES = eINSTANCE.getClassDefinition_Superclasses(); | ||
4628 | |||
4629 | /** | ||
4630 | * The meta object literal for the '<em><b>Members</b></em>' containment reference list feature. | ||
4631 | * <!-- begin-user-doc --> | ||
4632 | * <!-- end-user-doc --> | ||
4633 | * @generated | ||
4634 | */ | ||
4635 | EReference CLASS_DEFINITION__MEMBERS = eINSTANCE.getClassDefinition_Members(); | ||
4636 | |||
4637 | /** | ||
4638 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl <em>Member Definition</em>}' class. | ||
4639 | * <!-- begin-user-doc --> | ||
4640 | * <!-- end-user-doc --> | ||
4641 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl | ||
4642 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMemberDefinition() | ||
4643 | * @generated | ||
4644 | */ | ||
4645 | EClass MEMBER_DEFINITION = eINSTANCE.getMemberDefinition(); | ||
4646 | |||
4647 | /** | ||
4648 | * The meta object literal for the '<em><b>Containment</b></em>' attribute feature. | ||
4649 | * <!-- begin-user-doc --> | ||
4650 | * <!-- end-user-doc --> | ||
4651 | * @generated | ||
4652 | */ | ||
4653 | EAttribute MEMBER_DEFINITION__CONTAINMENT = eINSTANCE.getMemberDefinition_Containment(); | ||
4654 | |||
4655 | /** | ||
4656 | * The meta object literal for the '<em><b>Type</b></em>' reference feature. | ||
4657 | * <!-- begin-user-doc --> | ||
4658 | * <!-- end-user-doc --> | ||
4659 | * @generated | ||
4660 | */ | ||
4661 | EReference MEMBER_DEFINITION__TYPE = eINSTANCE.getMemberDefinition_Type(); | ||
4662 | |||
4663 | /** | ||
4664 | * The meta object literal for the '<em><b>Multiplicity</b></em>' containment reference feature. | ||
4665 | * <!-- begin-user-doc --> | ||
4666 | * <!-- end-user-doc --> | ||
4667 | * @generated | ||
4668 | */ | ||
4669 | EReference MEMBER_DEFINITION__MULTIPLICITY = eINSTANCE.getMemberDefinition_Multiplicity(); | ||
4670 | |||
4671 | /** | ||
4672 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
4673 | * <!-- begin-user-doc --> | ||
4674 | * <!-- end-user-doc --> | ||
4675 | * @generated | ||
4676 | */ | ||
4677 | EAttribute MEMBER_DEFINITION__NAME = eINSTANCE.getMemberDefinition_Name(); | ||
4678 | |||
4679 | /** | ||
4680 | * The meta object literal for the '<em><b>Opposite</b></em>' reference feature. | ||
4681 | * <!-- begin-user-doc --> | ||
4682 | * <!-- end-user-doc --> | ||
4683 | * @generated | ||
4684 | */ | ||
4685 | EReference MEMBER_DEFINITION__OPPOSITE = eINSTANCE.getMemberDefinition_Opposite(); | ||
4686 | |||
4687 | /** | ||
4688 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl <em>Multiplicity</em>}' class. | ||
4689 | * <!-- begin-user-doc --> | ||
4690 | * <!-- end-user-doc --> | ||
4691 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl | ||
4692 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicity() | ||
4693 | * @generated | ||
4694 | */ | ||
4695 | EClass MULTIPLICITY = eINSTANCE.getMultiplicity(); | ||
4696 | |||
4697 | /** | ||
4698 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl <em>Many Multiplicity</em>}' class. | ||
4699 | * <!-- begin-user-doc --> | ||
4700 | * <!-- end-user-doc --> | ||
4701 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl | ||
4702 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getManyMultiplicity() | ||
4703 | * @generated | ||
4704 | */ | ||
4705 | EClass MANY_MULTIPLICITY = eINSTANCE.getManyMultiplicity(); | ||
4706 | |||
4707 | /** | ||
4708 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl <em>Exact Multiplicity</em>}' class. | ||
4709 | * <!-- begin-user-doc --> | ||
4710 | * <!-- end-user-doc --> | ||
4711 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl | ||
4712 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactMultiplicity() | ||
4713 | * @generated | ||
4714 | */ | ||
4715 | EClass EXACT_MULTIPLICITY = eINSTANCE.getExactMultiplicity(); | ||
4716 | |||
4717 | /** | ||
4718 | * The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature. | ||
4719 | * <!-- begin-user-doc --> | ||
4720 | * <!-- end-user-doc --> | ||
4721 | * @generated | ||
4722 | */ | ||
4723 | EAttribute EXACT_MULTIPLICITY__MULTIPLICITY = eINSTANCE.getExactMultiplicity_Multiplicity(); | ||
4724 | |||
4725 | /** | ||
4726 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl <em>Bounded Multiplicity</em>}' class. | ||
4727 | * <!-- begin-user-doc --> | ||
4728 | * <!-- end-user-doc --> | ||
4729 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl | ||
4730 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedMultiplicity() | ||
4731 | * @generated | ||
4732 | */ | ||
4733 | EClass BOUNDED_MULTIPLICITY = eINSTANCE.getBoundedMultiplicity(); | ||
4734 | |||
4735 | /** | ||
4736 | * The meta object literal for the '<em><b>Lower Bound</b></em>' attribute feature. | ||
4737 | * <!-- begin-user-doc --> | ||
4738 | * <!-- end-user-doc --> | ||
4739 | * @generated | ||
4740 | */ | ||
4741 | EAttribute BOUNDED_MULTIPLICITY__LOWER_BOUND = eINSTANCE.getBoundedMultiplicity_LowerBound(); | ||
4742 | |||
4743 | /** | ||
4744 | * The meta object literal for the '<em><b>Upper Bound</b></em>' attribute feature. | ||
4745 | * <!-- begin-user-doc --> | ||
4746 | * <!-- end-user-doc --> | ||
4747 | * @generated | ||
4748 | */ | ||
4749 | EAttribute BOUNDED_MULTIPLICITY__UPPER_BOUND = eINSTANCE.getBoundedMultiplicity_UpperBound(); | ||
4750 | |||
4751 | /** | ||
4752 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl <em>Scope Definition</em>}' class. | ||
4753 | * <!-- begin-user-doc --> | ||
4754 | * <!-- end-user-doc --> | ||
4755 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl | ||
4756 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getScopeDefinition() | ||
4757 | * @generated | ||
4758 | */ | ||
4759 | EClass SCOPE_DEFINITION = eINSTANCE.getScopeDefinition(); | ||
4760 | |||
4761 | /** | ||
4762 | * The meta object literal for the '<em><b>Type</b></em>' reference feature. | ||
4763 | * <!-- begin-user-doc --> | ||
4764 | * <!-- end-user-doc --> | ||
4765 | * @generated | ||
4766 | */ | ||
4767 | EReference SCOPE_DEFINITION__TYPE = eINSTANCE.getScopeDefinition_Type(); | ||
4768 | |||
4769 | /** | ||
4770 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl <em>Exact Scope Definition</em>}' class. | ||
4771 | * <!-- begin-user-doc --> | ||
4772 | * <!-- end-user-doc --> | ||
4773 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl | ||
4774 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactScopeDefinition() | ||
4775 | * @generated | ||
4776 | */ | ||
4777 | EClass EXACT_SCOPE_DEFINITION = eINSTANCE.getExactScopeDefinition(); | ||
4778 | |||
4779 | /** | ||
4780 | * The meta object literal for the '<em><b>Exact Scope</b></em>' attribute feature. | ||
4781 | * <!-- begin-user-doc --> | ||
4782 | * <!-- end-user-doc --> | ||
4783 | * @generated | ||
4784 | */ | ||
4785 | EAttribute EXACT_SCOPE_DEFINITION__EXACT_SCOPE = eINSTANCE.getExactScopeDefinition_ExactScope(); | ||
4786 | |||
4787 | /** | ||
4788 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl <em>Bounded Scope Definition</em>}' class. | ||
4789 | * <!-- begin-user-doc --> | ||
4790 | * <!-- end-user-doc --> | ||
4791 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl | ||
4792 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedScopeDefinition() | ||
4793 | * @generated | ||
4794 | */ | ||
4795 | EClass BOUNDED_SCOPE_DEFINITION = eINSTANCE.getBoundedScopeDefinition(); | ||
4796 | |||
4797 | /** | ||
4798 | * The meta object literal for the '<em><b>Lower Bound</b></em>' attribute feature. | ||
4799 | * <!-- begin-user-doc --> | ||
4800 | * <!-- end-user-doc --> | ||
4801 | * @generated | ||
4802 | */ | ||
4803 | EAttribute BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = eINSTANCE.getBoundedScopeDefinition_LowerBound(); | ||
4804 | |||
4805 | /** | ||
4806 | * The meta object literal for the '<em><b>Upper Bound</b></em>' attribute feature. | ||
4807 | * <!-- begin-user-doc --> | ||
4808 | * <!-- end-user-doc --> | ||
4809 | * @generated | ||
4810 | */ | ||
4811 | EAttribute BOUNDED_SCOPE_DEFINITION__UPPER_BOUND = eINSTANCE.getBoundedScopeDefinition_UpperBound(); | ||
4812 | |||
4813 | /** | ||
4814 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl <em>Lower Bounded Scope Definition</em>}' class. | ||
4815 | * <!-- begin-user-doc --> | ||
4816 | * <!-- end-user-doc --> | ||
4817 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl | ||
4818 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLowerBoundedScopeDefinition() | ||
4819 | * @generated | ||
4820 | */ | ||
4821 | EClass LOWER_BOUNDED_SCOPE_DEFINITION = eINSTANCE.getLowerBoundedScopeDefinition(); | ||
4822 | |||
4823 | /** | ||
4824 | * The meta object literal for the '<em><b>Lower Bound</b></em>' attribute feature. | ||
4825 | * <!-- begin-user-doc --> | ||
4826 | * <!-- end-user-doc --> | ||
4827 | * @generated | ||
4828 | */ | ||
4829 | EAttribute LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = eINSTANCE.getLowerBoundedScopeDefinition_LowerBound(); | ||
4830 | |||
4831 | /** | ||
4832 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl <em>Objective Definition</em>}' class. | ||
4833 | * <!-- begin-user-doc --> | ||
4834 | * <!-- end-user-doc --> | ||
4835 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl | ||
4836 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveDefinition() | ||
4837 | * @generated | ||
4838 | */ | ||
4839 | EClass OBJECTIVE_DEFINITION = eINSTANCE.getObjectiveDefinition(); | ||
4840 | |||
4841 | /** | ||
4842 | * The meta object literal for the '<em><b>Kind</b></em>' attribute feature. | ||
4843 | * <!-- begin-user-doc --> | ||
4844 | * <!-- end-user-doc --> | ||
4845 | * @generated | ||
4846 | */ | ||
4847 | EAttribute OBJECTIVE_DEFINITION__KIND = eINSTANCE.getObjectiveDefinition_Kind(); | ||
4848 | |||
4849 | /** | ||
4850 | * The meta object literal for the '<em><b>Objective</b></em>' containment reference feature. | ||
4851 | * <!-- begin-user-doc --> | ||
4852 | * <!-- end-user-doc --> | ||
4853 | * @generated | ||
4854 | */ | ||
4855 | EReference OBJECTIVE_DEFINITION__OBJECTIVE = eINSTANCE.getObjectiveDefinition_Objective(); | ||
4856 | |||
4857 | /** | ||
4858 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl <em>Interpretation</em>}' class. | ||
4859 | * <!-- begin-user-doc --> | ||
4860 | * <!-- end-user-doc --> | ||
4861 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl | ||
4862 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterpretation() | ||
4863 | * @generated | ||
4864 | */ | ||
4865 | EClass INTERPRETATION = eINSTANCE.getInterpretation(); | ||
4866 | |||
4867 | /** | ||
4868 | * The meta object literal for the '<em><b>Body</b></em>' containment reference feature. | ||
4869 | * <!-- begin-user-doc --> | ||
4870 | * <!-- end-user-doc --> | ||
4871 | * @generated | ||
4872 | */ | ||
4873 | EReference INTERPRETATION__BODY = eINSTANCE.getInterpretation_Body(); | ||
4874 | |||
4875 | /** | ||
4876 | * The meta object literal for the '<em><b>Range</b></em>' containment reference feature. | ||
4877 | * <!-- begin-user-doc --> | ||
4878 | * <!-- end-user-doc --> | ||
4879 | * @generated | ||
4880 | */ | ||
4881 | EReference INTERPRETATION__RANGE = eINSTANCE.getInterpretation_Range(); | ||
4882 | |||
4883 | /** | ||
4884 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl <em>Variable</em>}' class. | ||
4885 | * <!-- begin-user-doc --> | ||
4886 | * <!-- end-user-doc --> | ||
4887 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl | ||
4888 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getVariable() | ||
4889 | * @generated | ||
4890 | */ | ||
4891 | EClass VARIABLE = eINSTANCE.getVariable(); | ||
4892 | |||
4893 | /** | ||
4894 | * The meta object literal for the '<em><b>Type</b></em>' reference feature. | ||
4895 | * <!-- begin-user-doc --> | ||
4896 | * <!-- end-user-doc --> | ||
4897 | * @generated | ||
4898 | */ | ||
4899 | EReference VARIABLE__TYPE = eINSTANCE.getVariable_Type(); | ||
4900 | |||
4901 | /** | ||
4902 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl <em>Disjunction</em>}' class. | ||
4903 | * <!-- begin-user-doc --> | ||
4904 | * <!-- end-user-doc --> | ||
4905 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl | ||
4906 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDisjunction() | ||
4907 | * @generated | ||
4908 | */ | ||
4909 | EClass DISJUNCTION = eINSTANCE.getDisjunction(); | ||
4910 | |||
4911 | /** | ||
4912 | * The meta object literal for the '<em><b>Children</b></em>' containment reference list feature. | ||
4913 | * <!-- begin-user-doc --> | ||
4914 | * <!-- end-user-doc --> | ||
4915 | * @generated | ||
4916 | */ | ||
4917 | EReference DISJUNCTION__CHILDREN = eINSTANCE.getDisjunction_Children(); | ||
4918 | |||
4919 | /** | ||
4920 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl <em>Switch</em>}' class. | ||
4921 | * <!-- begin-user-doc --> | ||
4922 | * <!-- end-user-doc --> | ||
4923 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl | ||
4924 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSwitch() | ||
4925 | * @generated | ||
4926 | */ | ||
4927 | EClass SWITCH = eINSTANCE.getSwitch(); | ||
4928 | |||
4929 | /** | ||
4930 | * The meta object literal for the '<em><b>Cases</b></em>' containment reference list feature. | ||
4931 | * <!-- begin-user-doc --> | ||
4932 | * <!-- end-user-doc --> | ||
4933 | * @generated | ||
4934 | */ | ||
4935 | EReference SWITCH__CASES = eINSTANCE.getSwitch_Cases(); | ||
4936 | |||
4937 | /** | ||
4938 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl <em>Conjunction</em>}' class. | ||
4939 | * <!-- begin-user-doc --> | ||
4940 | * <!-- end-user-doc --> | ||
4941 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl | ||
4942 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConjunction() | ||
4943 | * @generated | ||
4944 | */ | ||
4945 | EClass CONJUNCTION = eINSTANCE.getConjunction(); | ||
4946 | |||
4947 | /** | ||
4948 | * The meta object literal for the '<em><b>Children</b></em>' containment reference list feature. | ||
4949 | * <!-- begin-user-doc --> | ||
4950 | * <!-- end-user-doc --> | ||
4951 | * @generated | ||
4952 | */ | ||
4953 | EReference CONJUNCTION__CHILDREN = eINSTANCE.getConjunction_Children(); | ||
4954 | |||
4955 | /** | ||
4956 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl <em>Comparison</em>}' class. | ||
4957 | * <!-- begin-user-doc --> | ||
4958 | * <!-- end-user-doc --> | ||
4959 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl | ||
4960 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getComparison() | ||
4961 | * @generated | ||
4962 | */ | ||
4963 | EClass COMPARISON = eINSTANCE.getComparison(); | ||
4964 | |||
4965 | /** | ||
4966 | * The meta object literal for the '<em><b>Left</b></em>' containment reference feature. | ||
4967 | * <!-- begin-user-doc --> | ||
4968 | * <!-- end-user-doc --> | ||
4969 | * @generated | ||
4970 | */ | ||
4971 | EReference COMPARISON__LEFT = eINSTANCE.getComparison_Left(); | ||
4972 | |||
4973 | /** | ||
4974 | * The meta object literal for the '<em><b>Op</b></em>' attribute feature. | ||
4975 | * <!-- begin-user-doc --> | ||
4976 | * <!-- end-user-doc --> | ||
4977 | * @generated | ||
4978 | */ | ||
4979 | EAttribute COMPARISON__OP = eINSTANCE.getComparison_Op(); | ||
4980 | |||
4981 | /** | ||
4982 | * The meta object literal for the '<em><b>Right</b></em>' containment reference feature. | ||
4983 | * <!-- begin-user-doc --> | ||
4984 | * <!-- end-user-doc --> | ||
4985 | * @generated | ||
4986 | */ | ||
4987 | EReference COMPARISON__RIGHT = eINSTANCE.getComparison_Right(); | ||
4988 | |||
4989 | /** | ||
4990 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl <em>Binary Expression</em>}' class. | ||
4991 | * <!-- begin-user-doc --> | ||
4992 | * <!-- end-user-doc --> | ||
4993 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl | ||
4994 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryExpression() | ||
4995 | * @generated | ||
4996 | */ | ||
4997 | EClass BINARY_EXPRESSION = eINSTANCE.getBinaryExpression(); | ||
4998 | |||
4999 | /** | ||
5000 | * The meta object literal for the '<em><b>Left</b></em>' containment reference feature. | ||
5001 | * <!-- begin-user-doc --> | ||
5002 | * <!-- end-user-doc --> | ||
5003 | * @generated | ||
5004 | */ | ||
5005 | EReference BINARY_EXPRESSION__LEFT = eINSTANCE.getBinaryExpression_Left(); | ||
5006 | |||
5007 | /** | ||
5008 | * The meta object literal for the '<em><b>Op</b></em>' attribute feature. | ||
5009 | * <!-- begin-user-doc --> | ||
5010 | * <!-- end-user-doc --> | ||
5011 | * @generated | ||
5012 | */ | ||
5013 | EAttribute BINARY_EXPRESSION__OP = eINSTANCE.getBinaryExpression_Op(); | ||
5014 | |||
5015 | /** | ||
5016 | * The meta object literal for the '<em><b>Right</b></em>' containment reference feature. | ||
5017 | * <!-- begin-user-doc --> | ||
5018 | * <!-- end-user-doc --> | ||
5019 | * @generated | ||
5020 | */ | ||
5021 | EReference BINARY_EXPRESSION__RIGHT = eINSTANCE.getBinaryExpression_Right(); | ||
5022 | |||
5023 | /** | ||
5024 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl <em>Cast Expression</em>}' class. | ||
5025 | * <!-- begin-user-doc --> | ||
5026 | * <!-- end-user-doc --> | ||
5027 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl | ||
5028 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCastExpression() | ||
5029 | * @generated | ||
5030 | */ | ||
5031 | EClass CAST_EXPRESSION = eINSTANCE.getCastExpression(); | ||
5032 | |||
5033 | /** | ||
5034 | * The meta object literal for the '<em><b>Body</b></em>' containment reference feature. | ||
5035 | * <!-- begin-user-doc --> | ||
5036 | * <!-- end-user-doc --> | ||
5037 | * @generated | ||
5038 | */ | ||
5039 | EReference CAST_EXPRESSION__BODY = eINSTANCE.getCastExpression_Body(); | ||
5040 | |||
5041 | /** | ||
5042 | * The meta object literal for the '<em><b>Type</b></em>' reference feature. | ||
5043 | * <!-- begin-user-doc --> | ||
5044 | * <!-- end-user-doc --> | ||
5045 | * @generated | ||
5046 | */ | ||
5047 | EReference CAST_EXPRESSION__TYPE = eINSTANCE.getCastExpression_Type(); | ||
5048 | |||
5049 | /** | ||
5050 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl <em>Unary Expression</em>}' class. | ||
5051 | * <!-- begin-user-doc --> | ||
5052 | * <!-- end-user-doc --> | ||
5053 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl | ||
5054 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryExpression() | ||
5055 | * @generated | ||
5056 | */ | ||
5057 | EClass UNARY_EXPRESSION = eINSTANCE.getUnaryExpression(); | ||
5058 | |||
5059 | /** | ||
5060 | * The meta object literal for the '<em><b>Op</b></em>' attribute feature. | ||
5061 | * <!-- begin-user-doc --> | ||
5062 | * <!-- end-user-doc --> | ||
5063 | * @generated | ||
5064 | */ | ||
5065 | EAttribute UNARY_EXPRESSION__OP = eINSTANCE.getUnaryExpression_Op(); | ||
5066 | |||
5067 | /** | ||
5068 | * The meta object literal for the '<em><b>Body</b></em>' containment reference feature. | ||
5069 | * <!-- begin-user-doc --> | ||
5070 | * <!-- end-user-doc --> | ||
5071 | * @generated | ||
5072 | */ | ||
5073 | EReference UNARY_EXPRESSION__BODY = eINSTANCE.getUnaryExpression_Body(); | ||
5074 | |||
5075 | /** | ||
5076 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl <em>Node</em>}' class. | ||
5077 | * <!-- begin-user-doc --> | ||
5078 | * <!-- end-user-doc --> | ||
5079 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl | ||
5080 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNode() | ||
5081 | * @generated | ||
5082 | */ | ||
5083 | EClass NODE = eINSTANCE.getNode(); | ||
5084 | |||
5085 | /** | ||
5086 | * The meta object literal for the '<em><b>With Id</b></em>' attribute feature. | ||
5087 | * <!-- begin-user-doc --> | ||
5088 | * <!-- end-user-doc --> | ||
5089 | * @generated | ||
5090 | */ | ||
5091 | EAttribute NODE__WITH_ID = eINSTANCE.getNode_WithId(); | ||
5092 | |||
5093 | /** | ||
5094 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl <em>Functor</em>}' class. | ||
5095 | * <!-- begin-user-doc --> | ||
5096 | * <!-- end-user-doc --> | ||
5097 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl | ||
5098 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunctor() | ||
5099 | * @generated | ||
5100 | */ | ||
5101 | EClass FUNCTOR = eINSTANCE.getFunctor(); | ||
5102 | |||
5103 | /** | ||
5104 | * The meta object literal for the '<em><b>Parameters</b></em>' reference list feature. | ||
5105 | * <!-- begin-user-doc --> | ||
5106 | * <!-- end-user-doc --> | ||
5107 | * @generated | ||
5108 | */ | ||
5109 | EReference FUNCTOR__PARAMETERS = eINSTANCE.getFunctor_Parameters(); | ||
5110 | |||
5111 | /** | ||
5112 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl <em>Predicate</em>}' class. | ||
5113 | * <!-- begin-user-doc --> | ||
5114 | * <!-- end-user-doc --> | ||
5115 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl | ||
5116 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicate() | ||
5117 | * @generated | ||
5118 | */ | ||
5119 | EClass PREDICATE = eINSTANCE.getPredicate(); | ||
5120 | |||
5121 | /** | ||
5122 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl <em>Metric</em>}' class. | ||
5123 | * <!-- begin-user-doc --> | ||
5124 | * <!-- end-user-doc --> | ||
5125 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl | ||
5126 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetric() | ||
5127 | * @generated | ||
5128 | */ | ||
5129 | EClass METRIC = eINSTANCE.getMetric(); | ||
5130 | |||
5131 | /** | ||
5132 | * The meta object literal for the '<em><b>Return Type</b></em>' reference feature. | ||
5133 | * <!-- begin-user-doc --> | ||
5134 | * <!-- end-user-doc --> | ||
5135 | * @generated | ||
5136 | */ | ||
5137 | EReference METRIC__RETURN_TYPE = eINSTANCE.getMetric_ReturnType(); | ||
5138 | |||
5139 | /** | ||
5140 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator <em>Binary Operator</em>}' enum. | ||
5141 | * <!-- begin-user-doc --> | ||
5142 | * <!-- end-user-doc --> | ||
5143 | * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator | ||
5144 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryOperator() | ||
5145 | * @generated | ||
5146 | */ | ||
5147 | EEnum BINARY_OPERATOR = eINSTANCE.getBinaryOperator(); | ||
5148 | |||
5149 | /** | ||
5150 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp <em>Unary Op</em>}' enum. | ||
5151 | * <!-- begin-user-doc --> | ||
5152 | * <!-- end-user-doc --> | ||
5153 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp | ||
5154 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryOp() | ||
5155 | * @generated | ||
5156 | */ | ||
5157 | EEnum UNARY_OP = eINSTANCE.getUnaryOp(); | ||
5158 | |||
5159 | /** | ||
5160 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue <em>Logic Value</em>}' enum. | ||
5161 | * <!-- begin-user-doc --> | ||
5162 | * <!-- end-user-doc --> | ||
5163 | * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue | ||
5164 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicValue() | ||
5165 | * @generated | ||
5166 | */ | ||
5167 | EEnum LOGIC_VALUE = eINSTANCE.getLogicValue(); | ||
5168 | |||
5169 | /** | ||
5170 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind <em>Objective Kind</em>}' enum. | ||
5171 | * <!-- begin-user-doc --> | ||
5172 | * <!-- end-user-doc --> | ||
5173 | * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind | ||
5174 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveKind() | ||
5175 | * @generated | ||
5176 | */ | ||
5177 | EEnum OBJECTIVE_KIND = eINSTANCE.getObjectiveKind(); | ||
5178 | |||
5179 | /** | ||
5180 | * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.Quantifier <em>Quantifier</em>}' enum. | ||
5181 | * <!-- begin-user-doc --> | ||
5182 | * <!-- end-user-doc --> | ||
5183 | * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier | ||
5184 | * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getQuantifier() | ||
5185 | * @generated | ||
5186 | */ | ||
5187 | EEnum QUANTIFIER = eINSTANCE.getQuantifier(); | ||
5188 | |||
5189 | } | ||
5190 | |||
5191 | } //SolverLanguagePackage | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java deleted file mode 100644 index 1abc7ea1..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Star Argument</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStarArgument() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface StarArgument extends Argument { | ||
18 | } // StarArgument | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java deleted file mode 100644 index 2dd89f73..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Statement</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * | ||
14 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStatement() | ||
15 | * @model | ||
16 | * @generated | ||
17 | */ | ||
18 | public interface Statement extends EObject { | ||
19 | } // Statement | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java deleted file mode 100644 index 7272e64a..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>String Literal</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue <em>Value</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStringLiteral() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface StringLiteral extends Literal { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>Value</em>' attribute. | ||
29 | * @see #setValue(String) | ||
30 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStringLiteral_Value() | ||
31 | * @model | ||
32 | * @generated | ||
33 | */ | ||
34 | String getValue(); | ||
35 | |||
36 | /** | ||
37 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue <em>Value</em>}' attribute. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @param value the new value of the '<em>Value</em>' attribute. | ||
41 | * @see #getValue() | ||
42 | * @generated | ||
43 | */ | ||
44 | void setValue(String value); | ||
45 | |||
46 | } // StringLiteral | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java deleted file mode 100644 index fc181c0b..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Switch</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases <em>Cases</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getSwitch() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface Switch extends Expression { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Cases</b></em>' containment reference list. | ||
27 | * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Case}. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Cases</em>' containment reference list. | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getSwitch_Cases() | ||
32 | * @model containment="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | EList<Case> getCases(); | ||
36 | |||
37 | } // Switch | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java deleted file mode 100644 index 04744ad9..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Typed Argument</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType <em>Type</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable <em>Variable</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface TypedArgument extends Argument { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Type</b></em>' reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Type</em>' reference. | ||
30 | * @see #setType(NamedElement) | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument_Type() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | NamedElement getType(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType <em>Type</em>}' reference. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Type</em>' reference. | ||
42 | * @see #getType() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setType(NamedElement value); | ||
46 | |||
47 | /** | ||
48 | * Returns the value of the '<em><b>Variable</b></em>' reference. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Variable</em>' reference. | ||
52 | * @see #setVariable(NamedElement) | ||
53 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument_Variable() | ||
54 | * @model | ||
55 | * @generated | ||
56 | */ | ||
57 | NamedElement getVariable(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable <em>Variable</em>}' reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Variable</em>' reference. | ||
64 | * @see #getVariable() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setVariable(NamedElement value); | ||
68 | |||
69 | } // TypedArgument | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java deleted file mode 100644 index 53a18217..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Typed Star Argument</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType <em>Type</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedStarArgument() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface TypedStarArgument extends Argument { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Type</b></em>' reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>Type</em>' reference. | ||
29 | * @see #setType(NamedElement) | ||
30 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedStarArgument_Type() | ||
31 | * @model | ||
32 | * @generated | ||
33 | */ | ||
34 | NamedElement getType(); | ||
35 | |||
36 | /** | ||
37 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType <em>Type</em>}' reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @param value the new value of the '<em>Type</em>' reference. | ||
41 | * @see #getType() | ||
42 | * @generated | ||
43 | */ | ||
44 | void setType(NamedElement value); | ||
45 | |||
46 | } // TypedStarArgument | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java deleted file mode 100644 index c0a1ddc7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Unary Expression</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp <em>Op</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody <em>Body</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface UnaryExpression extends Expression { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Op</b></em>' attribute. | ||
27 | * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp}. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return the value of the '<em>Op</em>' attribute. | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp | ||
32 | * @see #setOp(UnaryOp) | ||
33 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression_Op() | ||
34 | * @model | ||
35 | * @generated | ||
36 | */ | ||
37 | UnaryOp getOp(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp <em>Op</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Op</em>' attribute. | ||
44 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp | ||
45 | * @see #getOp() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setOp(UnaryOp value); | ||
49 | |||
50 | /** | ||
51 | * Returns the value of the '<em><b>Body</b></em>' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @return the value of the '<em>Body</em>' containment reference. | ||
55 | * @see #setBody(Expression) | ||
56 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression_Body() | ||
57 | * @model containment="true" | ||
58 | * @generated | ||
59 | */ | ||
60 | Expression getBody(); | ||
61 | |||
62 | /** | ||
63 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody <em>Body</em>}' containment reference. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @param value the new value of the '<em>Body</em>' containment reference. | ||
67 | * @see #getBody() | ||
68 | * @generated | ||
69 | */ | ||
70 | void setBody(Expression value); | ||
71 | |||
72 | } // UnaryExpression | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java deleted file mode 100644 index fad289b1..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java +++ /dev/null | |||
@@ -1,302 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | import java.util.Arrays; | ||
7 | import java.util.Collections; | ||
8 | import java.util.List; | ||
9 | |||
10 | import org.eclipse.emf.common.util.Enumerator; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * A representation of the literals of the enumeration '<em><b>Unary Op</b></em>', | ||
15 | * and utility methods for working with them. | ||
16 | * <!-- end-user-doc --> | ||
17 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryOp() | ||
18 | * @model | ||
19 | * @generated | ||
20 | */ | ||
21 | public enum UnaryOp implements Enumerator { | ||
22 | /** | ||
23 | * The '<em><b>NEG</b></em>' literal object. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @see #NEG_VALUE | ||
27 | * @generated | ||
28 | * @ordered | ||
29 | */ | ||
30 | NEG(0, "NEG", "!"), | ||
31 | |||
32 | /** | ||
33 | * The '<em><b>PLUS</b></em>' literal object. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #PLUS_VALUE | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | PLUS(1, "PLUS", "+"), | ||
41 | |||
42 | /** | ||
43 | * The '<em><b>MINUS</b></em>' literal object. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #MINUS_VALUE | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | MINUS(2, "MINUS", "-"), | ||
51 | |||
52 | /** | ||
53 | * The '<em><b>MAY</b></em>' literal object. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #MAY_VALUE | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | MAY(3, "MAY", "may"), | ||
61 | |||
62 | /** | ||
63 | * The '<em><b>MUST</b></em>' literal object. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @see #MUST_VALUE | ||
67 | * @generated | ||
68 | * @ordered | ||
69 | */ | ||
70 | MUST(4, "MUST", "must"), | ||
71 | |||
72 | /** | ||
73 | * The '<em><b>CURRENT</b></em>' literal object. | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @see #CURRENT_VALUE | ||
77 | * @generated | ||
78 | * @ordered | ||
79 | */ | ||
80 | CURRENT(5, "CURRENT", "current"); | ||
81 | |||
82 | /** | ||
83 | * The '<em><b>NEG</b></em>' literal value. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @see #NEG | ||
87 | * @model literal="!" | ||
88 | * @generated | ||
89 | * @ordered | ||
90 | */ | ||
91 | public static final int NEG_VALUE = 0; | ||
92 | |||
93 | /** | ||
94 | * The '<em><b>PLUS</b></em>' literal value. | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @see #PLUS | ||
98 | * @model literal="+" | ||
99 | * @generated | ||
100 | * @ordered | ||
101 | */ | ||
102 | public static final int PLUS_VALUE = 1; | ||
103 | |||
104 | /** | ||
105 | * The '<em><b>MINUS</b></em>' literal value. | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @see #MINUS | ||
109 | * @model literal="-" | ||
110 | * @generated | ||
111 | * @ordered | ||
112 | */ | ||
113 | public static final int MINUS_VALUE = 2; | ||
114 | |||
115 | /** | ||
116 | * The '<em><b>MAY</b></em>' literal value. | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @see #MAY | ||
120 | * @model literal="may" | ||
121 | * @generated | ||
122 | * @ordered | ||
123 | */ | ||
124 | public static final int MAY_VALUE = 3; | ||
125 | |||
126 | /** | ||
127 | * The '<em><b>MUST</b></em>' literal value. | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @see #MUST | ||
131 | * @model literal="must" | ||
132 | * @generated | ||
133 | * @ordered | ||
134 | */ | ||
135 | public static final int MUST_VALUE = 4; | ||
136 | |||
137 | /** | ||
138 | * The '<em><b>CURRENT</b></em>' literal value. | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @see #CURRENT | ||
142 | * @model literal="current" | ||
143 | * @generated | ||
144 | * @ordered | ||
145 | */ | ||
146 | public static final int CURRENT_VALUE = 5; | ||
147 | |||
148 | /** | ||
149 | * An array of all the '<em><b>Unary Op</b></em>' enumerators. | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | private static final UnaryOp[] VALUES_ARRAY = | ||
155 | new UnaryOp[] { | ||
156 | NEG, | ||
157 | PLUS, | ||
158 | MINUS, | ||
159 | MAY, | ||
160 | MUST, | ||
161 | CURRENT, | ||
162 | }; | ||
163 | |||
164 | /** | ||
165 | * A public read-only list of all the '<em><b>Unary Op</b></em>' enumerators. | ||
166 | * <!-- begin-user-doc --> | ||
167 | * <!-- end-user-doc --> | ||
168 | * @generated | ||
169 | */ | ||
170 | public static final List<UnaryOp> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
171 | |||
172 | /** | ||
173 | * Returns the '<em><b>Unary Op</b></em>' literal with the specified literal value. | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @param literal the literal. | ||
177 | * @return the matching enumerator or <code>null</code>. | ||
178 | * @generated | ||
179 | */ | ||
180 | public static UnaryOp get(String literal) { | ||
181 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
182 | UnaryOp result = VALUES_ARRAY[i]; | ||
183 | if (result.toString().equals(literal)) { | ||
184 | return result; | ||
185 | } | ||
186 | } | ||
187 | return null; | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * Returns the '<em><b>Unary Op</b></em>' literal with the specified name. | ||
192 | * <!-- begin-user-doc --> | ||
193 | * <!-- end-user-doc --> | ||
194 | * @param name the name. | ||
195 | * @return the matching enumerator or <code>null</code>. | ||
196 | * @generated | ||
197 | */ | ||
198 | public static UnaryOp getByName(String name) { | ||
199 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
200 | UnaryOp result = VALUES_ARRAY[i]; | ||
201 | if (result.getName().equals(name)) { | ||
202 | return result; | ||
203 | } | ||
204 | } | ||
205 | return null; | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * Returns the '<em><b>Unary Op</b></em>' literal with the specified integer value. | ||
210 | * <!-- begin-user-doc --> | ||
211 | * <!-- end-user-doc --> | ||
212 | * @param value the integer value. | ||
213 | * @return the matching enumerator or <code>null</code>. | ||
214 | * @generated | ||
215 | */ | ||
216 | public static UnaryOp get(int value) { | ||
217 | switch (value) { | ||
218 | case NEG_VALUE: return NEG; | ||
219 | case PLUS_VALUE: return PLUS; | ||
220 | case MINUS_VALUE: return MINUS; | ||
221 | case MAY_VALUE: return MAY; | ||
222 | case MUST_VALUE: return MUST; | ||
223 | case CURRENT_VALUE: return CURRENT; | ||
224 | } | ||
225 | return null; | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | */ | ||
233 | private final int value; | ||
234 | |||
235 | /** | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @generated | ||
239 | */ | ||
240 | private final String name; | ||
241 | |||
242 | /** | ||
243 | * <!-- begin-user-doc --> | ||
244 | * <!-- end-user-doc --> | ||
245 | * @generated | ||
246 | */ | ||
247 | private final String literal; | ||
248 | |||
249 | /** | ||
250 | * Only this class can construct instances. | ||
251 | * <!-- begin-user-doc --> | ||
252 | * <!-- end-user-doc --> | ||
253 | * @generated | ||
254 | */ | ||
255 | private UnaryOp(int value, String name, String literal) { | ||
256 | this.value = value; | ||
257 | this.name = name; | ||
258 | this.literal = literal; | ||
259 | } | ||
260 | |||
261 | /** | ||
262 | * <!-- begin-user-doc --> | ||
263 | * <!-- end-user-doc --> | ||
264 | * @generated | ||
265 | */ | ||
266 | @Override | ||
267 | public int getValue() { | ||
268 | return value; | ||
269 | } | ||
270 | |||
271 | /** | ||
272 | * <!-- begin-user-doc --> | ||
273 | * <!-- end-user-doc --> | ||
274 | * @generated | ||
275 | */ | ||
276 | @Override | ||
277 | public String getName() { | ||
278 | return name; | ||
279 | } | ||
280 | |||
281 | /** | ||
282 | * <!-- begin-user-doc --> | ||
283 | * <!-- end-user-doc --> | ||
284 | * @generated | ||
285 | */ | ||
286 | @Override | ||
287 | public String getLiteral() { | ||
288 | return literal; | ||
289 | } | ||
290 | |||
291 | /** | ||
292 | * Returns the literal value of the enumerator, which is its string representation. | ||
293 | * <!-- begin-user-doc --> | ||
294 | * <!-- end-user-doc --> | ||
295 | * @generated | ||
296 | */ | ||
297 | @Override | ||
298 | public String toString() { | ||
299 | return literal; | ||
300 | } | ||
301 | |||
302 | } //UnaryOp | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java deleted file mode 100644 index fd916c18..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Unnamed Error Prediate Definition</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList <em>Argument List</em>}</li> | ||
17 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody <em>Body</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPrediateDefinition() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface UnnamedErrorPrediateDefinition extends Statement { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Argument List</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Argument List</em>' containment reference. | ||
30 | * @see #setArgumentList(ArgumentList) | ||
31 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPrediateDefinition_ArgumentList() | ||
32 | * @model containment="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | ArgumentList getArgumentList(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList <em>Argument List</em>}' containment reference. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Argument List</em>' containment reference. | ||
42 | * @see #getArgumentList() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setArgumentList(ArgumentList value); | ||
46 | |||
47 | /** | ||
48 | * Returns the value of the '<em><b>Body</b></em>' containment reference. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Body</em>' containment reference. | ||
52 | * @see #setBody(Expression) | ||
53 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPrediateDefinition_Body() | ||
54 | * @model containment="true" | ||
55 | * @generated | ||
56 | */ | ||
57 | Expression getBody(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody <em>Body</em>}' containment reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Body</em>' containment reference. | ||
64 | * @see #getBody() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setBody(Expression value); | ||
68 | |||
69 | } // UnnamedErrorPrediateDefinition | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java deleted file mode 100644 index 581ce517..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Variable</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.Variable#getType <em>Type</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getVariable() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface Variable extends NamedElement { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Type</b></em>' reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>Type</em>' reference. | ||
29 | * @see #setType(NamedElement) | ||
30 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getVariable_Type() | ||
31 | * @model | ||
32 | * @generated | ||
33 | */ | ||
34 | NamedElement getType(); | ||
35 | |||
36 | /** | ||
37 | * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable#getType <em>Type</em>}' reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @param value the new value of the '<em>Type</em>' reference. | ||
41 | * @see #getType() | ||
42 | * @generated | ||
43 | */ | ||
44 | void setType(NamedElement value); | ||
45 | |||
46 | } // Variable | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java deleted file mode 100644 index 0f0262df..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java +++ /dev/null | |||
@@ -1,378 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Aggregation; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
18 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
19 | |||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * An implementation of the model object '<em><b>Aggregation</b></em>'. | ||
23 | * <!-- end-user-doc --> | ||
24 | * <p> | ||
25 | * The following features are implemented: | ||
26 | * </p> | ||
27 | * <ul> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getOp <em>Op</em>}</li> | ||
29 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getLocalVariables <em>Local Variables</em>}</li> | ||
30 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getBody <em>Body</em>}</li> | ||
31 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getCondition <em>Condition</em>}</li> | ||
32 | * </ul> | ||
33 | * | ||
34 | * @generated | ||
35 | */ | ||
36 | public class AggregationImpl extends ExpressionImpl implements Aggregation { | ||
37 | /** | ||
38 | * The cached value of the '{@link #getOp() <em>Op</em>}' reference. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getOp() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected NamedElement op; | ||
46 | |||
47 | /** | ||
48 | * The cached value of the '{@link #getLocalVariables() <em>Local Variables</em>}' containment reference. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @see #getLocalVariables() | ||
52 | * @generated | ||
53 | * @ordered | ||
54 | */ | ||
55 | protected LocalVariables localVariables; | ||
56 | |||
57 | /** | ||
58 | * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference. | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @see #getBody() | ||
62 | * @generated | ||
63 | * @ordered | ||
64 | */ | ||
65 | protected Expression body; | ||
66 | |||
67 | /** | ||
68 | * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @see #getCondition() | ||
72 | * @generated | ||
73 | * @ordered | ||
74 | */ | ||
75 | protected Expression condition; | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | protected AggregationImpl() { | ||
83 | super(); | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | @Override | ||
92 | protected EClass eStaticClass() { | ||
93 | return SolverLanguagePackage.Literals.AGGREGATION; | ||
94 | } | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | @Override | ||
102 | public NamedElement getOp() { | ||
103 | if (op != null && op.eIsProxy()) { | ||
104 | InternalEObject oldOp = (InternalEObject)op; | ||
105 | op = (NamedElement)eResolveProxy(oldOp); | ||
106 | if (op != oldOp) { | ||
107 | if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.AGGREGATION__OP, oldOp, op)); | ||
109 | } | ||
110 | } | ||
111 | return op; | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public NamedElement basicGetOp() { | ||
120 | return op; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public void setOp(NamedElement newOp) { | ||
130 | NamedElement oldOp = op; | ||
131 | op = newOp; | ||
132 | if (eNotificationRequired()) | ||
133 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__OP, oldOp, op)); | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | @Override | ||
142 | public LocalVariables getLocalVariables() { | ||
143 | return localVariables; | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | public NotificationChain basicSetLocalVariables(LocalVariables newLocalVariables, NotificationChain msgs) { | ||
152 | LocalVariables oldLocalVariables = localVariables; | ||
153 | localVariables = newLocalVariables; | ||
154 | if (eNotificationRequired()) { | ||
155 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES, oldLocalVariables, newLocalVariables); | ||
156 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
157 | } | ||
158 | return msgs; | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void setLocalVariables(LocalVariables newLocalVariables) { | ||
168 | if (newLocalVariables != localVariables) { | ||
169 | NotificationChain msgs = null; | ||
170 | if (localVariables != null) | ||
171 | msgs = ((InternalEObject)localVariables).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES, null, msgs); | ||
172 | if (newLocalVariables != null) | ||
173 | msgs = ((InternalEObject)newLocalVariables).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES, null, msgs); | ||
174 | msgs = basicSetLocalVariables(newLocalVariables, msgs); | ||
175 | if (msgs != null) msgs.dispatch(); | ||
176 | } | ||
177 | else if (eNotificationRequired()) | ||
178 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES, newLocalVariables, newLocalVariables)); | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | @Override | ||
187 | public Expression getBody() { | ||
188 | return body; | ||
189 | } | ||
190 | |||
191 | /** | ||
192 | * <!-- begin-user-doc --> | ||
193 | * <!-- end-user-doc --> | ||
194 | * @generated | ||
195 | */ | ||
196 | public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { | ||
197 | Expression oldBody = body; | ||
198 | body = newBody; | ||
199 | if (eNotificationRequired()) { | ||
200 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__BODY, oldBody, newBody); | ||
201 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
202 | } | ||
203 | return msgs; | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void setBody(Expression newBody) { | ||
213 | if (newBody != body) { | ||
214 | NotificationChain msgs = null; | ||
215 | if (body != null) | ||
216 | msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__BODY, null, msgs); | ||
217 | if (newBody != null) | ||
218 | msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__BODY, null, msgs); | ||
219 | msgs = basicSetBody(newBody, msgs); | ||
220 | if (msgs != null) msgs.dispatch(); | ||
221 | } | ||
222 | else if (eNotificationRequired()) | ||
223 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__BODY, newBody, newBody)); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public Expression getCondition() { | ||
233 | return condition; | ||
234 | } | ||
235 | |||
236 | /** | ||
237 | * <!-- begin-user-doc --> | ||
238 | * <!-- end-user-doc --> | ||
239 | * @generated | ||
240 | */ | ||
241 | public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) { | ||
242 | Expression oldCondition = condition; | ||
243 | condition = newCondition; | ||
244 | if (eNotificationRequired()) { | ||
245 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__CONDITION, oldCondition, newCondition); | ||
246 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
247 | } | ||
248 | return msgs; | ||
249 | } | ||
250 | |||
251 | /** | ||
252 | * <!-- begin-user-doc --> | ||
253 | * <!-- end-user-doc --> | ||
254 | * @generated | ||
255 | */ | ||
256 | @Override | ||
257 | public void setCondition(Expression newCondition) { | ||
258 | if (newCondition != condition) { | ||
259 | NotificationChain msgs = null; | ||
260 | if (condition != null) | ||
261 | msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__CONDITION, null, msgs); | ||
262 | if (newCondition != null) | ||
263 | msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__CONDITION, null, msgs); | ||
264 | msgs = basicSetCondition(newCondition, msgs); | ||
265 | if (msgs != null) msgs.dispatch(); | ||
266 | } | ||
267 | else if (eNotificationRequired()) | ||
268 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__CONDITION, newCondition, newCondition)); | ||
269 | } | ||
270 | |||
271 | /** | ||
272 | * <!-- begin-user-doc --> | ||
273 | * <!-- end-user-doc --> | ||
274 | * @generated | ||
275 | */ | ||
276 | @Override | ||
277 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
278 | switch (featureID) { | ||
279 | case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: | ||
280 | return basicSetLocalVariables(null, msgs); | ||
281 | case SolverLanguagePackage.AGGREGATION__BODY: | ||
282 | return basicSetBody(null, msgs); | ||
283 | case SolverLanguagePackage.AGGREGATION__CONDITION: | ||
284 | return basicSetCondition(null, msgs); | ||
285 | } | ||
286 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
287 | } | ||
288 | |||
289 | /** | ||
290 | * <!-- begin-user-doc --> | ||
291 | * <!-- end-user-doc --> | ||
292 | * @generated | ||
293 | */ | ||
294 | @Override | ||
295 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
296 | switch (featureID) { | ||
297 | case SolverLanguagePackage.AGGREGATION__OP: | ||
298 | if (resolve) return getOp(); | ||
299 | return basicGetOp(); | ||
300 | case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: | ||
301 | return getLocalVariables(); | ||
302 | case SolverLanguagePackage.AGGREGATION__BODY: | ||
303 | return getBody(); | ||
304 | case SolverLanguagePackage.AGGREGATION__CONDITION: | ||
305 | return getCondition(); | ||
306 | } | ||
307 | return super.eGet(featureID, resolve, coreType); | ||
308 | } | ||
309 | |||
310 | /** | ||
311 | * <!-- begin-user-doc --> | ||
312 | * <!-- end-user-doc --> | ||
313 | * @generated | ||
314 | */ | ||
315 | @Override | ||
316 | public void eSet(int featureID, Object newValue) { | ||
317 | switch (featureID) { | ||
318 | case SolverLanguagePackage.AGGREGATION__OP: | ||
319 | setOp((NamedElement)newValue); | ||
320 | return; | ||
321 | case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: | ||
322 | setLocalVariables((LocalVariables)newValue); | ||
323 | return; | ||
324 | case SolverLanguagePackage.AGGREGATION__BODY: | ||
325 | setBody((Expression)newValue); | ||
326 | return; | ||
327 | case SolverLanguagePackage.AGGREGATION__CONDITION: | ||
328 | setCondition((Expression)newValue); | ||
329 | return; | ||
330 | } | ||
331 | super.eSet(featureID, newValue); | ||
332 | } | ||
333 | |||
334 | /** | ||
335 | * <!-- begin-user-doc --> | ||
336 | * <!-- end-user-doc --> | ||
337 | * @generated | ||
338 | */ | ||
339 | @Override | ||
340 | public void eUnset(int featureID) { | ||
341 | switch (featureID) { | ||
342 | case SolverLanguagePackage.AGGREGATION__OP: | ||
343 | setOp((NamedElement)null); | ||
344 | return; | ||
345 | case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: | ||
346 | setLocalVariables((LocalVariables)null); | ||
347 | return; | ||
348 | case SolverLanguagePackage.AGGREGATION__BODY: | ||
349 | setBody((Expression)null); | ||
350 | return; | ||
351 | case SolverLanguagePackage.AGGREGATION__CONDITION: | ||
352 | setCondition((Expression)null); | ||
353 | return; | ||
354 | } | ||
355 | super.eUnset(featureID); | ||
356 | } | ||
357 | |||
358 | /** | ||
359 | * <!-- begin-user-doc --> | ||
360 | * <!-- end-user-doc --> | ||
361 | * @generated | ||
362 | */ | ||
363 | @Override | ||
364 | public boolean eIsSet(int featureID) { | ||
365 | switch (featureID) { | ||
366 | case SolverLanguagePackage.AGGREGATION__OP: | ||
367 | return op != null; | ||
368 | case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: | ||
369 | return localVariables != null; | ||
370 | case SolverLanguagePackage.AGGREGATION__BODY: | ||
371 | return body != null; | ||
372 | case SolverLanguagePackage.AGGREGATION__CONDITION: | ||
373 | return condition != null; | ||
374 | } | ||
375 | return super.eIsSet(featureID); | ||
376 | } | ||
377 | |||
378 | } //AggregationImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java deleted file mode 100644 index afd14afa..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | |||
8 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
9 | |||
10 | import org.eclipse.viatra.solver.language.solverLanguage.Argument; | ||
11 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Argument</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class ArgumentImpl extends MinimalEObjectImpl.Container implements Argument { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected ArgumentImpl() { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() { | ||
37 | return SolverLanguagePackage.Literals.ARGUMENT; | ||
38 | } | ||
39 | |||
40 | } //ArgumentImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java deleted file mode 100644 index fce298f1..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java +++ /dev/null | |||
@@ -1,154 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import java.util.Collection; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.NotificationChain; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
16 | |||
17 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
18 | import org.eclipse.emf.ecore.util.InternalEList; | ||
19 | |||
20 | import org.eclipse.viatra.solver.language.solverLanguage.Argument; | ||
21 | import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; | ||
22 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
23 | |||
24 | /** | ||
25 | * <!-- begin-user-doc --> | ||
26 | * An implementation of the model object '<em><b>Argument List</b></em>'. | ||
27 | * <!-- end-user-doc --> | ||
28 | * <p> | ||
29 | * The following features are implemented: | ||
30 | * </p> | ||
31 | * <ul> | ||
32 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl#getArguments <em>Arguments</em>}</li> | ||
33 | * </ul> | ||
34 | * | ||
35 | * @generated | ||
36 | */ | ||
37 | public class ArgumentListImpl extends MinimalEObjectImpl.Container implements ArgumentList { | ||
38 | /** | ||
39 | * The cached value of the '{@link #getArguments() <em>Arguments</em>}' containment reference list. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getArguments() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected EList<Argument> arguments; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected ArgumentListImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return SolverLanguagePackage.Literals.ARGUMENT_LIST; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | @Override | ||
73 | public EList<Argument> getArguments() { | ||
74 | if (arguments == null) { | ||
75 | arguments = new EObjectContainmentEList<Argument>(Argument.class, this, SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS); | ||
76 | } | ||
77 | return arguments; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | @Override | ||
86 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
87 | switch (featureID) { | ||
88 | case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: | ||
89 | return ((InternalEList<?>)getArguments()).basicRemove(otherEnd, msgs); | ||
90 | } | ||
91 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | @Override | ||
100 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
101 | switch (featureID) { | ||
102 | case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: | ||
103 | return getArguments(); | ||
104 | } | ||
105 | return super.eGet(featureID, resolve, coreType); | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | @SuppressWarnings("unchecked") | ||
114 | @Override | ||
115 | public void eSet(int featureID, Object newValue) { | ||
116 | switch (featureID) { | ||
117 | case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: | ||
118 | getArguments().clear(); | ||
119 | getArguments().addAll((Collection<? extends Argument>)newValue); | ||
120 | return; | ||
121 | } | ||
122 | super.eSet(featureID, newValue); | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | @Override | ||
131 | public void eUnset(int featureID) { | ||
132 | switch (featureID) { | ||
133 | case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: | ||
134 | getArguments().clear(); | ||
135 | return; | ||
136 | } | ||
137 | super.eUnset(featureID); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public boolean eIsSet(int featureID) { | ||
147 | switch (featureID) { | ||
148 | case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: | ||
149 | return arguments != null && !arguments.isEmpty(); | ||
150 | } | ||
151 | return super.eIsSet(featureID); | ||
152 | } | ||
153 | |||
154 | } //ArgumentListImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java deleted file mode 100644 index e85a40f9..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java +++ /dev/null | |||
@@ -1,317 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Binary Expression</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getLeft <em>Left</em>}</li> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getOp <em>Op</em>}</li> | ||
29 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getRight <em>Right</em>}</li> | ||
30 | * </ul> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class BinaryExpressionImpl extends ExpressionImpl implements BinaryExpression { | ||
35 | /** | ||
36 | * The cached value of the '{@link #getLeft() <em>Left</em>}' containment reference. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @see #getLeft() | ||
40 | * @generated | ||
41 | * @ordered | ||
42 | */ | ||
43 | protected Expression left; | ||
44 | |||
45 | /** | ||
46 | * The default value of the '{@link #getOp() <em>Op</em>}' attribute. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @see #getOp() | ||
50 | * @generated | ||
51 | * @ordered | ||
52 | */ | ||
53 | protected static final BinaryOperator OP_EDEFAULT = BinaryOperator.EQ; | ||
54 | |||
55 | /** | ||
56 | * The cached value of the '{@link #getOp() <em>Op</em>}' attribute. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @see #getOp() | ||
60 | * @generated | ||
61 | * @ordered | ||
62 | */ | ||
63 | protected BinaryOperator op = OP_EDEFAULT; | ||
64 | |||
65 | /** | ||
66 | * The cached value of the '{@link #getRight() <em>Right</em>}' containment reference. | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @see #getRight() | ||
70 | * @generated | ||
71 | * @ordered | ||
72 | */ | ||
73 | protected Expression right; | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | protected BinaryExpressionImpl() { | ||
81 | super(); | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | @Override | ||
90 | protected EClass eStaticClass() { | ||
91 | return SolverLanguagePackage.Literals.BINARY_EXPRESSION; | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | @Override | ||
100 | public Expression getLeft() { | ||
101 | return left; | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) { | ||
110 | Expression oldLeft = left; | ||
111 | left = newLeft; | ||
112 | if (eNotificationRequired()) { | ||
113 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__LEFT, oldLeft, newLeft); | ||
114 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
115 | } | ||
116 | return msgs; | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public void setLeft(Expression newLeft) { | ||
126 | if (newLeft != left) { | ||
127 | NotificationChain msgs = null; | ||
128 | if (left != null) | ||
129 | msgs = ((InternalEObject)left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__LEFT, null, msgs); | ||
130 | if (newLeft != null) | ||
131 | msgs = ((InternalEObject)newLeft).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__LEFT, null, msgs); | ||
132 | msgs = basicSetLeft(newLeft, msgs); | ||
133 | if (msgs != null) msgs.dispatch(); | ||
134 | } | ||
135 | else if (eNotificationRequired()) | ||
136 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__LEFT, newLeft, newLeft)); | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | @Override | ||
145 | public BinaryOperator getOp() { | ||
146 | return op; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public void setOp(BinaryOperator newOp) { | ||
156 | BinaryOperator oldOp = op; | ||
157 | op = newOp == null ? OP_EDEFAULT : newOp; | ||
158 | if (eNotificationRequired()) | ||
159 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__OP, oldOp, op)); | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | @Override | ||
168 | public Expression getRight() { | ||
169 | return right; | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | */ | ||
177 | public NotificationChain basicSetRight(Expression newRight, NotificationChain msgs) { | ||
178 | Expression oldRight = right; | ||
179 | right = newRight; | ||
180 | if (eNotificationRequired()) { | ||
181 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, oldRight, newRight); | ||
182 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
183 | } | ||
184 | return msgs; | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @generated | ||
191 | */ | ||
192 | @Override | ||
193 | public void setRight(Expression newRight) { | ||
194 | if (newRight != right) { | ||
195 | NotificationChain msgs = null; | ||
196 | if (right != null) | ||
197 | msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, null, msgs); | ||
198 | if (newRight != null) | ||
199 | msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, null, msgs); | ||
200 | msgs = basicSetRight(newRight, msgs); | ||
201 | if (msgs != null) msgs.dispatch(); | ||
202 | } | ||
203 | else if (eNotificationRequired()) | ||
204 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, newRight, newRight)); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
214 | switch (featureID) { | ||
215 | case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: | ||
216 | return basicSetLeft(null, msgs); | ||
217 | case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: | ||
218 | return basicSetRight(null, msgs); | ||
219 | } | ||
220 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @generated | ||
227 | */ | ||
228 | @Override | ||
229 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
230 | switch (featureID) { | ||
231 | case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: | ||
232 | return getLeft(); | ||
233 | case SolverLanguagePackage.BINARY_EXPRESSION__OP: | ||
234 | return getOp(); | ||
235 | case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: | ||
236 | return getRight(); | ||
237 | } | ||
238 | return super.eGet(featureID, resolve, coreType); | ||
239 | } | ||
240 | |||
241 | /** | ||
242 | * <!-- begin-user-doc --> | ||
243 | * <!-- end-user-doc --> | ||
244 | * @generated | ||
245 | */ | ||
246 | @Override | ||
247 | public void eSet(int featureID, Object newValue) { | ||
248 | switch (featureID) { | ||
249 | case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: | ||
250 | setLeft((Expression)newValue); | ||
251 | return; | ||
252 | case SolverLanguagePackage.BINARY_EXPRESSION__OP: | ||
253 | setOp((BinaryOperator)newValue); | ||
254 | return; | ||
255 | case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: | ||
256 | setRight((Expression)newValue); | ||
257 | return; | ||
258 | } | ||
259 | super.eSet(featureID, newValue); | ||
260 | } | ||
261 | |||
262 | /** | ||
263 | * <!-- begin-user-doc --> | ||
264 | * <!-- end-user-doc --> | ||
265 | * @generated | ||
266 | */ | ||
267 | @Override | ||
268 | public void eUnset(int featureID) { | ||
269 | switch (featureID) { | ||
270 | case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: | ||
271 | setLeft((Expression)null); | ||
272 | return; | ||
273 | case SolverLanguagePackage.BINARY_EXPRESSION__OP: | ||
274 | setOp(OP_EDEFAULT); | ||
275 | return; | ||
276 | case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: | ||
277 | setRight((Expression)null); | ||
278 | return; | ||
279 | } | ||
280 | super.eUnset(featureID); | ||
281 | } | ||
282 | |||
283 | /** | ||
284 | * <!-- begin-user-doc --> | ||
285 | * <!-- end-user-doc --> | ||
286 | * @generated | ||
287 | */ | ||
288 | @Override | ||
289 | public boolean eIsSet(int featureID) { | ||
290 | switch (featureID) { | ||
291 | case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: | ||
292 | return left != null; | ||
293 | case SolverLanguagePackage.BINARY_EXPRESSION__OP: | ||
294 | return op != OP_EDEFAULT; | ||
295 | case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: | ||
296 | return right != null; | ||
297 | } | ||
298 | return super.eIsSet(featureID); | ||
299 | } | ||
300 | |||
301 | /** | ||
302 | * <!-- begin-user-doc --> | ||
303 | * <!-- end-user-doc --> | ||
304 | * @generated | ||
305 | */ | ||
306 | @Override | ||
307 | public String toString() { | ||
308 | if (eIsProxy()) return super.toString(); | ||
309 | |||
310 | StringBuilder result = new StringBuilder(super.toString()); | ||
311 | result.append(" (op: "); | ||
312 | result.append(op); | ||
313 | result.append(')'); | ||
314 | return result.toString(); | ||
315 | } | ||
316 | |||
317 | } //BinaryExpressionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java deleted file mode 100644 index 9b4f0385..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java +++ /dev/null | |||
@@ -1,221 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | |||
12 | import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity; | ||
13 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Bounded Multiplicity</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl#getLowerBound <em>Lower Bound</em>}</li> | ||
24 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl#getUpperBound <em>Upper Bound</em>}</li> | ||
25 | * </ul> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class BoundedMultiplicityImpl extends MultiplicityImpl implements BoundedMultiplicity { | ||
30 | /** | ||
31 | * The default value of the '{@link #getLowerBound() <em>Lower Bound</em>}' attribute. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @see #getLowerBound() | ||
35 | * @generated | ||
36 | * @ordered | ||
37 | */ | ||
38 | protected static final int LOWER_BOUND_EDEFAULT = 0; | ||
39 | |||
40 | /** | ||
41 | * The cached value of the '{@link #getLowerBound() <em>Lower Bound</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getLowerBound() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected int lowerBound = LOWER_BOUND_EDEFAULT; | ||
49 | |||
50 | /** | ||
51 | * The default value of the '{@link #getUpperBound() <em>Upper Bound</em>}' attribute. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @see #getUpperBound() | ||
55 | * @generated | ||
56 | * @ordered | ||
57 | */ | ||
58 | protected static final int UPPER_BOUND_EDEFAULT = 0; | ||
59 | |||
60 | /** | ||
61 | * The cached value of the '{@link #getUpperBound() <em>Upper Bound</em>}' attribute. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see #getUpperBound() | ||
65 | * @generated | ||
66 | * @ordered | ||
67 | */ | ||
68 | protected int upperBound = UPPER_BOUND_EDEFAULT; | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | protected BoundedMultiplicityImpl() { | ||
76 | super(); | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | @Override | ||
85 | protected EClass eStaticClass() { | ||
86 | return SolverLanguagePackage.Literals.BOUNDED_MULTIPLICITY; | ||
87 | } | ||
88 | |||
89 | /** | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @generated | ||
93 | */ | ||
94 | @Override | ||
95 | public int getLowerBound() { | ||
96 | return lowerBound; | ||
97 | } | ||
98 | |||
99 | /** | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | @Override | ||
105 | public void setLowerBound(int newLowerBound) { | ||
106 | int oldLowerBound = lowerBound; | ||
107 | lowerBound = newLowerBound; | ||
108 | if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND, oldLowerBound, lowerBound)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public int getUpperBound() { | ||
119 | return upperBound; | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public void setUpperBound(int newUpperBound) { | ||
129 | int oldUpperBound = upperBound; | ||
130 | upperBound = newUpperBound; | ||
131 | if (eNotificationRequired()) | ||
132 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND, oldUpperBound, upperBound)); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
142 | switch (featureID) { | ||
143 | case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: | ||
144 | return getLowerBound(); | ||
145 | case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: | ||
146 | return getUpperBound(); | ||
147 | } | ||
148 | return super.eGet(featureID, resolve, coreType); | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public void eSet(int featureID, Object newValue) { | ||
158 | switch (featureID) { | ||
159 | case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: | ||
160 | setLowerBound((Integer)newValue); | ||
161 | return; | ||
162 | case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: | ||
163 | setUpperBound((Integer)newValue); | ||
164 | return; | ||
165 | } | ||
166 | super.eSet(featureID, newValue); | ||
167 | } | ||
168 | |||
169 | /** | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @generated | ||
173 | */ | ||
174 | @Override | ||
175 | public void eUnset(int featureID) { | ||
176 | switch (featureID) { | ||
177 | case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: | ||
178 | setLowerBound(LOWER_BOUND_EDEFAULT); | ||
179 | return; | ||
180 | case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: | ||
181 | setUpperBound(UPPER_BOUND_EDEFAULT); | ||
182 | return; | ||
183 | } | ||
184 | super.eUnset(featureID); | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @generated | ||
191 | */ | ||
192 | @Override | ||
193 | public boolean eIsSet(int featureID) { | ||
194 | switch (featureID) { | ||
195 | case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: | ||
196 | return lowerBound != LOWER_BOUND_EDEFAULT; | ||
197 | case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: | ||
198 | return upperBound != UPPER_BOUND_EDEFAULT; | ||
199 | } | ||
200 | return super.eIsSet(featureID); | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * <!-- begin-user-doc --> | ||
205 | * <!-- end-user-doc --> | ||
206 | * @generated | ||
207 | */ | ||
208 | @Override | ||
209 | public String toString() { | ||
210 | if (eIsProxy()) return super.toString(); | ||
211 | |||
212 | StringBuilder result = new StringBuilder(super.toString()); | ||
213 | result.append(" (lowerBound: "); | ||
214 | result.append(lowerBound); | ||
215 | result.append(", upperBound: "); | ||
216 | result.append(upperBound); | ||
217 | result.append(')'); | ||
218 | return result.toString(); | ||
219 | } | ||
220 | |||
221 | } //BoundedMultiplicityImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java deleted file mode 100644 index 7d3a981e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java +++ /dev/null | |||
@@ -1,221 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | |||
12 | import org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition; | ||
13 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Bounded Scope Definition</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl#getLowerBound <em>Lower Bound</em>}</li> | ||
24 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl#getUpperBound <em>Upper Bound</em>}</li> | ||
25 | * </ul> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class BoundedScopeDefinitionImpl extends ScopeDefinitionImpl implements BoundedScopeDefinition { | ||
30 | /** | ||
31 | * The default value of the '{@link #getLowerBound() <em>Lower Bound</em>}' attribute. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @see #getLowerBound() | ||
35 | * @generated | ||
36 | * @ordered | ||
37 | */ | ||
38 | protected static final int LOWER_BOUND_EDEFAULT = 0; | ||
39 | |||
40 | /** | ||
41 | * The cached value of the '{@link #getLowerBound() <em>Lower Bound</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getLowerBound() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected int lowerBound = LOWER_BOUND_EDEFAULT; | ||
49 | |||
50 | /** | ||
51 | * The default value of the '{@link #getUpperBound() <em>Upper Bound</em>}' attribute. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @see #getUpperBound() | ||
55 | * @generated | ||
56 | * @ordered | ||
57 | */ | ||
58 | protected static final int UPPER_BOUND_EDEFAULT = 0; | ||
59 | |||
60 | /** | ||
61 | * The cached value of the '{@link #getUpperBound() <em>Upper Bound</em>}' attribute. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see #getUpperBound() | ||
65 | * @generated | ||
66 | * @ordered | ||
67 | */ | ||
68 | protected int upperBound = UPPER_BOUND_EDEFAULT; | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | protected BoundedScopeDefinitionImpl() { | ||
76 | super(); | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | @Override | ||
85 | protected EClass eStaticClass() { | ||
86 | return SolverLanguagePackage.Literals.BOUNDED_SCOPE_DEFINITION; | ||
87 | } | ||
88 | |||
89 | /** | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @generated | ||
93 | */ | ||
94 | @Override | ||
95 | public int getLowerBound() { | ||
96 | return lowerBound; | ||
97 | } | ||
98 | |||
99 | /** | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | @Override | ||
105 | public void setLowerBound(int newLowerBound) { | ||
106 | int oldLowerBound = lowerBound; | ||
107 | lowerBound = newLowerBound; | ||
108 | if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND, oldLowerBound, lowerBound)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public int getUpperBound() { | ||
119 | return upperBound; | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public void setUpperBound(int newUpperBound) { | ||
129 | int oldUpperBound = upperBound; | ||
130 | upperBound = newUpperBound; | ||
131 | if (eNotificationRequired()) | ||
132 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND, oldUpperBound, upperBound)); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
142 | switch (featureID) { | ||
143 | case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: | ||
144 | return getLowerBound(); | ||
145 | case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: | ||
146 | return getUpperBound(); | ||
147 | } | ||
148 | return super.eGet(featureID, resolve, coreType); | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public void eSet(int featureID, Object newValue) { | ||
158 | switch (featureID) { | ||
159 | case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: | ||
160 | setLowerBound((Integer)newValue); | ||
161 | return; | ||
162 | case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: | ||
163 | setUpperBound((Integer)newValue); | ||
164 | return; | ||
165 | } | ||
166 | super.eSet(featureID, newValue); | ||
167 | } | ||
168 | |||
169 | /** | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @generated | ||
173 | */ | ||
174 | @Override | ||
175 | public void eUnset(int featureID) { | ||
176 | switch (featureID) { | ||
177 | case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: | ||
178 | setLowerBound(LOWER_BOUND_EDEFAULT); | ||
179 | return; | ||
180 | case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: | ||
181 | setUpperBound(UPPER_BOUND_EDEFAULT); | ||
182 | return; | ||
183 | } | ||
184 | super.eUnset(featureID); | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @generated | ||
191 | */ | ||
192 | @Override | ||
193 | public boolean eIsSet(int featureID) { | ||
194 | switch (featureID) { | ||
195 | case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: | ||
196 | return lowerBound != LOWER_BOUND_EDEFAULT; | ||
197 | case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: | ||
198 | return upperBound != UPPER_BOUND_EDEFAULT; | ||
199 | } | ||
200 | return super.eIsSet(featureID); | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * <!-- begin-user-doc --> | ||
205 | * <!-- end-user-doc --> | ||
206 | * @generated | ||
207 | */ | ||
208 | @Override | ||
209 | public String toString() { | ||
210 | if (eIsProxy()) return super.toString(); | ||
211 | |||
212 | StringBuilder result = new StringBuilder(super.toString()); | ||
213 | result.append(" (lowerBound: "); | ||
214 | result.append(lowerBound); | ||
215 | result.append(", upperBound: "); | ||
216 | result.append(upperBound); | ||
217 | result.append(')'); | ||
218 | return result.toString(); | ||
219 | } | ||
220 | |||
221 | } //BoundedScopeDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java deleted file mode 100644 index bbc2dd4c..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java +++ /dev/null | |||
@@ -1,373 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.Call; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.Reference; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Call</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getFunctor <em>Functor</em>}</li> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#isTransitiveClosure <em>Transitive Closure</em>}</li> | ||
29 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#isReflexiveTransitiveClosure <em>Reflexive Transitive Closure</em>}</li> | ||
30 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getArgumentList <em>Argument List</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class CallImpl extends ExpressionImpl implements Call { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getFunctor() <em>Functor</em>}' containment reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getFunctor() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected Reference functor; | ||
45 | |||
46 | /** | ||
47 | * The default value of the '{@link #isTransitiveClosure() <em>Transitive Closure</em>}' attribute. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @see #isTransitiveClosure() | ||
51 | * @generated | ||
52 | * @ordered | ||
53 | */ | ||
54 | protected static final boolean TRANSITIVE_CLOSURE_EDEFAULT = false; | ||
55 | |||
56 | /** | ||
57 | * The cached value of the '{@link #isTransitiveClosure() <em>Transitive Closure</em>}' attribute. | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @see #isTransitiveClosure() | ||
61 | * @generated | ||
62 | * @ordered | ||
63 | */ | ||
64 | protected boolean transitiveClosure = TRANSITIVE_CLOSURE_EDEFAULT; | ||
65 | |||
66 | /** | ||
67 | * The default value of the '{@link #isReflexiveTransitiveClosure() <em>Reflexive Transitive Closure</em>}' attribute. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @see #isReflexiveTransitiveClosure() | ||
71 | * @generated | ||
72 | * @ordered | ||
73 | */ | ||
74 | protected static final boolean REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT = false; | ||
75 | |||
76 | /** | ||
77 | * The cached value of the '{@link #isReflexiveTransitiveClosure() <em>Reflexive Transitive Closure</em>}' attribute. | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @see #isReflexiveTransitiveClosure() | ||
81 | * @generated | ||
82 | * @ordered | ||
83 | */ | ||
84 | protected boolean reflexiveTransitiveClosure = REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT; | ||
85 | |||
86 | /** | ||
87 | * The cached value of the '{@link #getArgumentList() <em>Argument List</em>}' containment reference. | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @see #getArgumentList() | ||
91 | * @generated | ||
92 | * @ordered | ||
93 | */ | ||
94 | protected ArgumentList argumentList; | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | protected CallImpl() { | ||
102 | super(); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | protected EClass eStaticClass() { | ||
112 | return SolverLanguagePackage.Literals.CALL; | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | @Override | ||
121 | public Reference getFunctor() { | ||
122 | return functor; | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | public NotificationChain basicSetFunctor(Reference newFunctor, NotificationChain msgs) { | ||
131 | Reference oldFunctor = functor; | ||
132 | functor = newFunctor; | ||
133 | if (eNotificationRequired()) { | ||
134 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__FUNCTOR, oldFunctor, newFunctor); | ||
135 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
136 | } | ||
137 | return msgs; | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public void setFunctor(Reference newFunctor) { | ||
147 | if (newFunctor != functor) { | ||
148 | NotificationChain msgs = null; | ||
149 | if (functor != null) | ||
150 | msgs = ((InternalEObject)functor).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__FUNCTOR, null, msgs); | ||
151 | if (newFunctor != null) | ||
152 | msgs = ((InternalEObject)newFunctor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__FUNCTOR, null, msgs); | ||
153 | msgs = basicSetFunctor(newFunctor, msgs); | ||
154 | if (msgs != null) msgs.dispatch(); | ||
155 | } | ||
156 | else if (eNotificationRequired()) | ||
157 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__FUNCTOR, newFunctor, newFunctor)); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public boolean isTransitiveClosure() { | ||
167 | return transitiveClosure; | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public void setTransitiveClosure(boolean newTransitiveClosure) { | ||
177 | boolean oldTransitiveClosure = transitiveClosure; | ||
178 | transitiveClosure = newTransitiveClosure; | ||
179 | if (eNotificationRequired()) | ||
180 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE, oldTransitiveClosure, transitiveClosure)); | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @generated | ||
187 | */ | ||
188 | @Override | ||
189 | public boolean isReflexiveTransitiveClosure() { | ||
190 | return reflexiveTransitiveClosure; | ||
191 | } | ||
192 | |||
193 | /** | ||
194 | * <!-- begin-user-doc --> | ||
195 | * <!-- end-user-doc --> | ||
196 | * @generated | ||
197 | */ | ||
198 | @Override | ||
199 | public void setReflexiveTransitiveClosure(boolean newReflexiveTransitiveClosure) { | ||
200 | boolean oldReflexiveTransitiveClosure = reflexiveTransitiveClosure; | ||
201 | reflexiveTransitiveClosure = newReflexiveTransitiveClosure; | ||
202 | if (eNotificationRequired()) | ||
203 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE, oldReflexiveTransitiveClosure, reflexiveTransitiveClosure)); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public ArgumentList getArgumentList() { | ||
213 | return argumentList; | ||
214 | } | ||
215 | |||
216 | /** | ||
217 | * <!-- begin-user-doc --> | ||
218 | * <!-- end-user-doc --> | ||
219 | * @generated | ||
220 | */ | ||
221 | public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { | ||
222 | ArgumentList oldArgumentList = argumentList; | ||
223 | argumentList = newArgumentList; | ||
224 | if (eNotificationRequired()) { | ||
225 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, oldArgumentList, newArgumentList); | ||
226 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
227 | } | ||
228 | return msgs; | ||
229 | } | ||
230 | |||
231 | /** | ||
232 | * <!-- begin-user-doc --> | ||
233 | * <!-- end-user-doc --> | ||
234 | * @generated | ||
235 | */ | ||
236 | @Override | ||
237 | public void setArgumentList(ArgumentList newArgumentList) { | ||
238 | if (newArgumentList != argumentList) { | ||
239 | NotificationChain msgs = null; | ||
240 | if (argumentList != null) | ||
241 | msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs); | ||
242 | if (newArgumentList != null) | ||
243 | msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs); | ||
244 | msgs = basicSetArgumentList(newArgumentList, msgs); | ||
245 | if (msgs != null) msgs.dispatch(); | ||
246 | } | ||
247 | else if (eNotificationRequired()) | ||
248 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, newArgumentList, newArgumentList)); | ||
249 | } | ||
250 | |||
251 | /** | ||
252 | * <!-- begin-user-doc --> | ||
253 | * <!-- end-user-doc --> | ||
254 | * @generated | ||
255 | */ | ||
256 | @Override | ||
257 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
258 | switch (featureID) { | ||
259 | case SolverLanguagePackage.CALL__FUNCTOR: | ||
260 | return basicSetFunctor(null, msgs); | ||
261 | case SolverLanguagePackage.CALL__ARGUMENT_LIST: | ||
262 | return basicSetArgumentList(null, msgs); | ||
263 | } | ||
264 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
265 | } | ||
266 | |||
267 | /** | ||
268 | * <!-- begin-user-doc --> | ||
269 | * <!-- end-user-doc --> | ||
270 | * @generated | ||
271 | */ | ||
272 | @Override | ||
273 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
274 | switch (featureID) { | ||
275 | case SolverLanguagePackage.CALL__FUNCTOR: | ||
276 | return getFunctor(); | ||
277 | case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: | ||
278 | return isTransitiveClosure(); | ||
279 | case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: | ||
280 | return isReflexiveTransitiveClosure(); | ||
281 | case SolverLanguagePackage.CALL__ARGUMENT_LIST: | ||
282 | return getArgumentList(); | ||
283 | } | ||
284 | return super.eGet(featureID, resolve, coreType); | ||
285 | } | ||
286 | |||
287 | /** | ||
288 | * <!-- begin-user-doc --> | ||
289 | * <!-- end-user-doc --> | ||
290 | * @generated | ||
291 | */ | ||
292 | @Override | ||
293 | public void eSet(int featureID, Object newValue) { | ||
294 | switch (featureID) { | ||
295 | case SolverLanguagePackage.CALL__FUNCTOR: | ||
296 | setFunctor((Reference)newValue); | ||
297 | return; | ||
298 | case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: | ||
299 | setTransitiveClosure((Boolean)newValue); | ||
300 | return; | ||
301 | case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: | ||
302 | setReflexiveTransitiveClosure((Boolean)newValue); | ||
303 | return; | ||
304 | case SolverLanguagePackage.CALL__ARGUMENT_LIST: | ||
305 | setArgumentList((ArgumentList)newValue); | ||
306 | return; | ||
307 | } | ||
308 | super.eSet(featureID, newValue); | ||
309 | } | ||
310 | |||
311 | /** | ||
312 | * <!-- begin-user-doc --> | ||
313 | * <!-- end-user-doc --> | ||
314 | * @generated | ||
315 | */ | ||
316 | @Override | ||
317 | public void eUnset(int featureID) { | ||
318 | switch (featureID) { | ||
319 | case SolverLanguagePackage.CALL__FUNCTOR: | ||
320 | setFunctor((Reference)null); | ||
321 | return; | ||
322 | case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: | ||
323 | setTransitiveClosure(TRANSITIVE_CLOSURE_EDEFAULT); | ||
324 | return; | ||
325 | case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: | ||
326 | setReflexiveTransitiveClosure(REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT); | ||
327 | return; | ||
328 | case SolverLanguagePackage.CALL__ARGUMENT_LIST: | ||
329 | setArgumentList((ArgumentList)null); | ||
330 | return; | ||
331 | } | ||
332 | super.eUnset(featureID); | ||
333 | } | ||
334 | |||
335 | /** | ||
336 | * <!-- begin-user-doc --> | ||
337 | * <!-- end-user-doc --> | ||
338 | * @generated | ||
339 | */ | ||
340 | @Override | ||
341 | public boolean eIsSet(int featureID) { | ||
342 | switch (featureID) { | ||
343 | case SolverLanguagePackage.CALL__FUNCTOR: | ||
344 | return functor != null; | ||
345 | case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: | ||
346 | return transitiveClosure != TRANSITIVE_CLOSURE_EDEFAULT; | ||
347 | case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: | ||
348 | return reflexiveTransitiveClosure != REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT; | ||
349 | case SolverLanguagePackage.CALL__ARGUMENT_LIST: | ||
350 | return argumentList != null; | ||
351 | } | ||
352 | return super.eIsSet(featureID); | ||
353 | } | ||
354 | |||
355 | /** | ||
356 | * <!-- begin-user-doc --> | ||
357 | * <!-- end-user-doc --> | ||
358 | * @generated | ||
359 | */ | ||
360 | @Override | ||
361 | public String toString() { | ||
362 | if (eIsProxy()) return super.toString(); | ||
363 | |||
364 | StringBuilder result = new StringBuilder(super.toString()); | ||
365 | result.append(" (transitiveClosure: "); | ||
366 | result.append(transitiveClosure); | ||
367 | result.append(", reflexiveTransitiveClosure: "); | ||
368 | result.append(reflexiveTransitiveClosure); | ||
369 | result.append(')'); | ||
370 | return result.toString(); | ||
371 | } | ||
372 | |||
373 | } //CallImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java deleted file mode 100644 index d6905f3b..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java +++ /dev/null | |||
@@ -1,246 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Case; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Case</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl#getBody <em>Body</em>}</li> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl#getCondition <em>Condition</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class CaseImpl extends ExpressionImpl implements Case { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getBody() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected Expression body; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getCondition() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected Expression condition; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected CaseImpl() { | ||
59 | super(); | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | @Override | ||
68 | protected EClass eStaticClass() { | ||
69 | return SolverLanguagePackage.Literals.CASE; | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | @Override | ||
78 | public Expression getBody() { | ||
79 | return body; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { | ||
88 | Expression oldBody = body; | ||
89 | body = newBody; | ||
90 | if (eNotificationRequired()) { | ||
91 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__BODY, oldBody, newBody); | ||
92 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
93 | } | ||
94 | return msgs; | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public void setBody(Expression newBody) { | ||
104 | if (newBody != body) { | ||
105 | NotificationChain msgs = null; | ||
106 | if (body != null) | ||
107 | msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__BODY, null, msgs); | ||
108 | if (newBody != null) | ||
109 | msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__BODY, null, msgs); | ||
110 | msgs = basicSetBody(newBody, msgs); | ||
111 | if (msgs != null) msgs.dispatch(); | ||
112 | } | ||
113 | else if (eNotificationRequired()) | ||
114 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__BODY, newBody, newBody)); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public Expression getCondition() { | ||
124 | return condition; | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) { | ||
133 | Expression oldCondition = condition; | ||
134 | condition = newCondition; | ||
135 | if (eNotificationRequired()) { | ||
136 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__CONDITION, oldCondition, newCondition); | ||
137 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
138 | } | ||
139 | return msgs; | ||
140 | } | ||
141 | |||
142 | /** | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @generated | ||
146 | */ | ||
147 | @Override | ||
148 | public void setCondition(Expression newCondition) { | ||
149 | if (newCondition != condition) { | ||
150 | NotificationChain msgs = null; | ||
151 | if (condition != null) | ||
152 | msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__CONDITION, null, msgs); | ||
153 | if (newCondition != null) | ||
154 | msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__CONDITION, null, msgs); | ||
155 | msgs = basicSetCondition(newCondition, msgs); | ||
156 | if (msgs != null) msgs.dispatch(); | ||
157 | } | ||
158 | else if (eNotificationRequired()) | ||
159 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__CONDITION, newCondition, newCondition)); | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | @Override | ||
168 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
169 | switch (featureID) { | ||
170 | case SolverLanguagePackage.CASE__BODY: | ||
171 | return basicSetBody(null, msgs); | ||
172 | case SolverLanguagePackage.CASE__CONDITION: | ||
173 | return basicSetCondition(null, msgs); | ||
174 | } | ||
175 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
185 | switch (featureID) { | ||
186 | case SolverLanguagePackage.CASE__BODY: | ||
187 | return getBody(); | ||
188 | case SolverLanguagePackage.CASE__CONDITION: | ||
189 | return getCondition(); | ||
190 | } | ||
191 | return super.eGet(featureID, resolve, coreType); | ||
192 | } | ||
193 | |||
194 | /** | ||
195 | * <!-- begin-user-doc --> | ||
196 | * <!-- end-user-doc --> | ||
197 | * @generated | ||
198 | */ | ||
199 | @Override | ||
200 | public void eSet(int featureID, Object newValue) { | ||
201 | switch (featureID) { | ||
202 | case SolverLanguagePackage.CASE__BODY: | ||
203 | setBody((Expression)newValue); | ||
204 | return; | ||
205 | case SolverLanguagePackage.CASE__CONDITION: | ||
206 | setCondition((Expression)newValue); | ||
207 | return; | ||
208 | } | ||
209 | super.eSet(featureID, newValue); | ||
210 | } | ||
211 | |||
212 | /** | ||
213 | * <!-- begin-user-doc --> | ||
214 | * <!-- end-user-doc --> | ||
215 | * @generated | ||
216 | */ | ||
217 | @Override | ||
218 | public void eUnset(int featureID) { | ||
219 | switch (featureID) { | ||
220 | case SolverLanguagePackage.CASE__BODY: | ||
221 | setBody((Expression)null); | ||
222 | return; | ||
223 | case SolverLanguagePackage.CASE__CONDITION: | ||
224 | setCondition((Expression)null); | ||
225 | return; | ||
226 | } | ||
227 | super.eUnset(featureID); | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @generated | ||
234 | */ | ||
235 | @Override | ||
236 | public boolean eIsSet(int featureID) { | ||
237 | switch (featureID) { | ||
238 | case SolverLanguagePackage.CASE__BODY: | ||
239 | return body != null; | ||
240 | case SolverLanguagePackage.CASE__CONDITION: | ||
241 | return condition != null; | ||
242 | } | ||
243 | return super.eIsSet(featureID); | ||
244 | } | ||
245 | |||
246 | } //CaseImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java deleted file mode 100644 index 39e20e46..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java +++ /dev/null | |||
@@ -1,241 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.CastExpression; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Cast Expression</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl#getBody <em>Body</em>}</li> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl#getType <em>Type</em>}</li> | ||
29 | * </ul> | ||
30 | * | ||
31 | * @generated | ||
32 | */ | ||
33 | public class CastExpressionImpl extends ExpressionImpl implements CastExpression { | ||
34 | /** | ||
35 | * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getBody() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected Expression body; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getType() <em>Type</em>}' reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getType() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected NamedElement type; | ||
53 | |||
54 | /** | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | protected CastExpressionImpl() { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() { | ||
70 | return SolverLanguagePackage.Literals.CAST_EXPRESSION; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | @Override | ||
79 | public Expression getBody() { | ||
80 | return body; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { | ||
89 | Expression oldBody = body; | ||
90 | body = newBody; | ||
91 | if (eNotificationRequired()) { | ||
92 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CAST_EXPRESSION__BODY, oldBody, newBody); | ||
93 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
94 | } | ||
95 | return msgs; | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public void setBody(Expression newBody) { | ||
105 | if (newBody != body) { | ||
106 | NotificationChain msgs = null; | ||
107 | if (body != null) | ||
108 | msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CAST_EXPRESSION__BODY, null, msgs); | ||
109 | if (newBody != null) | ||
110 | msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CAST_EXPRESSION__BODY, null, msgs); | ||
111 | msgs = basicSetBody(newBody, msgs); | ||
112 | if (msgs != null) msgs.dispatch(); | ||
113 | } | ||
114 | else if (eNotificationRequired()) | ||
115 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CAST_EXPRESSION__BODY, newBody, newBody)); | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | @Override | ||
124 | public NamedElement getType() { | ||
125 | if (type != null && type.eIsProxy()) { | ||
126 | InternalEObject oldType = (InternalEObject)type; | ||
127 | type = (NamedElement)eResolveProxy(oldType); | ||
128 | if (type != oldType) { | ||
129 | if (eNotificationRequired()) | ||
130 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.CAST_EXPRESSION__TYPE, oldType, type)); | ||
131 | } | ||
132 | } | ||
133 | return type; | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | public NamedElement basicGetType() { | ||
142 | return type; | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public void setType(NamedElement newType) { | ||
152 | NamedElement oldType = type; | ||
153 | type = newType; | ||
154 | if (eNotificationRequired()) | ||
155 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CAST_EXPRESSION__TYPE, oldType, type)); | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | @Override | ||
164 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
165 | switch (featureID) { | ||
166 | case SolverLanguagePackage.CAST_EXPRESSION__BODY: | ||
167 | return basicSetBody(null, msgs); | ||
168 | } | ||
169 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | */ | ||
177 | @Override | ||
178 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
179 | switch (featureID) { | ||
180 | case SolverLanguagePackage.CAST_EXPRESSION__BODY: | ||
181 | return getBody(); | ||
182 | case SolverLanguagePackage.CAST_EXPRESSION__TYPE: | ||
183 | if (resolve) return getType(); | ||
184 | return basicGetType(); | ||
185 | } | ||
186 | return super.eGet(featureID, resolve, coreType); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public void eSet(int featureID, Object newValue) { | ||
196 | switch (featureID) { | ||
197 | case SolverLanguagePackage.CAST_EXPRESSION__BODY: | ||
198 | setBody((Expression)newValue); | ||
199 | return; | ||
200 | case SolverLanguagePackage.CAST_EXPRESSION__TYPE: | ||
201 | setType((NamedElement)newValue); | ||
202 | return; | ||
203 | } | ||
204 | super.eSet(featureID, newValue); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public void eUnset(int featureID) { | ||
214 | switch (featureID) { | ||
215 | case SolverLanguagePackage.CAST_EXPRESSION__BODY: | ||
216 | setBody((Expression)null); | ||
217 | return; | ||
218 | case SolverLanguagePackage.CAST_EXPRESSION__TYPE: | ||
219 | setType((NamedElement)null); | ||
220 | return; | ||
221 | } | ||
222 | super.eUnset(featureID); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public boolean eIsSet(int featureID) { | ||
232 | switch (featureID) { | ||
233 | case SolverLanguagePackage.CAST_EXPRESSION__BODY: | ||
234 | return body != null; | ||
235 | case SolverLanguagePackage.CAST_EXPRESSION__TYPE: | ||
236 | return type != null; | ||
237 | } | ||
238 | return super.eIsSet(featureID); | ||
239 | } | ||
240 | |||
241 | } //CastExpressionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java deleted file mode 100644 index 9fe48f0b..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java +++ /dev/null | |||
@@ -1,318 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import java.util.Collection; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | import org.eclipse.emf.common.notify.NotificationChain; | ||
10 | |||
11 | import org.eclipse.emf.common.util.EList; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.EObjectResolvingEList; | ||
20 | import org.eclipse.emf.ecore.util.InternalEList; | ||
21 | |||
22 | import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition; | ||
23 | import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; | ||
24 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
25 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * An implementation of the model object '<em><b>Class Definition</b></em>'. | ||
30 | * <!-- end-user-doc --> | ||
31 | * <p> | ||
32 | * The following features are implemented: | ||
33 | * </p> | ||
34 | * <ul> | ||
35 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#isAbstract <em>Abstract</em>}</li> | ||
36 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getName <em>Name</em>}</li> | ||
37 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getSuperclasses <em>Superclasses</em>}</li> | ||
38 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getMembers <em>Members</em>}</li> | ||
39 | * </ul> | ||
40 | * | ||
41 | * @generated | ||
42 | */ | ||
43 | public class ClassDefinitionImpl extends StatementImpl implements ClassDefinition { | ||
44 | /** | ||
45 | * The default value of the '{@link #isAbstract() <em>Abstract</em>}' attribute. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #isAbstract() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected static final boolean ABSTRACT_EDEFAULT = false; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #isAbstract() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected boolean abstract_ = ABSTRACT_EDEFAULT; | ||
63 | |||
64 | /** | ||
65 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @see #getName() | ||
69 | * @generated | ||
70 | * @ordered | ||
71 | */ | ||
72 | protected static final String NAME_EDEFAULT = null; | ||
73 | |||
74 | /** | ||
75 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @see #getName() | ||
79 | * @generated | ||
80 | * @ordered | ||
81 | */ | ||
82 | protected String name = NAME_EDEFAULT; | ||
83 | |||
84 | /** | ||
85 | * The cached value of the '{@link #getSuperclasses() <em>Superclasses</em>}' reference list. | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @see #getSuperclasses() | ||
89 | * @generated | ||
90 | * @ordered | ||
91 | */ | ||
92 | protected EList<NamedElement> superclasses; | ||
93 | |||
94 | /** | ||
95 | * The cached value of the '{@link #getMembers() <em>Members</em>}' containment reference list. | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @see #getMembers() | ||
99 | * @generated | ||
100 | * @ordered | ||
101 | */ | ||
102 | protected EList<MemberDefinition> members; | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | protected ClassDefinitionImpl() { | ||
110 | super(); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @Override | ||
119 | protected EClass eStaticClass() { | ||
120 | return SolverLanguagePackage.Literals.CLASS_DEFINITION; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public boolean isAbstract() { | ||
130 | return abstract_; | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public void setAbstract(boolean newAbstract) { | ||
140 | boolean oldAbstract = abstract_; | ||
141 | abstract_ = newAbstract; | ||
142 | if (eNotificationRequired()) | ||
143 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT, oldAbstract, abstract_)); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @Override | ||
152 | public String getName() { | ||
153 | return name; | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | @Override | ||
162 | public void setName(String newName) { | ||
163 | String oldName = name; | ||
164 | name = newName; | ||
165 | if (eNotificationRequired()) | ||
166 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DEFINITION__NAME, oldName, name)); | ||
167 | } | ||
168 | |||
169 | /** | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @generated | ||
173 | */ | ||
174 | @Override | ||
175 | public EList<NamedElement> getSuperclasses() { | ||
176 | if (superclasses == null) { | ||
177 | superclasses = new EObjectResolvingEList<NamedElement>(NamedElement.class, this, SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES); | ||
178 | } | ||
179 | return superclasses; | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | @Override | ||
188 | public EList<MemberDefinition> getMembers() { | ||
189 | if (members == null) { | ||
190 | members = new EObjectContainmentEList<MemberDefinition>(MemberDefinition.class, this, SolverLanguagePackage.CLASS_DEFINITION__MEMBERS); | ||
191 | } | ||
192 | return members; | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @generated | ||
199 | */ | ||
200 | @Override | ||
201 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
202 | switch (featureID) { | ||
203 | case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: | ||
204 | return ((InternalEList<?>)getMembers()).basicRemove(otherEnd, msgs); | ||
205 | } | ||
206 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
207 | } | ||
208 | |||
209 | /** | ||
210 | * <!-- begin-user-doc --> | ||
211 | * <!-- end-user-doc --> | ||
212 | * @generated | ||
213 | */ | ||
214 | @Override | ||
215 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
216 | switch (featureID) { | ||
217 | case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: | ||
218 | return isAbstract(); | ||
219 | case SolverLanguagePackage.CLASS_DEFINITION__NAME: | ||
220 | return getName(); | ||
221 | case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: | ||
222 | return getSuperclasses(); | ||
223 | case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: | ||
224 | return getMembers(); | ||
225 | } | ||
226 | return super.eGet(featureID, resolve, coreType); | ||
227 | } | ||
228 | |||
229 | /** | ||
230 | * <!-- begin-user-doc --> | ||
231 | * <!-- end-user-doc --> | ||
232 | * @generated | ||
233 | */ | ||
234 | @SuppressWarnings("unchecked") | ||
235 | @Override | ||
236 | public void eSet(int featureID, Object newValue) { | ||
237 | switch (featureID) { | ||
238 | case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: | ||
239 | setAbstract((Boolean)newValue); | ||
240 | return; | ||
241 | case SolverLanguagePackage.CLASS_DEFINITION__NAME: | ||
242 | setName((String)newValue); | ||
243 | return; | ||
244 | case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: | ||
245 | getSuperclasses().clear(); | ||
246 | getSuperclasses().addAll((Collection<? extends NamedElement>)newValue); | ||
247 | return; | ||
248 | case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: | ||
249 | getMembers().clear(); | ||
250 | getMembers().addAll((Collection<? extends MemberDefinition>)newValue); | ||
251 | return; | ||
252 | } | ||
253 | super.eSet(featureID, newValue); | ||
254 | } | ||
255 | |||
256 | /** | ||
257 | * <!-- begin-user-doc --> | ||
258 | * <!-- end-user-doc --> | ||
259 | * @generated | ||
260 | */ | ||
261 | @Override | ||
262 | public void eUnset(int featureID) { | ||
263 | switch (featureID) { | ||
264 | case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: | ||
265 | setAbstract(ABSTRACT_EDEFAULT); | ||
266 | return; | ||
267 | case SolverLanguagePackage.CLASS_DEFINITION__NAME: | ||
268 | setName(NAME_EDEFAULT); | ||
269 | return; | ||
270 | case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: | ||
271 | getSuperclasses().clear(); | ||
272 | return; | ||
273 | case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: | ||
274 | getMembers().clear(); | ||
275 | return; | ||
276 | } | ||
277 | super.eUnset(featureID); | ||
278 | } | ||
279 | |||
280 | /** | ||
281 | * <!-- begin-user-doc --> | ||
282 | * <!-- end-user-doc --> | ||
283 | * @generated | ||
284 | */ | ||
285 | @Override | ||
286 | public boolean eIsSet(int featureID) { | ||
287 | switch (featureID) { | ||
288 | case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: | ||
289 | return abstract_ != ABSTRACT_EDEFAULT; | ||
290 | case SolverLanguagePackage.CLASS_DEFINITION__NAME: | ||
291 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
292 | case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: | ||
293 | return superclasses != null && !superclasses.isEmpty(); | ||
294 | case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: | ||
295 | return members != null && !members.isEmpty(); | ||
296 | } | ||
297 | return super.eIsSet(featureID); | ||
298 | } | ||
299 | |||
300 | /** | ||
301 | * <!-- begin-user-doc --> | ||
302 | * <!-- end-user-doc --> | ||
303 | * @generated | ||
304 | */ | ||
305 | @Override | ||
306 | public String toString() { | ||
307 | if (eIsProxy()) return super.toString(); | ||
308 | |||
309 | StringBuilder result = new StringBuilder(super.toString()); | ||
310 | result.append(" (abstract: "); | ||
311 | result.append(abstract_); | ||
312 | result.append(", name: "); | ||
313 | result.append(name); | ||
314 | result.append(')'); | ||
315 | return result.toString(); | ||
316 | } | ||
317 | |||
318 | } //ClassDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java deleted file mode 100644 index 37cc2e07..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java +++ /dev/null | |||
@@ -1,317 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.Comparison; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Comparison</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl#getLeft <em>Left</em>}</li> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl#getOp <em>Op</em>}</li> | ||
29 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl#getRight <em>Right</em>}</li> | ||
30 | * </ul> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class ComparisonImpl extends ExpressionImpl implements Comparison { | ||
35 | /** | ||
36 | * The cached value of the '{@link #getLeft() <em>Left</em>}' containment reference. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @see #getLeft() | ||
40 | * @generated | ||
41 | * @ordered | ||
42 | */ | ||
43 | protected Expression left; | ||
44 | |||
45 | /** | ||
46 | * The default value of the '{@link #getOp() <em>Op</em>}' attribute. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @see #getOp() | ||
50 | * @generated | ||
51 | * @ordered | ||
52 | */ | ||
53 | protected static final BinaryOperator OP_EDEFAULT = BinaryOperator.EQ; | ||
54 | |||
55 | /** | ||
56 | * The cached value of the '{@link #getOp() <em>Op</em>}' attribute. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @see #getOp() | ||
60 | * @generated | ||
61 | * @ordered | ||
62 | */ | ||
63 | protected BinaryOperator op = OP_EDEFAULT; | ||
64 | |||
65 | /** | ||
66 | * The cached value of the '{@link #getRight() <em>Right</em>}' containment reference. | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @see #getRight() | ||
70 | * @generated | ||
71 | * @ordered | ||
72 | */ | ||
73 | protected Expression right; | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | protected ComparisonImpl() { | ||
81 | super(); | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | @Override | ||
90 | protected EClass eStaticClass() { | ||
91 | return SolverLanguagePackage.Literals.COMPARISON; | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | @Override | ||
100 | public Expression getLeft() { | ||
101 | return left; | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) { | ||
110 | Expression oldLeft = left; | ||
111 | left = newLeft; | ||
112 | if (eNotificationRequired()) { | ||
113 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__LEFT, oldLeft, newLeft); | ||
114 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
115 | } | ||
116 | return msgs; | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public void setLeft(Expression newLeft) { | ||
126 | if (newLeft != left) { | ||
127 | NotificationChain msgs = null; | ||
128 | if (left != null) | ||
129 | msgs = ((InternalEObject)left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__LEFT, null, msgs); | ||
130 | if (newLeft != null) | ||
131 | msgs = ((InternalEObject)newLeft).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__LEFT, null, msgs); | ||
132 | msgs = basicSetLeft(newLeft, msgs); | ||
133 | if (msgs != null) msgs.dispatch(); | ||
134 | } | ||
135 | else if (eNotificationRequired()) | ||
136 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__LEFT, newLeft, newLeft)); | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | @Override | ||
145 | public BinaryOperator getOp() { | ||
146 | return op; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public void setOp(BinaryOperator newOp) { | ||
156 | BinaryOperator oldOp = op; | ||
157 | op = newOp == null ? OP_EDEFAULT : newOp; | ||
158 | if (eNotificationRequired()) | ||
159 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__OP, oldOp, op)); | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | @Override | ||
168 | public Expression getRight() { | ||
169 | return right; | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | */ | ||
177 | public NotificationChain basicSetRight(Expression newRight, NotificationChain msgs) { | ||
178 | Expression oldRight = right; | ||
179 | right = newRight; | ||
180 | if (eNotificationRequired()) { | ||
181 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__RIGHT, oldRight, newRight); | ||
182 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
183 | } | ||
184 | return msgs; | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @generated | ||
191 | */ | ||
192 | @Override | ||
193 | public void setRight(Expression newRight) { | ||
194 | if (newRight != right) { | ||
195 | NotificationChain msgs = null; | ||
196 | if (right != null) | ||
197 | msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__RIGHT, null, msgs); | ||
198 | if (newRight != null) | ||
199 | msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__RIGHT, null, msgs); | ||
200 | msgs = basicSetRight(newRight, msgs); | ||
201 | if (msgs != null) msgs.dispatch(); | ||
202 | } | ||
203 | else if (eNotificationRequired()) | ||
204 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__RIGHT, newRight, newRight)); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
214 | switch (featureID) { | ||
215 | case SolverLanguagePackage.COMPARISON__LEFT: | ||
216 | return basicSetLeft(null, msgs); | ||
217 | case SolverLanguagePackage.COMPARISON__RIGHT: | ||
218 | return basicSetRight(null, msgs); | ||
219 | } | ||
220 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @generated | ||
227 | */ | ||
228 | @Override | ||
229 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
230 | switch (featureID) { | ||
231 | case SolverLanguagePackage.COMPARISON__LEFT: | ||
232 | return getLeft(); | ||
233 | case SolverLanguagePackage.COMPARISON__OP: | ||
234 | return getOp(); | ||
235 | case SolverLanguagePackage.COMPARISON__RIGHT: | ||
236 | return getRight(); | ||
237 | } | ||
238 | return super.eGet(featureID, resolve, coreType); | ||
239 | } | ||
240 | |||
241 | /** | ||
242 | * <!-- begin-user-doc --> | ||
243 | * <!-- end-user-doc --> | ||
244 | * @generated | ||
245 | */ | ||
246 | @Override | ||
247 | public void eSet(int featureID, Object newValue) { | ||
248 | switch (featureID) { | ||
249 | case SolverLanguagePackage.COMPARISON__LEFT: | ||
250 | setLeft((Expression)newValue); | ||
251 | return; | ||
252 | case SolverLanguagePackage.COMPARISON__OP: | ||
253 | setOp((BinaryOperator)newValue); | ||
254 | return; | ||
255 | case SolverLanguagePackage.COMPARISON__RIGHT: | ||
256 | setRight((Expression)newValue); | ||
257 | return; | ||
258 | } | ||
259 | super.eSet(featureID, newValue); | ||
260 | } | ||
261 | |||
262 | /** | ||
263 | * <!-- begin-user-doc --> | ||
264 | * <!-- end-user-doc --> | ||
265 | * @generated | ||
266 | */ | ||
267 | @Override | ||
268 | public void eUnset(int featureID) { | ||
269 | switch (featureID) { | ||
270 | case SolverLanguagePackage.COMPARISON__LEFT: | ||
271 | setLeft((Expression)null); | ||
272 | return; | ||
273 | case SolverLanguagePackage.COMPARISON__OP: | ||
274 | setOp(OP_EDEFAULT); | ||
275 | return; | ||
276 | case SolverLanguagePackage.COMPARISON__RIGHT: | ||
277 | setRight((Expression)null); | ||
278 | return; | ||
279 | } | ||
280 | super.eUnset(featureID); | ||
281 | } | ||
282 | |||
283 | /** | ||
284 | * <!-- begin-user-doc --> | ||
285 | * <!-- end-user-doc --> | ||
286 | * @generated | ||
287 | */ | ||
288 | @Override | ||
289 | public boolean eIsSet(int featureID) { | ||
290 | switch (featureID) { | ||
291 | case SolverLanguagePackage.COMPARISON__LEFT: | ||
292 | return left != null; | ||
293 | case SolverLanguagePackage.COMPARISON__OP: | ||
294 | return op != OP_EDEFAULT; | ||
295 | case SolverLanguagePackage.COMPARISON__RIGHT: | ||
296 | return right != null; | ||
297 | } | ||
298 | return super.eIsSet(featureID); | ||
299 | } | ||
300 | |||
301 | /** | ||
302 | * <!-- begin-user-doc --> | ||
303 | * <!-- end-user-doc --> | ||
304 | * @generated | ||
305 | */ | ||
306 | @Override | ||
307 | public String toString() { | ||
308 | if (eIsProxy()) return super.toString(); | ||
309 | |||
310 | StringBuilder result = new StringBuilder(super.toString()); | ||
311 | result.append(" (op: "); | ||
312 | result.append(op); | ||
313 | result.append(')'); | ||
314 | return result.toString(); | ||
315 | } | ||
316 | |||
317 | } //ComparisonImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java deleted file mode 100644 index cc689c0d..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java +++ /dev/null | |||
@@ -1,152 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import java.util.Collection; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.NotificationChain; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
16 | import org.eclipse.emf.ecore.util.InternalEList; | ||
17 | |||
18 | import org.eclipse.viatra.solver.language.solverLanguage.Conjunction; | ||
19 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
20 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>Conjunction</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl#getChildren <em>Children</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class ConjunctionImpl extends ExpressionImpl implements Conjunction { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getChildren() <em>Children</em>}' containment reference list. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getChildren() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected EList<Expression> children; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected ConjunctionImpl() { | ||
52 | super(); | ||
53 | } | ||
54 | |||
55 | /** | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @generated | ||
59 | */ | ||
60 | @Override | ||
61 | protected EClass eStaticClass() { | ||
62 | return SolverLanguagePackage.Literals.CONJUNCTION; | ||
63 | } | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | @Override | ||
71 | public EList<Expression> getChildren() { | ||
72 | if (children == null) { | ||
73 | children = new EObjectContainmentEList<Expression>(Expression.class, this, SolverLanguagePackage.CONJUNCTION__CHILDREN); | ||
74 | } | ||
75 | return children; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
85 | switch (featureID) { | ||
86 | case SolverLanguagePackage.CONJUNCTION__CHILDREN: | ||
87 | return ((InternalEList<?>)getChildren()).basicRemove(otherEnd, msgs); | ||
88 | } | ||
89 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | @Override | ||
98 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
99 | switch (featureID) { | ||
100 | case SolverLanguagePackage.CONJUNCTION__CHILDREN: | ||
101 | return getChildren(); | ||
102 | } | ||
103 | return super.eGet(featureID, resolve, coreType); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @SuppressWarnings("unchecked") | ||
112 | @Override | ||
113 | public void eSet(int featureID, Object newValue) { | ||
114 | switch (featureID) { | ||
115 | case SolverLanguagePackage.CONJUNCTION__CHILDREN: | ||
116 | getChildren().clear(); | ||
117 | getChildren().addAll((Collection<? extends Expression>)newValue); | ||
118 | return; | ||
119 | } | ||
120 | super.eSet(featureID, newValue); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public void eUnset(int featureID) { | ||
130 | switch (featureID) { | ||
131 | case SolverLanguagePackage.CONJUNCTION__CHILDREN: | ||
132 | getChildren().clear(); | ||
133 | return; | ||
134 | } | ||
135 | super.eUnset(featureID); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | public boolean eIsSet(int featureID) { | ||
145 | switch (featureID) { | ||
146 | case SolverLanguagePackage.CONJUNCTION__CHILDREN: | ||
147 | return children != null && !children.isEmpty(); | ||
148 | } | ||
149 | return super.eIsSet(featureID); | ||
150 | } | ||
151 | |||
152 | } //ConjunctionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java deleted file mode 100644 index f1ad7bea..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java +++ /dev/null | |||
@@ -1,247 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Call; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Default Definition</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl#getHead <em>Head</em>}</li> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl#getRange <em>Range</em>}</li> | ||
29 | * </ul> | ||
30 | * | ||
31 | * @generated | ||
32 | */ | ||
33 | public class DefaultDefinitionImpl extends StatementImpl implements DefaultDefinition { | ||
34 | /** | ||
35 | * The cached value of the '{@link #getHead() <em>Head</em>}' containment reference. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getHead() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected Call head; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getRange() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected Expression range; | ||
53 | |||
54 | /** | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | protected DefaultDefinitionImpl() { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() { | ||
70 | return SolverLanguagePackage.Literals.DEFAULT_DEFINITION; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | @Override | ||
79 | public Call getHead() { | ||
80 | return head; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public NotificationChain basicSetHead(Call newHead, NotificationChain msgs) { | ||
89 | Call oldHead = head; | ||
90 | head = newHead; | ||
91 | if (eNotificationRequired()) { | ||
92 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, oldHead, newHead); | ||
93 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
94 | } | ||
95 | return msgs; | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public void setHead(Call newHead) { | ||
105 | if (newHead != head) { | ||
106 | NotificationChain msgs = null; | ||
107 | if (head != null) | ||
108 | msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, null, msgs); | ||
109 | if (newHead != null) | ||
110 | msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, null, msgs); | ||
111 | msgs = basicSetHead(newHead, msgs); | ||
112 | if (msgs != null) msgs.dispatch(); | ||
113 | } | ||
114 | else if (eNotificationRequired()) | ||
115 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, newHead, newHead)); | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | @Override | ||
124 | public Expression getRange() { | ||
125 | return range; | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | public NotificationChain basicSetRange(Expression newRange, NotificationChain msgs) { | ||
134 | Expression oldRange = range; | ||
135 | range = newRange; | ||
136 | if (eNotificationRequired()) { | ||
137 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, oldRange, newRange); | ||
138 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
139 | } | ||
140 | return msgs; | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void setRange(Expression newRange) { | ||
150 | if (newRange != range) { | ||
151 | NotificationChain msgs = null; | ||
152 | if (range != null) | ||
153 | msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, null, msgs); | ||
154 | if (newRange != null) | ||
155 | msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, null, msgs); | ||
156 | msgs = basicSetRange(newRange, msgs); | ||
157 | if (msgs != null) msgs.dispatch(); | ||
158 | } | ||
159 | else if (eNotificationRequired()) | ||
160 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, newRange, newRange)); | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
170 | switch (featureID) { | ||
171 | case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: | ||
172 | return basicSetHead(null, msgs); | ||
173 | case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: | ||
174 | return basicSetRange(null, msgs); | ||
175 | } | ||
176 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
177 | } | ||
178 | |||
179 | /** | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @generated | ||
183 | */ | ||
184 | @Override | ||
185 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
186 | switch (featureID) { | ||
187 | case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: | ||
188 | return getHead(); | ||
189 | case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: | ||
190 | return getRange(); | ||
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 SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: | ||
204 | setHead((Call)newValue); | ||
205 | return; | ||
206 | case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: | ||
207 | setRange((Expression)newValue); | ||
208 | return; | ||
209 | } | ||
210 | super.eSet(featureID, newValue); | ||
211 | } | ||
212 | |||
213 | /** | ||
214 | * <!-- begin-user-doc --> | ||
215 | * <!-- end-user-doc --> | ||
216 | * @generated | ||
217 | */ | ||
218 | @Override | ||
219 | public void eUnset(int featureID) { | ||
220 | switch (featureID) { | ||
221 | case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: | ||
222 | setHead((Call)null); | ||
223 | return; | ||
224 | case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: | ||
225 | setRange((Expression)null); | ||
226 | return; | ||
227 | } | ||
228 | super.eUnset(featureID); | ||
229 | } | ||
230 | |||
231 | /** | ||
232 | * <!-- begin-user-doc --> | ||
233 | * <!-- end-user-doc --> | ||
234 | * @generated | ||
235 | */ | ||
236 | @Override | ||
237 | public boolean eIsSet(int featureID) { | ||
238 | switch (featureID) { | ||
239 | case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: | ||
240 | return head != null; | ||
241 | case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: | ||
242 | return range != null; | ||
243 | } | ||
244 | return super.eIsSet(featureID); | ||
245 | } | ||
246 | |||
247 | } //DefaultDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java deleted file mode 100644 index 47dd7bcc..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java +++ /dev/null | |||
@@ -1,152 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import java.util.Collection; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.NotificationChain; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
16 | import org.eclipse.emf.ecore.util.InternalEList; | ||
17 | |||
18 | import org.eclipse.viatra.solver.language.solverLanguage.Disjunction; | ||
19 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
20 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>Disjunction</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl#getChildren <em>Children</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class DisjunctionImpl extends ExpressionImpl implements Disjunction { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getChildren() <em>Children</em>}' containment reference list. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getChildren() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected EList<Expression> children; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected DisjunctionImpl() { | ||
52 | super(); | ||
53 | } | ||
54 | |||
55 | /** | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @generated | ||
59 | */ | ||
60 | @Override | ||
61 | protected EClass eStaticClass() { | ||
62 | return SolverLanguagePackage.Literals.DISJUNCTION; | ||
63 | } | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | @Override | ||
71 | public EList<Expression> getChildren() { | ||
72 | if (children == null) { | ||
73 | children = new EObjectContainmentEList<Expression>(Expression.class, this, SolverLanguagePackage.DISJUNCTION__CHILDREN); | ||
74 | } | ||
75 | return children; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
85 | switch (featureID) { | ||
86 | case SolverLanguagePackage.DISJUNCTION__CHILDREN: | ||
87 | return ((InternalEList<?>)getChildren()).basicRemove(otherEnd, msgs); | ||
88 | } | ||
89 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | @Override | ||
98 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
99 | switch (featureID) { | ||
100 | case SolverLanguagePackage.DISJUNCTION__CHILDREN: | ||
101 | return getChildren(); | ||
102 | } | ||
103 | return super.eGet(featureID, resolve, coreType); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @SuppressWarnings("unchecked") | ||
112 | @Override | ||
113 | public void eSet(int featureID, Object newValue) { | ||
114 | switch (featureID) { | ||
115 | case SolverLanguagePackage.DISJUNCTION__CHILDREN: | ||
116 | getChildren().clear(); | ||
117 | getChildren().addAll((Collection<? extends Expression>)newValue); | ||
118 | return; | ||
119 | } | ||
120 | super.eSet(featureID, newValue); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public void eUnset(int featureID) { | ||
130 | switch (featureID) { | ||
131 | case SolverLanguagePackage.DISJUNCTION__CHILDREN: | ||
132 | getChildren().clear(); | ||
133 | return; | ||
134 | } | ||
135 | super.eUnset(featureID); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | public boolean eIsSet(int featureID) { | ||
145 | switch (featureID) { | ||
146 | case SolverLanguagePackage.DISJUNCTION__CHILDREN: | ||
147 | return children != null && !children.isEmpty(); | ||
148 | } | ||
149 | return super.eIsSet(featureID); | ||
150 | } | ||
151 | |||
152 | } //DisjunctionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java deleted file mode 100644 index 26717519..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | |||
8 | import org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral; | ||
9 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Empty Interval Literal</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class EmptyIntervalLiteralImpl extends LiteralImpl implements EmptyIntervalLiteral { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected EmptyIntervalLiteralImpl() { | ||
25 | super(); | ||
26 | } | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | @Override | ||
34 | protected EClass eStaticClass() { | ||
35 | return SolverLanguagePackage.Literals.EMPTY_INTERVAL_LITERAL; | ||
36 | } | ||
37 | |||
38 | } //EmptyIntervalLiteralImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java deleted file mode 100644 index fdeeae5e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java +++ /dev/null | |||
@@ -1,165 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | |||
12 | import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; | ||
13 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Exact Multiplicity</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl#getMultiplicity <em>Multiplicity</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class ExactMultiplicityImpl extends MultiplicityImpl implements ExactMultiplicity { | ||
29 | /** | ||
30 | * The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getMultiplicity() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final int MULTIPLICITY_EDEFAULT = 0; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getMultiplicity() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected int multiplicity = MULTIPLICITY_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected ExactMultiplicityImpl() { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() { | ||
65 | return SolverLanguagePackage.Literals.EXACT_MULTIPLICITY; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | @Override | ||
74 | public int getMultiplicity() { | ||
75 | return multiplicity; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public void setMultiplicity(int newMultiplicity) { | ||
85 | int oldMultiplicity = multiplicity; | ||
86 | multiplicity = newMultiplicity; | ||
87 | if (eNotificationRequired()) | ||
88 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY, oldMultiplicity, multiplicity)); | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
98 | switch (featureID) { | ||
99 | case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: | ||
100 | return getMultiplicity(); | ||
101 | } | ||
102 | return super.eGet(featureID, resolve, coreType); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: | ||
114 | setMultiplicity((Integer)newValue); | ||
115 | return; | ||
116 | } | ||
117 | super.eSet(featureID, newValue); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void eUnset(int featureID) { | ||
127 | switch (featureID) { | ||
128 | case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: | ||
129 | setMultiplicity(MULTIPLICITY_EDEFAULT); | ||
130 | return; | ||
131 | } | ||
132 | super.eUnset(featureID); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public boolean eIsSet(int featureID) { | ||
142 | switch (featureID) { | ||
143 | case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: | ||
144 | return multiplicity != MULTIPLICITY_EDEFAULT; | ||
145 | } | ||
146 | return super.eIsSet(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public String toString() { | ||
156 | if (eIsProxy()) return super.toString(); | ||
157 | |||
158 | StringBuilder result = new StringBuilder(super.toString()); | ||
159 | result.append(" (multiplicity: "); | ||
160 | result.append(multiplicity); | ||
161 | result.append(')'); | ||
162 | return result.toString(); | ||
163 | } | ||
164 | |||
165 | } //ExactMultiplicityImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java deleted file mode 100644 index d5a375b0..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java +++ /dev/null | |||
@@ -1,165 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | |||
12 | import org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition; | ||
13 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Exact Scope Definition</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl#getExactScope <em>Exact Scope</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class ExactScopeDefinitionImpl extends ScopeDefinitionImpl implements ExactScopeDefinition { | ||
29 | /** | ||
30 | * The default value of the '{@link #getExactScope() <em>Exact Scope</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getExactScope() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final int EXACT_SCOPE_EDEFAULT = 0; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getExactScope() <em>Exact Scope</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getExactScope() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected int exactScope = EXACT_SCOPE_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected ExactScopeDefinitionImpl() { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() { | ||
65 | return SolverLanguagePackage.Literals.EXACT_SCOPE_DEFINITION; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | @Override | ||
74 | public int getExactScope() { | ||
75 | return exactScope; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public void setExactScope(int newExactScope) { | ||
85 | int oldExactScope = exactScope; | ||
86 | exactScope = newExactScope; | ||
87 | if (eNotificationRequired()) | ||
88 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE, oldExactScope, exactScope)); | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
98 | switch (featureID) { | ||
99 | case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: | ||
100 | return getExactScope(); | ||
101 | } | ||
102 | return super.eGet(featureID, resolve, coreType); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: | ||
114 | setExactScope((Integer)newValue); | ||
115 | return; | ||
116 | } | ||
117 | super.eSet(featureID, newValue); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void eUnset(int featureID) { | ||
127 | switch (featureID) { | ||
128 | case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: | ||
129 | setExactScope(EXACT_SCOPE_EDEFAULT); | ||
130 | return; | ||
131 | } | ||
132 | super.eUnset(featureID); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public boolean eIsSet(int featureID) { | ||
142 | switch (featureID) { | ||
143 | case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: | ||
144 | return exactScope != EXACT_SCOPE_EDEFAULT; | ||
145 | } | ||
146 | return super.eIsSet(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public String toString() { | ||
156 | if (eIsProxy()) return super.toString(); | ||
157 | |||
158 | StringBuilder result = new StringBuilder(super.toString()); | ||
159 | result.append(" (exactScope: "); | ||
160 | result.append(exactScope); | ||
161 | result.append(')'); | ||
162 | return result.toString(); | ||
163 | } | ||
164 | |||
165 | } //ExactScopeDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java deleted file mode 100644 index 798b4b68..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java +++ /dev/null | |||
@@ -1,178 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Expression Argument</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl#getBody <em>Body</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ExpressionArgumentImpl extends ArgumentImpl implements ExpressionArgument { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getBody() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected Expression body; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected ExpressionArgumentImpl() { | ||
48 | super(); | ||
49 | } | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | @Override | ||
57 | protected EClass eStaticClass() { | ||
58 | return SolverLanguagePackage.Literals.EXPRESSION_ARGUMENT; | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | public Expression getBody() { | ||
68 | return body; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { | ||
77 | Expression oldBody = body; | ||
78 | body = newBody; | ||
79 | if (eNotificationRequired()) { | ||
80 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, oldBody, newBody); | ||
81 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
82 | } | ||
83 | return msgs; | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | @Override | ||
92 | public void setBody(Expression newBody) { | ||
93 | if (newBody != body) { | ||
94 | NotificationChain msgs = null; | ||
95 | if (body != null) | ||
96 | msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, null, msgs); | ||
97 | if (newBody != null) | ||
98 | msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, null, msgs); | ||
99 | msgs = basicSetBody(newBody, msgs); | ||
100 | if (msgs != null) msgs.dispatch(); | ||
101 | } | ||
102 | else if (eNotificationRequired()) | ||
103 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, newBody, newBody)); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
113 | switch (featureID) { | ||
114 | case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: | ||
115 | return basicSetBody(null, msgs); | ||
116 | } | ||
117 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
127 | switch (featureID) { | ||
128 | case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: | ||
129 | return getBody(); | ||
130 | } | ||
131 | return super.eGet(featureID, resolve, coreType); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public void eSet(int featureID, Object newValue) { | ||
141 | switch (featureID) { | ||
142 | case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: | ||
143 | setBody((Expression)newValue); | ||
144 | return; | ||
145 | } | ||
146 | super.eSet(featureID, newValue); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public void eUnset(int featureID) { | ||
156 | switch (featureID) { | ||
157 | case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: | ||
158 | setBody((Expression)null); | ||
159 | return; | ||
160 | } | ||
161 | super.eUnset(featureID); | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | @Override | ||
170 | public boolean eIsSet(int featureID) { | ||
171 | switch (featureID) { | ||
172 | case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: | ||
173 | return body != null; | ||
174 | } | ||
175 | return super.eIsSet(featureID); | ||
176 | } | ||
177 | |||
178 | } //ExpressionArgumentImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java deleted file mode 100644 index 5b1c5969..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | |||
8 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
9 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Expression</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public abstract class ExpressionImpl extends StatementImpl implements Expression { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ExpressionImpl() { | ||
25 | super(); | ||
26 | } | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | @Override | ||
34 | protected EClass eStaticClass() { | ||
35 | return SolverLanguagePackage.Literals.EXPRESSION; | ||
36 | } | ||
37 | |||
38 | } //ExpressionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregatorDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregatorDefinitionImpl.java deleted file mode 100644 index 2b4efc07..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregatorDefinitionImpl.java +++ /dev/null | |||
@@ -1,291 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | import org.eclipse.emf.ecore.InternalEObject; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
12 | |||
13 | import org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition; | ||
14 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Extern Aggregator Definition</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl#getType <em>Type</em>}</li> | ||
26 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl#getName <em>Name</em>}</li> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl#getInputType <em>Input Type</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class ExternAggregatorDefinitionImpl extends StatementImpl implements ExternAggregatorDefinition { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getType() <em>Type</em>}' reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getType() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected NamedElement type; | ||
42 | |||
43 | /** | ||
44 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getName() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected static final String NAME_EDEFAULT = null; | ||
52 | |||
53 | /** | ||
54 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @see #getName() | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | protected String name = NAME_EDEFAULT; | ||
62 | |||
63 | /** | ||
64 | * The cached value of the '{@link #getInputType() <em>Input Type</em>}' reference. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @see #getInputType() | ||
68 | * @generated | ||
69 | * @ordered | ||
70 | */ | ||
71 | protected NamedElement inputType; | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | protected ExternAggregatorDefinitionImpl() { | ||
79 | super(); | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | protected EClass eStaticClass() { | ||
89 | return SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION; | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | @Override | ||
98 | public NamedElement getType() { | ||
99 | if (type != null && type.eIsProxy()) { | ||
100 | InternalEObject oldType = (InternalEObject)type; | ||
101 | type = (NamedElement)eResolveProxy(oldType); | ||
102 | if (type != oldType) { | ||
103 | if (eNotificationRequired()) | ||
104 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE, oldType, type)); | ||
105 | } | ||
106 | } | ||
107 | return type; | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | public NamedElement basicGetType() { | ||
116 | return type; | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public void setType(NamedElement newType) { | ||
126 | NamedElement oldType = type; | ||
127 | type = newType; | ||
128 | if (eNotificationRequired()) | ||
129 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE, oldType, type)); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public String getName() { | ||
139 | return name; | ||
140 | } | ||
141 | |||
142 | /** | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @generated | ||
146 | */ | ||
147 | @Override | ||
148 | public void setName(String newName) { | ||
149 | String oldName = name; | ||
150 | name = newName; | ||
151 | if (eNotificationRequired()) | ||
152 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME, oldName, name)); | ||
153 | } | ||
154 | |||
155 | /** | ||
156 | * <!-- begin-user-doc --> | ||
157 | * <!-- end-user-doc --> | ||
158 | * @generated | ||
159 | */ | ||
160 | @Override | ||
161 | public NamedElement getInputType() { | ||
162 | if (inputType != null && inputType.eIsProxy()) { | ||
163 | InternalEObject oldInputType = (InternalEObject)inputType; | ||
164 | inputType = (NamedElement)eResolveProxy(oldInputType); | ||
165 | if (inputType != oldInputType) { | ||
166 | if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE, oldInputType, inputType)); | ||
168 | } | ||
169 | } | ||
170 | return inputType; | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | public NamedElement basicGetInputType() { | ||
179 | return inputType; | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | @Override | ||
188 | public void setInputType(NamedElement newInputType) { | ||
189 | NamedElement oldInputType = inputType; | ||
190 | inputType = newInputType; | ||
191 | if (eNotificationRequired()) | ||
192 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE, oldInputType, inputType)); | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @generated | ||
199 | */ | ||
200 | @Override | ||
201 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
202 | switch (featureID) { | ||
203 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE: | ||
204 | if (resolve) return getType(); | ||
205 | return basicGetType(); | ||
206 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME: | ||
207 | return getName(); | ||
208 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE: | ||
209 | if (resolve) return getInputType(); | ||
210 | return basicGetInputType(); | ||
211 | } | ||
212 | return super.eGet(featureID, resolve, coreType); | ||
213 | } | ||
214 | |||
215 | /** | ||
216 | * <!-- begin-user-doc --> | ||
217 | * <!-- end-user-doc --> | ||
218 | * @generated | ||
219 | */ | ||
220 | @Override | ||
221 | public void eSet(int featureID, Object newValue) { | ||
222 | switch (featureID) { | ||
223 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE: | ||
224 | setType((NamedElement)newValue); | ||
225 | return; | ||
226 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME: | ||
227 | setName((String)newValue); | ||
228 | return; | ||
229 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE: | ||
230 | setInputType((NamedElement)newValue); | ||
231 | return; | ||
232 | } | ||
233 | super.eSet(featureID, newValue); | ||
234 | } | ||
235 | |||
236 | /** | ||
237 | * <!-- begin-user-doc --> | ||
238 | * <!-- end-user-doc --> | ||
239 | * @generated | ||
240 | */ | ||
241 | @Override | ||
242 | public void eUnset(int featureID) { | ||
243 | switch (featureID) { | ||
244 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE: | ||
245 | setType((NamedElement)null); | ||
246 | return; | ||
247 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME: | ||
248 | setName(NAME_EDEFAULT); | ||
249 | return; | ||
250 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE: | ||
251 | setInputType((NamedElement)null); | ||
252 | return; | ||
253 | } | ||
254 | super.eUnset(featureID); | ||
255 | } | ||
256 | |||
257 | /** | ||
258 | * <!-- begin-user-doc --> | ||
259 | * <!-- end-user-doc --> | ||
260 | * @generated | ||
261 | */ | ||
262 | @Override | ||
263 | public boolean eIsSet(int featureID) { | ||
264 | switch (featureID) { | ||
265 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE: | ||
266 | return type != null; | ||
267 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME: | ||
268 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
269 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE: | ||
270 | return inputType != null; | ||
271 | } | ||
272 | return super.eIsSet(featureID); | ||
273 | } | ||
274 | |||
275 | /** | ||
276 | * <!-- begin-user-doc --> | ||
277 | * <!-- end-user-doc --> | ||
278 | * @generated | ||
279 | */ | ||
280 | @Override | ||
281 | public String toString() { | ||
282 | if (eIsProxy()) return super.toString(); | ||
283 | |||
284 | StringBuilder result = new StringBuilder(super.toString()); | ||
285 | result.append(" (name: "); | ||
286 | result.append(name); | ||
287 | result.append(')'); | ||
288 | return result.toString(); | ||
289 | } | ||
290 | |||
291 | } //ExternAggregatorDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDefinitionImpl.java deleted file mode 100644 index d186fb95..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDefinitionImpl.java +++ /dev/null | |||
@@ -1,208 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import java.util.Collection; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
15 | |||
16 | import org.eclipse.emf.ecore.util.EObjectResolvingEList; | ||
17 | |||
18 | import org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition; | ||
19 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
20 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>Extern Datatype Definition</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl#getName <em>Name</em>}</li> | ||
31 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl#getSupertypes <em>Supertypes</em>}</li> | ||
32 | * </ul> | ||
33 | * | ||
34 | * @generated | ||
35 | */ | ||
36 | public class ExternDatatypeDefinitionImpl extends StatementImpl implements ExternDatatypeDefinition { | ||
37 | /** | ||
38 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getName() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected static final String NAME_EDEFAULT = null; | ||
46 | |||
47 | /** | ||
48 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @see #getName() | ||
52 | * @generated | ||
53 | * @ordered | ||
54 | */ | ||
55 | protected String name = NAME_EDEFAULT; | ||
56 | |||
57 | /** | ||
58 | * The cached value of the '{@link #getSupertypes() <em>Supertypes</em>}' reference list. | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @see #getSupertypes() | ||
62 | * @generated | ||
63 | * @ordered | ||
64 | */ | ||
65 | protected EList<NamedElement> supertypes; | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | protected ExternDatatypeDefinitionImpl() { | ||
73 | super(); | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | @Override | ||
82 | protected EClass eStaticClass() { | ||
83 | return SolverLanguagePackage.Literals.EXTERN_DATATYPE_DEFINITION; | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | @Override | ||
92 | public String getName() { | ||
93 | return name; | ||
94 | } | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | @Override | ||
102 | public void setName(String newName) { | ||
103 | String oldName = name; | ||
104 | name = newName; | ||
105 | if (eNotificationRequired()) | ||
106 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME, oldName, name)); | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | @Override | ||
115 | public EList<NamedElement> getSupertypes() { | ||
116 | if (supertypes == null) { | ||
117 | supertypes = new EObjectResolvingEList<NamedElement>(NamedElement.class, this, SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES); | ||
118 | } | ||
119 | return supertypes; | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
129 | switch (featureID) { | ||
130 | case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME: | ||
131 | return getName(); | ||
132 | case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES: | ||
133 | return getSupertypes(); | ||
134 | } | ||
135 | return super.eGet(featureID, resolve, coreType); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @SuppressWarnings("unchecked") | ||
144 | @Override | ||
145 | public void eSet(int featureID, Object newValue) { | ||
146 | switch (featureID) { | ||
147 | case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME: | ||
148 | setName((String)newValue); | ||
149 | return; | ||
150 | case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES: | ||
151 | getSupertypes().clear(); | ||
152 | getSupertypes().addAll((Collection<? extends NamedElement>)newValue); | ||
153 | return; | ||
154 | } | ||
155 | super.eSet(featureID, newValue); | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | @Override | ||
164 | public void eUnset(int featureID) { | ||
165 | switch (featureID) { | ||
166 | case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME: | ||
167 | setName(NAME_EDEFAULT); | ||
168 | return; | ||
169 | case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES: | ||
170 | getSupertypes().clear(); | ||
171 | return; | ||
172 | } | ||
173 | super.eUnset(featureID); | ||
174 | } | ||
175 | |||
176 | /** | ||
177 | * <!-- begin-user-doc --> | ||
178 | * <!-- end-user-doc --> | ||
179 | * @generated | ||
180 | */ | ||
181 | @Override | ||
182 | public boolean eIsSet(int featureID) { | ||
183 | switch (featureID) { | ||
184 | case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME: | ||
185 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
186 | case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES: | ||
187 | return supertypes != null && !supertypes.isEmpty(); | ||
188 | } | ||
189 | return super.eIsSet(featureID); | ||
190 | } | ||
191 | |||
192 | /** | ||
193 | * <!-- begin-user-doc --> | ||
194 | * <!-- end-user-doc --> | ||
195 | * @generated | ||
196 | */ | ||
197 | @Override | ||
198 | public String toString() { | ||
199 | if (eIsProxy()) return super.toString(); | ||
200 | |||
201 | StringBuilder result = new StringBuilder(super.toString()); | ||
202 | result.append(" (name: "); | ||
203 | result.append(name); | ||
204 | result.append(')'); | ||
205 | return result.toString(); | ||
206 | } | ||
207 | |||
208 | } //ExternDatatypeDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java deleted file mode 100644 index 97c76273..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java +++ /dev/null | |||
@@ -1,311 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Extern Metric Definition</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl#getType <em>Type</em>}</li> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl#getName <em>Name</em>}</li> | ||
29 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl#getArgumentList <em>Argument List</em>}</li> | ||
30 | * </ul> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class ExternMetricDefinitionImpl extends StatementImpl implements ExternMetricDefinition { | ||
35 | /** | ||
36 | * The cached value of the '{@link #getType() <em>Type</em>}' reference. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @see #getType() | ||
40 | * @generated | ||
41 | * @ordered | ||
42 | */ | ||
43 | protected NamedElement type; | ||
44 | |||
45 | /** | ||
46 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @see #getName() | ||
50 | * @generated | ||
51 | * @ordered | ||
52 | */ | ||
53 | protected static final String NAME_EDEFAULT = null; | ||
54 | |||
55 | /** | ||
56 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @see #getName() | ||
60 | * @generated | ||
61 | * @ordered | ||
62 | */ | ||
63 | protected String name = NAME_EDEFAULT; | ||
64 | |||
65 | /** | ||
66 | * The cached value of the '{@link #getArgumentList() <em>Argument List</em>}' containment reference. | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @see #getArgumentList() | ||
70 | * @generated | ||
71 | * @ordered | ||
72 | */ | ||
73 | protected ArgumentList argumentList; | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | protected ExternMetricDefinitionImpl() { | ||
81 | super(); | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | @Override | ||
90 | protected EClass eStaticClass() { | ||
91 | return SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION; | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | @Override | ||
100 | public NamedElement getType() { | ||
101 | if (type != null && type.eIsProxy()) { | ||
102 | InternalEObject oldType = (InternalEObject)type; | ||
103 | type = (NamedElement)eResolveProxy(oldType); | ||
104 | if (type != oldType) { | ||
105 | if (eNotificationRequired()) | ||
106 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE, oldType, type)); | ||
107 | } | ||
108 | } | ||
109 | return type; | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | public NamedElement basicGetType() { | ||
118 | return type; | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | @Override | ||
127 | public void setType(NamedElement newType) { | ||
128 | NamedElement oldType = type; | ||
129 | type = newType; | ||
130 | if (eNotificationRequired()) | ||
131 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE, oldType, type)); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public String getName() { | ||
141 | return name; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void setName(String newName) { | ||
151 | String oldName = name; | ||
152 | name = newName; | ||
153 | if (eNotificationRequired()) | ||
154 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME, oldName, name)); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public ArgumentList getArgumentList() { | ||
164 | return argumentList; | ||
165 | } | ||
166 | |||
167 | /** | ||
168 | * <!-- begin-user-doc --> | ||
169 | * <!-- end-user-doc --> | ||
170 | * @generated | ||
171 | */ | ||
172 | public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { | ||
173 | ArgumentList oldArgumentList = argumentList; | ||
174 | argumentList = newArgumentList; | ||
175 | if (eNotificationRequired()) { | ||
176 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST, oldArgumentList, newArgumentList); | ||
177 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
178 | } | ||
179 | return msgs; | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | @Override | ||
188 | public void setArgumentList(ArgumentList newArgumentList) { | ||
189 | if (newArgumentList != argumentList) { | ||
190 | NotificationChain msgs = null; | ||
191 | if (argumentList != null) | ||
192 | msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST, null, msgs); | ||
193 | if (newArgumentList != null) | ||
194 | msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST, null, msgs); | ||
195 | msgs = basicSetArgumentList(newArgumentList, msgs); | ||
196 | if (msgs != null) msgs.dispatch(); | ||
197 | } | ||
198 | else if (eNotificationRequired()) | ||
199 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST, newArgumentList, newArgumentList)); | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | @Override | ||
208 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
209 | switch (featureID) { | ||
210 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: | ||
211 | return basicSetArgumentList(null, msgs); | ||
212 | } | ||
213 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
214 | } | ||
215 | |||
216 | /** | ||
217 | * <!-- begin-user-doc --> | ||
218 | * <!-- end-user-doc --> | ||
219 | * @generated | ||
220 | */ | ||
221 | @Override | ||
222 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
223 | switch (featureID) { | ||
224 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: | ||
225 | if (resolve) return getType(); | ||
226 | return basicGetType(); | ||
227 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME: | ||
228 | return getName(); | ||
229 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: | ||
230 | return getArgumentList(); | ||
231 | } | ||
232 | return super.eGet(featureID, resolve, coreType); | ||
233 | } | ||
234 | |||
235 | /** | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @generated | ||
239 | */ | ||
240 | @Override | ||
241 | public void eSet(int featureID, Object newValue) { | ||
242 | switch (featureID) { | ||
243 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: | ||
244 | setType((NamedElement)newValue); | ||
245 | return; | ||
246 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME: | ||
247 | setName((String)newValue); | ||
248 | return; | ||
249 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: | ||
250 | setArgumentList((ArgumentList)newValue); | ||
251 | return; | ||
252 | } | ||
253 | super.eSet(featureID, newValue); | ||
254 | } | ||
255 | |||
256 | /** | ||
257 | * <!-- begin-user-doc --> | ||
258 | * <!-- end-user-doc --> | ||
259 | * @generated | ||
260 | */ | ||
261 | @Override | ||
262 | public void eUnset(int featureID) { | ||
263 | switch (featureID) { | ||
264 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: | ||
265 | setType((NamedElement)null); | ||
266 | return; | ||
267 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME: | ||
268 | setName(NAME_EDEFAULT); | ||
269 | return; | ||
270 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: | ||
271 | setArgumentList((ArgumentList)null); | ||
272 | return; | ||
273 | } | ||
274 | super.eUnset(featureID); | ||
275 | } | ||
276 | |||
277 | /** | ||
278 | * <!-- begin-user-doc --> | ||
279 | * <!-- end-user-doc --> | ||
280 | * @generated | ||
281 | */ | ||
282 | @Override | ||
283 | public boolean eIsSet(int featureID) { | ||
284 | switch (featureID) { | ||
285 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: | ||
286 | return type != null; | ||
287 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME: | ||
288 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
289 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: | ||
290 | return argumentList != null; | ||
291 | } | ||
292 | return super.eIsSet(featureID); | ||
293 | } | ||
294 | |||
295 | /** | ||
296 | * <!-- begin-user-doc --> | ||
297 | * <!-- end-user-doc --> | ||
298 | * @generated | ||
299 | */ | ||
300 | @Override | ||
301 | public String toString() { | ||
302 | if (eIsProxy()) return super.toString(); | ||
303 | |||
304 | StringBuilder result = new StringBuilder(super.toString()); | ||
305 | result.append(" (name: "); | ||
306 | result.append(name); | ||
307 | result.append(')'); | ||
308 | return result.toString(); | ||
309 | } | ||
310 | |||
311 | } //ExternMetricDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java deleted file mode 100644 index e59fa4e3..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java +++ /dev/null | |||
@@ -1,248 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Extern Predicate Definition</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl#getName <em>Name</em>}</li> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl#getArgumentList <em>Argument List</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class ExternPredicateDefinitionImpl extends StatementImpl implements ExternPredicateDefinition { | ||
33 | /** | ||
34 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getName() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected static final String NAME_EDEFAULT = null; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getName() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected String name = NAME_EDEFAULT; | ||
52 | |||
53 | /** | ||
54 | * The cached value of the '{@link #getArgumentList() <em>Argument List</em>}' containment reference. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @see #getArgumentList() | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | protected ArgumentList argumentList; | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected ExternPredicateDefinitionImpl() { | ||
69 | super(); | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | @Override | ||
78 | protected EClass eStaticClass() { | ||
79 | return SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | public String getName() { | ||
89 | return name; | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | @Override | ||
98 | public void setName(String newName) { | ||
99 | String oldName = name; | ||
100 | name = newName; | ||
101 | if (eNotificationRequired()) | ||
102 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME, oldName, name)); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public ArgumentList getArgumentList() { | ||
112 | return argumentList; | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { | ||
121 | ArgumentList oldArgumentList = argumentList; | ||
122 | argumentList = newArgumentList; | ||
123 | if (eNotificationRequired()) { | ||
124 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST, oldArgumentList, newArgumentList); | ||
125 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
126 | } | ||
127 | return msgs; | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | @Override | ||
136 | public void setArgumentList(ArgumentList newArgumentList) { | ||
137 | if (newArgumentList != argumentList) { | ||
138 | NotificationChain msgs = null; | ||
139 | if (argumentList != null) | ||
140 | msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST, null, msgs); | ||
141 | if (newArgumentList != null) | ||
142 | msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST, null, msgs); | ||
143 | msgs = basicSetArgumentList(newArgumentList, msgs); | ||
144 | if (msgs != null) msgs.dispatch(); | ||
145 | } | ||
146 | else if (eNotificationRequired()) | ||
147 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST, newArgumentList, newArgumentList)); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
157 | switch (featureID) { | ||
158 | case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: | ||
159 | return basicSetArgumentList(null, msgs); | ||
160 | } | ||
161 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | @Override | ||
170 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
171 | switch (featureID) { | ||
172 | case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME: | ||
173 | return getName(); | ||
174 | case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: | ||
175 | return getArgumentList(); | ||
176 | } | ||
177 | return super.eGet(featureID, resolve, coreType); | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | */ | ||
185 | @Override | ||
186 | public void eSet(int featureID, Object newValue) { | ||
187 | switch (featureID) { | ||
188 | case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME: | ||
189 | setName((String)newValue); | ||
190 | return; | ||
191 | case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: | ||
192 | setArgumentList((ArgumentList)newValue); | ||
193 | return; | ||
194 | } | ||
195 | super.eSet(featureID, newValue); | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | @Override | ||
204 | public void eUnset(int featureID) { | ||
205 | switch (featureID) { | ||
206 | case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME: | ||
207 | setName(NAME_EDEFAULT); | ||
208 | return; | ||
209 | case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: | ||
210 | setArgumentList((ArgumentList)null); | ||
211 | return; | ||
212 | } | ||
213 | super.eUnset(featureID); | ||
214 | } | ||
215 | |||
216 | /** | ||
217 | * <!-- begin-user-doc --> | ||
218 | * <!-- end-user-doc --> | ||
219 | * @generated | ||
220 | */ | ||
221 | @Override | ||
222 | public boolean eIsSet(int featureID) { | ||
223 | switch (featureID) { | ||
224 | case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME: | ||
225 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
226 | case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: | ||
227 | return argumentList != null; | ||
228 | } | ||
229 | return super.eIsSet(featureID); | ||
230 | } | ||
231 | |||
232 | /** | ||
233 | * <!-- begin-user-doc --> | ||
234 | * <!-- end-user-doc --> | ||
235 | * @generated | ||
236 | */ | ||
237 | @Override | ||
238 | public String toString() { | ||
239 | if (eIsProxy()) return super.toString(); | ||
240 | |||
241 | StringBuilder result = new StringBuilder(super.toString()); | ||
242 | result.append(" (name: "); | ||
243 | result.append(name); | ||
244 | result.append(')'); | ||
245 | return result.toString(); | ||
246 | } | ||
247 | |||
248 | } //ExternPredicateDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java deleted file mode 100644 index 73bbc04f..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java +++ /dev/null | |||
@@ -1,134 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import java.util.Collection; | ||
7 | |||
8 | import org.eclipse.emf.common.util.EList; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.util.EObjectResolvingEList; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Functor; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.Variable; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Functor</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl#getParameters <em>Parameters</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public abstract class FunctorImpl extends NamedElementImpl implements Functor { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getParameters() <em>Parameters</em>}' reference list. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getParameters() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected EList<Variable> parameters; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected FunctorImpl() { | ||
48 | super(); | ||
49 | } | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | @Override | ||
57 | protected EClass eStaticClass() { | ||
58 | return SolverLanguagePackage.Literals.FUNCTOR; | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | public EList<Variable> getParameters() { | ||
68 | if (parameters == null) { | ||
69 | parameters = new EObjectResolvingEList<Variable>(Variable.class, this, SolverLanguagePackage.FUNCTOR__PARAMETERS); | ||
70 | } | ||
71 | return parameters; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | @Override | ||
80 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
81 | switch (featureID) { | ||
82 | case SolverLanguagePackage.FUNCTOR__PARAMETERS: | ||
83 | return getParameters(); | ||
84 | } | ||
85 | return super.eGet(featureID, resolve, coreType); | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | @SuppressWarnings("unchecked") | ||
94 | @Override | ||
95 | public void eSet(int featureID, Object newValue) { | ||
96 | switch (featureID) { | ||
97 | case SolverLanguagePackage.FUNCTOR__PARAMETERS: | ||
98 | getParameters().clear(); | ||
99 | getParameters().addAll((Collection<? extends Variable>)newValue); | ||
100 | return; | ||
101 | } | ||
102 | super.eSet(featureID, newValue); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void eUnset(int featureID) { | ||
112 | switch (featureID) { | ||
113 | case SolverLanguagePackage.FUNCTOR__PARAMETERS: | ||
114 | getParameters().clear(); | ||
115 | return; | ||
116 | } | ||
117 | super.eUnset(featureID); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public boolean eIsSet(int featureID) { | ||
127 | switch (featureID) { | ||
128 | case SolverLanguagePackage.FUNCTOR__PARAMETERS: | ||
129 | return parameters != null && !parameters.isEmpty(); | ||
130 | } | ||
131 | return super.eIsSet(featureID); | ||
132 | } | ||
133 | |||
134 | } //FunctorImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java deleted file mode 100644 index 3c6bb17a..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java +++ /dev/null | |||
@@ -1,314 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.IfElse; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>If Else</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl#getThen <em>Then</em>}</li> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl#getElse <em>Else</em>}</li> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl#getCondition <em>Condition</em>}</li> | ||
29 | * </ul> | ||
30 | * | ||
31 | * @generated | ||
32 | */ | ||
33 | public class IfElseImpl extends ExpressionImpl implements IfElse { | ||
34 | /** | ||
35 | * The cached value of the '{@link #getThen() <em>Then</em>}' containment reference. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getThen() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected Expression then; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getElse() <em>Else</em>}' containment reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getElse() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected Expression else_; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getCondition() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected Expression condition; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected IfElseImpl() { | ||
70 | super(); | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | @Override | ||
79 | protected EClass eStaticClass() { | ||
80 | return SolverLanguagePackage.Literals.IF_ELSE; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | @Override | ||
89 | public Expression getThen() { | ||
90 | return then; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public NotificationChain basicSetThen(Expression newThen, NotificationChain msgs) { | ||
99 | Expression oldThen = then; | ||
100 | then = newThen; | ||
101 | if (eNotificationRequired()) { | ||
102 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__THEN, oldThen, newThen); | ||
103 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
104 | } | ||
105 | return msgs; | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | @Override | ||
114 | public void setThen(Expression newThen) { | ||
115 | if (newThen != then) { | ||
116 | NotificationChain msgs = null; | ||
117 | if (then != null) | ||
118 | msgs = ((InternalEObject)then).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__THEN, null, msgs); | ||
119 | if (newThen != null) | ||
120 | msgs = ((InternalEObject)newThen).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__THEN, null, msgs); | ||
121 | msgs = basicSetThen(newThen, msgs); | ||
122 | if (msgs != null) msgs.dispatch(); | ||
123 | } | ||
124 | else if (eNotificationRequired()) | ||
125 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__THEN, newThen, newThen)); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Expression getElse() { | ||
135 | return else_; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | public NotificationChain basicSetElse(Expression newElse, NotificationChain msgs) { | ||
144 | Expression oldElse = else_; | ||
145 | else_ = newElse; | ||
146 | if (eNotificationRequired()) { | ||
147 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__ELSE, oldElse, newElse); | ||
148 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
149 | } | ||
150 | return msgs; | ||
151 | } | ||
152 | |||
153 | /** | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @generated | ||
157 | */ | ||
158 | @Override | ||
159 | public void setElse(Expression newElse) { | ||
160 | if (newElse != else_) { | ||
161 | NotificationChain msgs = null; | ||
162 | if (else_ != null) | ||
163 | msgs = ((InternalEObject)else_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__ELSE, null, msgs); | ||
164 | if (newElse != null) | ||
165 | msgs = ((InternalEObject)newElse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__ELSE, null, msgs); | ||
166 | msgs = basicSetElse(newElse, msgs); | ||
167 | if (msgs != null) msgs.dispatch(); | ||
168 | } | ||
169 | else if (eNotificationRequired()) | ||
170 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__ELSE, newElse, newElse)); | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @Override | ||
179 | public Expression getCondition() { | ||
180 | return condition; | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @generated | ||
187 | */ | ||
188 | public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) { | ||
189 | Expression oldCondition = condition; | ||
190 | condition = newCondition; | ||
191 | if (eNotificationRequired()) { | ||
192 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__CONDITION, oldCondition, newCondition); | ||
193 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
194 | } | ||
195 | return msgs; | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | @Override | ||
204 | public void setCondition(Expression newCondition) { | ||
205 | if (newCondition != condition) { | ||
206 | NotificationChain msgs = null; | ||
207 | if (condition != null) | ||
208 | msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__CONDITION, null, msgs); | ||
209 | if (newCondition != null) | ||
210 | msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__CONDITION, null, msgs); | ||
211 | msgs = basicSetCondition(newCondition, msgs); | ||
212 | if (msgs != null) msgs.dispatch(); | ||
213 | } | ||
214 | else if (eNotificationRequired()) | ||
215 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__CONDITION, newCondition, newCondition)); | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | */ | ||
223 | @Override | ||
224 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
225 | switch (featureID) { | ||
226 | case SolverLanguagePackage.IF_ELSE__THEN: | ||
227 | return basicSetThen(null, msgs); | ||
228 | case SolverLanguagePackage.IF_ELSE__ELSE: | ||
229 | return basicSetElse(null, msgs); | ||
230 | case SolverLanguagePackage.IF_ELSE__CONDITION: | ||
231 | return basicSetCondition(null, msgs); | ||
232 | } | ||
233 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
234 | } | ||
235 | |||
236 | /** | ||
237 | * <!-- begin-user-doc --> | ||
238 | * <!-- end-user-doc --> | ||
239 | * @generated | ||
240 | */ | ||
241 | @Override | ||
242 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
243 | switch (featureID) { | ||
244 | case SolverLanguagePackage.IF_ELSE__THEN: | ||
245 | return getThen(); | ||
246 | case SolverLanguagePackage.IF_ELSE__ELSE: | ||
247 | return getElse(); | ||
248 | case SolverLanguagePackage.IF_ELSE__CONDITION: | ||
249 | return getCondition(); | ||
250 | } | ||
251 | return super.eGet(featureID, resolve, coreType); | ||
252 | } | ||
253 | |||
254 | /** | ||
255 | * <!-- begin-user-doc --> | ||
256 | * <!-- end-user-doc --> | ||
257 | * @generated | ||
258 | */ | ||
259 | @Override | ||
260 | public void eSet(int featureID, Object newValue) { | ||
261 | switch (featureID) { | ||
262 | case SolverLanguagePackage.IF_ELSE__THEN: | ||
263 | setThen((Expression)newValue); | ||
264 | return; | ||
265 | case SolverLanguagePackage.IF_ELSE__ELSE: | ||
266 | setElse((Expression)newValue); | ||
267 | return; | ||
268 | case SolverLanguagePackage.IF_ELSE__CONDITION: | ||
269 | setCondition((Expression)newValue); | ||
270 | return; | ||
271 | } | ||
272 | super.eSet(featureID, newValue); | ||
273 | } | ||
274 | |||
275 | /** | ||
276 | * <!-- begin-user-doc --> | ||
277 | * <!-- end-user-doc --> | ||
278 | * @generated | ||
279 | */ | ||
280 | @Override | ||
281 | public void eUnset(int featureID) { | ||
282 | switch (featureID) { | ||
283 | case SolverLanguagePackage.IF_ELSE__THEN: | ||
284 | setThen((Expression)null); | ||
285 | return; | ||
286 | case SolverLanguagePackage.IF_ELSE__ELSE: | ||
287 | setElse((Expression)null); | ||
288 | return; | ||
289 | case SolverLanguagePackage.IF_ELSE__CONDITION: | ||
290 | setCondition((Expression)null); | ||
291 | return; | ||
292 | } | ||
293 | super.eUnset(featureID); | ||
294 | } | ||
295 | |||
296 | /** | ||
297 | * <!-- begin-user-doc --> | ||
298 | * <!-- end-user-doc --> | ||
299 | * @generated | ||
300 | */ | ||
301 | @Override | ||
302 | public boolean eIsSet(int featureID) { | ||
303 | switch (featureID) { | ||
304 | case SolverLanguagePackage.IF_ELSE__THEN: | ||
305 | return then != null; | ||
306 | case SolverLanguagePackage.IF_ELSE__ELSE: | ||
307 | return else_ != null; | ||
308 | case SolverLanguagePackage.IF_ELSE__CONDITION: | ||
309 | return condition != null; | ||
310 | } | ||
311 | return super.eIsSet(featureID); | ||
312 | } | ||
313 | |||
314 | } //IfElseImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java deleted file mode 100644 index 348f51df..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | |||
8 | import org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral; | ||
9 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Infinity Literal</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class InfinityLiteralImpl extends LiteralImpl implements InfinityLiteral { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected InfinityLiteralImpl() { | ||
25 | super(); | ||
26 | } | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | @Override | ||
34 | protected EClass eStaticClass() { | ||
35 | return SolverLanguagePackage.Literals.INFINITY_LITERAL; | ||
36 | } | ||
37 | |||
38 | } //InfinityLiteralImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InterpretationImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InterpretationImpl.java deleted file mode 100644 index fab8335a..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InterpretationImpl.java +++ /dev/null | |||
@@ -1,246 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.Interpretation; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Interpretation</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl#getBody <em>Body</em>}</li> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl#getRange <em>Range</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class InterpretationImpl extends StatementImpl implements Interpretation { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getBody() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected Expression body; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRange() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected Expression range; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected InterpretationImpl() { | ||
59 | super(); | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | @Override | ||
68 | protected EClass eStaticClass() { | ||
69 | return SolverLanguagePackage.Literals.INTERPRETATION; | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | @Override | ||
78 | public Expression getBody() { | ||
79 | return body; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { | ||
88 | Expression oldBody = body; | ||
89 | body = newBody; | ||
90 | if (eNotificationRequired()) { | ||
91 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERPRETATION__BODY, oldBody, newBody); | ||
92 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
93 | } | ||
94 | return msgs; | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public void setBody(Expression newBody) { | ||
104 | if (newBody != body) { | ||
105 | NotificationChain msgs = null; | ||
106 | if (body != null) | ||
107 | msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERPRETATION__BODY, null, msgs); | ||
108 | if (newBody != null) | ||
109 | msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERPRETATION__BODY, null, msgs); | ||
110 | msgs = basicSetBody(newBody, msgs); | ||
111 | if (msgs != null) msgs.dispatch(); | ||
112 | } | ||
113 | else if (eNotificationRequired()) | ||
114 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERPRETATION__BODY, newBody, newBody)); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public Expression getRange() { | ||
124 | return range; | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | public NotificationChain basicSetRange(Expression newRange, NotificationChain msgs) { | ||
133 | Expression oldRange = range; | ||
134 | range = newRange; | ||
135 | if (eNotificationRequired()) { | ||
136 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERPRETATION__RANGE, oldRange, newRange); | ||
137 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
138 | } | ||
139 | return msgs; | ||
140 | } | ||
141 | |||
142 | /** | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @generated | ||
146 | */ | ||
147 | @Override | ||
148 | public void setRange(Expression newRange) { | ||
149 | if (newRange != range) { | ||
150 | NotificationChain msgs = null; | ||
151 | if (range != null) | ||
152 | msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERPRETATION__RANGE, null, msgs); | ||
153 | if (newRange != null) | ||
154 | msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERPRETATION__RANGE, null, msgs); | ||
155 | msgs = basicSetRange(newRange, msgs); | ||
156 | if (msgs != null) msgs.dispatch(); | ||
157 | } | ||
158 | else if (eNotificationRequired()) | ||
159 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERPRETATION__RANGE, newRange, newRange)); | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | @Override | ||
168 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
169 | switch (featureID) { | ||
170 | case SolverLanguagePackage.INTERPRETATION__BODY: | ||
171 | return basicSetBody(null, msgs); | ||
172 | case SolverLanguagePackage.INTERPRETATION__RANGE: | ||
173 | return basicSetRange(null, msgs); | ||
174 | } | ||
175 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
185 | switch (featureID) { | ||
186 | case SolverLanguagePackage.INTERPRETATION__BODY: | ||
187 | return getBody(); | ||
188 | case SolverLanguagePackage.INTERPRETATION__RANGE: | ||
189 | return getRange(); | ||
190 | } | ||
191 | return super.eGet(featureID, resolve, coreType); | ||
192 | } | ||
193 | |||
194 | /** | ||
195 | * <!-- begin-user-doc --> | ||
196 | * <!-- end-user-doc --> | ||
197 | * @generated | ||
198 | */ | ||
199 | @Override | ||
200 | public void eSet(int featureID, Object newValue) { | ||
201 | switch (featureID) { | ||
202 | case SolverLanguagePackage.INTERPRETATION__BODY: | ||
203 | setBody((Expression)newValue); | ||
204 | return; | ||
205 | case SolverLanguagePackage.INTERPRETATION__RANGE: | ||
206 | setRange((Expression)newValue); | ||
207 | return; | ||
208 | } | ||
209 | super.eSet(featureID, newValue); | ||
210 | } | ||
211 | |||
212 | /** | ||
213 | * <!-- begin-user-doc --> | ||
214 | * <!-- end-user-doc --> | ||
215 | * @generated | ||
216 | */ | ||
217 | @Override | ||
218 | public void eUnset(int featureID) { | ||
219 | switch (featureID) { | ||
220 | case SolverLanguagePackage.INTERPRETATION__BODY: | ||
221 | setBody((Expression)null); | ||
222 | return; | ||
223 | case SolverLanguagePackage.INTERPRETATION__RANGE: | ||
224 | setRange((Expression)null); | ||
225 | return; | ||
226 | } | ||
227 | super.eUnset(featureID); | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @generated | ||
234 | */ | ||
235 | @Override | ||
236 | public boolean eIsSet(int featureID) { | ||
237 | switch (featureID) { | ||
238 | case SolverLanguagePackage.INTERPRETATION__BODY: | ||
239 | return body != null; | ||
240 | case SolverLanguagePackage.INTERPRETATION__RANGE: | ||
241 | return range != null; | ||
242 | } | ||
243 | return super.eIsSet(featureID); | ||
244 | } | ||
245 | |||
246 | } //InterpretationImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java deleted file mode 100644 index a04dae76..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java +++ /dev/null | |||
@@ -1,246 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.Interval; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Interval</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl#getLowerBound <em>Lower Bound</em>}</li> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl#getUpperBound <em>Upper Bound</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class IntervalImpl extends ExpressionImpl implements Interval { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLowerBound() <em>Lower Bound</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLowerBound() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected Expression lowerBound; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getUpperBound() <em>Upper Bound</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getUpperBound() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected Expression upperBound; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected IntervalImpl() { | ||
59 | super(); | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | @Override | ||
68 | protected EClass eStaticClass() { | ||
69 | return SolverLanguagePackage.Literals.INTERVAL; | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | @Override | ||
78 | public Expression getLowerBound() { | ||
79 | return lowerBound; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public NotificationChain basicSetLowerBound(Expression newLowerBound, NotificationChain msgs) { | ||
88 | Expression oldLowerBound = lowerBound; | ||
89 | lowerBound = newLowerBound; | ||
90 | if (eNotificationRequired()) { | ||
91 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__LOWER_BOUND, oldLowerBound, newLowerBound); | ||
92 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
93 | } | ||
94 | return msgs; | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public void setLowerBound(Expression newLowerBound) { | ||
104 | if (newLowerBound != lowerBound) { | ||
105 | NotificationChain msgs = null; | ||
106 | if (lowerBound != null) | ||
107 | msgs = ((InternalEObject)lowerBound).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__LOWER_BOUND, null, msgs); | ||
108 | if (newLowerBound != null) | ||
109 | msgs = ((InternalEObject)newLowerBound).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__LOWER_BOUND, null, msgs); | ||
110 | msgs = basicSetLowerBound(newLowerBound, msgs); | ||
111 | if (msgs != null) msgs.dispatch(); | ||
112 | } | ||
113 | else if (eNotificationRequired()) | ||
114 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__LOWER_BOUND, newLowerBound, newLowerBound)); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public Expression getUpperBound() { | ||
124 | return upperBound; | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | public NotificationChain basicSetUpperBound(Expression newUpperBound, NotificationChain msgs) { | ||
133 | Expression oldUpperBound = upperBound; | ||
134 | upperBound = newUpperBound; | ||
135 | if (eNotificationRequired()) { | ||
136 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__UPPER_BOUND, oldUpperBound, newUpperBound); | ||
137 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
138 | } | ||
139 | return msgs; | ||
140 | } | ||
141 | |||
142 | /** | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @generated | ||
146 | */ | ||
147 | @Override | ||
148 | public void setUpperBound(Expression newUpperBound) { | ||
149 | if (newUpperBound != upperBound) { | ||
150 | NotificationChain msgs = null; | ||
151 | if (upperBound != null) | ||
152 | msgs = ((InternalEObject)upperBound).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__UPPER_BOUND, null, msgs); | ||
153 | if (newUpperBound != null) | ||
154 | msgs = ((InternalEObject)newUpperBound).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__UPPER_BOUND, null, msgs); | ||
155 | msgs = basicSetUpperBound(newUpperBound, msgs); | ||
156 | if (msgs != null) msgs.dispatch(); | ||
157 | } | ||
158 | else if (eNotificationRequired()) | ||
159 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__UPPER_BOUND, newUpperBound, newUpperBound)); | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | @Override | ||
168 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
169 | switch (featureID) { | ||
170 | case SolverLanguagePackage.INTERVAL__LOWER_BOUND: | ||
171 | return basicSetLowerBound(null, msgs); | ||
172 | case SolverLanguagePackage.INTERVAL__UPPER_BOUND: | ||
173 | return basicSetUpperBound(null, msgs); | ||
174 | } | ||
175 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
185 | switch (featureID) { | ||
186 | case SolverLanguagePackage.INTERVAL__LOWER_BOUND: | ||
187 | return getLowerBound(); | ||
188 | case SolverLanguagePackage.INTERVAL__UPPER_BOUND: | ||
189 | return getUpperBound(); | ||
190 | } | ||
191 | return super.eGet(featureID, resolve, coreType); | ||
192 | } | ||
193 | |||
194 | /** | ||
195 | * <!-- begin-user-doc --> | ||
196 | * <!-- end-user-doc --> | ||
197 | * @generated | ||
198 | */ | ||
199 | @Override | ||
200 | public void eSet(int featureID, Object newValue) { | ||
201 | switch (featureID) { | ||
202 | case SolverLanguagePackage.INTERVAL__LOWER_BOUND: | ||
203 | setLowerBound((Expression)newValue); | ||
204 | return; | ||
205 | case SolverLanguagePackage.INTERVAL__UPPER_BOUND: | ||
206 | setUpperBound((Expression)newValue); | ||
207 | return; | ||
208 | } | ||
209 | super.eSet(featureID, newValue); | ||
210 | } | ||
211 | |||
212 | /** | ||
213 | * <!-- begin-user-doc --> | ||
214 | * <!-- end-user-doc --> | ||
215 | * @generated | ||
216 | */ | ||
217 | @Override | ||
218 | public void eUnset(int featureID) { | ||
219 | switch (featureID) { | ||
220 | case SolverLanguagePackage.INTERVAL__LOWER_BOUND: | ||
221 | setLowerBound((Expression)null); | ||
222 | return; | ||
223 | case SolverLanguagePackage.INTERVAL__UPPER_BOUND: | ||
224 | setUpperBound((Expression)null); | ||
225 | return; | ||
226 | } | ||
227 | super.eUnset(featureID); | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @generated | ||
234 | */ | ||
235 | @Override | ||
236 | public boolean eIsSet(int featureID) { | ||
237 | switch (featureID) { | ||
238 | case SolverLanguagePackage.INTERVAL__LOWER_BOUND: | ||
239 | return lowerBound != null; | ||
240 | case SolverLanguagePackage.INTERVAL__UPPER_BOUND: | ||
241 | return upperBound != null; | ||
242 | } | ||
243 | return super.eIsSet(featureID); | ||
244 | } | ||
245 | |||
246 | } //IntervalImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java deleted file mode 100644 index 9788c44d..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java +++ /dev/null | |||
@@ -1,248 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
14 | |||
15 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
18 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
19 | |||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * An implementation of the model object '<em><b>Let Binding</b></em>'. | ||
23 | * <!-- end-user-doc --> | ||
24 | * <p> | ||
25 | * The following features are implemented: | ||
26 | * </p> | ||
27 | * <ul> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl#getVariable <em>Variable</em>}</li> | ||
29 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl#getValue <em>Value</em>}</li> | ||
30 | * </ul> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class LetBindingImpl extends MinimalEObjectImpl.Container implements LetBinding { | ||
35 | /** | ||
36 | * The cached value of the '{@link #getVariable() <em>Variable</em>}' containment reference. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @see #getVariable() | ||
40 | * @generated | ||
41 | * @ordered | ||
42 | */ | ||
43 | protected NamedElement variable; | ||
44 | |||
45 | /** | ||
46 | * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @see #getValue() | ||
50 | * @generated | ||
51 | * @ordered | ||
52 | */ | ||
53 | protected Expression value; | ||
54 | |||
55 | /** | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @generated | ||
59 | */ | ||
60 | protected LetBindingImpl() { | ||
61 | super(); | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | @Override | ||
70 | protected EClass eStaticClass() { | ||
71 | return SolverLanguagePackage.Literals.LET_BINDING; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | @Override | ||
80 | public NamedElement getVariable() { | ||
81 | return variable; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetVariable(NamedElement newVariable, NotificationChain msgs) { | ||
90 | NamedElement oldVariable = variable; | ||
91 | variable = newVariable; | ||
92 | if (eNotificationRequired()) { | ||
93 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VARIABLE, oldVariable, newVariable); | ||
94 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
95 | } | ||
96 | return msgs; | ||
97 | } | ||
98 | |||
99 | /** | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | @Override | ||
105 | public void setVariable(NamedElement newVariable) { | ||
106 | if (newVariable != variable) { | ||
107 | NotificationChain msgs = null; | ||
108 | if (variable != null) | ||
109 | msgs = ((InternalEObject)variable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VARIABLE, null, msgs); | ||
110 | if (newVariable != null) | ||
111 | msgs = ((InternalEObject)newVariable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VARIABLE, null, msgs); | ||
112 | msgs = basicSetVariable(newVariable, msgs); | ||
113 | if (msgs != null) msgs.dispatch(); | ||
114 | } | ||
115 | else if (eNotificationRequired()) | ||
116 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VARIABLE, newVariable, newVariable)); | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public Expression getValue() { | ||
126 | return value; | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | public NotificationChain basicSetValue(Expression newValue, NotificationChain msgs) { | ||
135 | Expression oldValue = value; | ||
136 | value = newValue; | ||
137 | if (eNotificationRequired()) { | ||
138 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VALUE, oldValue, newValue); | ||
139 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
140 | } | ||
141 | return msgs; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void setValue(Expression newValue) { | ||
151 | if (newValue != value) { | ||
152 | NotificationChain msgs = null; | ||
153 | if (value != null) | ||
154 | msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VALUE, null, msgs); | ||
155 | if (newValue != null) | ||
156 | msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VALUE, null, msgs); | ||
157 | msgs = basicSetValue(newValue, msgs); | ||
158 | if (msgs != null) msgs.dispatch(); | ||
159 | } | ||
160 | else if (eNotificationRequired()) | ||
161 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VALUE, newValue, newValue)); | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | @Override | ||
170 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
171 | switch (featureID) { | ||
172 | case SolverLanguagePackage.LET_BINDING__VARIABLE: | ||
173 | return basicSetVariable(null, msgs); | ||
174 | case SolverLanguagePackage.LET_BINDING__VALUE: | ||
175 | return basicSetValue(null, msgs); | ||
176 | } | ||
177 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | */ | ||
185 | @Override | ||
186 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
187 | switch (featureID) { | ||
188 | case SolverLanguagePackage.LET_BINDING__VARIABLE: | ||
189 | return getVariable(); | ||
190 | case SolverLanguagePackage.LET_BINDING__VALUE: | ||
191 | return getValue(); | ||
192 | } | ||
193 | return super.eGet(featureID, resolve, coreType); | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @generated | ||
200 | */ | ||
201 | @Override | ||
202 | public void eSet(int featureID, Object newValue) { | ||
203 | switch (featureID) { | ||
204 | case SolverLanguagePackage.LET_BINDING__VARIABLE: | ||
205 | setVariable((NamedElement)newValue); | ||
206 | return; | ||
207 | case SolverLanguagePackage.LET_BINDING__VALUE: | ||
208 | setValue((Expression)newValue); | ||
209 | return; | ||
210 | } | ||
211 | super.eSet(featureID, newValue); | ||
212 | } | ||
213 | |||
214 | /** | ||
215 | * <!-- begin-user-doc --> | ||
216 | * <!-- end-user-doc --> | ||
217 | * @generated | ||
218 | */ | ||
219 | @Override | ||
220 | public void eUnset(int featureID) { | ||
221 | switch (featureID) { | ||
222 | case SolverLanguagePackage.LET_BINDING__VARIABLE: | ||
223 | setVariable((NamedElement)null); | ||
224 | return; | ||
225 | case SolverLanguagePackage.LET_BINDING__VALUE: | ||
226 | setValue((Expression)null); | ||
227 | return; | ||
228 | } | ||
229 | super.eUnset(featureID); | ||
230 | } | ||
231 | |||
232 | /** | ||
233 | * <!-- begin-user-doc --> | ||
234 | * <!-- end-user-doc --> | ||
235 | * @generated | ||
236 | */ | ||
237 | @Override | ||
238 | public boolean eIsSet(int featureID) { | ||
239 | switch (featureID) { | ||
240 | case SolverLanguagePackage.LET_BINDING__VARIABLE: | ||
241 | return variable != null; | ||
242 | case SolverLanguagePackage.LET_BINDING__VALUE: | ||
243 | return value != null; | ||
244 | } | ||
245 | return super.eIsSet(featureID); | ||
246 | } | ||
247 | |||
248 | } //LetBindingImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetImpl.java deleted file mode 100644 index 841c74c7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetImpl.java +++ /dev/null | |||
@@ -1,224 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import java.util.Collection; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | import org.eclipse.emf.common.notify.NotificationChain; | ||
10 | |||
11 | import org.eclipse.emf.common.util.EList; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
22 | import org.eclipse.viatra.solver.language.solverLanguage.Let; | ||
23 | import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; | ||
24 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
25 | |||
26 | /** | ||
27 | * <!-- begin-user-doc --> | ||
28 | * An implementation of the model object '<em><b>Let</b></em>'. | ||
29 | * <!-- end-user-doc --> | ||
30 | * <p> | ||
31 | * The following features are implemented: | ||
32 | * </p> | ||
33 | * <ul> | ||
34 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl#getBindings <em>Bindings</em>}</li> | ||
35 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl#getBody <em>Body</em>}</li> | ||
36 | * </ul> | ||
37 | * | ||
38 | * @generated | ||
39 | */ | ||
40 | public class LetImpl extends ExpressionImpl implements Let { | ||
41 | /** | ||
42 | * The cached value of the '{@link #getBindings() <em>Bindings</em>}' containment reference list. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getBindings() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected EList<LetBinding> bindings; | ||
50 | |||
51 | /** | ||
52 | * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getBody() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected Expression body; | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | protected LetImpl() { | ||
67 | super(); | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | @Override | ||
76 | protected EClass eStaticClass() { | ||
77 | return SolverLanguagePackage.Literals.LET; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | @Override | ||
86 | public EList<LetBinding> getBindings() { | ||
87 | if (bindings == null) { | ||
88 | bindings = new EObjectContainmentEList<LetBinding>(LetBinding.class, this, SolverLanguagePackage.LET__BINDINGS); | ||
89 | } | ||
90 | return bindings; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @Override | ||
99 | public Expression getBody() { | ||
100 | return body; | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { | ||
109 | Expression oldBody = body; | ||
110 | body = newBody; | ||
111 | if (eNotificationRequired()) { | ||
112 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET__BODY, oldBody, newBody); | ||
113 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
114 | } | ||
115 | return msgs; | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | @Override | ||
124 | public void setBody(Expression newBody) { | ||
125 | if (newBody != body) { | ||
126 | NotificationChain msgs = null; | ||
127 | if (body != null) | ||
128 | msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET__BODY, null, msgs); | ||
129 | if (newBody != null) | ||
130 | msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET__BODY, null, msgs); | ||
131 | msgs = basicSetBody(newBody, msgs); | ||
132 | if (msgs != null) msgs.dispatch(); | ||
133 | } | ||
134 | else if (eNotificationRequired()) | ||
135 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET__BODY, newBody, newBody)); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
145 | switch (featureID) { | ||
146 | case SolverLanguagePackage.LET__BINDINGS: | ||
147 | return ((InternalEList<?>)getBindings()).basicRemove(otherEnd, msgs); | ||
148 | case SolverLanguagePackage.LET__BODY: | ||
149 | return basicSetBody(null, msgs); | ||
150 | } | ||
151 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
152 | } | ||
153 | |||
154 | /** | ||
155 | * <!-- begin-user-doc --> | ||
156 | * <!-- end-user-doc --> | ||
157 | * @generated | ||
158 | */ | ||
159 | @Override | ||
160 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
161 | switch (featureID) { | ||
162 | case SolverLanguagePackage.LET__BINDINGS: | ||
163 | return getBindings(); | ||
164 | case SolverLanguagePackage.LET__BODY: | ||
165 | return getBody(); | ||
166 | } | ||
167 | return super.eGet(featureID, resolve, coreType); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @SuppressWarnings("unchecked") | ||
176 | @Override | ||
177 | public void eSet(int featureID, Object newValue) { | ||
178 | switch (featureID) { | ||
179 | case SolverLanguagePackage.LET__BINDINGS: | ||
180 | getBindings().clear(); | ||
181 | getBindings().addAll((Collection<? extends LetBinding>)newValue); | ||
182 | return; | ||
183 | case SolverLanguagePackage.LET__BODY: | ||
184 | setBody((Expression)newValue); | ||
185 | return; | ||
186 | } | ||
187 | super.eSet(featureID, newValue); | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | @Override | ||
196 | public void eUnset(int featureID) { | ||
197 | switch (featureID) { | ||
198 | case SolverLanguagePackage.LET__BINDINGS: | ||
199 | getBindings().clear(); | ||
200 | return; | ||
201 | case SolverLanguagePackage.LET__BODY: | ||
202 | setBody((Expression)null); | ||
203 | return; | ||
204 | } | ||
205 | super.eUnset(featureID); | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | */ | ||
213 | @Override | ||
214 | public boolean eIsSet(int featureID) { | ||
215 | switch (featureID) { | ||
216 | case SolverLanguagePackage.LET__BINDINGS: | ||
217 | return bindings != null && !bindings.isEmpty(); | ||
218 | case SolverLanguagePackage.LET__BODY: | ||
219 | return body != null; | ||
220 | } | ||
221 | return super.eIsSet(featureID); | ||
222 | } | ||
223 | |||
224 | } //LetImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java deleted file mode 100644 index 671fa305..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | |||
8 | import org.eclipse.viatra.solver.language.solverLanguage.Literal; | ||
9 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Literal</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class LiteralImpl extends ExpressionImpl implements Literal { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected LiteralImpl() { | ||
25 | super(); | ||
26 | } | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | @Override | ||
34 | protected EClass eStaticClass() { | ||
35 | return SolverLanguagePackage.Literals.LITERAL; | ||
36 | } | ||
37 | |||
38 | } //LiteralImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LocalVariablesImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LocalVariablesImpl.java deleted file mode 100644 index e34a61c6..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LocalVariablesImpl.java +++ /dev/null | |||
@@ -1,154 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import java.util.Collection; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.NotificationChain; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
16 | |||
17 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
18 | import org.eclipse.emf.ecore.util.InternalEList; | ||
19 | |||
20 | import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; | ||
21 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
22 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
23 | |||
24 | /** | ||
25 | * <!-- begin-user-doc --> | ||
26 | * An implementation of the model object '<em><b>Local Variables</b></em>'. | ||
27 | * <!-- end-user-doc --> | ||
28 | * <p> | ||
29 | * The following features are implemented: | ||
30 | * </p> | ||
31 | * <ul> | ||
32 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl#getVariables <em>Variables</em>}</li> | ||
33 | * </ul> | ||
34 | * | ||
35 | * @generated | ||
36 | */ | ||
37 | public class LocalVariablesImpl extends MinimalEObjectImpl.Container implements LocalVariables { | ||
38 | /** | ||
39 | * The cached value of the '{@link #getVariables() <em>Variables</em>}' containment reference list. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getVariables() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected EList<NamedElement> variables; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected LocalVariablesImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return SolverLanguagePackage.Literals.LOCAL_VARIABLES; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | @Override | ||
73 | public EList<NamedElement> getVariables() { | ||
74 | if (variables == null) { | ||
75 | variables = new EObjectContainmentEList<NamedElement>(NamedElement.class, this, SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES); | ||
76 | } | ||
77 | return variables; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | @Override | ||
86 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
87 | switch (featureID) { | ||
88 | case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: | ||
89 | return ((InternalEList<?>)getVariables()).basicRemove(otherEnd, msgs); | ||
90 | } | ||
91 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | @Override | ||
100 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
101 | switch (featureID) { | ||
102 | case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: | ||
103 | return getVariables(); | ||
104 | } | ||
105 | return super.eGet(featureID, resolve, coreType); | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | @SuppressWarnings("unchecked") | ||
114 | @Override | ||
115 | public void eSet(int featureID, Object newValue) { | ||
116 | switch (featureID) { | ||
117 | case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: | ||
118 | getVariables().clear(); | ||
119 | getVariables().addAll((Collection<? extends NamedElement>)newValue); | ||
120 | return; | ||
121 | } | ||
122 | super.eSet(featureID, newValue); | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | @Override | ||
131 | public void eUnset(int featureID) { | ||
132 | switch (featureID) { | ||
133 | case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: | ||
134 | getVariables().clear(); | ||
135 | return; | ||
136 | } | ||
137 | super.eUnset(featureID); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public boolean eIsSet(int featureID) { | ||
147 | switch (featureID) { | ||
148 | case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: | ||
149 | return variables != null && !variables.isEmpty(); | ||
150 | } | ||
151 | return super.eIsSet(featureID); | ||
152 | } | ||
153 | |||
154 | } //LocalVariablesImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java deleted file mode 100644 index 602edee1..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java +++ /dev/null | |||
@@ -1,166 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | |||
12 | import org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral; | ||
13 | import org.eclipse.viatra.solver.language.solverLanguage.LogicValue; | ||
14 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>Logic Literal</b></em>'. | ||
19 | * <!-- end-user-doc --> | ||
20 | * <p> | ||
21 | * The following features are implemented: | ||
22 | * </p> | ||
23 | * <ul> | ||
24 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl#getValue <em>Value</em>}</li> | ||
25 | * </ul> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class LogicLiteralImpl extends LiteralImpl implements LogicLiteral { | ||
30 | /** | ||
31 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @see #getValue() | ||
35 | * @generated | ||
36 | * @ordered | ||
37 | */ | ||
38 | protected static final LogicValue VALUE_EDEFAULT = LogicValue.TRUE; | ||
39 | |||
40 | /** | ||
41 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getValue() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected LogicValue value = VALUE_EDEFAULT; | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | protected LogicLiteralImpl() { | ||
56 | super(); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | protected EClass eStaticClass() { | ||
66 | return SolverLanguagePackage.Literals.LOGIC_LITERAL; | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | @Override | ||
75 | public LogicValue getValue() { | ||
76 | return value; | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | @Override | ||
85 | public void setValue(LogicValue newValue) { | ||
86 | LogicValue oldValue = value; | ||
87 | value = newValue == null ? VALUE_EDEFAULT : newValue; | ||
88 | if (eNotificationRequired()) | ||
89 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LOGIC_LITERAL__VALUE, oldValue, value)); | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | @Override | ||
98 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
99 | switch (featureID) { | ||
100 | case SolverLanguagePackage.LOGIC_LITERAL__VALUE: | ||
101 | return getValue(); | ||
102 | } | ||
103 | return super.eGet(featureID, resolve, coreType); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public void eSet(int featureID, Object newValue) { | ||
113 | switch (featureID) { | ||
114 | case SolverLanguagePackage.LOGIC_LITERAL__VALUE: | ||
115 | setValue((LogicValue)newValue); | ||
116 | return; | ||
117 | } | ||
118 | super.eSet(featureID, newValue); | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | @Override | ||
127 | public void eUnset(int featureID) { | ||
128 | switch (featureID) { | ||
129 | case SolverLanguagePackage.LOGIC_LITERAL__VALUE: | ||
130 | setValue(VALUE_EDEFAULT); | ||
131 | return; | ||
132 | } | ||
133 | super.eUnset(featureID); | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | @Override | ||
142 | public boolean eIsSet(int featureID) { | ||
143 | switch (featureID) { | ||
144 | case SolverLanguagePackage.LOGIC_LITERAL__VALUE: | ||
145 | return value != VALUE_EDEFAULT; | ||
146 | } | ||
147 | return super.eIsSet(featureID); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public String toString() { | ||
157 | if (eIsProxy()) return super.toString(); | ||
158 | |||
159 | StringBuilder result = new StringBuilder(super.toString()); | ||
160 | result.append(" (value: "); | ||
161 | result.append(value); | ||
162 | result.append(')'); | ||
163 | return result.toString(); | ||
164 | } | ||
165 | |||
166 | } //LogicLiteralImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java deleted file mode 100644 index 0e33864d..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java +++ /dev/null | |||
@@ -1,165 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | |||
12 | import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition; | ||
13 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Lower Bounded Scope Definition</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl#getLowerBound <em>Lower Bound</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class LowerBoundedScopeDefinitionImpl extends ScopeDefinitionImpl implements LowerBoundedScopeDefinition { | ||
29 | /** | ||
30 | * The default value of the '{@link #getLowerBound() <em>Lower Bound</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getLowerBound() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final int LOWER_BOUND_EDEFAULT = 0; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getLowerBound() <em>Lower Bound</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getLowerBound() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected int lowerBound = LOWER_BOUND_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected LowerBoundedScopeDefinitionImpl() { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() { | ||
65 | return SolverLanguagePackage.Literals.LOWER_BOUNDED_SCOPE_DEFINITION; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | @Override | ||
74 | public int getLowerBound() { | ||
75 | return lowerBound; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public void setLowerBound(int newLowerBound) { | ||
85 | int oldLowerBound = lowerBound; | ||
86 | lowerBound = newLowerBound; | ||
87 | if (eNotificationRequired()) | ||
88 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND, oldLowerBound, lowerBound)); | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
98 | switch (featureID) { | ||
99 | case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: | ||
100 | return getLowerBound(); | ||
101 | } | ||
102 | return super.eGet(featureID, resolve, coreType); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: | ||
114 | setLowerBound((Integer)newValue); | ||
115 | return; | ||
116 | } | ||
117 | super.eSet(featureID, newValue); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void eUnset(int featureID) { | ||
127 | switch (featureID) { | ||
128 | case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: | ||
129 | setLowerBound(LOWER_BOUND_EDEFAULT); | ||
130 | return; | ||
131 | } | ||
132 | super.eUnset(featureID); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public boolean eIsSet(int featureID) { | ||
142 | switch (featureID) { | ||
143 | case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: | ||
144 | return lowerBound != LOWER_BOUND_EDEFAULT; | ||
145 | } | ||
146 | return super.eIsSet(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public String toString() { | ||
156 | if (eIsProxy()) return super.toString(); | ||
157 | |||
158 | StringBuilder result = new StringBuilder(super.toString()); | ||
159 | result.append(" (lowerBound: "); | ||
160 | result.append(lowerBound); | ||
161 | result.append(')'); | ||
162 | return result.toString(); | ||
163 | } | ||
164 | |||
165 | } //LowerBoundedScopeDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java deleted file mode 100644 index 20a59027..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | |||
8 | import org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity; | ||
9 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Many Multiplicity</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class ManyMultiplicityImpl extends MultiplicityImpl implements ManyMultiplicity { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ManyMultiplicityImpl() { | ||
25 | super(); | ||
26 | } | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | @Override | ||
34 | protected EClass eStaticClass() { | ||
35 | return SolverLanguagePackage.Literals.MANY_MULTIPLICITY; | ||
36 | } | ||
37 | |||
38 | } //ManyMultiplicityImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java deleted file mode 100644 index f632faa4..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java +++ /dev/null | |||
@@ -1,430 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
14 | |||
15 | import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
18 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
19 | |||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * An implementation of the model object '<em><b>Member Definition</b></em>'. | ||
23 | * <!-- end-user-doc --> | ||
24 | * <p> | ||
25 | * The following features are implemented: | ||
26 | * </p> | ||
27 | * <ul> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#isContainment <em>Containment</em>}</li> | ||
29 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getType <em>Type</em>}</li> | ||
30 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getMultiplicity <em>Multiplicity</em>}</li> | ||
31 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getName <em>Name</em>}</li> | ||
32 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getOpposite <em>Opposite</em>}</li> | ||
33 | * </ul> | ||
34 | * | ||
35 | * @generated | ||
36 | */ | ||
37 | public class MemberDefinitionImpl extends MinimalEObjectImpl.Container implements MemberDefinition { | ||
38 | /** | ||
39 | * The default value of the '{@link #isContainment() <em>Containment</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #isContainment() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected static final boolean CONTAINMENT_EDEFAULT = false; | ||
47 | |||
48 | /** | ||
49 | * The cached value of the '{@link #isContainment() <em>Containment</em>}' attribute. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @see #isContainment() | ||
53 | * @generated | ||
54 | * @ordered | ||
55 | */ | ||
56 | protected boolean containment = CONTAINMENT_EDEFAULT; | ||
57 | |||
58 | /** | ||
59 | * The cached value of the '{@link #getType() <em>Type</em>}' reference. | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @see #getType() | ||
63 | * @generated | ||
64 | * @ordered | ||
65 | */ | ||
66 | protected NamedElement type; | ||
67 | |||
68 | /** | ||
69 | * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' containment reference. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @see #getMultiplicity() | ||
73 | * @generated | ||
74 | * @ordered | ||
75 | */ | ||
76 | protected Multiplicity multiplicity; | ||
77 | |||
78 | /** | ||
79 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @see #getName() | ||
83 | * @generated | ||
84 | * @ordered | ||
85 | */ | ||
86 | protected static final String NAME_EDEFAULT = null; | ||
87 | |||
88 | /** | ||
89 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @see #getName() | ||
93 | * @generated | ||
94 | * @ordered | ||
95 | */ | ||
96 | protected String name = NAME_EDEFAULT; | ||
97 | |||
98 | /** | ||
99 | * The cached value of the '{@link #getOpposite() <em>Opposite</em>}' reference. | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @see #getOpposite() | ||
103 | * @generated | ||
104 | * @ordered | ||
105 | */ | ||
106 | protected NamedElement opposite; | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | protected MemberDefinitionImpl() { | ||
114 | super(); | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | protected EClass eStaticClass() { | ||
124 | return SolverLanguagePackage.Literals.MEMBER_DEFINITION; | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public boolean isContainment() { | ||
134 | return containment; | ||
135 | } | ||
136 | |||
137 | /** | ||
138 | * <!-- begin-user-doc --> | ||
139 | * <!-- end-user-doc --> | ||
140 | * @generated | ||
141 | */ | ||
142 | @Override | ||
143 | public void setContainment(boolean newContainment) { | ||
144 | boolean oldContainment = containment; | ||
145 | containment = newContainment; | ||
146 | if (eNotificationRequired()) | ||
147 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT, oldContainment, containment)); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public NamedElement getType() { | ||
157 | if (type != null && type.eIsProxy()) { | ||
158 | InternalEObject oldType = (InternalEObject)type; | ||
159 | type = (NamedElement)eResolveProxy(oldType); | ||
160 | if (type != oldType) { | ||
161 | if (eNotificationRequired()) | ||
162 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.MEMBER_DEFINITION__TYPE, oldType, type)); | ||
163 | } | ||
164 | } | ||
165 | return type; | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | public NamedElement basicGetType() { | ||
174 | return type; | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public void setType(NamedElement newType) { | ||
184 | NamedElement oldType = type; | ||
185 | type = newType; | ||
186 | if (eNotificationRequired()) | ||
187 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__TYPE, oldType, type)); | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | @Override | ||
196 | public Multiplicity getMultiplicity() { | ||
197 | return multiplicity; | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @generated | ||
204 | */ | ||
205 | public NotificationChain basicSetMultiplicity(Multiplicity newMultiplicity, NotificationChain msgs) { | ||
206 | Multiplicity oldMultiplicity = multiplicity; | ||
207 | multiplicity = newMultiplicity; | ||
208 | if (eNotificationRequired()) { | ||
209 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, oldMultiplicity, newMultiplicity); | ||
210 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
211 | } | ||
212 | return msgs; | ||
213 | } | ||
214 | |||
215 | /** | ||
216 | * <!-- begin-user-doc --> | ||
217 | * <!-- end-user-doc --> | ||
218 | * @generated | ||
219 | */ | ||
220 | @Override | ||
221 | public void setMultiplicity(Multiplicity newMultiplicity) { | ||
222 | if (newMultiplicity != multiplicity) { | ||
223 | NotificationChain msgs = null; | ||
224 | if (multiplicity != null) | ||
225 | msgs = ((InternalEObject)multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, null, msgs); | ||
226 | if (newMultiplicity != null) | ||
227 | msgs = ((InternalEObject)newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, null, msgs); | ||
228 | msgs = basicSetMultiplicity(newMultiplicity, msgs); | ||
229 | if (msgs != null) msgs.dispatch(); | ||
230 | } | ||
231 | else if (eNotificationRequired()) | ||
232 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, newMultiplicity, newMultiplicity)); | ||
233 | } | ||
234 | |||
235 | /** | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @generated | ||
239 | */ | ||
240 | @Override | ||
241 | public String getName() { | ||
242 | return name; | ||
243 | } | ||
244 | |||
245 | /** | ||
246 | * <!-- begin-user-doc --> | ||
247 | * <!-- end-user-doc --> | ||
248 | * @generated | ||
249 | */ | ||
250 | @Override | ||
251 | public void setName(String newName) { | ||
252 | String oldName = name; | ||
253 | name = newName; | ||
254 | if (eNotificationRequired()) | ||
255 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__NAME, oldName, name)); | ||
256 | } | ||
257 | |||
258 | /** | ||
259 | * <!-- begin-user-doc --> | ||
260 | * <!-- end-user-doc --> | ||
261 | * @generated | ||
262 | */ | ||
263 | @Override | ||
264 | public NamedElement getOpposite() { | ||
265 | if (opposite != null && opposite.eIsProxy()) { | ||
266 | InternalEObject oldOpposite = (InternalEObject)opposite; | ||
267 | opposite = (NamedElement)eResolveProxy(oldOpposite); | ||
268 | if (opposite != oldOpposite) { | ||
269 | if (eNotificationRequired()) | ||
270 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE, oldOpposite, opposite)); | ||
271 | } | ||
272 | } | ||
273 | return opposite; | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * <!-- begin-user-doc --> | ||
278 | * <!-- end-user-doc --> | ||
279 | * @generated | ||
280 | */ | ||
281 | public NamedElement basicGetOpposite() { | ||
282 | return opposite; | ||
283 | } | ||
284 | |||
285 | /** | ||
286 | * <!-- begin-user-doc --> | ||
287 | * <!-- end-user-doc --> | ||
288 | * @generated | ||
289 | */ | ||
290 | @Override | ||
291 | public void setOpposite(NamedElement newOpposite) { | ||
292 | NamedElement oldOpposite = opposite; | ||
293 | opposite = newOpposite; | ||
294 | if (eNotificationRequired()) | ||
295 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE, oldOpposite, opposite)); | ||
296 | } | ||
297 | |||
298 | /** | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | */ | ||
303 | @Override | ||
304 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
305 | switch (featureID) { | ||
306 | case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: | ||
307 | return basicSetMultiplicity(null, msgs); | ||
308 | } | ||
309 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
310 | } | ||
311 | |||
312 | /** | ||
313 | * <!-- begin-user-doc --> | ||
314 | * <!-- end-user-doc --> | ||
315 | * @generated | ||
316 | */ | ||
317 | @Override | ||
318 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
319 | switch (featureID) { | ||
320 | case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: | ||
321 | return isContainment(); | ||
322 | case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: | ||
323 | if (resolve) return getType(); | ||
324 | return basicGetType(); | ||
325 | case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: | ||
326 | return getMultiplicity(); | ||
327 | case SolverLanguagePackage.MEMBER_DEFINITION__NAME: | ||
328 | return getName(); | ||
329 | case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: | ||
330 | if (resolve) return getOpposite(); | ||
331 | return basicGetOpposite(); | ||
332 | } | ||
333 | return super.eGet(featureID, resolve, coreType); | ||
334 | } | ||
335 | |||
336 | /** | ||
337 | * <!-- begin-user-doc --> | ||
338 | * <!-- end-user-doc --> | ||
339 | * @generated | ||
340 | */ | ||
341 | @Override | ||
342 | public void eSet(int featureID, Object newValue) { | ||
343 | switch (featureID) { | ||
344 | case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: | ||
345 | setContainment((Boolean)newValue); | ||
346 | return; | ||
347 | case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: | ||
348 | setType((NamedElement)newValue); | ||
349 | return; | ||
350 | case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: | ||
351 | setMultiplicity((Multiplicity)newValue); | ||
352 | return; | ||
353 | case SolverLanguagePackage.MEMBER_DEFINITION__NAME: | ||
354 | setName((String)newValue); | ||
355 | return; | ||
356 | case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: | ||
357 | setOpposite((NamedElement)newValue); | ||
358 | return; | ||
359 | } | ||
360 | super.eSet(featureID, newValue); | ||
361 | } | ||
362 | |||
363 | /** | ||
364 | * <!-- begin-user-doc --> | ||
365 | * <!-- end-user-doc --> | ||
366 | * @generated | ||
367 | */ | ||
368 | @Override | ||
369 | public void eUnset(int featureID) { | ||
370 | switch (featureID) { | ||
371 | case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: | ||
372 | setContainment(CONTAINMENT_EDEFAULT); | ||
373 | return; | ||
374 | case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: | ||
375 | setType((NamedElement)null); | ||
376 | return; | ||
377 | case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: | ||
378 | setMultiplicity((Multiplicity)null); | ||
379 | return; | ||
380 | case SolverLanguagePackage.MEMBER_DEFINITION__NAME: | ||
381 | setName(NAME_EDEFAULT); | ||
382 | return; | ||
383 | case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: | ||
384 | setOpposite((NamedElement)null); | ||
385 | return; | ||
386 | } | ||
387 | super.eUnset(featureID); | ||
388 | } | ||
389 | |||
390 | /** | ||
391 | * <!-- begin-user-doc --> | ||
392 | * <!-- end-user-doc --> | ||
393 | * @generated | ||
394 | */ | ||
395 | @Override | ||
396 | public boolean eIsSet(int featureID) { | ||
397 | switch (featureID) { | ||
398 | case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: | ||
399 | return containment != CONTAINMENT_EDEFAULT; | ||
400 | case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: | ||
401 | return type != null; | ||
402 | case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: | ||
403 | return multiplicity != null; | ||
404 | case SolverLanguagePackage.MEMBER_DEFINITION__NAME: | ||
405 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
406 | case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: | ||
407 | return opposite != null; | ||
408 | } | ||
409 | return super.eIsSet(featureID); | ||
410 | } | ||
411 | |||
412 | /** | ||
413 | * <!-- begin-user-doc --> | ||
414 | * <!-- end-user-doc --> | ||
415 | * @generated | ||
416 | */ | ||
417 | @Override | ||
418 | public String toString() { | ||
419 | if (eIsProxy()) return super.toString(); | ||
420 | |||
421 | StringBuilder result = new StringBuilder(super.toString()); | ||
422 | result.append(" (containment: "); | ||
423 | result.append(containment); | ||
424 | result.append(", name: "); | ||
425 | result.append(name); | ||
426 | result.append(')'); | ||
427 | return result.toString(); | ||
428 | } | ||
429 | |||
430 | } //MemberDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java deleted file mode 100644 index d441b8c1..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java +++ /dev/null | |||
@@ -1,309 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Metric Definition</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl#getHead <em>Head</em>}</li> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl#getBody <em>Body</em>}</li> | ||
29 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl#getType <em>Type</em>}</li> | ||
30 | * </ul> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class MetricDefinitionImpl extends StatementImpl implements MetricDefinition { | ||
35 | /** | ||
36 | * The cached value of the '{@link #getHead() <em>Head</em>}' containment reference. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @see #getHead() | ||
40 | * @generated | ||
41 | * @ordered | ||
42 | */ | ||
43 | protected Expression head; | ||
44 | |||
45 | /** | ||
46 | * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @see #getBody() | ||
50 | * @generated | ||
51 | * @ordered | ||
52 | */ | ||
53 | protected Expression body; | ||
54 | |||
55 | /** | ||
56 | * The cached value of the '{@link #getType() <em>Type</em>}' reference. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @see #getType() | ||
60 | * @generated | ||
61 | * @ordered | ||
62 | */ | ||
63 | protected NamedElement type; | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | protected MetricDefinitionImpl() { | ||
71 | super(); | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | @Override | ||
80 | protected EClass eStaticClass() { | ||
81 | return SolverLanguagePackage.Literals.METRIC_DEFINITION; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | @Override | ||
90 | public Expression getHead() { | ||
91 | return head; | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | public NotificationChain basicSetHead(Expression newHead, NotificationChain msgs) { | ||
100 | Expression oldHead = head; | ||
101 | head = newHead; | ||
102 | if (eNotificationRequired()) { | ||
103 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__HEAD, oldHead, newHead); | ||
104 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
105 | } | ||
106 | return msgs; | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | @Override | ||
115 | public void setHead(Expression newHead) { | ||
116 | if (newHead != head) { | ||
117 | NotificationChain msgs = null; | ||
118 | if (head != null) | ||
119 | msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__HEAD, null, msgs); | ||
120 | if (newHead != null) | ||
121 | msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__HEAD, null, msgs); | ||
122 | msgs = basicSetHead(newHead, msgs); | ||
123 | if (msgs != null) msgs.dispatch(); | ||
124 | } | ||
125 | else if (eNotificationRequired()) | ||
126 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__HEAD, newHead, newHead)); | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | @Override | ||
135 | public Expression getBody() { | ||
136 | return body; | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { | ||
145 | Expression oldBody = body; | ||
146 | body = newBody; | ||
147 | if (eNotificationRequired()) { | ||
148 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__BODY, oldBody, newBody); | ||
149 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
150 | } | ||
151 | return msgs; | ||
152 | } | ||
153 | |||
154 | /** | ||
155 | * <!-- begin-user-doc --> | ||
156 | * <!-- end-user-doc --> | ||
157 | * @generated | ||
158 | */ | ||
159 | @Override | ||
160 | public void setBody(Expression newBody) { | ||
161 | if (newBody != body) { | ||
162 | NotificationChain msgs = null; | ||
163 | if (body != null) | ||
164 | msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__BODY, null, msgs); | ||
165 | if (newBody != null) | ||
166 | msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__BODY, null, msgs); | ||
167 | msgs = basicSetBody(newBody, msgs); | ||
168 | if (msgs != null) msgs.dispatch(); | ||
169 | } | ||
170 | else if (eNotificationRequired()) | ||
171 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__BODY, newBody, newBody)); | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | @Override | ||
180 | public NamedElement getType() { | ||
181 | if (type != null && type.eIsProxy()) { | ||
182 | InternalEObject oldType = (InternalEObject)type; | ||
183 | type = (NamedElement)eResolveProxy(oldType); | ||
184 | if (type != oldType) { | ||
185 | if (eNotificationRequired()) | ||
186 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.METRIC_DEFINITION__TYPE, oldType, type)); | ||
187 | } | ||
188 | } | ||
189 | return type; | ||
190 | } | ||
191 | |||
192 | /** | ||
193 | * <!-- begin-user-doc --> | ||
194 | * <!-- end-user-doc --> | ||
195 | * @generated | ||
196 | */ | ||
197 | public NamedElement basicGetType() { | ||
198 | return type; | ||
199 | } | ||
200 | |||
201 | /** | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | */ | ||
206 | @Override | ||
207 | public void setType(NamedElement newType) { | ||
208 | NamedElement oldType = type; | ||
209 | type = newType; | ||
210 | if (eNotificationRequired()) | ||
211 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__TYPE, oldType, type)); | ||
212 | } | ||
213 | |||
214 | /** | ||
215 | * <!-- begin-user-doc --> | ||
216 | * <!-- end-user-doc --> | ||
217 | * @generated | ||
218 | */ | ||
219 | @Override | ||
220 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
221 | switch (featureID) { | ||
222 | case SolverLanguagePackage.METRIC_DEFINITION__HEAD: | ||
223 | return basicSetHead(null, msgs); | ||
224 | case SolverLanguagePackage.METRIC_DEFINITION__BODY: | ||
225 | return basicSetBody(null, msgs); | ||
226 | } | ||
227 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @generated | ||
234 | */ | ||
235 | @Override | ||
236 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
237 | switch (featureID) { | ||
238 | case SolverLanguagePackage.METRIC_DEFINITION__HEAD: | ||
239 | return getHead(); | ||
240 | case SolverLanguagePackage.METRIC_DEFINITION__BODY: | ||
241 | return getBody(); | ||
242 | case SolverLanguagePackage.METRIC_DEFINITION__TYPE: | ||
243 | if (resolve) return getType(); | ||
244 | return basicGetType(); | ||
245 | } | ||
246 | return super.eGet(featureID, resolve, coreType); | ||
247 | } | ||
248 | |||
249 | /** | ||
250 | * <!-- begin-user-doc --> | ||
251 | * <!-- end-user-doc --> | ||
252 | * @generated | ||
253 | */ | ||
254 | @Override | ||
255 | public void eSet(int featureID, Object newValue) { | ||
256 | switch (featureID) { | ||
257 | case SolverLanguagePackage.METRIC_DEFINITION__HEAD: | ||
258 | setHead((Expression)newValue); | ||
259 | return; | ||
260 | case SolverLanguagePackage.METRIC_DEFINITION__BODY: | ||
261 | setBody((Expression)newValue); | ||
262 | return; | ||
263 | case SolverLanguagePackage.METRIC_DEFINITION__TYPE: | ||
264 | setType((NamedElement)newValue); | ||
265 | return; | ||
266 | } | ||
267 | super.eSet(featureID, newValue); | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * <!-- begin-user-doc --> | ||
272 | * <!-- end-user-doc --> | ||
273 | * @generated | ||
274 | */ | ||
275 | @Override | ||
276 | public void eUnset(int featureID) { | ||
277 | switch (featureID) { | ||
278 | case SolverLanguagePackage.METRIC_DEFINITION__HEAD: | ||
279 | setHead((Expression)null); | ||
280 | return; | ||
281 | case SolverLanguagePackage.METRIC_DEFINITION__BODY: | ||
282 | setBody((Expression)null); | ||
283 | return; | ||
284 | case SolverLanguagePackage.METRIC_DEFINITION__TYPE: | ||
285 | setType((NamedElement)null); | ||
286 | return; | ||
287 | } | ||
288 | super.eUnset(featureID); | ||
289 | } | ||
290 | |||
291 | /** | ||
292 | * <!-- begin-user-doc --> | ||
293 | * <!-- end-user-doc --> | ||
294 | * @generated | ||
295 | */ | ||
296 | @Override | ||
297 | public boolean eIsSet(int featureID) { | ||
298 | switch (featureID) { | ||
299 | case SolverLanguagePackage.METRIC_DEFINITION__HEAD: | ||
300 | return head != null; | ||
301 | case SolverLanguagePackage.METRIC_DEFINITION__BODY: | ||
302 | return body != null; | ||
303 | case SolverLanguagePackage.METRIC_DEFINITION__TYPE: | ||
304 | return type != null; | ||
305 | } | ||
306 | return super.eIsSet(featureID); | ||
307 | } | ||
308 | |||
309 | } //MetricDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java deleted file mode 100644 index 41fbe6de..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java +++ /dev/null | |||
@@ -1,159 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | import org.eclipse.emf.ecore.InternalEObject; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
12 | |||
13 | import org.eclipse.viatra.solver.language.solverLanguage.Metric; | ||
14 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Metric</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl#getReturnType <em>Return Type</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class MetricImpl extends FunctorImpl implements Metric { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getReturnType() <em>Return Type</em>}' reference. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getReturnType() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected NamedElement returnType; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected MetricImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return SolverLanguagePackage.Literals.METRIC; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | public NamedElement getReturnType() { | ||
67 | if (returnType != null && returnType.eIsProxy()) { | ||
68 | InternalEObject oldReturnType = (InternalEObject)returnType; | ||
69 | returnType = (NamedElement)eResolveProxy(oldReturnType); | ||
70 | if (returnType != oldReturnType) { | ||
71 | if (eNotificationRequired()) | ||
72 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.METRIC__RETURN_TYPE, oldReturnType, returnType)); | ||
73 | } | ||
74 | } | ||
75 | return returnType; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | public NamedElement basicGetReturnType() { | ||
84 | return returnType; | ||
85 | } | ||
86 | |||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | @Override | ||
93 | public void setReturnType(NamedElement newReturnType) { | ||
94 | NamedElement oldReturnType = returnType; | ||
95 | returnType = newReturnType; | ||
96 | if (eNotificationRequired()) | ||
97 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC__RETURN_TYPE, oldReturnType, returnType)); | ||
98 | } | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | @Override | ||
106 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
107 | switch (featureID) { | ||
108 | case SolverLanguagePackage.METRIC__RETURN_TYPE: | ||
109 | if (resolve) return getReturnType(); | ||
110 | return basicGetReturnType(); | ||
111 | } | ||
112 | return super.eGet(featureID, resolve, coreType); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) { | ||
122 | switch (featureID) { | ||
123 | case SolverLanguagePackage.METRIC__RETURN_TYPE: | ||
124 | setReturnType((NamedElement)newValue); | ||
125 | return; | ||
126 | } | ||
127 | super.eSet(featureID, newValue); | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | @Override | ||
136 | public void eUnset(int featureID) { | ||
137 | switch (featureID) { | ||
138 | case SolverLanguagePackage.METRIC__RETURN_TYPE: | ||
139 | setReturnType((NamedElement)null); | ||
140 | return; | ||
141 | } | ||
142 | super.eUnset(featureID); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public boolean eIsSet(int featureID) { | ||
152 | switch (featureID) { | ||
153 | case SolverLanguagePackage.METRIC__RETURN_TYPE: | ||
154 | return returnType != null; | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | } //MetricImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java deleted file mode 100644 index e29fe9f6..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | |||
8 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
9 | |||
10 | import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; | ||
11 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Multiplicity</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class MultiplicityImpl extends MinimalEObjectImpl.Container implements Multiplicity { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected MultiplicityImpl() { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() { | ||
37 | return SolverLanguagePackage.Literals.MULTIPLICITY; | ||
38 | } | ||
39 | |||
40 | } //MultiplicityImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java deleted file mode 100644 index a6b102ac..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java +++ /dev/null | |||
@@ -1,166 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
14 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>Named Element</b></em>'. | ||
19 | * <!-- end-user-doc --> | ||
20 | * <p> | ||
21 | * The following features are implemented: | ||
22 | * </p> | ||
23 | * <ul> | ||
24 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl#getName <em>Name</em>}</li> | ||
25 | * </ul> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class NamedElementImpl extends MinimalEObjectImpl.Container implements NamedElement { | ||
30 | /** | ||
31 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @see #getName() | ||
35 | * @generated | ||
36 | * @ordered | ||
37 | */ | ||
38 | protected static final String NAME_EDEFAULT = null; | ||
39 | |||
40 | /** | ||
41 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getName() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected String name = NAME_EDEFAULT; | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | protected NamedElementImpl() { | ||
56 | super(); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | protected EClass eStaticClass() { | ||
66 | return SolverLanguagePackage.Literals.NAMED_ELEMENT; | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | @Override | ||
75 | public String getName() { | ||
76 | return name; | ||
77 | } | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | @Override | ||
85 | public void setName(String newName) { | ||
86 | String oldName = name; | ||
87 | name = newName; | ||
88 | if (eNotificationRequired()) | ||
89 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.NAMED_ELEMENT__NAME, oldName, name)); | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | @Override | ||
98 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
99 | switch (featureID) { | ||
100 | case SolverLanguagePackage.NAMED_ELEMENT__NAME: | ||
101 | return getName(); | ||
102 | } | ||
103 | return super.eGet(featureID, resolve, coreType); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public void eSet(int featureID, Object newValue) { | ||
113 | switch (featureID) { | ||
114 | case SolverLanguagePackage.NAMED_ELEMENT__NAME: | ||
115 | setName((String)newValue); | ||
116 | return; | ||
117 | } | ||
118 | super.eSet(featureID, newValue); | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | @Override | ||
127 | public void eUnset(int featureID) { | ||
128 | switch (featureID) { | ||
129 | case SolverLanguagePackage.NAMED_ELEMENT__NAME: | ||
130 | setName(NAME_EDEFAULT); | ||
131 | return; | ||
132 | } | ||
133 | super.eUnset(featureID); | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | @Override | ||
142 | public boolean eIsSet(int featureID) { | ||
143 | switch (featureID) { | ||
144 | case SolverLanguagePackage.NAMED_ELEMENT__NAME: | ||
145 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
146 | } | ||
147 | return super.eIsSet(featureID); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public String toString() { | ||
157 | if (eIsProxy()) return super.toString(); | ||
158 | |||
159 | StringBuilder result = new StringBuilder(super.toString()); | ||
160 | result.append(" (name: "); | ||
161 | result.append(name); | ||
162 | result.append(')'); | ||
163 | return result.toString(); | ||
164 | } | ||
165 | |||
166 | } //NamedElementImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java deleted file mode 100644 index a4fcf51f..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java +++ /dev/null | |||
@@ -1,165 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | |||
12 | import org.eclipse.viatra.solver.language.solverLanguage.Node; | ||
13 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Node</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl#isWithId <em>With Id</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class NodeImpl extends NamedElementImpl implements Node { | ||
29 | /** | ||
30 | * The default value of the '{@link #isWithId() <em>With Id</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #isWithId() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final boolean WITH_ID_EDEFAULT = false; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #isWithId() <em>With Id</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #isWithId() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected boolean withId = WITH_ID_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected NodeImpl() { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() { | ||
65 | return SolverLanguagePackage.Literals.NODE; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | @Override | ||
74 | public boolean isWithId() { | ||
75 | return withId; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public void setWithId(boolean newWithId) { | ||
85 | boolean oldWithId = withId; | ||
86 | withId = newWithId; | ||
87 | if (eNotificationRequired()) | ||
88 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.NODE__WITH_ID, oldWithId, withId)); | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
98 | switch (featureID) { | ||
99 | case SolverLanguagePackage.NODE__WITH_ID: | ||
100 | return isWithId(); | ||
101 | } | ||
102 | return super.eGet(featureID, resolve, coreType); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case SolverLanguagePackage.NODE__WITH_ID: | ||
114 | setWithId((Boolean)newValue); | ||
115 | return; | ||
116 | } | ||
117 | super.eSet(featureID, newValue); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void eUnset(int featureID) { | ||
127 | switch (featureID) { | ||
128 | case SolverLanguagePackage.NODE__WITH_ID: | ||
129 | setWithId(WITH_ID_EDEFAULT); | ||
130 | return; | ||
131 | } | ||
132 | super.eUnset(featureID); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public boolean eIsSet(int featureID) { | ||
142 | switch (featureID) { | ||
143 | case SolverLanguagePackage.NODE__WITH_ID: | ||
144 | return withId != WITH_ID_EDEFAULT; | ||
145 | } | ||
146 | return super.eIsSet(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public String toString() { | ||
156 | if (eIsProxy()) return super.toString(); | ||
157 | |||
158 | StringBuilder result = new StringBuilder(super.toString()); | ||
159 | result.append(" (withId: "); | ||
160 | result.append(withId); | ||
161 | result.append(')'); | ||
162 | return result.toString(); | ||
163 | } | ||
164 | |||
165 | } //NodeImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java deleted file mode 100644 index ffd4294d..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java +++ /dev/null | |||
@@ -1,167 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import java.math.BigDecimal; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Numeric Literal</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl#getValue <em>Value</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class NumericLiteralImpl extends LiteralImpl implements NumericLiteral { | ||
31 | /** | ||
32 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getValue() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected static final BigDecimal VALUE_EDEFAULT = null; | ||
40 | |||
41 | /** | ||
42 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getValue() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected BigDecimal value = VALUE_EDEFAULT; | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | protected NumericLiteralImpl() { | ||
57 | super(); | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | protected EClass eStaticClass() { | ||
67 | return SolverLanguagePackage.Literals.NUMERIC_LITERAL; | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | @Override | ||
76 | public BigDecimal getValue() { | ||
77 | return value; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | @Override | ||
86 | public void setValue(BigDecimal newValue) { | ||
87 | BigDecimal oldValue = value; | ||
88 | value = newValue; | ||
89 | if (eNotificationRequired()) | ||
90 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.NUMERIC_LITERAL__VALUE, oldValue, value)); | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @Override | ||
99 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
100 | switch (featureID) { | ||
101 | case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: | ||
102 | return getValue(); | ||
103 | } | ||
104 | return super.eGet(featureID, resolve, coreType); | ||
105 | } | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | @Override | ||
113 | public void eSet(int featureID, Object newValue) { | ||
114 | switch (featureID) { | ||
115 | case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: | ||
116 | setValue((BigDecimal)newValue); | ||
117 | return; | ||
118 | } | ||
119 | super.eSet(featureID, newValue); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public void eUnset(int featureID) { | ||
129 | switch (featureID) { | ||
130 | case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: | ||
131 | setValue(VALUE_EDEFAULT); | ||
132 | return; | ||
133 | } | ||
134 | super.eUnset(featureID); | ||
135 | } | ||
136 | |||
137 | /** | ||
138 | * <!-- begin-user-doc --> | ||
139 | * <!-- end-user-doc --> | ||
140 | * @generated | ||
141 | */ | ||
142 | @Override | ||
143 | public boolean eIsSet(int featureID) { | ||
144 | switch (featureID) { | ||
145 | case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: | ||
146 | return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); | ||
147 | } | ||
148 | return super.eIsSet(featureID); | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public String toString() { | ||
158 | if (eIsProxy()) return super.toString(); | ||
159 | |||
160 | StringBuilder result = new StringBuilder(super.toString()); | ||
161 | result.append(" (value: "); | ||
162 | result.append(value); | ||
163 | result.append(')'); | ||
164 | return result.toString(); | ||
165 | } | ||
166 | |||
167 | } //NumericLiteralImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java deleted file mode 100644 index 7d0e4c50..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java +++ /dev/null | |||
@@ -1,249 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Objective Definition</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl#getKind <em>Kind</em>}</li> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl#getObjective <em>Objective</em>}</li> | ||
29 | * </ul> | ||
30 | * | ||
31 | * @generated | ||
32 | */ | ||
33 | public class ObjectiveDefinitionImpl extends StatementImpl implements ObjectiveDefinition { | ||
34 | /** | ||
35 | * The default value of the '{@link #getKind() <em>Kind</em>}' attribute. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getKind() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected static final ObjectiveKind KIND_EDEFAULT = ObjectiveKind.MINIMIZE; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getKind() <em>Kind</em>}' attribute. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getKind() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected ObjectiveKind kind = KIND_EDEFAULT; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getObjective() <em>Objective</em>}' containment reference. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getObjective() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected Expression objective; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected ObjectiveDefinitionImpl() { | ||
70 | super(); | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | @Override | ||
79 | protected EClass eStaticClass() { | ||
80 | return SolverLanguagePackage.Literals.OBJECTIVE_DEFINITION; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | @Override | ||
89 | public ObjectiveKind getKind() { | ||
90 | return kind; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @Override | ||
99 | public void setKind(ObjectiveKind newKind) { | ||
100 | ObjectiveKind oldKind = kind; | ||
101 | kind = newKind == null ? KIND_EDEFAULT : newKind; | ||
102 | if (eNotificationRequired()) | ||
103 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND, oldKind, kind)); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public Expression getObjective() { | ||
113 | return objective; | ||
114 | } | ||
115 | |||
116 | /** | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | */ | ||
121 | public NotificationChain basicSetObjective(Expression newObjective, NotificationChain msgs) { | ||
122 | Expression oldObjective = objective; | ||
123 | objective = newObjective; | ||
124 | if (eNotificationRequired()) { | ||
125 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, oldObjective, newObjective); | ||
126 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
127 | } | ||
128 | return msgs; | ||
129 | } | ||
130 | |||
131 | /** | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @generated | ||
135 | */ | ||
136 | @Override | ||
137 | public void setObjective(Expression newObjective) { | ||
138 | if (newObjective != objective) { | ||
139 | NotificationChain msgs = null; | ||
140 | if (objective != null) | ||
141 | msgs = ((InternalEObject)objective).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, null, msgs); | ||
142 | if (newObjective != null) | ||
143 | msgs = ((InternalEObject)newObjective).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, null, msgs); | ||
144 | msgs = basicSetObjective(newObjective, msgs); | ||
145 | if (msgs != null) msgs.dispatch(); | ||
146 | } | ||
147 | else if (eNotificationRequired()) | ||
148 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, newObjective, newObjective)); | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
158 | switch (featureID) { | ||
159 | case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: | ||
160 | return basicSetObjective(null, msgs); | ||
161 | } | ||
162 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
163 | } | ||
164 | |||
165 | /** | ||
166 | * <!-- begin-user-doc --> | ||
167 | * <!-- end-user-doc --> | ||
168 | * @generated | ||
169 | */ | ||
170 | @Override | ||
171 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
172 | switch (featureID) { | ||
173 | case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: | ||
174 | return getKind(); | ||
175 | case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: | ||
176 | return getObjective(); | ||
177 | } | ||
178 | return super.eGet(featureID, resolve, coreType); | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | @Override | ||
187 | public void eSet(int featureID, Object newValue) { | ||
188 | switch (featureID) { | ||
189 | case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: | ||
190 | setKind((ObjectiveKind)newValue); | ||
191 | return; | ||
192 | case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: | ||
193 | setObjective((Expression)newValue); | ||
194 | return; | ||
195 | } | ||
196 | super.eSet(featureID, newValue); | ||
197 | } | ||
198 | |||
199 | /** | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | */ | ||
204 | @Override | ||
205 | public void eUnset(int featureID) { | ||
206 | switch (featureID) { | ||
207 | case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: | ||
208 | setKind(KIND_EDEFAULT); | ||
209 | return; | ||
210 | case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: | ||
211 | setObjective((Expression)null); | ||
212 | return; | ||
213 | } | ||
214 | super.eUnset(featureID); | ||
215 | } | ||
216 | |||
217 | /** | ||
218 | * <!-- begin-user-doc --> | ||
219 | * <!-- end-user-doc --> | ||
220 | * @generated | ||
221 | */ | ||
222 | @Override | ||
223 | public boolean eIsSet(int featureID) { | ||
224 | switch (featureID) { | ||
225 | case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: | ||
226 | return kind != KIND_EDEFAULT; | ||
227 | case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: | ||
228 | return objective != null; | ||
229 | } | ||
230 | return super.eIsSet(featureID); | ||
231 | } | ||
232 | |||
233 | /** | ||
234 | * <!-- begin-user-doc --> | ||
235 | * <!-- end-user-doc --> | ||
236 | * @generated | ||
237 | */ | ||
238 | @Override | ||
239 | public String toString() { | ||
240 | if (eIsProxy()) return super.toString(); | ||
241 | |||
242 | StringBuilder result = new StringBuilder(super.toString()); | ||
243 | result.append(" (kind: "); | ||
244 | result.append(kind); | ||
245 | result.append(')'); | ||
246 | return result.toString(); | ||
247 | } | ||
248 | |||
249 | } //ObjectiveDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java deleted file mode 100644 index 251a27d9..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java +++ /dev/null | |||
@@ -1,372 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Predicate Definition</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#getHead <em>Head</em>}</li> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#getBody <em>Body</em>}</li> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#isFunctional <em>Functional</em>}</li> | ||
29 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#isError <em>Error</em>}</li> | ||
30 | * </ul> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class PredicateDefinitionImpl extends StatementImpl implements PredicateDefinition { | ||
35 | /** | ||
36 | * The cached value of the '{@link #getHead() <em>Head</em>}' containment reference. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @see #getHead() | ||
40 | * @generated | ||
41 | * @ordered | ||
42 | */ | ||
43 | protected Expression head; | ||
44 | |||
45 | /** | ||
46 | * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @see #getBody() | ||
50 | * @generated | ||
51 | * @ordered | ||
52 | */ | ||
53 | protected Expression body; | ||
54 | |||
55 | /** | ||
56 | * The default value of the '{@link #isFunctional() <em>Functional</em>}' attribute. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @see #isFunctional() | ||
60 | * @generated | ||
61 | * @ordered | ||
62 | */ | ||
63 | protected static final boolean FUNCTIONAL_EDEFAULT = false; | ||
64 | |||
65 | /** | ||
66 | * The cached value of the '{@link #isFunctional() <em>Functional</em>}' attribute. | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @see #isFunctional() | ||
70 | * @generated | ||
71 | * @ordered | ||
72 | */ | ||
73 | protected boolean functional = FUNCTIONAL_EDEFAULT; | ||
74 | |||
75 | /** | ||
76 | * The default value of the '{@link #isError() <em>Error</em>}' attribute. | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @see #isError() | ||
80 | * @generated | ||
81 | * @ordered | ||
82 | */ | ||
83 | protected static final boolean ERROR_EDEFAULT = false; | ||
84 | |||
85 | /** | ||
86 | * The cached value of the '{@link #isError() <em>Error</em>}' attribute. | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @see #isError() | ||
90 | * @generated | ||
91 | * @ordered | ||
92 | */ | ||
93 | protected boolean error = ERROR_EDEFAULT; | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | protected PredicateDefinitionImpl() { | ||
101 | super(); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @Override | ||
110 | protected EClass eStaticClass() { | ||
111 | return SolverLanguagePackage.Literals.PREDICATE_DEFINITION; | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @Override | ||
120 | public Expression getHead() { | ||
121 | return head; | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | public NotificationChain basicSetHead(Expression newHead, NotificationChain msgs) { | ||
130 | Expression oldHead = head; | ||
131 | head = newHead; | ||
132 | if (eNotificationRequired()) { | ||
133 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, oldHead, newHead); | ||
134 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
135 | } | ||
136 | return msgs; | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | @Override | ||
145 | public void setHead(Expression newHead) { | ||
146 | if (newHead != head) { | ||
147 | NotificationChain msgs = null; | ||
148 | if (head != null) | ||
149 | msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, null, msgs); | ||
150 | if (newHead != null) | ||
151 | msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, null, msgs); | ||
152 | msgs = basicSetHead(newHead, msgs); | ||
153 | if (msgs != null) msgs.dispatch(); | ||
154 | } | ||
155 | else if (eNotificationRequired()) | ||
156 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, newHead, newHead)); | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | @Override | ||
165 | public Expression getBody() { | ||
166 | return body; | ||
167 | } | ||
168 | |||
169 | /** | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @generated | ||
173 | */ | ||
174 | public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { | ||
175 | Expression oldBody = body; | ||
176 | body = newBody; | ||
177 | if (eNotificationRequired()) { | ||
178 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__BODY, oldBody, newBody); | ||
179 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
180 | } | ||
181 | return msgs; | ||
182 | } | ||
183 | |||
184 | /** | ||
185 | * <!-- begin-user-doc --> | ||
186 | * <!-- end-user-doc --> | ||
187 | * @generated | ||
188 | */ | ||
189 | @Override | ||
190 | public void setBody(Expression newBody) { | ||
191 | if (newBody != body) { | ||
192 | NotificationChain msgs = null; | ||
193 | if (body != null) | ||
194 | msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__BODY, null, msgs); | ||
195 | if (newBody != null) | ||
196 | msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__BODY, null, msgs); | ||
197 | msgs = basicSetBody(newBody, msgs); | ||
198 | if (msgs != null) msgs.dispatch(); | ||
199 | } | ||
200 | else if (eNotificationRequired()) | ||
201 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__BODY, newBody, newBody)); | ||
202 | } | ||
203 | |||
204 | /** | ||
205 | * <!-- begin-user-doc --> | ||
206 | * <!-- end-user-doc --> | ||
207 | * @generated | ||
208 | */ | ||
209 | @Override | ||
210 | public boolean isFunctional() { | ||
211 | return functional; | ||
212 | } | ||
213 | |||
214 | /** | ||
215 | * <!-- begin-user-doc --> | ||
216 | * <!-- end-user-doc --> | ||
217 | * @generated | ||
218 | */ | ||
219 | @Override | ||
220 | public void setFunctional(boolean newFunctional) { | ||
221 | boolean oldFunctional = functional; | ||
222 | functional = newFunctional; | ||
223 | if (eNotificationRequired()) | ||
224 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL, oldFunctional, functional)); | ||
225 | } | ||
226 | |||
227 | /** | ||
228 | * <!-- begin-user-doc --> | ||
229 | * <!-- end-user-doc --> | ||
230 | * @generated | ||
231 | */ | ||
232 | @Override | ||
233 | public boolean isError() { | ||
234 | return error; | ||
235 | } | ||
236 | |||
237 | /** | ||
238 | * <!-- begin-user-doc --> | ||
239 | * <!-- end-user-doc --> | ||
240 | * @generated | ||
241 | */ | ||
242 | @Override | ||
243 | public void setError(boolean newError) { | ||
244 | boolean oldError = error; | ||
245 | error = newError; | ||
246 | if (eNotificationRequired()) | ||
247 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__ERROR, oldError, error)); | ||
248 | } | ||
249 | |||
250 | /** | ||
251 | * <!-- begin-user-doc --> | ||
252 | * <!-- end-user-doc --> | ||
253 | * @generated | ||
254 | */ | ||
255 | @Override | ||
256 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
257 | switch (featureID) { | ||
258 | case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: | ||
259 | return basicSetHead(null, msgs); | ||
260 | case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: | ||
261 | return basicSetBody(null, msgs); | ||
262 | } | ||
263 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
264 | } | ||
265 | |||
266 | /** | ||
267 | * <!-- begin-user-doc --> | ||
268 | * <!-- end-user-doc --> | ||
269 | * @generated | ||
270 | */ | ||
271 | @Override | ||
272 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
273 | switch (featureID) { | ||
274 | case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: | ||
275 | return getHead(); | ||
276 | case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: | ||
277 | return getBody(); | ||
278 | case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: | ||
279 | return isFunctional(); | ||
280 | case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: | ||
281 | return isError(); | ||
282 | } | ||
283 | return super.eGet(featureID, resolve, coreType); | ||
284 | } | ||
285 | |||
286 | /** | ||
287 | * <!-- begin-user-doc --> | ||
288 | * <!-- end-user-doc --> | ||
289 | * @generated | ||
290 | */ | ||
291 | @Override | ||
292 | public void eSet(int featureID, Object newValue) { | ||
293 | switch (featureID) { | ||
294 | case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: | ||
295 | setHead((Expression)newValue); | ||
296 | return; | ||
297 | case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: | ||
298 | setBody((Expression)newValue); | ||
299 | return; | ||
300 | case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: | ||
301 | setFunctional((Boolean)newValue); | ||
302 | return; | ||
303 | case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: | ||
304 | setError((Boolean)newValue); | ||
305 | return; | ||
306 | } | ||
307 | super.eSet(featureID, newValue); | ||
308 | } | ||
309 | |||
310 | /** | ||
311 | * <!-- begin-user-doc --> | ||
312 | * <!-- end-user-doc --> | ||
313 | * @generated | ||
314 | */ | ||
315 | @Override | ||
316 | public void eUnset(int featureID) { | ||
317 | switch (featureID) { | ||
318 | case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: | ||
319 | setHead((Expression)null); | ||
320 | return; | ||
321 | case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: | ||
322 | setBody((Expression)null); | ||
323 | return; | ||
324 | case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: | ||
325 | setFunctional(FUNCTIONAL_EDEFAULT); | ||
326 | return; | ||
327 | case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: | ||
328 | setError(ERROR_EDEFAULT); | ||
329 | return; | ||
330 | } | ||
331 | super.eUnset(featureID); | ||
332 | } | ||
333 | |||
334 | /** | ||
335 | * <!-- begin-user-doc --> | ||
336 | * <!-- end-user-doc --> | ||
337 | * @generated | ||
338 | */ | ||
339 | @Override | ||
340 | public boolean eIsSet(int featureID) { | ||
341 | switch (featureID) { | ||
342 | case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: | ||
343 | return head != null; | ||
344 | case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: | ||
345 | return body != null; | ||
346 | case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: | ||
347 | return functional != FUNCTIONAL_EDEFAULT; | ||
348 | case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: | ||
349 | return error != ERROR_EDEFAULT; | ||
350 | } | ||
351 | return super.eIsSet(featureID); | ||
352 | } | ||
353 | |||
354 | /** | ||
355 | * <!-- begin-user-doc --> | ||
356 | * <!-- end-user-doc --> | ||
357 | * @generated | ||
358 | */ | ||
359 | @Override | ||
360 | public String toString() { | ||
361 | if (eIsProxy()) return super.toString(); | ||
362 | |||
363 | StringBuilder result = new StringBuilder(super.toString()); | ||
364 | result.append(" (functional: "); | ||
365 | result.append(functional); | ||
366 | result.append(", error: "); | ||
367 | result.append(error); | ||
368 | result.append(')'); | ||
369 | return result.toString(); | ||
370 | } | ||
371 | |||
372 | } //PredicateDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java deleted file mode 100644 index 626b6419..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | |||
8 | import org.eclipse.viatra.solver.language.solverLanguage.Predicate; | ||
9 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Predicate</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class PredicateImpl extends FunctorImpl implements Predicate { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected PredicateImpl() { | ||
25 | super(); | ||
26 | } | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | @Override | ||
34 | protected EClass eStaticClass() { | ||
35 | return SolverLanguagePackage.Literals.PREDICATE; | ||
36 | } | ||
37 | |||
38 | } //PredicateImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java deleted file mode 100644 index 0a4ad5ce..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java +++ /dev/null | |||
@@ -1,154 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import java.util.Collection; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.NotificationChain; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
16 | |||
17 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
18 | import org.eclipse.emf.ecore.util.InternalEList; | ||
19 | |||
20 | import org.eclipse.viatra.solver.language.solverLanguage.Problem; | ||
21 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
22 | import org.eclipse.viatra.solver.language.solverLanguage.Statement; | ||
23 | |||
24 | /** | ||
25 | * <!-- begin-user-doc --> | ||
26 | * An implementation of the model object '<em><b>Problem</b></em>'. | ||
27 | * <!-- end-user-doc --> | ||
28 | * <p> | ||
29 | * The following features are implemented: | ||
30 | * </p> | ||
31 | * <ul> | ||
32 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl#getStatements <em>Statements</em>}</li> | ||
33 | * </ul> | ||
34 | * | ||
35 | * @generated | ||
36 | */ | ||
37 | public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem { | ||
38 | /** | ||
39 | * The cached value of the '{@link #getStatements() <em>Statements</em>}' containment reference list. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getStatements() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected EList<Statement> statements; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected ProblemImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return SolverLanguagePackage.Literals.PROBLEM; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | @Override | ||
73 | public EList<Statement> getStatements() { | ||
74 | if (statements == null) { | ||
75 | statements = new EObjectContainmentEList<Statement>(Statement.class, this, SolverLanguagePackage.PROBLEM__STATEMENTS); | ||
76 | } | ||
77 | return statements; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | @Override | ||
86 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
87 | switch (featureID) { | ||
88 | case SolverLanguagePackage.PROBLEM__STATEMENTS: | ||
89 | return ((InternalEList<?>)getStatements()).basicRemove(otherEnd, msgs); | ||
90 | } | ||
91 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | @Override | ||
100 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
101 | switch (featureID) { | ||
102 | case SolverLanguagePackage.PROBLEM__STATEMENTS: | ||
103 | return getStatements(); | ||
104 | } | ||
105 | return super.eGet(featureID, resolve, coreType); | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | @SuppressWarnings("unchecked") | ||
114 | @Override | ||
115 | public void eSet(int featureID, Object newValue) { | ||
116 | switch (featureID) { | ||
117 | case SolverLanguagePackage.PROBLEM__STATEMENTS: | ||
118 | getStatements().clear(); | ||
119 | getStatements().addAll((Collection<? extends Statement>)newValue); | ||
120 | return; | ||
121 | } | ||
122 | super.eSet(featureID, newValue); | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | @Override | ||
131 | public void eUnset(int featureID) { | ||
132 | switch (featureID) { | ||
133 | case SolverLanguagePackage.PROBLEM__STATEMENTS: | ||
134 | getStatements().clear(); | ||
135 | return; | ||
136 | } | ||
137 | super.eUnset(featureID); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public boolean eIsSet(int featureID) { | ||
147 | switch (featureID) { | ||
148 | case SolverLanguagePackage.PROBLEM__STATEMENTS: | ||
149 | return statements != null && !statements.isEmpty(); | ||
150 | } | ||
151 | return super.eIsSet(featureID); | ||
152 | } | ||
153 | |||
154 | } //ProblemImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/QuantifiedExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/QuantifiedExpressionImpl.java deleted file mode 100644 index a1eecebd..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/QuantifiedExpressionImpl.java +++ /dev/null | |||
@@ -1,318 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.Quantifier; | ||
18 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
19 | |||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * An implementation of the model object '<em><b>Quantified Expression</b></em>'. | ||
23 | * <!-- end-user-doc --> | ||
24 | * <p> | ||
25 | * The following features are implemented: | ||
26 | * </p> | ||
27 | * <ul> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl#getLocalVariables <em>Local Variables</em>}</li> | ||
29 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl#getBody <em>Body</em>}</li> | ||
30 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl#getQuantifier <em>Quantifier</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class QuantifiedExpressionImpl extends ExpressionImpl implements QuantifiedExpression { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getLocalVariables() <em>Local Variables</em>}' containment reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getLocalVariables() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected LocalVariables localVariables; | ||
45 | |||
46 | /** | ||
47 | * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @see #getBody() | ||
51 | * @generated | ||
52 | * @ordered | ||
53 | */ | ||
54 | protected Expression body; | ||
55 | |||
56 | /** | ||
57 | * The default value of the '{@link #getQuantifier() <em>Quantifier</em>}' attribute. | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @see #getQuantifier() | ||
61 | * @generated | ||
62 | * @ordered | ||
63 | */ | ||
64 | protected static final Quantifier QUANTIFIER_EDEFAULT = Quantifier.EXISTS; | ||
65 | |||
66 | /** | ||
67 | * The cached value of the '{@link #getQuantifier() <em>Quantifier</em>}' attribute. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @see #getQuantifier() | ||
71 | * @generated | ||
72 | * @ordered | ||
73 | */ | ||
74 | protected Quantifier quantifier = QUANTIFIER_EDEFAULT; | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | protected QuantifiedExpressionImpl() { | ||
82 | super(); | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | @Override | ||
91 | protected EClass eStaticClass() { | ||
92 | return SolverLanguagePackage.Literals.QUANTIFIED_EXPRESSION; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | @Override | ||
101 | public LocalVariables getLocalVariables() { | ||
102 | return localVariables; | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | public NotificationChain basicSetLocalVariables(LocalVariables newLocalVariables, NotificationChain msgs) { | ||
111 | LocalVariables oldLocalVariables = localVariables; | ||
112 | localVariables = newLocalVariables; | ||
113 | if (eNotificationRequired()) { | ||
114 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES, oldLocalVariables, newLocalVariables); | ||
115 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
116 | } | ||
117 | return msgs; | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void setLocalVariables(LocalVariables newLocalVariables) { | ||
127 | if (newLocalVariables != localVariables) { | ||
128 | NotificationChain msgs = null; | ||
129 | if (localVariables != null) | ||
130 | msgs = ((InternalEObject)localVariables).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES, null, msgs); | ||
131 | if (newLocalVariables != null) | ||
132 | msgs = ((InternalEObject)newLocalVariables).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES, null, msgs); | ||
133 | msgs = basicSetLocalVariables(newLocalVariables, msgs); | ||
134 | if (msgs != null) msgs.dispatch(); | ||
135 | } | ||
136 | else if (eNotificationRequired()) | ||
137 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES, newLocalVariables, newLocalVariables)); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public Expression getBody() { | ||
147 | return body; | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { | ||
156 | Expression oldBody = body; | ||
157 | body = newBody; | ||
158 | if (eNotificationRequired()) { | ||
159 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY, oldBody, newBody); | ||
160 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
161 | } | ||
162 | return msgs; | ||
163 | } | ||
164 | |||
165 | /** | ||
166 | * <!-- begin-user-doc --> | ||
167 | * <!-- end-user-doc --> | ||
168 | * @generated | ||
169 | */ | ||
170 | @Override | ||
171 | public void setBody(Expression newBody) { | ||
172 | if (newBody != body) { | ||
173 | NotificationChain msgs = null; | ||
174 | if (body != null) | ||
175 | msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY, null, msgs); | ||
176 | if (newBody != null) | ||
177 | msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY, null, msgs); | ||
178 | msgs = basicSetBody(newBody, msgs); | ||
179 | if (msgs != null) msgs.dispatch(); | ||
180 | } | ||
181 | else if (eNotificationRequired()) | ||
182 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY, newBody, newBody)); | ||
183 | } | ||
184 | |||
185 | /** | ||
186 | * <!-- begin-user-doc --> | ||
187 | * <!-- end-user-doc --> | ||
188 | * @generated | ||
189 | */ | ||
190 | @Override | ||
191 | public Quantifier getQuantifier() { | ||
192 | return quantifier; | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @generated | ||
199 | */ | ||
200 | @Override | ||
201 | public void setQuantifier(Quantifier newQuantifier) { | ||
202 | Quantifier oldQuantifier = quantifier; | ||
203 | quantifier = newQuantifier == null ? QUANTIFIER_EDEFAULT : newQuantifier; | ||
204 | if (eNotificationRequired()) | ||
205 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER, oldQuantifier, quantifier)); | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | */ | ||
213 | @Override | ||
214 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
215 | switch (featureID) { | ||
216 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: | ||
217 | return basicSetLocalVariables(null, msgs); | ||
218 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: | ||
219 | return basicSetBody(null, msgs); | ||
220 | } | ||
221 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
222 | } | ||
223 | |||
224 | /** | ||
225 | * <!-- begin-user-doc --> | ||
226 | * <!-- end-user-doc --> | ||
227 | * @generated | ||
228 | */ | ||
229 | @Override | ||
230 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
231 | switch (featureID) { | ||
232 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: | ||
233 | return getLocalVariables(); | ||
234 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: | ||
235 | return getBody(); | ||
236 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER: | ||
237 | return getQuantifier(); | ||
238 | } | ||
239 | return super.eGet(featureID, resolve, coreType); | ||
240 | } | ||
241 | |||
242 | /** | ||
243 | * <!-- begin-user-doc --> | ||
244 | * <!-- end-user-doc --> | ||
245 | * @generated | ||
246 | */ | ||
247 | @Override | ||
248 | public void eSet(int featureID, Object newValue) { | ||
249 | switch (featureID) { | ||
250 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: | ||
251 | setLocalVariables((LocalVariables)newValue); | ||
252 | return; | ||
253 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: | ||
254 | setBody((Expression)newValue); | ||
255 | return; | ||
256 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER: | ||
257 | setQuantifier((Quantifier)newValue); | ||
258 | return; | ||
259 | } | ||
260 | super.eSet(featureID, newValue); | ||
261 | } | ||
262 | |||
263 | /** | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @generated | ||
267 | */ | ||
268 | @Override | ||
269 | public void eUnset(int featureID) { | ||
270 | switch (featureID) { | ||
271 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: | ||
272 | setLocalVariables((LocalVariables)null); | ||
273 | return; | ||
274 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: | ||
275 | setBody((Expression)null); | ||
276 | return; | ||
277 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER: | ||
278 | setQuantifier(QUANTIFIER_EDEFAULT); | ||
279 | return; | ||
280 | } | ||
281 | super.eUnset(featureID); | ||
282 | } | ||
283 | |||
284 | /** | ||
285 | * <!-- begin-user-doc --> | ||
286 | * <!-- end-user-doc --> | ||
287 | * @generated | ||
288 | */ | ||
289 | @Override | ||
290 | public boolean eIsSet(int featureID) { | ||
291 | switch (featureID) { | ||
292 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: | ||
293 | return localVariables != null; | ||
294 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: | ||
295 | return body != null; | ||
296 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER: | ||
297 | return quantifier != QUANTIFIER_EDEFAULT; | ||
298 | } | ||
299 | return super.eIsSet(featureID); | ||
300 | } | ||
301 | |||
302 | /** | ||
303 | * <!-- begin-user-doc --> | ||
304 | * <!-- end-user-doc --> | ||
305 | * @generated | ||
306 | */ | ||
307 | @Override | ||
308 | public String toString() { | ||
309 | if (eIsProxy()) return super.toString(); | ||
310 | |||
311 | StringBuilder result = new StringBuilder(super.toString()); | ||
312 | result.append(" (quantifier: "); | ||
313 | result.append(quantifier); | ||
314 | result.append(')'); | ||
315 | return result.toString(); | ||
316 | } | ||
317 | |||
318 | } //QuantifiedExpressionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java deleted file mode 100644 index 0be1aac7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java +++ /dev/null | |||
@@ -1,159 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | import org.eclipse.emf.ecore.InternalEObject; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
12 | |||
13 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Reference; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Reference</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl#getReferred <em>Referred</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ReferenceImpl extends ExpressionImpl implements Reference { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getReferred() <em>Referred</em>}' reference. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getReferred() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected NamedElement referred; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected ReferenceImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return SolverLanguagePackage.Literals.REFERENCE; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | public NamedElement getReferred() { | ||
67 | if (referred != null && referred.eIsProxy()) { | ||
68 | InternalEObject oldReferred = (InternalEObject)referred; | ||
69 | referred = (NamedElement)eResolveProxy(oldReferred); | ||
70 | if (referred != oldReferred) { | ||
71 | if (eNotificationRequired()) | ||
72 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.REFERENCE__REFERRED, oldReferred, referred)); | ||
73 | } | ||
74 | } | ||
75 | return referred; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | public NamedElement basicGetReferred() { | ||
84 | return referred; | ||
85 | } | ||
86 | |||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | @Override | ||
93 | public void setReferred(NamedElement newReferred) { | ||
94 | NamedElement oldReferred = referred; | ||
95 | referred = newReferred; | ||
96 | if (eNotificationRequired()) | ||
97 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.REFERENCE__REFERRED, oldReferred, referred)); | ||
98 | } | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | @Override | ||
106 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
107 | switch (featureID) { | ||
108 | case SolverLanguagePackage.REFERENCE__REFERRED: | ||
109 | if (resolve) return getReferred(); | ||
110 | return basicGetReferred(); | ||
111 | } | ||
112 | return super.eGet(featureID, resolve, coreType); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) { | ||
122 | switch (featureID) { | ||
123 | case SolverLanguagePackage.REFERENCE__REFERRED: | ||
124 | setReferred((NamedElement)newValue); | ||
125 | return; | ||
126 | } | ||
127 | super.eSet(featureID, newValue); | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | @Override | ||
136 | public void eUnset(int featureID) { | ||
137 | switch (featureID) { | ||
138 | case SolverLanguagePackage.REFERENCE__REFERRED: | ||
139 | setReferred((NamedElement)null); | ||
140 | return; | ||
141 | } | ||
142 | super.eUnset(featureID); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public boolean eIsSet(int featureID) { | ||
152 | switch (featureID) { | ||
153 | case SolverLanguagePackage.REFERENCE__REFERRED: | ||
154 | return referred != null; | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | } //ReferenceImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java deleted file mode 100644 index a4cf94a7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java +++ /dev/null | |||
@@ -1,159 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | import org.eclipse.emf.ecore.InternalEObject; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
12 | |||
13 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
14 | import org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Scope Definition</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl#getType <em>Type</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ScopeDefinitionImpl extends StatementImpl implements ScopeDefinition { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getType() <em>Type</em>}' reference. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getType() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected NamedElement type; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected ScopeDefinitionImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return SolverLanguagePackage.Literals.SCOPE_DEFINITION; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | public NamedElement getType() { | ||
67 | if (type != null && type.eIsProxy()) { | ||
68 | InternalEObject oldType = (InternalEObject)type; | ||
69 | type = (NamedElement)eResolveProxy(oldType); | ||
70 | if (type != oldType) { | ||
71 | if (eNotificationRequired()) | ||
72 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.SCOPE_DEFINITION__TYPE, oldType, type)); | ||
73 | } | ||
74 | } | ||
75 | return type; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | public NamedElement basicGetType() { | ||
84 | return type; | ||
85 | } | ||
86 | |||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | @Override | ||
93 | public void setType(NamedElement newType) { | ||
94 | NamedElement oldType = type; | ||
95 | type = newType; | ||
96 | if (eNotificationRequired()) | ||
97 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.SCOPE_DEFINITION__TYPE, oldType, type)); | ||
98 | } | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | @Override | ||
106 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
107 | switch (featureID) { | ||
108 | case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: | ||
109 | if (resolve) return getType(); | ||
110 | return basicGetType(); | ||
111 | } | ||
112 | return super.eGet(featureID, resolve, coreType); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) { | ||
122 | switch (featureID) { | ||
123 | case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: | ||
124 | setType((NamedElement)newValue); | ||
125 | return; | ||
126 | } | ||
127 | super.eSet(featureID, newValue); | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | @Override | ||
136 | public void eUnset(int featureID) { | ||
137 | switch (featureID) { | ||
138 | case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: | ||
139 | setType((NamedElement)null); | ||
140 | return; | ||
141 | } | ||
142 | super.eUnset(featureID); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public boolean eIsSet(int featureID) { | ||
152 | switch (featureID) { | ||
153 | case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: | ||
154 | return type != null; | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | } //ScopeDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java deleted file mode 100644 index 5787175b..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java +++ /dev/null | |||
@@ -1,905 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | import org.eclipse.emf.ecore.EDataType; | ||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
12 | |||
13 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
14 | |||
15 | import org.eclipse.viatra.solver.language.solverLanguage.*; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model <b>Factory</b>. | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | public class SolverLanguageFactoryImpl extends EFactoryImpl implements SolverLanguageFactory { | ||
24 | /** | ||
25 | * Creates the default factory implementation. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @generated | ||
29 | */ | ||
30 | public static SolverLanguageFactory init() { | ||
31 | try { | ||
32 | SolverLanguageFactory theSolverLanguageFactory = (SolverLanguageFactory)EPackage.Registry.INSTANCE.getEFactory(SolverLanguagePackage.eNS_URI); | ||
33 | if (theSolverLanguageFactory != null) { | ||
34 | return theSolverLanguageFactory; | ||
35 | } | ||
36 | } | ||
37 | catch (Exception exception) { | ||
38 | EcorePlugin.INSTANCE.log(exception); | ||
39 | } | ||
40 | return new SolverLanguageFactoryImpl(); | ||
41 | } | ||
42 | |||
43 | /** | ||
44 | * Creates an instance of the factory. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @generated | ||
48 | */ | ||
49 | public SolverLanguageFactoryImpl() { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | public EObject create(EClass eClass) { | ||
60 | switch (eClass.getClassifierID()) { | ||
61 | case SolverLanguagePackage.PROBLEM: return createProblem(); | ||
62 | case SolverLanguagePackage.STATEMENT: return createStatement(); | ||
63 | case SolverLanguagePackage.PREDICATE_DEFINITION: return createPredicateDefinition(); | ||
64 | case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION: return createUnnamedErrorPrediateDefinition(); | ||
65 | case SolverLanguagePackage.DEFAULT_DEFINITION: return createDefaultDefinition(); | ||
66 | case SolverLanguagePackage.METRIC_DEFINITION: return createMetricDefinition(); | ||
67 | case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION: return createExternPredicateDefinition(); | ||
68 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION: return createExternMetricDefinition(); | ||
69 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION: return createExternAggregatorDefinition(); | ||
70 | case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION: return createExternDatatypeDefinition(); | ||
71 | case SolverLanguagePackage.NAMED_ELEMENT: return createNamedElement(); | ||
72 | case SolverLanguagePackage.IF_ELSE: return createIfElse(); | ||
73 | case SolverLanguagePackage.LET: return createLet(); | ||
74 | case SolverLanguagePackage.LET_BINDING: return createLetBinding(); | ||
75 | case SolverLanguagePackage.CASE: return createCase(); | ||
76 | case SolverLanguagePackage.LOCAL_VARIABLES: return createLocalVariables(); | ||
77 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION: return createQuantifiedExpression(); | ||
78 | case SolverLanguagePackage.AGGREGATION: return createAggregation(); | ||
79 | case SolverLanguagePackage.CALL: return createCall(); | ||
80 | case SolverLanguagePackage.ARGUMENT_LIST: return createArgumentList(); | ||
81 | case SolverLanguagePackage.ARGUMENT: return createArgument(); | ||
82 | case SolverLanguagePackage.EXPRESSION_ARGUMENT: return createExpressionArgument(); | ||
83 | case SolverLanguagePackage.STAR_ARGUMENT: return createStarArgument(); | ||
84 | case SolverLanguagePackage.TYPED_ARGUMENT: return createTypedArgument(); | ||
85 | case SolverLanguagePackage.TYPED_STAR_ARGUMENT: return createTypedStarArgument(); | ||
86 | case SolverLanguagePackage.REFERENCE: return createReference(); | ||
87 | case SolverLanguagePackage.INTERVAL: return createInterval(); | ||
88 | case SolverLanguagePackage.LITERAL: return createLiteral(); | ||
89 | case SolverLanguagePackage.LOGIC_LITERAL: return createLogicLiteral(); | ||
90 | case SolverLanguagePackage.NUMERIC_LITERAL: return createNumericLiteral(); | ||
91 | case SolverLanguagePackage.INFINITY_LITERAL: return createInfinityLiteral(); | ||
92 | case SolverLanguagePackage.EMPTY_INTERVAL_LITERAL: return createEmptyIntervalLiteral(); | ||
93 | case SolverLanguagePackage.STRING_LITERAL: return createStringLiteral(); | ||
94 | case SolverLanguagePackage.CLASS_DEFINITION: return createClassDefinition(); | ||
95 | case SolverLanguagePackage.MEMBER_DEFINITION: return createMemberDefinition(); | ||
96 | case SolverLanguagePackage.MULTIPLICITY: return createMultiplicity(); | ||
97 | case SolverLanguagePackage.MANY_MULTIPLICITY: return createManyMultiplicity(); | ||
98 | case SolverLanguagePackage.EXACT_MULTIPLICITY: return createExactMultiplicity(); | ||
99 | case SolverLanguagePackage.BOUNDED_MULTIPLICITY: return createBoundedMultiplicity(); | ||
100 | case SolverLanguagePackage.SCOPE_DEFINITION: return createScopeDefinition(); | ||
101 | case SolverLanguagePackage.EXACT_SCOPE_DEFINITION: return createExactScopeDefinition(); | ||
102 | case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION: return createBoundedScopeDefinition(); | ||
103 | case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION: return createLowerBoundedScopeDefinition(); | ||
104 | case SolverLanguagePackage.OBJECTIVE_DEFINITION: return createObjectiveDefinition(); | ||
105 | case SolverLanguagePackage.INTERPRETATION: return createInterpretation(); | ||
106 | case SolverLanguagePackage.VARIABLE: return createVariable(); | ||
107 | case SolverLanguagePackage.DISJUNCTION: return createDisjunction(); | ||
108 | case SolverLanguagePackage.SWITCH: return createSwitch(); | ||
109 | case SolverLanguagePackage.CONJUNCTION: return createConjunction(); | ||
110 | case SolverLanguagePackage.COMPARISON: return createComparison(); | ||
111 | case SolverLanguagePackage.BINARY_EXPRESSION: return createBinaryExpression(); | ||
112 | case SolverLanguagePackage.CAST_EXPRESSION: return createCastExpression(); | ||
113 | case SolverLanguagePackage.UNARY_EXPRESSION: return createUnaryExpression(); | ||
114 | case SolverLanguagePackage.NODE: return createNode(); | ||
115 | case SolverLanguagePackage.PREDICATE: return createPredicate(); | ||
116 | case SolverLanguagePackage.METRIC: return createMetric(); | ||
117 | default: | ||
118 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
119 | } | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public Object createFromString(EDataType eDataType, String initialValue) { | ||
129 | switch (eDataType.getClassifierID()) { | ||
130 | case SolverLanguagePackage.BINARY_OPERATOR: | ||
131 | return createBinaryOperatorFromString(eDataType, initialValue); | ||
132 | case SolverLanguagePackage.UNARY_OP: | ||
133 | return createUnaryOpFromString(eDataType, initialValue); | ||
134 | case SolverLanguagePackage.LOGIC_VALUE: | ||
135 | return createLogicValueFromString(eDataType, initialValue); | ||
136 | case SolverLanguagePackage.OBJECTIVE_KIND: | ||
137 | return createObjectiveKindFromString(eDataType, initialValue); | ||
138 | case SolverLanguagePackage.QUANTIFIER: | ||
139 | return createQuantifierFromString(eDataType, initialValue); | ||
140 | default: | ||
141 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | ||
142 | } | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public String convertToString(EDataType eDataType, Object instanceValue) { | ||
152 | switch (eDataType.getClassifierID()) { | ||
153 | case SolverLanguagePackage.BINARY_OPERATOR: | ||
154 | return convertBinaryOperatorToString(eDataType, instanceValue); | ||
155 | case SolverLanguagePackage.UNARY_OP: | ||
156 | return convertUnaryOpToString(eDataType, instanceValue); | ||
157 | case SolverLanguagePackage.LOGIC_VALUE: | ||
158 | return convertLogicValueToString(eDataType, instanceValue); | ||
159 | case SolverLanguagePackage.OBJECTIVE_KIND: | ||
160 | return convertObjectiveKindToString(eDataType, instanceValue); | ||
161 | case SolverLanguagePackage.QUANTIFIER: | ||
162 | return convertQuantifierToString(eDataType, instanceValue); | ||
163 | default: | ||
164 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | ||
165 | } | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | @Override | ||
174 | public Problem createProblem() { | ||
175 | ProblemImpl problem = new ProblemImpl(); | ||
176 | return problem; | ||
177 | } | ||
178 | |||
179 | /** | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @generated | ||
183 | */ | ||
184 | @Override | ||
185 | public Statement createStatement() { | ||
186 | StatementImpl statement = new StatementImpl(); | ||
187 | return statement; | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | @Override | ||
196 | public PredicateDefinition createPredicateDefinition() { | ||
197 | PredicateDefinitionImpl predicateDefinition = new PredicateDefinitionImpl(); | ||
198 | return predicateDefinition; | ||
199 | } | ||
200 | |||
201 | /** | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | */ | ||
206 | @Override | ||
207 | public UnnamedErrorPrediateDefinition createUnnamedErrorPrediateDefinition() { | ||
208 | UnnamedErrorPrediateDefinitionImpl unnamedErrorPrediateDefinition = new UnnamedErrorPrediateDefinitionImpl(); | ||
209 | return unnamedErrorPrediateDefinition; | ||
210 | } | ||
211 | |||
212 | /** | ||
213 | * <!-- begin-user-doc --> | ||
214 | * <!-- end-user-doc --> | ||
215 | * @generated | ||
216 | */ | ||
217 | @Override | ||
218 | public DefaultDefinition createDefaultDefinition() { | ||
219 | DefaultDefinitionImpl defaultDefinition = new DefaultDefinitionImpl(); | ||
220 | return defaultDefinition; | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @generated | ||
227 | */ | ||
228 | @Override | ||
229 | public MetricDefinition createMetricDefinition() { | ||
230 | MetricDefinitionImpl metricDefinition = new MetricDefinitionImpl(); | ||
231 | return metricDefinition; | ||
232 | } | ||
233 | |||
234 | /** | ||
235 | * <!-- begin-user-doc --> | ||
236 | * <!-- end-user-doc --> | ||
237 | * @generated | ||
238 | */ | ||
239 | @Override | ||
240 | public ExternPredicateDefinition createExternPredicateDefinition() { | ||
241 | ExternPredicateDefinitionImpl externPredicateDefinition = new ExternPredicateDefinitionImpl(); | ||
242 | return externPredicateDefinition; | ||
243 | } | ||
244 | |||
245 | /** | ||
246 | * <!-- begin-user-doc --> | ||
247 | * <!-- end-user-doc --> | ||
248 | * @generated | ||
249 | */ | ||
250 | @Override | ||
251 | public ExternMetricDefinition createExternMetricDefinition() { | ||
252 | ExternMetricDefinitionImpl externMetricDefinition = new ExternMetricDefinitionImpl(); | ||
253 | return externMetricDefinition; | ||
254 | } | ||
255 | |||
256 | /** | ||
257 | * <!-- begin-user-doc --> | ||
258 | * <!-- end-user-doc --> | ||
259 | * @generated | ||
260 | */ | ||
261 | @Override | ||
262 | public ExternAggregatorDefinition createExternAggregatorDefinition() { | ||
263 | ExternAggregatorDefinitionImpl externAggregatorDefinition = new ExternAggregatorDefinitionImpl(); | ||
264 | return externAggregatorDefinition; | ||
265 | } | ||
266 | |||
267 | /** | ||
268 | * <!-- begin-user-doc --> | ||
269 | * <!-- end-user-doc --> | ||
270 | * @generated | ||
271 | */ | ||
272 | @Override | ||
273 | public ExternDatatypeDefinition createExternDatatypeDefinition() { | ||
274 | ExternDatatypeDefinitionImpl externDatatypeDefinition = new ExternDatatypeDefinitionImpl(); | ||
275 | return externDatatypeDefinition; | ||
276 | } | ||
277 | |||
278 | /** | ||
279 | * <!-- begin-user-doc --> | ||
280 | * <!-- end-user-doc --> | ||
281 | * @generated | ||
282 | */ | ||
283 | @Override | ||
284 | public NamedElement createNamedElement() { | ||
285 | NamedElementImpl namedElement = new NamedElementImpl(); | ||
286 | return namedElement; | ||
287 | } | ||
288 | |||
289 | /** | ||
290 | * <!-- begin-user-doc --> | ||
291 | * <!-- end-user-doc --> | ||
292 | * @generated | ||
293 | */ | ||
294 | @Override | ||
295 | public IfElse createIfElse() { | ||
296 | IfElseImpl ifElse = new IfElseImpl(); | ||
297 | return ifElse; | ||
298 | } | ||
299 | |||
300 | /** | ||
301 | * <!-- begin-user-doc --> | ||
302 | * <!-- end-user-doc --> | ||
303 | * @generated | ||
304 | */ | ||
305 | @Override | ||
306 | public Let createLet() { | ||
307 | LetImpl let = new LetImpl(); | ||
308 | return let; | ||
309 | } | ||
310 | |||
311 | /** | ||
312 | * <!-- begin-user-doc --> | ||
313 | * <!-- end-user-doc --> | ||
314 | * @generated | ||
315 | */ | ||
316 | @Override | ||
317 | public LetBinding createLetBinding() { | ||
318 | LetBindingImpl letBinding = new LetBindingImpl(); | ||
319 | return letBinding; | ||
320 | } | ||
321 | |||
322 | /** | ||
323 | * <!-- begin-user-doc --> | ||
324 | * <!-- end-user-doc --> | ||
325 | * @generated | ||
326 | */ | ||
327 | @Override | ||
328 | public Case createCase() { | ||
329 | CaseImpl case_ = new CaseImpl(); | ||
330 | return case_; | ||
331 | } | ||
332 | |||
333 | /** | ||
334 | * <!-- begin-user-doc --> | ||
335 | * <!-- end-user-doc --> | ||
336 | * @generated | ||
337 | */ | ||
338 | @Override | ||
339 | public LocalVariables createLocalVariables() { | ||
340 | LocalVariablesImpl localVariables = new LocalVariablesImpl(); | ||
341 | return localVariables; | ||
342 | } | ||
343 | |||
344 | /** | ||
345 | * <!-- begin-user-doc --> | ||
346 | * <!-- end-user-doc --> | ||
347 | * @generated | ||
348 | */ | ||
349 | @Override | ||
350 | public QuantifiedExpression createQuantifiedExpression() { | ||
351 | QuantifiedExpressionImpl quantifiedExpression = new QuantifiedExpressionImpl(); | ||
352 | return quantifiedExpression; | ||
353 | } | ||
354 | |||
355 | /** | ||
356 | * <!-- begin-user-doc --> | ||
357 | * <!-- end-user-doc --> | ||
358 | * @generated | ||
359 | */ | ||
360 | @Override | ||
361 | public Aggregation createAggregation() { | ||
362 | AggregationImpl aggregation = new AggregationImpl(); | ||
363 | return aggregation; | ||
364 | } | ||
365 | |||
366 | /** | ||
367 | * <!-- begin-user-doc --> | ||
368 | * <!-- end-user-doc --> | ||
369 | * @generated | ||
370 | */ | ||
371 | @Override | ||
372 | public Call createCall() { | ||
373 | CallImpl call = new CallImpl(); | ||
374 | return call; | ||
375 | } | ||
376 | |||
377 | /** | ||
378 | * <!-- begin-user-doc --> | ||
379 | * <!-- end-user-doc --> | ||
380 | * @generated | ||
381 | */ | ||
382 | @Override | ||
383 | public ArgumentList createArgumentList() { | ||
384 | ArgumentListImpl argumentList = new ArgumentListImpl(); | ||
385 | return argumentList; | ||
386 | } | ||
387 | |||
388 | /** | ||
389 | * <!-- begin-user-doc --> | ||
390 | * <!-- end-user-doc --> | ||
391 | * @generated | ||
392 | */ | ||
393 | @Override | ||
394 | public Argument createArgument() { | ||
395 | ArgumentImpl argument = new ArgumentImpl(); | ||
396 | return argument; | ||
397 | } | ||
398 | |||
399 | /** | ||
400 | * <!-- begin-user-doc --> | ||
401 | * <!-- end-user-doc --> | ||
402 | * @generated | ||
403 | */ | ||
404 | @Override | ||
405 | public ExpressionArgument createExpressionArgument() { | ||
406 | ExpressionArgumentImpl expressionArgument = new ExpressionArgumentImpl(); | ||
407 | return expressionArgument; | ||
408 | } | ||
409 | |||
410 | /** | ||
411 | * <!-- begin-user-doc --> | ||
412 | * <!-- end-user-doc --> | ||
413 | * @generated | ||
414 | */ | ||
415 | @Override | ||
416 | public StarArgument createStarArgument() { | ||
417 | StarArgumentImpl starArgument = new StarArgumentImpl(); | ||
418 | return starArgument; | ||
419 | } | ||
420 | |||
421 | /** | ||
422 | * <!-- begin-user-doc --> | ||
423 | * <!-- end-user-doc --> | ||
424 | * @generated | ||
425 | */ | ||
426 | @Override | ||
427 | public TypedArgument createTypedArgument() { | ||
428 | TypedArgumentImpl typedArgument = new TypedArgumentImpl(); | ||
429 | return typedArgument; | ||
430 | } | ||
431 | |||
432 | /** | ||
433 | * <!-- begin-user-doc --> | ||
434 | * <!-- end-user-doc --> | ||
435 | * @generated | ||
436 | */ | ||
437 | @Override | ||
438 | public TypedStarArgument createTypedStarArgument() { | ||
439 | TypedStarArgumentImpl typedStarArgument = new TypedStarArgumentImpl(); | ||
440 | return typedStarArgument; | ||
441 | } | ||
442 | |||
443 | /** | ||
444 | * <!-- begin-user-doc --> | ||
445 | * <!-- end-user-doc --> | ||
446 | * @generated | ||
447 | */ | ||
448 | @Override | ||
449 | public Reference createReference() { | ||
450 | ReferenceImpl reference = new ReferenceImpl(); | ||
451 | return reference; | ||
452 | } | ||
453 | |||
454 | /** | ||
455 | * <!-- begin-user-doc --> | ||
456 | * <!-- end-user-doc --> | ||
457 | * @generated | ||
458 | */ | ||
459 | @Override | ||
460 | public Interval createInterval() { | ||
461 | IntervalImpl interval = new IntervalImpl(); | ||
462 | return interval; | ||
463 | } | ||
464 | |||
465 | /** | ||
466 | * <!-- begin-user-doc --> | ||
467 | * <!-- end-user-doc --> | ||
468 | * @generated | ||
469 | */ | ||
470 | @Override | ||
471 | public Literal createLiteral() { | ||
472 | LiteralImpl literal = new LiteralImpl(); | ||
473 | return literal; | ||
474 | } | ||
475 | |||
476 | /** | ||
477 | * <!-- begin-user-doc --> | ||
478 | * <!-- end-user-doc --> | ||
479 | * @generated | ||
480 | */ | ||
481 | @Override | ||
482 | public LogicLiteral createLogicLiteral() { | ||
483 | LogicLiteralImpl logicLiteral = new LogicLiteralImpl(); | ||
484 | return logicLiteral; | ||
485 | } | ||
486 | |||
487 | /** | ||
488 | * <!-- begin-user-doc --> | ||
489 | * <!-- end-user-doc --> | ||
490 | * @generated | ||
491 | */ | ||
492 | @Override | ||
493 | public NumericLiteral createNumericLiteral() { | ||
494 | NumericLiteralImpl numericLiteral = new NumericLiteralImpl(); | ||
495 | return numericLiteral; | ||
496 | } | ||
497 | |||
498 | /** | ||
499 | * <!-- begin-user-doc --> | ||
500 | * <!-- end-user-doc --> | ||
501 | * @generated | ||
502 | */ | ||
503 | @Override | ||
504 | public InfinityLiteral createInfinityLiteral() { | ||
505 | InfinityLiteralImpl infinityLiteral = new InfinityLiteralImpl(); | ||
506 | return infinityLiteral; | ||
507 | } | ||
508 | |||
509 | /** | ||
510 | * <!-- begin-user-doc --> | ||
511 | * <!-- end-user-doc --> | ||
512 | * @generated | ||
513 | */ | ||
514 | @Override | ||
515 | public EmptyIntervalLiteral createEmptyIntervalLiteral() { | ||
516 | EmptyIntervalLiteralImpl emptyIntervalLiteral = new EmptyIntervalLiteralImpl(); | ||
517 | return emptyIntervalLiteral; | ||
518 | } | ||
519 | |||
520 | /** | ||
521 | * <!-- begin-user-doc --> | ||
522 | * <!-- end-user-doc --> | ||
523 | * @generated | ||
524 | */ | ||
525 | @Override | ||
526 | public StringLiteral createStringLiteral() { | ||
527 | StringLiteralImpl stringLiteral = new StringLiteralImpl(); | ||
528 | return stringLiteral; | ||
529 | } | ||
530 | |||
531 | /** | ||
532 | * <!-- begin-user-doc --> | ||
533 | * <!-- end-user-doc --> | ||
534 | * @generated | ||
535 | */ | ||
536 | @Override | ||
537 | public ClassDefinition createClassDefinition() { | ||
538 | ClassDefinitionImpl classDefinition = new ClassDefinitionImpl(); | ||
539 | return classDefinition; | ||
540 | } | ||
541 | |||
542 | /** | ||
543 | * <!-- begin-user-doc --> | ||
544 | * <!-- end-user-doc --> | ||
545 | * @generated | ||
546 | */ | ||
547 | @Override | ||
548 | public MemberDefinition createMemberDefinition() { | ||
549 | MemberDefinitionImpl memberDefinition = new MemberDefinitionImpl(); | ||
550 | return memberDefinition; | ||
551 | } | ||
552 | |||
553 | /** | ||
554 | * <!-- begin-user-doc --> | ||
555 | * <!-- end-user-doc --> | ||
556 | * @generated | ||
557 | */ | ||
558 | @Override | ||
559 | public Multiplicity createMultiplicity() { | ||
560 | MultiplicityImpl multiplicity = new MultiplicityImpl(); | ||
561 | return multiplicity; | ||
562 | } | ||
563 | |||
564 | /** | ||
565 | * <!-- begin-user-doc --> | ||
566 | * <!-- end-user-doc --> | ||
567 | * @generated | ||
568 | */ | ||
569 | @Override | ||
570 | public ManyMultiplicity createManyMultiplicity() { | ||
571 | ManyMultiplicityImpl manyMultiplicity = new ManyMultiplicityImpl(); | ||
572 | return manyMultiplicity; | ||
573 | } | ||
574 | |||
575 | /** | ||
576 | * <!-- begin-user-doc --> | ||
577 | * <!-- end-user-doc --> | ||
578 | * @generated | ||
579 | */ | ||
580 | @Override | ||
581 | public ExactMultiplicity createExactMultiplicity() { | ||
582 | ExactMultiplicityImpl exactMultiplicity = new ExactMultiplicityImpl(); | ||
583 | return exactMultiplicity; | ||
584 | } | ||
585 | |||
586 | /** | ||
587 | * <!-- begin-user-doc --> | ||
588 | * <!-- end-user-doc --> | ||
589 | * @generated | ||
590 | */ | ||
591 | @Override | ||
592 | public BoundedMultiplicity createBoundedMultiplicity() { | ||
593 | BoundedMultiplicityImpl boundedMultiplicity = new BoundedMultiplicityImpl(); | ||
594 | return boundedMultiplicity; | ||
595 | } | ||
596 | |||
597 | /** | ||
598 | * <!-- begin-user-doc --> | ||
599 | * <!-- end-user-doc --> | ||
600 | * @generated | ||
601 | */ | ||
602 | @Override | ||
603 | public ScopeDefinition createScopeDefinition() { | ||
604 | ScopeDefinitionImpl scopeDefinition = new ScopeDefinitionImpl(); | ||
605 | return scopeDefinition; | ||
606 | } | ||
607 | |||
608 | /** | ||
609 | * <!-- begin-user-doc --> | ||
610 | * <!-- end-user-doc --> | ||
611 | * @generated | ||
612 | */ | ||
613 | @Override | ||
614 | public ExactScopeDefinition createExactScopeDefinition() { | ||
615 | ExactScopeDefinitionImpl exactScopeDefinition = new ExactScopeDefinitionImpl(); | ||
616 | return exactScopeDefinition; | ||
617 | } | ||
618 | |||
619 | /** | ||
620 | * <!-- begin-user-doc --> | ||
621 | * <!-- end-user-doc --> | ||
622 | * @generated | ||
623 | */ | ||
624 | @Override | ||
625 | public BoundedScopeDefinition createBoundedScopeDefinition() { | ||
626 | BoundedScopeDefinitionImpl boundedScopeDefinition = new BoundedScopeDefinitionImpl(); | ||
627 | return boundedScopeDefinition; | ||
628 | } | ||
629 | |||
630 | /** | ||
631 | * <!-- begin-user-doc --> | ||
632 | * <!-- end-user-doc --> | ||
633 | * @generated | ||
634 | */ | ||
635 | @Override | ||
636 | public LowerBoundedScopeDefinition createLowerBoundedScopeDefinition() { | ||
637 | LowerBoundedScopeDefinitionImpl lowerBoundedScopeDefinition = new LowerBoundedScopeDefinitionImpl(); | ||
638 | return lowerBoundedScopeDefinition; | ||
639 | } | ||
640 | |||
641 | /** | ||
642 | * <!-- begin-user-doc --> | ||
643 | * <!-- end-user-doc --> | ||
644 | * @generated | ||
645 | */ | ||
646 | @Override | ||
647 | public ObjectiveDefinition createObjectiveDefinition() { | ||
648 | ObjectiveDefinitionImpl objectiveDefinition = new ObjectiveDefinitionImpl(); | ||
649 | return objectiveDefinition; | ||
650 | } | ||
651 | |||
652 | /** | ||
653 | * <!-- begin-user-doc --> | ||
654 | * <!-- end-user-doc --> | ||
655 | * @generated | ||
656 | */ | ||
657 | @Override | ||
658 | public Interpretation createInterpretation() { | ||
659 | InterpretationImpl interpretation = new InterpretationImpl(); | ||
660 | return interpretation; | ||
661 | } | ||
662 | |||
663 | /** | ||
664 | * <!-- begin-user-doc --> | ||
665 | * <!-- end-user-doc --> | ||
666 | * @generated | ||
667 | */ | ||
668 | @Override | ||
669 | public Variable createVariable() { | ||
670 | VariableImpl variable = new VariableImpl(); | ||
671 | return variable; | ||
672 | } | ||
673 | |||
674 | /** | ||
675 | * <!-- begin-user-doc --> | ||
676 | * <!-- end-user-doc --> | ||
677 | * @generated | ||
678 | */ | ||
679 | @Override | ||
680 | public Disjunction createDisjunction() { | ||
681 | DisjunctionImpl disjunction = new DisjunctionImpl(); | ||
682 | return disjunction; | ||
683 | } | ||
684 | |||
685 | /** | ||
686 | * <!-- begin-user-doc --> | ||
687 | * <!-- end-user-doc --> | ||
688 | * @generated | ||
689 | */ | ||
690 | @Override | ||
691 | public Switch createSwitch() { | ||
692 | SwitchImpl switch_ = new SwitchImpl(); | ||
693 | return switch_; | ||
694 | } | ||
695 | |||
696 | /** | ||
697 | * <!-- begin-user-doc --> | ||
698 | * <!-- end-user-doc --> | ||
699 | * @generated | ||
700 | */ | ||
701 | @Override | ||
702 | public Conjunction createConjunction() { | ||
703 | ConjunctionImpl conjunction = new ConjunctionImpl(); | ||
704 | return conjunction; | ||
705 | } | ||
706 | |||
707 | /** | ||
708 | * <!-- begin-user-doc --> | ||
709 | * <!-- end-user-doc --> | ||
710 | * @generated | ||
711 | */ | ||
712 | @Override | ||
713 | public Comparison createComparison() { | ||
714 | ComparisonImpl comparison = new ComparisonImpl(); | ||
715 | return comparison; | ||
716 | } | ||
717 | |||
718 | /** | ||
719 | * <!-- begin-user-doc --> | ||
720 | * <!-- end-user-doc --> | ||
721 | * @generated | ||
722 | */ | ||
723 | @Override | ||
724 | public BinaryExpression createBinaryExpression() { | ||
725 | BinaryExpressionImpl binaryExpression = new BinaryExpressionImpl(); | ||
726 | return binaryExpression; | ||
727 | } | ||
728 | |||
729 | /** | ||
730 | * <!-- begin-user-doc --> | ||
731 | * <!-- end-user-doc --> | ||
732 | * @generated | ||
733 | */ | ||
734 | @Override | ||
735 | public CastExpression createCastExpression() { | ||
736 | CastExpressionImpl castExpression = new CastExpressionImpl(); | ||
737 | return castExpression; | ||
738 | } | ||
739 | |||
740 | /** | ||
741 | * <!-- begin-user-doc --> | ||
742 | * <!-- end-user-doc --> | ||
743 | * @generated | ||
744 | */ | ||
745 | @Override | ||
746 | public UnaryExpression createUnaryExpression() { | ||
747 | UnaryExpressionImpl unaryExpression = new UnaryExpressionImpl(); | ||
748 | return unaryExpression; | ||
749 | } | ||
750 | |||
751 | /** | ||
752 | * <!-- begin-user-doc --> | ||
753 | * <!-- end-user-doc --> | ||
754 | * @generated | ||
755 | */ | ||
756 | @Override | ||
757 | public Node createNode() { | ||
758 | NodeImpl node = new NodeImpl(); | ||
759 | return node; | ||
760 | } | ||
761 | |||
762 | /** | ||
763 | * <!-- begin-user-doc --> | ||
764 | * <!-- end-user-doc --> | ||
765 | * @generated | ||
766 | */ | ||
767 | @Override | ||
768 | public Predicate createPredicate() { | ||
769 | PredicateImpl predicate = new PredicateImpl(); | ||
770 | return predicate; | ||
771 | } | ||
772 | |||
773 | /** | ||
774 | * <!-- begin-user-doc --> | ||
775 | * <!-- end-user-doc --> | ||
776 | * @generated | ||
777 | */ | ||
778 | @Override | ||
779 | public Metric createMetric() { | ||
780 | MetricImpl metric = new MetricImpl(); | ||
781 | return metric; | ||
782 | } | ||
783 | |||
784 | /** | ||
785 | * <!-- begin-user-doc --> | ||
786 | * <!-- end-user-doc --> | ||
787 | * @generated | ||
788 | */ | ||
789 | public BinaryOperator createBinaryOperatorFromString(EDataType eDataType, String initialValue) { | ||
790 | BinaryOperator result = BinaryOperator.get(initialValue); | ||
791 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
792 | return result; | ||
793 | } | ||
794 | |||
795 | /** | ||
796 | * <!-- begin-user-doc --> | ||
797 | * <!-- end-user-doc --> | ||
798 | * @generated | ||
799 | */ | ||
800 | public String convertBinaryOperatorToString(EDataType eDataType, Object instanceValue) { | ||
801 | return instanceValue == null ? null : instanceValue.toString(); | ||
802 | } | ||
803 | |||
804 | /** | ||
805 | * <!-- begin-user-doc --> | ||
806 | * <!-- end-user-doc --> | ||
807 | * @generated | ||
808 | */ | ||
809 | public UnaryOp createUnaryOpFromString(EDataType eDataType, String initialValue) { | ||
810 | UnaryOp result = UnaryOp.get(initialValue); | ||
811 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
812 | return result; | ||
813 | } | ||
814 | |||
815 | /** | ||
816 | * <!-- begin-user-doc --> | ||
817 | * <!-- end-user-doc --> | ||
818 | * @generated | ||
819 | */ | ||
820 | public String convertUnaryOpToString(EDataType eDataType, Object instanceValue) { | ||
821 | return instanceValue == null ? null : instanceValue.toString(); | ||
822 | } | ||
823 | |||
824 | /** | ||
825 | * <!-- begin-user-doc --> | ||
826 | * <!-- end-user-doc --> | ||
827 | * @generated | ||
828 | */ | ||
829 | public LogicValue createLogicValueFromString(EDataType eDataType, String initialValue) { | ||
830 | LogicValue result = LogicValue.get(initialValue); | ||
831 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
832 | return result; | ||
833 | } | ||
834 | |||
835 | /** | ||
836 | * <!-- begin-user-doc --> | ||
837 | * <!-- end-user-doc --> | ||
838 | * @generated | ||
839 | */ | ||
840 | public String convertLogicValueToString(EDataType eDataType, Object instanceValue) { | ||
841 | return instanceValue == null ? null : instanceValue.toString(); | ||
842 | } | ||
843 | |||
844 | /** | ||
845 | * <!-- begin-user-doc --> | ||
846 | * <!-- end-user-doc --> | ||
847 | * @generated | ||
848 | */ | ||
849 | public ObjectiveKind createObjectiveKindFromString(EDataType eDataType, String initialValue) { | ||
850 | ObjectiveKind result = ObjectiveKind.get(initialValue); | ||
851 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
852 | return result; | ||
853 | } | ||
854 | |||
855 | /** | ||
856 | * <!-- begin-user-doc --> | ||
857 | * <!-- end-user-doc --> | ||
858 | * @generated | ||
859 | */ | ||
860 | public String convertObjectiveKindToString(EDataType eDataType, Object instanceValue) { | ||
861 | return instanceValue == null ? null : instanceValue.toString(); | ||
862 | } | ||
863 | |||
864 | /** | ||
865 | * <!-- begin-user-doc --> | ||
866 | * <!-- end-user-doc --> | ||
867 | * @generated | ||
868 | */ | ||
869 | public Quantifier createQuantifierFromString(EDataType eDataType, String initialValue) { | ||
870 | Quantifier result = Quantifier.get(initialValue); | ||
871 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
872 | return result; | ||
873 | } | ||
874 | |||
875 | /** | ||
876 | * <!-- begin-user-doc --> | ||
877 | * <!-- end-user-doc --> | ||
878 | * @generated | ||
879 | */ | ||
880 | public String convertQuantifierToString(EDataType eDataType, Object instanceValue) { | ||
881 | return instanceValue == null ? null : instanceValue.toString(); | ||
882 | } | ||
883 | |||
884 | /** | ||
885 | * <!-- begin-user-doc --> | ||
886 | * <!-- end-user-doc --> | ||
887 | * @generated | ||
888 | */ | ||
889 | @Override | ||
890 | public SolverLanguagePackage getSolverLanguagePackage() { | ||
891 | return (SolverLanguagePackage)getEPackage(); | ||
892 | } | ||
893 | |||
894 | /** | ||
895 | * <!-- begin-user-doc --> | ||
896 | * <!-- end-user-doc --> | ||
897 | * @deprecated | ||
898 | * @generated | ||
899 | */ | ||
900 | @Deprecated | ||
901 | public static SolverLanguagePackage getPackage() { | ||
902 | return SolverLanguagePackage.eINSTANCE; | ||
903 | } | ||
904 | |||
905 | } //SolverLanguageFactoryImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java deleted file mode 100644 index e8834386..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java +++ /dev/null | |||
@@ -1,2726 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EAttribute; | ||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EEnum; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | import org.eclipse.emf.ecore.EReference; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Aggregation; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.Argument; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression; | ||
18 | import org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator; | ||
19 | import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity; | ||
20 | import org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition; | ||
21 | import org.eclipse.viatra.solver.language.solverLanguage.Call; | ||
22 | import org.eclipse.viatra.solver.language.solverLanguage.Case; | ||
23 | import org.eclipse.viatra.solver.language.solverLanguage.CastExpression; | ||
24 | import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition; | ||
25 | import org.eclipse.viatra.solver.language.solverLanguage.Comparison; | ||
26 | import org.eclipse.viatra.solver.language.solverLanguage.Conjunction; | ||
27 | import org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition; | ||
28 | import org.eclipse.viatra.solver.language.solverLanguage.Disjunction; | ||
29 | import org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral; | ||
30 | import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; | ||
31 | import org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition; | ||
32 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
33 | import org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument; | ||
34 | import org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition; | ||
35 | import org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition; | ||
36 | import org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition; | ||
37 | import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition; | ||
38 | import org.eclipse.viatra.solver.language.solverLanguage.Functor; | ||
39 | import org.eclipse.viatra.solver.language.solverLanguage.IfElse; | ||
40 | import org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral; | ||
41 | import org.eclipse.viatra.solver.language.solverLanguage.Interpretation; | ||
42 | import org.eclipse.viatra.solver.language.solverLanguage.Interval; | ||
43 | import org.eclipse.viatra.solver.language.solverLanguage.Let; | ||
44 | import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; | ||
45 | import org.eclipse.viatra.solver.language.solverLanguage.Literal; | ||
46 | import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; | ||
47 | import org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral; | ||
48 | import org.eclipse.viatra.solver.language.solverLanguage.LogicValue; | ||
49 | import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition; | ||
50 | import org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity; | ||
51 | import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; | ||
52 | import org.eclipse.viatra.solver.language.solverLanguage.Metric; | ||
53 | import org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition; | ||
54 | import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; | ||
55 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
56 | import org.eclipse.viatra.solver.language.solverLanguage.Node; | ||
57 | import org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral; | ||
58 | import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition; | ||
59 | import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind; | ||
60 | import org.eclipse.viatra.solver.language.solverLanguage.Predicate; | ||
61 | import org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition; | ||
62 | import org.eclipse.viatra.solver.language.solverLanguage.Problem; | ||
63 | import org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression; | ||
64 | import org.eclipse.viatra.solver.language.solverLanguage.Quantifier; | ||
65 | import org.eclipse.viatra.solver.language.solverLanguage.Reference; | ||
66 | import org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition; | ||
67 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguageFactory; | ||
68 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
69 | import org.eclipse.viatra.solver.language.solverLanguage.StarArgument; | ||
70 | import org.eclipse.viatra.solver.language.solverLanguage.Statement; | ||
71 | import org.eclipse.viatra.solver.language.solverLanguage.StringLiteral; | ||
72 | import org.eclipse.viatra.solver.language.solverLanguage.Switch; | ||
73 | import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument; | ||
74 | import org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument; | ||
75 | import org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression; | ||
76 | import org.eclipse.viatra.solver.language.solverLanguage.UnaryOp; | ||
77 | import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition; | ||
78 | import org.eclipse.viatra.solver.language.solverLanguage.Variable; | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * An implementation of the model <b>Package</b>. | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLanguagePackage { | ||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | private EClass problemEClass = null; | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | private EClass statementEClass = null; | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | private EClass predicateDefinitionEClass = null; | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | private EClass unnamedErrorPrediateDefinitionEClass = null; | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | private EClass defaultDefinitionEClass = null; | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | private EClass metricDefinitionEClass = null; | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | private EClass externPredicateDefinitionEClass = null; | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | private EClass externMetricDefinitionEClass = null; | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | private EClass externAggregatorDefinitionEClass = null; | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | private EClass externDatatypeDefinitionEClass = null; | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | private EClass namedElementEClass = null; | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | private EClass expressionEClass = null; | ||
170 | |||
171 | /** | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | */ | ||
176 | private EClass ifElseEClass = null; | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | private EClass letEClass = null; | ||
184 | |||
185 | /** | ||
186 | * <!-- begin-user-doc --> | ||
187 | * <!-- end-user-doc --> | ||
188 | * @generated | ||
189 | */ | ||
190 | private EClass letBindingEClass = null; | ||
191 | |||
192 | /** | ||
193 | * <!-- begin-user-doc --> | ||
194 | * <!-- end-user-doc --> | ||
195 | * @generated | ||
196 | */ | ||
197 | private EClass caseEClass = null; | ||
198 | |||
199 | /** | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | */ | ||
204 | private EClass localVariablesEClass = null; | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | private EClass quantifiedExpressionEClass = null; | ||
212 | |||
213 | /** | ||
214 | * <!-- begin-user-doc --> | ||
215 | * <!-- end-user-doc --> | ||
216 | * @generated | ||
217 | */ | ||
218 | private EClass aggregationEClass = null; | ||
219 | |||
220 | /** | ||
221 | * <!-- begin-user-doc --> | ||
222 | * <!-- end-user-doc --> | ||
223 | * @generated | ||
224 | */ | ||
225 | private EClass callEClass = null; | ||
226 | |||
227 | /** | ||
228 | * <!-- begin-user-doc --> | ||
229 | * <!-- end-user-doc --> | ||
230 | * @generated | ||
231 | */ | ||
232 | private EClass argumentListEClass = null; | ||
233 | |||
234 | /** | ||
235 | * <!-- begin-user-doc --> | ||
236 | * <!-- end-user-doc --> | ||
237 | * @generated | ||
238 | */ | ||
239 | private EClass argumentEClass = null; | ||
240 | |||
241 | /** | ||
242 | * <!-- begin-user-doc --> | ||
243 | * <!-- end-user-doc --> | ||
244 | * @generated | ||
245 | */ | ||
246 | private EClass expressionArgumentEClass = null; | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | private EClass starArgumentEClass = null; | ||
254 | |||
255 | /** | ||
256 | * <!-- begin-user-doc --> | ||
257 | * <!-- end-user-doc --> | ||
258 | * @generated | ||
259 | */ | ||
260 | private EClass typedArgumentEClass = null; | ||
261 | |||
262 | /** | ||
263 | * <!-- begin-user-doc --> | ||
264 | * <!-- end-user-doc --> | ||
265 | * @generated | ||
266 | */ | ||
267 | private EClass typedStarArgumentEClass = null; | ||
268 | |||
269 | /** | ||
270 | * <!-- begin-user-doc --> | ||
271 | * <!-- end-user-doc --> | ||
272 | * @generated | ||
273 | */ | ||
274 | private EClass referenceEClass = null; | ||
275 | |||
276 | /** | ||
277 | * <!-- begin-user-doc --> | ||
278 | * <!-- end-user-doc --> | ||
279 | * @generated | ||
280 | */ | ||
281 | private EClass intervalEClass = null; | ||
282 | |||
283 | /** | ||
284 | * <!-- begin-user-doc --> | ||
285 | * <!-- end-user-doc --> | ||
286 | * @generated | ||
287 | */ | ||
288 | private EClass literalEClass = null; | ||
289 | |||
290 | /** | ||
291 | * <!-- begin-user-doc --> | ||
292 | * <!-- end-user-doc --> | ||
293 | * @generated | ||
294 | */ | ||
295 | private EClass logicLiteralEClass = null; | ||
296 | |||
297 | /** | ||
298 | * <!-- begin-user-doc --> | ||
299 | * <!-- end-user-doc --> | ||
300 | * @generated | ||
301 | */ | ||
302 | private EClass numericLiteralEClass = null; | ||
303 | |||
304 | /** | ||
305 | * <!-- begin-user-doc --> | ||
306 | * <!-- end-user-doc --> | ||
307 | * @generated | ||
308 | */ | ||
309 | private EClass infinityLiteralEClass = null; | ||
310 | |||
311 | /** | ||
312 | * <!-- begin-user-doc --> | ||
313 | * <!-- end-user-doc --> | ||
314 | * @generated | ||
315 | */ | ||
316 | private EClass emptyIntervalLiteralEClass = null; | ||
317 | |||
318 | /** | ||
319 | * <!-- begin-user-doc --> | ||
320 | * <!-- end-user-doc --> | ||
321 | * @generated | ||
322 | */ | ||
323 | private EClass stringLiteralEClass = null; | ||
324 | |||
325 | /** | ||
326 | * <!-- begin-user-doc --> | ||
327 | * <!-- end-user-doc --> | ||
328 | * @generated | ||
329 | */ | ||
330 | private EClass classDefinitionEClass = null; | ||
331 | |||
332 | /** | ||
333 | * <!-- begin-user-doc --> | ||
334 | * <!-- end-user-doc --> | ||
335 | * @generated | ||
336 | */ | ||
337 | private EClass memberDefinitionEClass = null; | ||
338 | |||
339 | /** | ||
340 | * <!-- begin-user-doc --> | ||
341 | * <!-- end-user-doc --> | ||
342 | * @generated | ||
343 | */ | ||
344 | private EClass multiplicityEClass = null; | ||
345 | |||
346 | /** | ||
347 | * <!-- begin-user-doc --> | ||
348 | * <!-- end-user-doc --> | ||
349 | * @generated | ||
350 | */ | ||
351 | private EClass manyMultiplicityEClass = null; | ||
352 | |||
353 | /** | ||
354 | * <!-- begin-user-doc --> | ||
355 | * <!-- end-user-doc --> | ||
356 | * @generated | ||
357 | */ | ||
358 | private EClass exactMultiplicityEClass = null; | ||
359 | |||
360 | /** | ||
361 | * <!-- begin-user-doc --> | ||
362 | * <!-- end-user-doc --> | ||
363 | * @generated | ||
364 | */ | ||
365 | private EClass boundedMultiplicityEClass = null; | ||
366 | |||
367 | /** | ||
368 | * <!-- begin-user-doc --> | ||
369 | * <!-- end-user-doc --> | ||
370 | * @generated | ||
371 | */ | ||
372 | private EClass scopeDefinitionEClass = null; | ||
373 | |||
374 | /** | ||
375 | * <!-- begin-user-doc --> | ||
376 | * <!-- end-user-doc --> | ||
377 | * @generated | ||
378 | */ | ||
379 | private EClass exactScopeDefinitionEClass = null; | ||
380 | |||
381 | /** | ||
382 | * <!-- begin-user-doc --> | ||
383 | * <!-- end-user-doc --> | ||
384 | * @generated | ||
385 | */ | ||
386 | private EClass boundedScopeDefinitionEClass = null; | ||
387 | |||
388 | /** | ||
389 | * <!-- begin-user-doc --> | ||
390 | * <!-- end-user-doc --> | ||
391 | * @generated | ||
392 | */ | ||
393 | private EClass lowerBoundedScopeDefinitionEClass = null; | ||
394 | |||
395 | /** | ||
396 | * <!-- begin-user-doc --> | ||
397 | * <!-- end-user-doc --> | ||
398 | * @generated | ||
399 | */ | ||
400 | private EClass objectiveDefinitionEClass = null; | ||
401 | |||
402 | /** | ||
403 | * <!-- begin-user-doc --> | ||
404 | * <!-- end-user-doc --> | ||
405 | * @generated | ||
406 | */ | ||
407 | private EClass interpretationEClass = null; | ||
408 | |||
409 | /** | ||
410 | * <!-- begin-user-doc --> | ||
411 | * <!-- end-user-doc --> | ||
412 | * @generated | ||
413 | */ | ||
414 | private EClass variableEClass = null; | ||
415 | |||
416 | /** | ||
417 | * <!-- begin-user-doc --> | ||
418 | * <!-- end-user-doc --> | ||
419 | * @generated | ||
420 | */ | ||
421 | private EClass disjunctionEClass = null; | ||
422 | |||
423 | /** | ||
424 | * <!-- begin-user-doc --> | ||
425 | * <!-- end-user-doc --> | ||
426 | * @generated | ||
427 | */ | ||
428 | private EClass switchEClass = null; | ||
429 | |||
430 | /** | ||
431 | * <!-- begin-user-doc --> | ||
432 | * <!-- end-user-doc --> | ||
433 | * @generated | ||
434 | */ | ||
435 | private EClass conjunctionEClass = null; | ||
436 | |||
437 | /** | ||
438 | * <!-- begin-user-doc --> | ||
439 | * <!-- end-user-doc --> | ||
440 | * @generated | ||
441 | */ | ||
442 | private EClass comparisonEClass = null; | ||
443 | |||
444 | /** | ||
445 | * <!-- begin-user-doc --> | ||
446 | * <!-- end-user-doc --> | ||
447 | * @generated | ||
448 | */ | ||
449 | private EClass binaryExpressionEClass = null; | ||
450 | |||
451 | /** | ||
452 | * <!-- begin-user-doc --> | ||
453 | * <!-- end-user-doc --> | ||
454 | * @generated | ||
455 | */ | ||
456 | private EClass castExpressionEClass = null; | ||
457 | |||
458 | /** | ||
459 | * <!-- begin-user-doc --> | ||
460 | * <!-- end-user-doc --> | ||
461 | * @generated | ||
462 | */ | ||
463 | private EClass unaryExpressionEClass = null; | ||
464 | |||
465 | /** | ||
466 | * <!-- begin-user-doc --> | ||
467 | * <!-- end-user-doc --> | ||
468 | * @generated | ||
469 | */ | ||
470 | private EClass nodeEClass = null; | ||
471 | |||
472 | /** | ||
473 | * <!-- begin-user-doc --> | ||
474 | * <!-- end-user-doc --> | ||
475 | * @generated | ||
476 | */ | ||
477 | private EClass functorEClass = null; | ||
478 | |||
479 | /** | ||
480 | * <!-- begin-user-doc --> | ||
481 | * <!-- end-user-doc --> | ||
482 | * @generated | ||
483 | */ | ||
484 | private EClass predicateEClass = null; | ||
485 | |||
486 | /** | ||
487 | * <!-- begin-user-doc --> | ||
488 | * <!-- end-user-doc --> | ||
489 | * @generated | ||
490 | */ | ||
491 | private EClass metricEClass = null; | ||
492 | |||
493 | /** | ||
494 | * <!-- begin-user-doc --> | ||
495 | * <!-- end-user-doc --> | ||
496 | * @generated | ||
497 | */ | ||
498 | private EEnum binaryOperatorEEnum = null; | ||
499 | |||
500 | /** | ||
501 | * <!-- begin-user-doc --> | ||
502 | * <!-- end-user-doc --> | ||
503 | * @generated | ||
504 | */ | ||
505 | private EEnum unaryOpEEnum = null; | ||
506 | |||
507 | /** | ||
508 | * <!-- begin-user-doc --> | ||
509 | * <!-- end-user-doc --> | ||
510 | * @generated | ||
511 | */ | ||
512 | private EEnum logicValueEEnum = null; | ||
513 | |||
514 | /** | ||
515 | * <!-- begin-user-doc --> | ||
516 | * <!-- end-user-doc --> | ||
517 | * @generated | ||
518 | */ | ||
519 | private EEnum objectiveKindEEnum = null; | ||
520 | |||
521 | /** | ||
522 | * <!-- begin-user-doc --> | ||
523 | * <!-- end-user-doc --> | ||
524 | * @generated | ||
525 | */ | ||
526 | private EEnum quantifierEEnum = null; | ||
527 | |||
528 | /** | ||
529 | * Creates an instance of the model <b>Package</b>, registered with | ||
530 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
531 | * package URI value. | ||
532 | * <p>Note: the correct way to create the package is via the static | ||
533 | * factory method {@link #init init()}, which also performs | ||
534 | * initialization of the package, or returns the registered package, | ||
535 | * if one already exists. | ||
536 | * <!-- begin-user-doc --> | ||
537 | * <!-- end-user-doc --> | ||
538 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
539 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#eNS_URI | ||
540 | * @see #init() | ||
541 | * @generated | ||
542 | */ | ||
543 | private SolverLanguagePackageImpl() { | ||
544 | super(eNS_URI, SolverLanguageFactory.eINSTANCE); | ||
545 | } | ||
546 | |||
547 | /** | ||
548 | * <!-- begin-user-doc --> | ||
549 | * <!-- end-user-doc --> | ||
550 | * @generated | ||
551 | */ | ||
552 | private static boolean isInited = false; | ||
553 | |||
554 | /** | ||
555 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
556 | * | ||
557 | * <p>This method is used to initialize {@link SolverLanguagePackage#eINSTANCE} when that field is accessed. | ||
558 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
559 | * <!-- begin-user-doc --> | ||
560 | * <!-- end-user-doc --> | ||
561 | * @see #eNS_URI | ||
562 | * @see #createPackageContents() | ||
563 | * @see #initializePackageContents() | ||
564 | * @generated | ||
565 | */ | ||
566 | public static SolverLanguagePackage init() { | ||
567 | if (isInited) return (SolverLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(SolverLanguagePackage.eNS_URI); | ||
568 | |||
569 | // Obtain or create and register package | ||
570 | Object registeredSolverLanguagePackage = EPackage.Registry.INSTANCE.get(eNS_URI); | ||
571 | SolverLanguagePackageImpl theSolverLanguagePackage = registeredSolverLanguagePackage instanceof SolverLanguagePackageImpl ? (SolverLanguagePackageImpl)registeredSolverLanguagePackage : new SolverLanguagePackageImpl(); | ||
572 | |||
573 | isInited = true; | ||
574 | |||
575 | // Create package meta-data objects | ||
576 | theSolverLanguagePackage.createPackageContents(); | ||
577 | |||
578 | // Initialize created meta-data | ||
579 | theSolverLanguagePackage.initializePackageContents(); | ||
580 | |||
581 | // Mark meta-data to indicate it can't be changed | ||
582 | theSolverLanguagePackage.freeze(); | ||
583 | |||
584 | // Update the registry and return the package | ||
585 | EPackage.Registry.INSTANCE.put(SolverLanguagePackage.eNS_URI, theSolverLanguagePackage); | ||
586 | return theSolverLanguagePackage; | ||
587 | } | ||
588 | |||
589 | /** | ||
590 | * <!-- begin-user-doc --> | ||
591 | * <!-- end-user-doc --> | ||
592 | * @generated | ||
593 | */ | ||
594 | @Override | ||
595 | public EClass getProblem() { | ||
596 | return problemEClass; | ||
597 | } | ||
598 | |||
599 | /** | ||
600 | * <!-- begin-user-doc --> | ||
601 | * <!-- end-user-doc --> | ||
602 | * @generated | ||
603 | */ | ||
604 | @Override | ||
605 | public EReference getProblem_Statements() { | ||
606 | return (EReference)problemEClass.getEStructuralFeatures().get(0); | ||
607 | } | ||
608 | |||
609 | /** | ||
610 | * <!-- begin-user-doc --> | ||
611 | * <!-- end-user-doc --> | ||
612 | * @generated | ||
613 | */ | ||
614 | @Override | ||
615 | public EClass getStatement() { | ||
616 | return statementEClass; | ||
617 | } | ||
618 | |||
619 | /** | ||
620 | * <!-- begin-user-doc --> | ||
621 | * <!-- end-user-doc --> | ||
622 | * @generated | ||
623 | */ | ||
624 | @Override | ||
625 | public EClass getPredicateDefinition() { | ||
626 | return predicateDefinitionEClass; | ||
627 | } | ||
628 | |||
629 | /** | ||
630 | * <!-- begin-user-doc --> | ||
631 | * <!-- end-user-doc --> | ||
632 | * @generated | ||
633 | */ | ||
634 | @Override | ||
635 | public EReference getPredicateDefinition_Head() { | ||
636 | return (EReference)predicateDefinitionEClass.getEStructuralFeatures().get(0); | ||
637 | } | ||
638 | |||
639 | /** | ||
640 | * <!-- begin-user-doc --> | ||
641 | * <!-- end-user-doc --> | ||
642 | * @generated | ||
643 | */ | ||
644 | @Override | ||
645 | public EReference getPredicateDefinition_Body() { | ||
646 | return (EReference)predicateDefinitionEClass.getEStructuralFeatures().get(1); | ||
647 | } | ||
648 | |||
649 | /** | ||
650 | * <!-- begin-user-doc --> | ||
651 | * <!-- end-user-doc --> | ||
652 | * @generated | ||
653 | */ | ||
654 | @Override | ||
655 | public EAttribute getPredicateDefinition_Functional() { | ||
656 | return (EAttribute)predicateDefinitionEClass.getEStructuralFeatures().get(2); | ||
657 | } | ||
658 | |||
659 | /** | ||
660 | * <!-- begin-user-doc --> | ||
661 | * <!-- end-user-doc --> | ||
662 | * @generated | ||
663 | */ | ||
664 | @Override | ||
665 | public EAttribute getPredicateDefinition_Error() { | ||
666 | return (EAttribute)predicateDefinitionEClass.getEStructuralFeatures().get(3); | ||
667 | } | ||
668 | |||
669 | /** | ||
670 | * <!-- begin-user-doc --> | ||
671 | * <!-- end-user-doc --> | ||
672 | * @generated | ||
673 | */ | ||
674 | @Override | ||
675 | public EClass getUnnamedErrorPrediateDefinition() { | ||
676 | return unnamedErrorPrediateDefinitionEClass; | ||
677 | } | ||
678 | |||
679 | /** | ||
680 | * <!-- begin-user-doc --> | ||
681 | * <!-- end-user-doc --> | ||
682 | * @generated | ||
683 | */ | ||
684 | @Override | ||
685 | public EReference getUnnamedErrorPrediateDefinition_ArgumentList() { | ||
686 | return (EReference)unnamedErrorPrediateDefinitionEClass.getEStructuralFeatures().get(0); | ||
687 | } | ||
688 | |||
689 | /** | ||
690 | * <!-- begin-user-doc --> | ||
691 | * <!-- end-user-doc --> | ||
692 | * @generated | ||
693 | */ | ||
694 | @Override | ||
695 | public EReference getUnnamedErrorPrediateDefinition_Body() { | ||
696 | return (EReference)unnamedErrorPrediateDefinitionEClass.getEStructuralFeatures().get(1); | ||
697 | } | ||
698 | |||
699 | /** | ||
700 | * <!-- begin-user-doc --> | ||
701 | * <!-- end-user-doc --> | ||
702 | * @generated | ||
703 | */ | ||
704 | @Override | ||
705 | public EClass getDefaultDefinition() { | ||
706 | return defaultDefinitionEClass; | ||
707 | } | ||
708 | |||
709 | /** | ||
710 | * <!-- begin-user-doc --> | ||
711 | * <!-- end-user-doc --> | ||
712 | * @generated | ||
713 | */ | ||
714 | @Override | ||
715 | public EReference getDefaultDefinition_Head() { | ||
716 | return (EReference)defaultDefinitionEClass.getEStructuralFeatures().get(0); | ||
717 | } | ||
718 | |||
719 | /** | ||
720 | * <!-- begin-user-doc --> | ||
721 | * <!-- end-user-doc --> | ||
722 | * @generated | ||
723 | */ | ||
724 | @Override | ||
725 | public EReference getDefaultDefinition_Range() { | ||
726 | return (EReference)defaultDefinitionEClass.getEStructuralFeatures().get(1); | ||
727 | } | ||
728 | |||
729 | /** | ||
730 | * <!-- begin-user-doc --> | ||
731 | * <!-- end-user-doc --> | ||
732 | * @generated | ||
733 | */ | ||
734 | @Override | ||
735 | public EClass getMetricDefinition() { | ||
736 | return metricDefinitionEClass; | ||
737 | } | ||
738 | |||
739 | /** | ||
740 | * <!-- begin-user-doc --> | ||
741 | * <!-- end-user-doc --> | ||
742 | * @generated | ||
743 | */ | ||
744 | @Override | ||
745 | public EReference getMetricDefinition_Head() { | ||
746 | return (EReference)metricDefinitionEClass.getEStructuralFeatures().get(0); | ||
747 | } | ||
748 | |||
749 | /** | ||
750 | * <!-- begin-user-doc --> | ||
751 | * <!-- end-user-doc --> | ||
752 | * @generated | ||
753 | */ | ||
754 | @Override | ||
755 | public EReference getMetricDefinition_Body() { | ||
756 | return (EReference)metricDefinitionEClass.getEStructuralFeatures().get(1); | ||
757 | } | ||
758 | |||
759 | /** | ||
760 | * <!-- begin-user-doc --> | ||
761 | * <!-- end-user-doc --> | ||
762 | * @generated | ||
763 | */ | ||
764 | @Override | ||
765 | public EReference getMetricDefinition_Type() { | ||
766 | return (EReference)metricDefinitionEClass.getEStructuralFeatures().get(2); | ||
767 | } | ||
768 | |||
769 | /** | ||
770 | * <!-- begin-user-doc --> | ||
771 | * <!-- end-user-doc --> | ||
772 | * @generated | ||
773 | */ | ||
774 | @Override | ||
775 | public EClass getExternPredicateDefinition() { | ||
776 | return externPredicateDefinitionEClass; | ||
777 | } | ||
778 | |||
779 | /** | ||
780 | * <!-- begin-user-doc --> | ||
781 | * <!-- end-user-doc --> | ||
782 | * @generated | ||
783 | */ | ||
784 | @Override | ||
785 | public EAttribute getExternPredicateDefinition_Name() { | ||
786 | return (EAttribute)externPredicateDefinitionEClass.getEStructuralFeatures().get(0); | ||
787 | } | ||
788 | |||
789 | /** | ||
790 | * <!-- begin-user-doc --> | ||
791 | * <!-- end-user-doc --> | ||
792 | * @generated | ||
793 | */ | ||
794 | @Override | ||
795 | public EReference getExternPredicateDefinition_ArgumentList() { | ||
796 | return (EReference)externPredicateDefinitionEClass.getEStructuralFeatures().get(1); | ||
797 | } | ||
798 | |||
799 | /** | ||
800 | * <!-- begin-user-doc --> | ||
801 | * <!-- end-user-doc --> | ||
802 | * @generated | ||
803 | */ | ||
804 | @Override | ||
805 | public EClass getExternMetricDefinition() { | ||
806 | return externMetricDefinitionEClass; | ||
807 | } | ||
808 | |||
809 | /** | ||
810 | * <!-- begin-user-doc --> | ||
811 | * <!-- end-user-doc --> | ||
812 | * @generated | ||
813 | */ | ||
814 | @Override | ||
815 | public EReference getExternMetricDefinition_Type() { | ||
816 | return (EReference)externMetricDefinitionEClass.getEStructuralFeatures().get(0); | ||
817 | } | ||
818 | |||
819 | /** | ||
820 | * <!-- begin-user-doc --> | ||
821 | * <!-- end-user-doc --> | ||
822 | * @generated | ||
823 | */ | ||
824 | @Override | ||
825 | public EAttribute getExternMetricDefinition_Name() { | ||
826 | return (EAttribute)externMetricDefinitionEClass.getEStructuralFeatures().get(1); | ||
827 | } | ||
828 | |||
829 | /** | ||
830 | * <!-- begin-user-doc --> | ||
831 | * <!-- end-user-doc --> | ||
832 | * @generated | ||
833 | */ | ||
834 | @Override | ||
835 | public EReference getExternMetricDefinition_ArgumentList() { | ||
836 | return (EReference)externMetricDefinitionEClass.getEStructuralFeatures().get(2); | ||
837 | } | ||
838 | |||
839 | /** | ||
840 | * <!-- begin-user-doc --> | ||
841 | * <!-- end-user-doc --> | ||
842 | * @generated | ||
843 | */ | ||
844 | @Override | ||
845 | public EClass getExternAggregatorDefinition() { | ||
846 | return externAggregatorDefinitionEClass; | ||
847 | } | ||
848 | |||
849 | /** | ||
850 | * <!-- begin-user-doc --> | ||
851 | * <!-- end-user-doc --> | ||
852 | * @generated | ||
853 | */ | ||
854 | @Override | ||
855 | public EReference getExternAggregatorDefinition_Type() { | ||
856 | return (EReference)externAggregatorDefinitionEClass.getEStructuralFeatures().get(0); | ||
857 | } | ||
858 | |||
859 | /** | ||
860 | * <!-- begin-user-doc --> | ||
861 | * <!-- end-user-doc --> | ||
862 | * @generated | ||
863 | */ | ||
864 | @Override | ||
865 | public EAttribute getExternAggregatorDefinition_Name() { | ||
866 | return (EAttribute)externAggregatorDefinitionEClass.getEStructuralFeatures().get(1); | ||
867 | } | ||
868 | |||
869 | /** | ||
870 | * <!-- begin-user-doc --> | ||
871 | * <!-- end-user-doc --> | ||
872 | * @generated | ||
873 | */ | ||
874 | @Override | ||
875 | public EReference getExternAggregatorDefinition_InputType() { | ||
876 | return (EReference)externAggregatorDefinitionEClass.getEStructuralFeatures().get(2); | ||
877 | } | ||
878 | |||
879 | /** | ||
880 | * <!-- begin-user-doc --> | ||
881 | * <!-- end-user-doc --> | ||
882 | * @generated | ||
883 | */ | ||
884 | @Override | ||
885 | public EClass getExternDatatypeDefinition() { | ||
886 | return externDatatypeDefinitionEClass; | ||
887 | } | ||
888 | |||
889 | /** | ||
890 | * <!-- begin-user-doc --> | ||
891 | * <!-- end-user-doc --> | ||
892 | * @generated | ||
893 | */ | ||
894 | @Override | ||
895 | public EAttribute getExternDatatypeDefinition_Name() { | ||
896 | return (EAttribute)externDatatypeDefinitionEClass.getEStructuralFeatures().get(0); | ||
897 | } | ||
898 | |||
899 | /** | ||
900 | * <!-- begin-user-doc --> | ||
901 | * <!-- end-user-doc --> | ||
902 | * @generated | ||
903 | */ | ||
904 | @Override | ||
905 | public EReference getExternDatatypeDefinition_Supertypes() { | ||
906 | return (EReference)externDatatypeDefinitionEClass.getEStructuralFeatures().get(1); | ||
907 | } | ||
908 | |||
909 | /** | ||
910 | * <!-- begin-user-doc --> | ||
911 | * <!-- end-user-doc --> | ||
912 | * @generated | ||
913 | */ | ||
914 | @Override | ||
915 | public EClass getNamedElement() { | ||
916 | return namedElementEClass; | ||
917 | } | ||
918 | |||
919 | /** | ||
920 | * <!-- begin-user-doc --> | ||
921 | * <!-- end-user-doc --> | ||
922 | * @generated | ||
923 | */ | ||
924 | @Override | ||
925 | public EAttribute getNamedElement_Name() { | ||
926 | return (EAttribute)namedElementEClass.getEStructuralFeatures().get(0); | ||
927 | } | ||
928 | |||
929 | /** | ||
930 | * <!-- begin-user-doc --> | ||
931 | * <!-- end-user-doc --> | ||
932 | * @generated | ||
933 | */ | ||
934 | @Override | ||
935 | public EClass getExpression() { | ||
936 | return expressionEClass; | ||
937 | } | ||
938 | |||
939 | /** | ||
940 | * <!-- begin-user-doc --> | ||
941 | * <!-- end-user-doc --> | ||
942 | * @generated | ||
943 | */ | ||
944 | @Override | ||
945 | public EClass getIfElse() { | ||
946 | return ifElseEClass; | ||
947 | } | ||
948 | |||
949 | /** | ||
950 | * <!-- begin-user-doc --> | ||
951 | * <!-- end-user-doc --> | ||
952 | * @generated | ||
953 | */ | ||
954 | @Override | ||
955 | public EReference getIfElse_Then() { | ||
956 | return (EReference)ifElseEClass.getEStructuralFeatures().get(0); | ||
957 | } | ||
958 | |||
959 | /** | ||
960 | * <!-- begin-user-doc --> | ||
961 | * <!-- end-user-doc --> | ||
962 | * @generated | ||
963 | */ | ||
964 | @Override | ||
965 | public EReference getIfElse_Else() { | ||
966 | return (EReference)ifElseEClass.getEStructuralFeatures().get(1); | ||
967 | } | ||
968 | |||
969 | /** | ||
970 | * <!-- begin-user-doc --> | ||
971 | * <!-- end-user-doc --> | ||
972 | * @generated | ||
973 | */ | ||
974 | @Override | ||
975 | public EReference getIfElse_Condition() { | ||
976 | return (EReference)ifElseEClass.getEStructuralFeatures().get(2); | ||
977 | } | ||
978 | |||
979 | /** | ||
980 | * <!-- begin-user-doc --> | ||
981 | * <!-- end-user-doc --> | ||
982 | * @generated | ||
983 | */ | ||
984 | @Override | ||
985 | public EClass getLet() { | ||
986 | return letEClass; | ||
987 | } | ||
988 | |||
989 | /** | ||
990 | * <!-- begin-user-doc --> | ||
991 | * <!-- end-user-doc --> | ||
992 | * @generated | ||
993 | */ | ||
994 | @Override | ||
995 | public EReference getLet_Bindings() { | ||
996 | return (EReference)letEClass.getEStructuralFeatures().get(0); | ||
997 | } | ||
998 | |||
999 | /** | ||
1000 | * <!-- begin-user-doc --> | ||
1001 | * <!-- end-user-doc --> | ||
1002 | * @generated | ||
1003 | */ | ||
1004 | @Override | ||
1005 | public EReference getLet_Body() { | ||
1006 | return (EReference)letEClass.getEStructuralFeatures().get(1); | ||
1007 | } | ||
1008 | |||
1009 | /** | ||
1010 | * <!-- begin-user-doc --> | ||
1011 | * <!-- end-user-doc --> | ||
1012 | * @generated | ||
1013 | */ | ||
1014 | @Override | ||
1015 | public EClass getLetBinding() { | ||
1016 | return letBindingEClass; | ||
1017 | } | ||
1018 | |||
1019 | /** | ||
1020 | * <!-- begin-user-doc --> | ||
1021 | * <!-- end-user-doc --> | ||
1022 | * @generated | ||
1023 | */ | ||
1024 | @Override | ||
1025 | public EReference getLetBinding_Variable() { | ||
1026 | return (EReference)letBindingEClass.getEStructuralFeatures().get(0); | ||
1027 | } | ||
1028 | |||
1029 | /** | ||
1030 | * <!-- begin-user-doc --> | ||
1031 | * <!-- end-user-doc --> | ||
1032 | * @generated | ||
1033 | */ | ||
1034 | @Override | ||
1035 | public EReference getLetBinding_Value() { | ||
1036 | return (EReference)letBindingEClass.getEStructuralFeatures().get(1); | ||
1037 | } | ||
1038 | |||
1039 | /** | ||
1040 | * <!-- begin-user-doc --> | ||
1041 | * <!-- end-user-doc --> | ||
1042 | * @generated | ||
1043 | */ | ||
1044 | @Override | ||
1045 | public EClass getCase() { | ||
1046 | return caseEClass; | ||
1047 | } | ||
1048 | |||
1049 | /** | ||
1050 | * <!-- begin-user-doc --> | ||
1051 | * <!-- end-user-doc --> | ||
1052 | * @generated | ||
1053 | */ | ||
1054 | @Override | ||
1055 | public EReference getCase_Body() { | ||
1056 | return (EReference)caseEClass.getEStructuralFeatures().get(0); | ||
1057 | } | ||
1058 | |||
1059 | /** | ||
1060 | * <!-- begin-user-doc --> | ||
1061 | * <!-- end-user-doc --> | ||
1062 | * @generated | ||
1063 | */ | ||
1064 | @Override | ||
1065 | public EReference getCase_Condition() { | ||
1066 | return (EReference)caseEClass.getEStructuralFeatures().get(1); | ||
1067 | } | ||
1068 | |||
1069 | /** | ||
1070 | * <!-- begin-user-doc --> | ||
1071 | * <!-- end-user-doc --> | ||
1072 | * @generated | ||
1073 | */ | ||
1074 | @Override | ||
1075 | public EClass getLocalVariables() { | ||
1076 | return localVariablesEClass; | ||
1077 | } | ||
1078 | |||
1079 | /** | ||
1080 | * <!-- begin-user-doc --> | ||
1081 | * <!-- end-user-doc --> | ||
1082 | * @generated | ||
1083 | */ | ||
1084 | @Override | ||
1085 | public EReference getLocalVariables_Variables() { | ||
1086 | return (EReference)localVariablesEClass.getEStructuralFeatures().get(0); | ||
1087 | } | ||
1088 | |||
1089 | /** | ||
1090 | * <!-- begin-user-doc --> | ||
1091 | * <!-- end-user-doc --> | ||
1092 | * @generated | ||
1093 | */ | ||
1094 | @Override | ||
1095 | public EClass getQuantifiedExpression() { | ||
1096 | return quantifiedExpressionEClass; | ||
1097 | } | ||
1098 | |||
1099 | /** | ||
1100 | * <!-- begin-user-doc --> | ||
1101 | * <!-- end-user-doc --> | ||
1102 | * @generated | ||
1103 | */ | ||
1104 | @Override | ||
1105 | public EReference getQuantifiedExpression_LocalVariables() { | ||
1106 | return (EReference)quantifiedExpressionEClass.getEStructuralFeatures().get(0); | ||
1107 | } | ||
1108 | |||
1109 | /** | ||
1110 | * <!-- begin-user-doc --> | ||
1111 | * <!-- end-user-doc --> | ||
1112 | * @generated | ||
1113 | */ | ||
1114 | @Override | ||
1115 | public EReference getQuantifiedExpression_Body() { | ||
1116 | return (EReference)quantifiedExpressionEClass.getEStructuralFeatures().get(1); | ||
1117 | } | ||
1118 | |||
1119 | /** | ||
1120 | * <!-- begin-user-doc --> | ||
1121 | * <!-- end-user-doc --> | ||
1122 | * @generated | ||
1123 | */ | ||
1124 | @Override | ||
1125 | public EAttribute getQuantifiedExpression_Quantifier() { | ||
1126 | return (EAttribute)quantifiedExpressionEClass.getEStructuralFeatures().get(2); | ||
1127 | } | ||
1128 | |||
1129 | /** | ||
1130 | * <!-- begin-user-doc --> | ||
1131 | * <!-- end-user-doc --> | ||
1132 | * @generated | ||
1133 | */ | ||
1134 | @Override | ||
1135 | public EClass getAggregation() { | ||
1136 | return aggregationEClass; | ||
1137 | } | ||
1138 | |||
1139 | /** | ||
1140 | * <!-- begin-user-doc --> | ||
1141 | * <!-- end-user-doc --> | ||
1142 | * @generated | ||
1143 | */ | ||
1144 | @Override | ||
1145 | public EReference getAggregation_Op() { | ||
1146 | return (EReference)aggregationEClass.getEStructuralFeatures().get(0); | ||
1147 | } | ||
1148 | |||
1149 | /** | ||
1150 | * <!-- begin-user-doc --> | ||
1151 | * <!-- end-user-doc --> | ||
1152 | * @generated | ||
1153 | */ | ||
1154 | @Override | ||
1155 | public EReference getAggregation_LocalVariables() { | ||
1156 | return (EReference)aggregationEClass.getEStructuralFeatures().get(1); | ||
1157 | } | ||
1158 | |||
1159 | /** | ||
1160 | * <!-- begin-user-doc --> | ||
1161 | * <!-- end-user-doc --> | ||
1162 | * @generated | ||
1163 | */ | ||
1164 | @Override | ||
1165 | public EReference getAggregation_Body() { | ||
1166 | return (EReference)aggregationEClass.getEStructuralFeatures().get(2); | ||
1167 | } | ||
1168 | |||
1169 | /** | ||
1170 | * <!-- begin-user-doc --> | ||
1171 | * <!-- end-user-doc --> | ||
1172 | * @generated | ||
1173 | */ | ||
1174 | @Override | ||
1175 | public EReference getAggregation_Condition() { | ||
1176 | return (EReference)aggregationEClass.getEStructuralFeatures().get(3); | ||
1177 | } | ||
1178 | |||
1179 | /** | ||
1180 | * <!-- begin-user-doc --> | ||
1181 | * <!-- end-user-doc --> | ||
1182 | * @generated | ||
1183 | */ | ||
1184 | @Override | ||
1185 | public EClass getCall() { | ||
1186 | return callEClass; | ||
1187 | } | ||
1188 | |||
1189 | /** | ||
1190 | * <!-- begin-user-doc --> | ||
1191 | * <!-- end-user-doc --> | ||
1192 | * @generated | ||
1193 | */ | ||
1194 | @Override | ||
1195 | public EReference getCall_Functor() { | ||
1196 | return (EReference)callEClass.getEStructuralFeatures().get(0); | ||
1197 | } | ||
1198 | |||
1199 | /** | ||
1200 | * <!-- begin-user-doc --> | ||
1201 | * <!-- end-user-doc --> | ||
1202 | * @generated | ||
1203 | */ | ||
1204 | @Override | ||
1205 | public EAttribute getCall_TransitiveClosure() { | ||
1206 | return (EAttribute)callEClass.getEStructuralFeatures().get(1); | ||
1207 | } | ||
1208 | |||
1209 | /** | ||
1210 | * <!-- begin-user-doc --> | ||
1211 | * <!-- end-user-doc --> | ||
1212 | * @generated | ||
1213 | */ | ||
1214 | @Override | ||
1215 | public EAttribute getCall_ReflexiveTransitiveClosure() { | ||
1216 | return (EAttribute)callEClass.getEStructuralFeatures().get(2); | ||
1217 | } | ||
1218 | |||
1219 | /** | ||
1220 | * <!-- begin-user-doc --> | ||
1221 | * <!-- end-user-doc --> | ||
1222 | * @generated | ||
1223 | */ | ||
1224 | @Override | ||
1225 | public EReference getCall_ArgumentList() { | ||
1226 | return (EReference)callEClass.getEStructuralFeatures().get(3); | ||
1227 | } | ||
1228 | |||
1229 | /** | ||
1230 | * <!-- begin-user-doc --> | ||
1231 | * <!-- end-user-doc --> | ||
1232 | * @generated | ||
1233 | */ | ||
1234 | @Override | ||
1235 | public EClass getArgumentList() { | ||
1236 | return argumentListEClass; | ||
1237 | } | ||
1238 | |||
1239 | /** | ||
1240 | * <!-- begin-user-doc --> | ||
1241 | * <!-- end-user-doc --> | ||
1242 | * @generated | ||
1243 | */ | ||
1244 | @Override | ||
1245 | public EReference getArgumentList_Arguments() { | ||
1246 | return (EReference)argumentListEClass.getEStructuralFeatures().get(0); | ||
1247 | } | ||
1248 | |||
1249 | /** | ||
1250 | * <!-- begin-user-doc --> | ||
1251 | * <!-- end-user-doc --> | ||
1252 | * @generated | ||
1253 | */ | ||
1254 | @Override | ||
1255 | public EClass getArgument() { | ||
1256 | return argumentEClass; | ||
1257 | } | ||
1258 | |||
1259 | /** | ||
1260 | * <!-- begin-user-doc --> | ||
1261 | * <!-- end-user-doc --> | ||
1262 | * @generated | ||
1263 | */ | ||
1264 | @Override | ||
1265 | public EClass getExpressionArgument() { | ||
1266 | return expressionArgumentEClass; | ||
1267 | } | ||
1268 | |||
1269 | /** | ||
1270 | * <!-- begin-user-doc --> | ||
1271 | * <!-- end-user-doc --> | ||
1272 | * @generated | ||
1273 | */ | ||
1274 | @Override | ||
1275 | public EReference getExpressionArgument_Body() { | ||
1276 | return (EReference)expressionArgumentEClass.getEStructuralFeatures().get(0); | ||
1277 | } | ||
1278 | |||
1279 | /** | ||
1280 | * <!-- begin-user-doc --> | ||
1281 | * <!-- end-user-doc --> | ||
1282 | * @generated | ||
1283 | */ | ||
1284 | @Override | ||
1285 | public EClass getStarArgument() { | ||
1286 | return starArgumentEClass; | ||
1287 | } | ||
1288 | |||
1289 | /** | ||
1290 | * <!-- begin-user-doc --> | ||
1291 | * <!-- end-user-doc --> | ||
1292 | * @generated | ||
1293 | */ | ||
1294 | @Override | ||
1295 | public EClass getTypedArgument() { | ||
1296 | return typedArgumentEClass; | ||
1297 | } | ||
1298 | |||
1299 | /** | ||
1300 | * <!-- begin-user-doc --> | ||
1301 | * <!-- end-user-doc --> | ||
1302 | * @generated | ||
1303 | */ | ||
1304 | @Override | ||
1305 | public EReference getTypedArgument_Type() { | ||
1306 | return (EReference)typedArgumentEClass.getEStructuralFeatures().get(0); | ||
1307 | } | ||
1308 | |||
1309 | /** | ||
1310 | * <!-- begin-user-doc --> | ||
1311 | * <!-- end-user-doc --> | ||
1312 | * @generated | ||
1313 | */ | ||
1314 | @Override | ||
1315 | public EReference getTypedArgument_Variable() { | ||
1316 | return (EReference)typedArgumentEClass.getEStructuralFeatures().get(1); | ||
1317 | } | ||
1318 | |||
1319 | /** | ||
1320 | * <!-- begin-user-doc --> | ||
1321 | * <!-- end-user-doc --> | ||
1322 | * @generated | ||
1323 | */ | ||
1324 | @Override | ||
1325 | public EClass getTypedStarArgument() { | ||
1326 | return typedStarArgumentEClass; | ||
1327 | } | ||
1328 | |||
1329 | /** | ||
1330 | * <!-- begin-user-doc --> | ||
1331 | * <!-- end-user-doc --> | ||
1332 | * @generated | ||
1333 | */ | ||
1334 | @Override | ||
1335 | public EReference getTypedStarArgument_Type() { | ||
1336 | return (EReference)typedStarArgumentEClass.getEStructuralFeatures().get(0); | ||
1337 | } | ||
1338 | |||
1339 | /** | ||
1340 | * <!-- begin-user-doc --> | ||
1341 | * <!-- end-user-doc --> | ||
1342 | * @generated | ||
1343 | */ | ||
1344 | @Override | ||
1345 | public EClass getReference() { | ||
1346 | return referenceEClass; | ||
1347 | } | ||
1348 | |||
1349 | /** | ||
1350 | * <!-- begin-user-doc --> | ||
1351 | * <!-- end-user-doc --> | ||
1352 | * @generated | ||
1353 | */ | ||
1354 | @Override | ||
1355 | public EReference getReference_Referred() { | ||
1356 | return (EReference)referenceEClass.getEStructuralFeatures().get(0); | ||
1357 | } | ||
1358 | |||
1359 | /** | ||
1360 | * <!-- begin-user-doc --> | ||
1361 | * <!-- end-user-doc --> | ||
1362 | * @generated | ||
1363 | */ | ||
1364 | @Override | ||
1365 | public EClass getInterval() { | ||
1366 | return intervalEClass; | ||
1367 | } | ||
1368 | |||
1369 | /** | ||
1370 | * <!-- begin-user-doc --> | ||
1371 | * <!-- end-user-doc --> | ||
1372 | * @generated | ||
1373 | */ | ||
1374 | @Override | ||
1375 | public EReference getInterval_LowerBound() { | ||
1376 | return (EReference)intervalEClass.getEStructuralFeatures().get(0); | ||
1377 | } | ||
1378 | |||
1379 | /** | ||
1380 | * <!-- begin-user-doc --> | ||
1381 | * <!-- end-user-doc --> | ||
1382 | * @generated | ||
1383 | */ | ||
1384 | @Override | ||
1385 | public EReference getInterval_UpperBound() { | ||
1386 | return (EReference)intervalEClass.getEStructuralFeatures().get(1); | ||
1387 | } | ||
1388 | |||
1389 | /** | ||
1390 | * <!-- begin-user-doc --> | ||
1391 | * <!-- end-user-doc --> | ||
1392 | * @generated | ||
1393 | */ | ||
1394 | @Override | ||
1395 | public EClass getLiteral() { | ||
1396 | return literalEClass; | ||
1397 | } | ||
1398 | |||
1399 | /** | ||
1400 | * <!-- begin-user-doc --> | ||
1401 | * <!-- end-user-doc --> | ||
1402 | * @generated | ||
1403 | */ | ||
1404 | @Override | ||
1405 | public EClass getLogicLiteral() { | ||
1406 | return logicLiteralEClass; | ||
1407 | } | ||
1408 | |||
1409 | /** | ||
1410 | * <!-- begin-user-doc --> | ||
1411 | * <!-- end-user-doc --> | ||
1412 | * @generated | ||
1413 | */ | ||
1414 | @Override | ||
1415 | public EAttribute getLogicLiteral_Value() { | ||
1416 | return (EAttribute)logicLiteralEClass.getEStructuralFeatures().get(0); | ||
1417 | } | ||
1418 | |||
1419 | /** | ||
1420 | * <!-- begin-user-doc --> | ||
1421 | * <!-- end-user-doc --> | ||
1422 | * @generated | ||
1423 | */ | ||
1424 | @Override | ||
1425 | public EClass getNumericLiteral() { | ||
1426 | return numericLiteralEClass; | ||
1427 | } | ||
1428 | |||
1429 | /** | ||
1430 | * <!-- begin-user-doc --> | ||
1431 | * <!-- end-user-doc --> | ||
1432 | * @generated | ||
1433 | */ | ||
1434 | @Override | ||
1435 | public EAttribute getNumericLiteral_Value() { | ||
1436 | return (EAttribute)numericLiteralEClass.getEStructuralFeatures().get(0); | ||
1437 | } | ||
1438 | |||
1439 | /** | ||
1440 | * <!-- begin-user-doc --> | ||
1441 | * <!-- end-user-doc --> | ||
1442 | * @generated | ||
1443 | */ | ||
1444 | @Override | ||
1445 | public EClass getInfinityLiteral() { | ||
1446 | return infinityLiteralEClass; | ||
1447 | } | ||
1448 | |||
1449 | /** | ||
1450 | * <!-- begin-user-doc --> | ||
1451 | * <!-- end-user-doc --> | ||
1452 | * @generated | ||
1453 | */ | ||
1454 | @Override | ||
1455 | public EClass getEmptyIntervalLiteral() { | ||
1456 | return emptyIntervalLiteralEClass; | ||
1457 | } | ||
1458 | |||
1459 | /** | ||
1460 | * <!-- begin-user-doc --> | ||
1461 | * <!-- end-user-doc --> | ||
1462 | * @generated | ||
1463 | */ | ||
1464 | @Override | ||
1465 | public EClass getStringLiteral() { | ||
1466 | return stringLiteralEClass; | ||
1467 | } | ||
1468 | |||
1469 | /** | ||
1470 | * <!-- begin-user-doc --> | ||
1471 | * <!-- end-user-doc --> | ||
1472 | * @generated | ||
1473 | */ | ||
1474 | @Override | ||
1475 | public EAttribute getStringLiteral_Value() { | ||
1476 | return (EAttribute)stringLiteralEClass.getEStructuralFeatures().get(0); | ||
1477 | } | ||
1478 | |||
1479 | /** | ||
1480 | * <!-- begin-user-doc --> | ||
1481 | * <!-- end-user-doc --> | ||
1482 | * @generated | ||
1483 | */ | ||
1484 | @Override | ||
1485 | public EClass getClassDefinition() { | ||
1486 | return classDefinitionEClass; | ||
1487 | } | ||
1488 | |||
1489 | /** | ||
1490 | * <!-- begin-user-doc --> | ||
1491 | * <!-- end-user-doc --> | ||
1492 | * @generated | ||
1493 | */ | ||
1494 | @Override | ||
1495 | public EAttribute getClassDefinition_Abstract() { | ||
1496 | return (EAttribute)classDefinitionEClass.getEStructuralFeatures().get(0); | ||
1497 | } | ||
1498 | |||
1499 | /** | ||
1500 | * <!-- begin-user-doc --> | ||
1501 | * <!-- end-user-doc --> | ||
1502 | * @generated | ||
1503 | */ | ||
1504 | @Override | ||
1505 | public EAttribute getClassDefinition_Name() { | ||
1506 | return (EAttribute)classDefinitionEClass.getEStructuralFeatures().get(1); | ||
1507 | } | ||
1508 | |||
1509 | /** | ||
1510 | * <!-- begin-user-doc --> | ||
1511 | * <!-- end-user-doc --> | ||
1512 | * @generated | ||
1513 | */ | ||
1514 | @Override | ||
1515 | public EReference getClassDefinition_Superclasses() { | ||
1516 | return (EReference)classDefinitionEClass.getEStructuralFeatures().get(2); | ||
1517 | } | ||
1518 | |||
1519 | /** | ||
1520 | * <!-- begin-user-doc --> | ||
1521 | * <!-- end-user-doc --> | ||
1522 | * @generated | ||
1523 | */ | ||
1524 | @Override | ||
1525 | public EReference getClassDefinition_Members() { | ||
1526 | return (EReference)classDefinitionEClass.getEStructuralFeatures().get(3); | ||
1527 | } | ||
1528 | |||
1529 | /** | ||
1530 | * <!-- begin-user-doc --> | ||
1531 | * <!-- end-user-doc --> | ||
1532 | * @generated | ||
1533 | */ | ||
1534 | @Override | ||
1535 | public EClass getMemberDefinition() { | ||
1536 | return memberDefinitionEClass; | ||
1537 | } | ||
1538 | |||
1539 | /** | ||
1540 | * <!-- begin-user-doc --> | ||
1541 | * <!-- end-user-doc --> | ||
1542 | * @generated | ||
1543 | */ | ||
1544 | @Override | ||
1545 | public EAttribute getMemberDefinition_Containment() { | ||
1546 | return (EAttribute)memberDefinitionEClass.getEStructuralFeatures().get(0); | ||
1547 | } | ||
1548 | |||
1549 | /** | ||
1550 | * <!-- begin-user-doc --> | ||
1551 | * <!-- end-user-doc --> | ||
1552 | * @generated | ||
1553 | */ | ||
1554 | @Override | ||
1555 | public EReference getMemberDefinition_Type() { | ||
1556 | return (EReference)memberDefinitionEClass.getEStructuralFeatures().get(1); | ||
1557 | } | ||
1558 | |||
1559 | /** | ||
1560 | * <!-- begin-user-doc --> | ||
1561 | * <!-- end-user-doc --> | ||
1562 | * @generated | ||
1563 | */ | ||
1564 | @Override | ||
1565 | public EReference getMemberDefinition_Multiplicity() { | ||
1566 | return (EReference)memberDefinitionEClass.getEStructuralFeatures().get(2); | ||
1567 | } | ||
1568 | |||
1569 | /** | ||
1570 | * <!-- begin-user-doc --> | ||
1571 | * <!-- end-user-doc --> | ||
1572 | * @generated | ||
1573 | */ | ||
1574 | @Override | ||
1575 | public EAttribute getMemberDefinition_Name() { | ||
1576 | return (EAttribute)memberDefinitionEClass.getEStructuralFeatures().get(3); | ||
1577 | } | ||
1578 | |||
1579 | /** | ||
1580 | * <!-- begin-user-doc --> | ||
1581 | * <!-- end-user-doc --> | ||
1582 | * @generated | ||
1583 | */ | ||
1584 | @Override | ||
1585 | public EReference getMemberDefinition_Opposite() { | ||
1586 | return (EReference)memberDefinitionEClass.getEStructuralFeatures().get(4); | ||
1587 | } | ||
1588 | |||
1589 | /** | ||
1590 | * <!-- begin-user-doc --> | ||
1591 | * <!-- end-user-doc --> | ||
1592 | * @generated | ||
1593 | */ | ||
1594 | @Override | ||
1595 | public EClass getMultiplicity() { | ||
1596 | return multiplicityEClass; | ||
1597 | } | ||
1598 | |||
1599 | /** | ||
1600 | * <!-- begin-user-doc --> | ||
1601 | * <!-- end-user-doc --> | ||
1602 | * @generated | ||
1603 | */ | ||
1604 | @Override | ||
1605 | public EClass getManyMultiplicity() { | ||
1606 | return manyMultiplicityEClass; | ||
1607 | } | ||
1608 | |||
1609 | /** | ||
1610 | * <!-- begin-user-doc --> | ||
1611 | * <!-- end-user-doc --> | ||
1612 | * @generated | ||
1613 | */ | ||
1614 | @Override | ||
1615 | public EClass getExactMultiplicity() { | ||
1616 | return exactMultiplicityEClass; | ||
1617 | } | ||
1618 | |||
1619 | /** | ||
1620 | * <!-- begin-user-doc --> | ||
1621 | * <!-- end-user-doc --> | ||
1622 | * @generated | ||
1623 | */ | ||
1624 | @Override | ||
1625 | public EAttribute getExactMultiplicity_Multiplicity() { | ||
1626 | return (EAttribute)exactMultiplicityEClass.getEStructuralFeatures().get(0); | ||
1627 | } | ||
1628 | |||
1629 | /** | ||
1630 | * <!-- begin-user-doc --> | ||
1631 | * <!-- end-user-doc --> | ||
1632 | * @generated | ||
1633 | */ | ||
1634 | @Override | ||
1635 | public EClass getBoundedMultiplicity() { | ||
1636 | return boundedMultiplicityEClass; | ||
1637 | } | ||
1638 | |||
1639 | /** | ||
1640 | * <!-- begin-user-doc --> | ||
1641 | * <!-- end-user-doc --> | ||
1642 | * @generated | ||
1643 | */ | ||
1644 | @Override | ||
1645 | public EAttribute getBoundedMultiplicity_LowerBound() { | ||
1646 | return (EAttribute)boundedMultiplicityEClass.getEStructuralFeatures().get(0); | ||
1647 | } | ||
1648 | |||
1649 | /** | ||
1650 | * <!-- begin-user-doc --> | ||
1651 | * <!-- end-user-doc --> | ||
1652 | * @generated | ||
1653 | */ | ||
1654 | @Override | ||
1655 | public EAttribute getBoundedMultiplicity_UpperBound() { | ||
1656 | return (EAttribute)boundedMultiplicityEClass.getEStructuralFeatures().get(1); | ||
1657 | } | ||
1658 | |||
1659 | /** | ||
1660 | * <!-- begin-user-doc --> | ||
1661 | * <!-- end-user-doc --> | ||
1662 | * @generated | ||
1663 | */ | ||
1664 | @Override | ||
1665 | public EClass getScopeDefinition() { | ||
1666 | return scopeDefinitionEClass; | ||
1667 | } | ||
1668 | |||
1669 | /** | ||
1670 | * <!-- begin-user-doc --> | ||
1671 | * <!-- end-user-doc --> | ||
1672 | * @generated | ||
1673 | */ | ||
1674 | @Override | ||
1675 | public EReference getScopeDefinition_Type() { | ||
1676 | return (EReference)scopeDefinitionEClass.getEStructuralFeatures().get(0); | ||
1677 | } | ||
1678 | |||
1679 | /** | ||
1680 | * <!-- begin-user-doc --> | ||
1681 | * <!-- end-user-doc --> | ||
1682 | * @generated | ||
1683 | */ | ||
1684 | @Override | ||
1685 | public EClass getExactScopeDefinition() { | ||
1686 | return exactScopeDefinitionEClass; | ||
1687 | } | ||
1688 | |||
1689 | /** | ||
1690 | * <!-- begin-user-doc --> | ||
1691 | * <!-- end-user-doc --> | ||
1692 | * @generated | ||
1693 | */ | ||
1694 | @Override | ||
1695 | public EAttribute getExactScopeDefinition_ExactScope() { | ||
1696 | return (EAttribute)exactScopeDefinitionEClass.getEStructuralFeatures().get(0); | ||
1697 | } | ||
1698 | |||
1699 | /** | ||
1700 | * <!-- begin-user-doc --> | ||
1701 | * <!-- end-user-doc --> | ||
1702 | * @generated | ||
1703 | */ | ||
1704 | @Override | ||
1705 | public EClass getBoundedScopeDefinition() { | ||
1706 | return boundedScopeDefinitionEClass; | ||
1707 | } | ||
1708 | |||
1709 | /** | ||
1710 | * <!-- begin-user-doc --> | ||
1711 | * <!-- end-user-doc --> | ||
1712 | * @generated | ||
1713 | */ | ||
1714 | @Override | ||
1715 | public EAttribute getBoundedScopeDefinition_LowerBound() { | ||
1716 | return (EAttribute)boundedScopeDefinitionEClass.getEStructuralFeatures().get(0); | ||
1717 | } | ||
1718 | |||
1719 | /** | ||
1720 | * <!-- begin-user-doc --> | ||
1721 | * <!-- end-user-doc --> | ||
1722 | * @generated | ||
1723 | */ | ||
1724 | @Override | ||
1725 | public EAttribute getBoundedScopeDefinition_UpperBound() { | ||
1726 | return (EAttribute)boundedScopeDefinitionEClass.getEStructuralFeatures().get(1); | ||
1727 | } | ||
1728 | |||
1729 | /** | ||
1730 | * <!-- begin-user-doc --> | ||
1731 | * <!-- end-user-doc --> | ||
1732 | * @generated | ||
1733 | */ | ||
1734 | @Override | ||
1735 | public EClass getLowerBoundedScopeDefinition() { | ||
1736 | return lowerBoundedScopeDefinitionEClass; | ||
1737 | } | ||
1738 | |||
1739 | /** | ||
1740 | * <!-- begin-user-doc --> | ||
1741 | * <!-- end-user-doc --> | ||
1742 | * @generated | ||
1743 | */ | ||
1744 | @Override | ||
1745 | public EAttribute getLowerBoundedScopeDefinition_LowerBound() { | ||
1746 | return (EAttribute)lowerBoundedScopeDefinitionEClass.getEStructuralFeatures().get(0); | ||
1747 | } | ||
1748 | |||
1749 | /** | ||
1750 | * <!-- begin-user-doc --> | ||
1751 | * <!-- end-user-doc --> | ||
1752 | * @generated | ||
1753 | */ | ||
1754 | @Override | ||
1755 | public EClass getObjectiveDefinition() { | ||
1756 | return objectiveDefinitionEClass; | ||
1757 | } | ||
1758 | |||
1759 | /** | ||
1760 | * <!-- begin-user-doc --> | ||
1761 | * <!-- end-user-doc --> | ||
1762 | * @generated | ||
1763 | */ | ||
1764 | @Override | ||
1765 | public EAttribute getObjectiveDefinition_Kind() { | ||
1766 | return (EAttribute)objectiveDefinitionEClass.getEStructuralFeatures().get(0); | ||
1767 | } | ||
1768 | |||
1769 | /** | ||
1770 | * <!-- begin-user-doc --> | ||
1771 | * <!-- end-user-doc --> | ||
1772 | * @generated | ||
1773 | */ | ||
1774 | @Override | ||
1775 | public EReference getObjectiveDefinition_Objective() { | ||
1776 | return (EReference)objectiveDefinitionEClass.getEStructuralFeatures().get(1); | ||
1777 | } | ||
1778 | |||
1779 | /** | ||
1780 | * <!-- begin-user-doc --> | ||
1781 | * <!-- end-user-doc --> | ||
1782 | * @generated | ||
1783 | */ | ||
1784 | @Override | ||
1785 | public EClass getInterpretation() { | ||
1786 | return interpretationEClass; | ||
1787 | } | ||
1788 | |||
1789 | /** | ||
1790 | * <!-- begin-user-doc --> | ||
1791 | * <!-- end-user-doc --> | ||
1792 | * @generated | ||
1793 | */ | ||
1794 | @Override | ||
1795 | public EReference getInterpretation_Body() { | ||
1796 | return (EReference)interpretationEClass.getEStructuralFeatures().get(0); | ||
1797 | } | ||
1798 | |||
1799 | /** | ||
1800 | * <!-- begin-user-doc --> | ||
1801 | * <!-- end-user-doc --> | ||
1802 | * @generated | ||
1803 | */ | ||
1804 | @Override | ||
1805 | public EReference getInterpretation_Range() { | ||
1806 | return (EReference)interpretationEClass.getEStructuralFeatures().get(1); | ||
1807 | } | ||
1808 | |||
1809 | /** | ||
1810 | * <!-- begin-user-doc --> | ||
1811 | * <!-- end-user-doc --> | ||
1812 | * @generated | ||
1813 | */ | ||
1814 | @Override | ||
1815 | public EClass getVariable() { | ||
1816 | return variableEClass; | ||
1817 | } | ||
1818 | |||
1819 | /** | ||
1820 | * <!-- begin-user-doc --> | ||
1821 | * <!-- end-user-doc --> | ||
1822 | * @generated | ||
1823 | */ | ||
1824 | @Override | ||
1825 | public EReference getVariable_Type() { | ||
1826 | return (EReference)variableEClass.getEStructuralFeatures().get(0); | ||
1827 | } | ||
1828 | |||
1829 | /** | ||
1830 | * <!-- begin-user-doc --> | ||
1831 | * <!-- end-user-doc --> | ||
1832 | * @generated | ||
1833 | */ | ||
1834 | @Override | ||
1835 | public EClass getDisjunction() { | ||
1836 | return disjunctionEClass; | ||
1837 | } | ||
1838 | |||
1839 | /** | ||
1840 | * <!-- begin-user-doc --> | ||
1841 | * <!-- end-user-doc --> | ||
1842 | * @generated | ||
1843 | */ | ||
1844 | @Override | ||
1845 | public EReference getDisjunction_Children() { | ||
1846 | return (EReference)disjunctionEClass.getEStructuralFeatures().get(0); | ||
1847 | } | ||
1848 | |||
1849 | /** | ||
1850 | * <!-- begin-user-doc --> | ||
1851 | * <!-- end-user-doc --> | ||
1852 | * @generated | ||
1853 | */ | ||
1854 | @Override | ||
1855 | public EClass getSwitch() { | ||
1856 | return switchEClass; | ||
1857 | } | ||
1858 | |||
1859 | /** | ||
1860 | * <!-- begin-user-doc --> | ||
1861 | * <!-- end-user-doc --> | ||
1862 | * @generated | ||
1863 | */ | ||
1864 | @Override | ||
1865 | public EReference getSwitch_Cases() { | ||
1866 | return (EReference)switchEClass.getEStructuralFeatures().get(0); | ||
1867 | } | ||
1868 | |||
1869 | /** | ||
1870 | * <!-- begin-user-doc --> | ||
1871 | * <!-- end-user-doc --> | ||
1872 | * @generated | ||
1873 | */ | ||
1874 | @Override | ||
1875 | public EClass getConjunction() { | ||
1876 | return conjunctionEClass; | ||
1877 | } | ||
1878 | |||
1879 | /** | ||
1880 | * <!-- begin-user-doc --> | ||
1881 | * <!-- end-user-doc --> | ||
1882 | * @generated | ||
1883 | */ | ||
1884 | @Override | ||
1885 | public EReference getConjunction_Children() { | ||
1886 | return (EReference)conjunctionEClass.getEStructuralFeatures().get(0); | ||
1887 | } | ||
1888 | |||
1889 | /** | ||
1890 | * <!-- begin-user-doc --> | ||
1891 | * <!-- end-user-doc --> | ||
1892 | * @generated | ||
1893 | */ | ||
1894 | @Override | ||
1895 | public EClass getComparison() { | ||
1896 | return comparisonEClass; | ||
1897 | } | ||
1898 | |||
1899 | /** | ||
1900 | * <!-- begin-user-doc --> | ||
1901 | * <!-- end-user-doc --> | ||
1902 | * @generated | ||
1903 | */ | ||
1904 | @Override | ||
1905 | public EReference getComparison_Left() { | ||
1906 | return (EReference)comparisonEClass.getEStructuralFeatures().get(0); | ||
1907 | } | ||
1908 | |||
1909 | /** | ||
1910 | * <!-- begin-user-doc --> | ||
1911 | * <!-- end-user-doc --> | ||
1912 | * @generated | ||
1913 | */ | ||
1914 | @Override | ||
1915 | public EAttribute getComparison_Op() { | ||
1916 | return (EAttribute)comparisonEClass.getEStructuralFeatures().get(1); | ||
1917 | } | ||
1918 | |||
1919 | /** | ||
1920 | * <!-- begin-user-doc --> | ||
1921 | * <!-- end-user-doc --> | ||
1922 | * @generated | ||
1923 | */ | ||
1924 | @Override | ||
1925 | public EReference getComparison_Right() { | ||
1926 | return (EReference)comparisonEClass.getEStructuralFeatures().get(2); | ||
1927 | } | ||
1928 | |||
1929 | /** | ||
1930 | * <!-- begin-user-doc --> | ||
1931 | * <!-- end-user-doc --> | ||
1932 | * @generated | ||
1933 | */ | ||
1934 | @Override | ||
1935 | public EClass getBinaryExpression() { | ||
1936 | return binaryExpressionEClass; | ||
1937 | } | ||
1938 | |||
1939 | /** | ||
1940 | * <!-- begin-user-doc --> | ||
1941 | * <!-- end-user-doc --> | ||
1942 | * @generated | ||
1943 | */ | ||
1944 | @Override | ||
1945 | public EReference getBinaryExpression_Left() { | ||
1946 | return (EReference)binaryExpressionEClass.getEStructuralFeatures().get(0); | ||
1947 | } | ||
1948 | |||
1949 | /** | ||
1950 | * <!-- begin-user-doc --> | ||
1951 | * <!-- end-user-doc --> | ||
1952 | * @generated | ||
1953 | */ | ||
1954 | @Override | ||
1955 | public EAttribute getBinaryExpression_Op() { | ||
1956 | return (EAttribute)binaryExpressionEClass.getEStructuralFeatures().get(1); | ||
1957 | } | ||
1958 | |||
1959 | /** | ||
1960 | * <!-- begin-user-doc --> | ||
1961 | * <!-- end-user-doc --> | ||
1962 | * @generated | ||
1963 | */ | ||
1964 | @Override | ||
1965 | public EReference getBinaryExpression_Right() { | ||
1966 | return (EReference)binaryExpressionEClass.getEStructuralFeatures().get(2); | ||
1967 | } | ||
1968 | |||
1969 | /** | ||
1970 | * <!-- begin-user-doc --> | ||
1971 | * <!-- end-user-doc --> | ||
1972 | * @generated | ||
1973 | */ | ||
1974 | @Override | ||
1975 | public EClass getCastExpression() { | ||
1976 | return castExpressionEClass; | ||
1977 | } | ||
1978 | |||
1979 | /** | ||
1980 | * <!-- begin-user-doc --> | ||
1981 | * <!-- end-user-doc --> | ||
1982 | * @generated | ||
1983 | */ | ||
1984 | @Override | ||
1985 | public EReference getCastExpression_Body() { | ||
1986 | return (EReference)castExpressionEClass.getEStructuralFeatures().get(0); | ||
1987 | } | ||
1988 | |||
1989 | /** | ||
1990 | * <!-- begin-user-doc --> | ||
1991 | * <!-- end-user-doc --> | ||
1992 | * @generated | ||
1993 | */ | ||
1994 | @Override | ||
1995 | public EReference getCastExpression_Type() { | ||
1996 | return (EReference)castExpressionEClass.getEStructuralFeatures().get(1); | ||
1997 | } | ||
1998 | |||
1999 | /** | ||
2000 | * <!-- begin-user-doc --> | ||
2001 | * <!-- end-user-doc --> | ||
2002 | * @generated | ||
2003 | */ | ||
2004 | @Override | ||
2005 | public EClass getUnaryExpression() { | ||
2006 | return unaryExpressionEClass; | ||
2007 | } | ||
2008 | |||
2009 | /** | ||
2010 | * <!-- begin-user-doc --> | ||
2011 | * <!-- end-user-doc --> | ||
2012 | * @generated | ||
2013 | */ | ||
2014 | @Override | ||
2015 | public EAttribute getUnaryExpression_Op() { | ||
2016 | return (EAttribute)unaryExpressionEClass.getEStructuralFeatures().get(0); | ||
2017 | } | ||
2018 | |||
2019 | /** | ||
2020 | * <!-- begin-user-doc --> | ||
2021 | * <!-- end-user-doc --> | ||
2022 | * @generated | ||
2023 | */ | ||
2024 | @Override | ||
2025 | public EReference getUnaryExpression_Body() { | ||
2026 | return (EReference)unaryExpressionEClass.getEStructuralFeatures().get(1); | ||
2027 | } | ||
2028 | |||
2029 | /** | ||
2030 | * <!-- begin-user-doc --> | ||
2031 | * <!-- end-user-doc --> | ||
2032 | * @generated | ||
2033 | */ | ||
2034 | @Override | ||
2035 | public EClass getNode() { | ||
2036 | return nodeEClass; | ||
2037 | } | ||
2038 | |||
2039 | /** | ||
2040 | * <!-- begin-user-doc --> | ||
2041 | * <!-- end-user-doc --> | ||
2042 | * @generated | ||
2043 | */ | ||
2044 | @Override | ||
2045 | public EAttribute getNode_WithId() { | ||
2046 | return (EAttribute)nodeEClass.getEStructuralFeatures().get(0); | ||
2047 | } | ||
2048 | |||
2049 | /** | ||
2050 | * <!-- begin-user-doc --> | ||
2051 | * <!-- end-user-doc --> | ||
2052 | * @generated | ||
2053 | */ | ||
2054 | @Override | ||
2055 | public EClass getFunctor() { | ||
2056 | return functorEClass; | ||
2057 | } | ||
2058 | |||
2059 | /** | ||
2060 | * <!-- begin-user-doc --> | ||
2061 | * <!-- end-user-doc --> | ||
2062 | * @generated | ||
2063 | */ | ||
2064 | @Override | ||
2065 | public EReference getFunctor_Parameters() { | ||
2066 | return (EReference)functorEClass.getEStructuralFeatures().get(0); | ||
2067 | } | ||
2068 | |||
2069 | /** | ||
2070 | * <!-- begin-user-doc --> | ||
2071 | * <!-- end-user-doc --> | ||
2072 | * @generated | ||
2073 | */ | ||
2074 | @Override | ||
2075 | public EClass getPredicate() { | ||
2076 | return predicateEClass; | ||
2077 | } | ||
2078 | |||
2079 | /** | ||
2080 | * <!-- begin-user-doc --> | ||
2081 | * <!-- end-user-doc --> | ||
2082 | * @generated | ||
2083 | */ | ||
2084 | @Override | ||
2085 | public EClass getMetric() { | ||
2086 | return metricEClass; | ||
2087 | } | ||
2088 | |||
2089 | /** | ||
2090 | * <!-- begin-user-doc --> | ||
2091 | * <!-- end-user-doc --> | ||
2092 | * @generated | ||
2093 | */ | ||
2094 | @Override | ||
2095 | public EReference getMetric_ReturnType() { | ||
2096 | return (EReference)metricEClass.getEStructuralFeatures().get(0); | ||
2097 | } | ||
2098 | |||
2099 | /** | ||
2100 | * <!-- begin-user-doc --> | ||
2101 | * <!-- end-user-doc --> | ||
2102 | * @generated | ||
2103 | */ | ||
2104 | @Override | ||
2105 | public EEnum getBinaryOperator() { | ||
2106 | return binaryOperatorEEnum; | ||
2107 | } | ||
2108 | |||
2109 | /** | ||
2110 | * <!-- begin-user-doc --> | ||
2111 | * <!-- end-user-doc --> | ||
2112 | * @generated | ||
2113 | */ | ||
2114 | @Override | ||
2115 | public EEnum getUnaryOp() { | ||
2116 | return unaryOpEEnum; | ||
2117 | } | ||
2118 | |||
2119 | /** | ||
2120 | * <!-- begin-user-doc --> | ||
2121 | * <!-- end-user-doc --> | ||
2122 | * @generated | ||
2123 | */ | ||
2124 | @Override | ||
2125 | public EEnum getLogicValue() { | ||
2126 | return logicValueEEnum; | ||
2127 | } | ||
2128 | |||
2129 | /** | ||
2130 | * <!-- begin-user-doc --> | ||
2131 | * <!-- end-user-doc --> | ||
2132 | * @generated | ||
2133 | */ | ||
2134 | @Override | ||
2135 | public EEnum getObjectiveKind() { | ||
2136 | return objectiveKindEEnum; | ||
2137 | } | ||
2138 | |||
2139 | /** | ||
2140 | * <!-- begin-user-doc --> | ||
2141 | * <!-- end-user-doc --> | ||
2142 | * @generated | ||
2143 | */ | ||
2144 | @Override | ||
2145 | public EEnum getQuantifier() { | ||
2146 | return quantifierEEnum; | ||
2147 | } | ||
2148 | |||
2149 | /** | ||
2150 | * <!-- begin-user-doc --> | ||
2151 | * <!-- end-user-doc --> | ||
2152 | * @generated | ||
2153 | */ | ||
2154 | @Override | ||
2155 | public SolverLanguageFactory getSolverLanguageFactory() { | ||
2156 | return (SolverLanguageFactory)getEFactoryInstance(); | ||
2157 | } | ||
2158 | |||
2159 | /** | ||
2160 | * <!-- begin-user-doc --> | ||
2161 | * <!-- end-user-doc --> | ||
2162 | * @generated | ||
2163 | */ | ||
2164 | private boolean isCreated = false; | ||
2165 | |||
2166 | /** | ||
2167 | * Creates the meta-model objects for the package. This method is | ||
2168 | * guarded to have no affect on any invocation but its first. | ||
2169 | * <!-- begin-user-doc --> | ||
2170 | * <!-- end-user-doc --> | ||
2171 | * @generated | ||
2172 | */ | ||
2173 | public void createPackageContents() { | ||
2174 | if (isCreated) return; | ||
2175 | isCreated = true; | ||
2176 | |||
2177 | // Create classes and their features | ||
2178 | problemEClass = createEClass(PROBLEM); | ||
2179 | createEReference(problemEClass, PROBLEM__STATEMENTS); | ||
2180 | |||
2181 | statementEClass = createEClass(STATEMENT); | ||
2182 | |||
2183 | predicateDefinitionEClass = createEClass(PREDICATE_DEFINITION); | ||
2184 | createEReference(predicateDefinitionEClass, PREDICATE_DEFINITION__HEAD); | ||
2185 | createEReference(predicateDefinitionEClass, PREDICATE_DEFINITION__BODY); | ||
2186 | createEAttribute(predicateDefinitionEClass, PREDICATE_DEFINITION__FUNCTIONAL); | ||
2187 | createEAttribute(predicateDefinitionEClass, PREDICATE_DEFINITION__ERROR); | ||
2188 | |||
2189 | unnamedErrorPrediateDefinitionEClass = createEClass(UNNAMED_ERROR_PREDIATE_DEFINITION); | ||
2190 | createEReference(unnamedErrorPrediateDefinitionEClass, UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST); | ||
2191 | createEReference(unnamedErrorPrediateDefinitionEClass, UNNAMED_ERROR_PREDIATE_DEFINITION__BODY); | ||
2192 | |||
2193 | defaultDefinitionEClass = createEClass(DEFAULT_DEFINITION); | ||
2194 | createEReference(defaultDefinitionEClass, DEFAULT_DEFINITION__HEAD); | ||
2195 | createEReference(defaultDefinitionEClass, DEFAULT_DEFINITION__RANGE); | ||
2196 | |||
2197 | metricDefinitionEClass = createEClass(METRIC_DEFINITION); | ||
2198 | createEReference(metricDefinitionEClass, METRIC_DEFINITION__HEAD); | ||
2199 | createEReference(metricDefinitionEClass, METRIC_DEFINITION__BODY); | ||
2200 | createEReference(metricDefinitionEClass, METRIC_DEFINITION__TYPE); | ||
2201 | |||
2202 | externPredicateDefinitionEClass = createEClass(EXTERN_PREDICATE_DEFINITION); | ||
2203 | createEAttribute(externPredicateDefinitionEClass, EXTERN_PREDICATE_DEFINITION__NAME); | ||
2204 | createEReference(externPredicateDefinitionEClass, EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST); | ||
2205 | |||
2206 | externMetricDefinitionEClass = createEClass(EXTERN_METRIC_DEFINITION); | ||
2207 | createEReference(externMetricDefinitionEClass, EXTERN_METRIC_DEFINITION__TYPE); | ||
2208 | createEAttribute(externMetricDefinitionEClass, EXTERN_METRIC_DEFINITION__NAME); | ||
2209 | createEReference(externMetricDefinitionEClass, EXTERN_METRIC_DEFINITION__ARGUMENT_LIST); | ||
2210 | |||
2211 | externAggregatorDefinitionEClass = createEClass(EXTERN_AGGREGATOR_DEFINITION); | ||
2212 | createEReference(externAggregatorDefinitionEClass, EXTERN_AGGREGATOR_DEFINITION__TYPE); | ||
2213 | createEAttribute(externAggregatorDefinitionEClass, EXTERN_AGGREGATOR_DEFINITION__NAME); | ||
2214 | createEReference(externAggregatorDefinitionEClass, EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE); | ||
2215 | |||
2216 | externDatatypeDefinitionEClass = createEClass(EXTERN_DATATYPE_DEFINITION); | ||
2217 | createEAttribute(externDatatypeDefinitionEClass, EXTERN_DATATYPE_DEFINITION__NAME); | ||
2218 | createEReference(externDatatypeDefinitionEClass, EXTERN_DATATYPE_DEFINITION__SUPERTYPES); | ||
2219 | |||
2220 | namedElementEClass = createEClass(NAMED_ELEMENT); | ||
2221 | createEAttribute(namedElementEClass, NAMED_ELEMENT__NAME); | ||
2222 | |||
2223 | expressionEClass = createEClass(EXPRESSION); | ||
2224 | |||
2225 | ifElseEClass = createEClass(IF_ELSE); | ||
2226 | createEReference(ifElseEClass, IF_ELSE__THEN); | ||
2227 | createEReference(ifElseEClass, IF_ELSE__ELSE); | ||
2228 | createEReference(ifElseEClass, IF_ELSE__CONDITION); | ||
2229 | |||
2230 | letEClass = createEClass(LET); | ||
2231 | createEReference(letEClass, LET__BINDINGS); | ||
2232 | createEReference(letEClass, LET__BODY); | ||
2233 | |||
2234 | letBindingEClass = createEClass(LET_BINDING); | ||
2235 | createEReference(letBindingEClass, LET_BINDING__VARIABLE); | ||
2236 | createEReference(letBindingEClass, LET_BINDING__VALUE); | ||
2237 | |||
2238 | caseEClass = createEClass(CASE); | ||
2239 | createEReference(caseEClass, CASE__BODY); | ||
2240 | createEReference(caseEClass, CASE__CONDITION); | ||
2241 | |||
2242 | localVariablesEClass = createEClass(LOCAL_VARIABLES); | ||
2243 | createEReference(localVariablesEClass, LOCAL_VARIABLES__VARIABLES); | ||
2244 | |||
2245 | quantifiedExpressionEClass = createEClass(QUANTIFIED_EXPRESSION); | ||
2246 | createEReference(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__LOCAL_VARIABLES); | ||
2247 | createEReference(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__BODY); | ||
2248 | createEAttribute(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__QUANTIFIER); | ||
2249 | |||
2250 | aggregationEClass = createEClass(AGGREGATION); | ||
2251 | createEReference(aggregationEClass, AGGREGATION__OP); | ||
2252 | createEReference(aggregationEClass, AGGREGATION__LOCAL_VARIABLES); | ||
2253 | createEReference(aggregationEClass, AGGREGATION__BODY); | ||
2254 | createEReference(aggregationEClass, AGGREGATION__CONDITION); | ||
2255 | |||
2256 | callEClass = createEClass(CALL); | ||
2257 | createEReference(callEClass, CALL__FUNCTOR); | ||
2258 | createEAttribute(callEClass, CALL__TRANSITIVE_CLOSURE); | ||
2259 | createEAttribute(callEClass, CALL__REFLEXIVE_TRANSITIVE_CLOSURE); | ||
2260 | createEReference(callEClass, CALL__ARGUMENT_LIST); | ||
2261 | |||
2262 | argumentListEClass = createEClass(ARGUMENT_LIST); | ||
2263 | createEReference(argumentListEClass, ARGUMENT_LIST__ARGUMENTS); | ||
2264 | |||
2265 | argumentEClass = createEClass(ARGUMENT); | ||
2266 | |||
2267 | expressionArgumentEClass = createEClass(EXPRESSION_ARGUMENT); | ||
2268 | createEReference(expressionArgumentEClass, EXPRESSION_ARGUMENT__BODY); | ||
2269 | |||
2270 | starArgumentEClass = createEClass(STAR_ARGUMENT); | ||
2271 | |||
2272 | typedArgumentEClass = createEClass(TYPED_ARGUMENT); | ||
2273 | createEReference(typedArgumentEClass, TYPED_ARGUMENT__TYPE); | ||
2274 | createEReference(typedArgumentEClass, TYPED_ARGUMENT__VARIABLE); | ||
2275 | |||
2276 | typedStarArgumentEClass = createEClass(TYPED_STAR_ARGUMENT); | ||
2277 | createEReference(typedStarArgumentEClass, TYPED_STAR_ARGUMENT__TYPE); | ||
2278 | |||
2279 | referenceEClass = createEClass(REFERENCE); | ||
2280 | createEReference(referenceEClass, REFERENCE__REFERRED); | ||
2281 | |||
2282 | intervalEClass = createEClass(INTERVAL); | ||
2283 | createEReference(intervalEClass, INTERVAL__LOWER_BOUND); | ||
2284 | createEReference(intervalEClass, INTERVAL__UPPER_BOUND); | ||
2285 | |||
2286 | literalEClass = createEClass(LITERAL); | ||
2287 | |||
2288 | logicLiteralEClass = createEClass(LOGIC_LITERAL); | ||
2289 | createEAttribute(logicLiteralEClass, LOGIC_LITERAL__VALUE); | ||
2290 | |||
2291 | numericLiteralEClass = createEClass(NUMERIC_LITERAL); | ||
2292 | createEAttribute(numericLiteralEClass, NUMERIC_LITERAL__VALUE); | ||
2293 | |||
2294 | infinityLiteralEClass = createEClass(INFINITY_LITERAL); | ||
2295 | |||
2296 | emptyIntervalLiteralEClass = createEClass(EMPTY_INTERVAL_LITERAL); | ||
2297 | |||
2298 | stringLiteralEClass = createEClass(STRING_LITERAL); | ||
2299 | createEAttribute(stringLiteralEClass, STRING_LITERAL__VALUE); | ||
2300 | |||
2301 | classDefinitionEClass = createEClass(CLASS_DEFINITION); | ||
2302 | createEAttribute(classDefinitionEClass, CLASS_DEFINITION__ABSTRACT); | ||
2303 | createEAttribute(classDefinitionEClass, CLASS_DEFINITION__NAME); | ||
2304 | createEReference(classDefinitionEClass, CLASS_DEFINITION__SUPERCLASSES); | ||
2305 | createEReference(classDefinitionEClass, CLASS_DEFINITION__MEMBERS); | ||
2306 | |||
2307 | memberDefinitionEClass = createEClass(MEMBER_DEFINITION); | ||
2308 | createEAttribute(memberDefinitionEClass, MEMBER_DEFINITION__CONTAINMENT); | ||
2309 | createEReference(memberDefinitionEClass, MEMBER_DEFINITION__TYPE); | ||
2310 | createEReference(memberDefinitionEClass, MEMBER_DEFINITION__MULTIPLICITY); | ||
2311 | createEAttribute(memberDefinitionEClass, MEMBER_DEFINITION__NAME); | ||
2312 | createEReference(memberDefinitionEClass, MEMBER_DEFINITION__OPPOSITE); | ||
2313 | |||
2314 | multiplicityEClass = createEClass(MULTIPLICITY); | ||
2315 | |||
2316 | manyMultiplicityEClass = createEClass(MANY_MULTIPLICITY); | ||
2317 | |||
2318 | exactMultiplicityEClass = createEClass(EXACT_MULTIPLICITY); | ||
2319 | createEAttribute(exactMultiplicityEClass, EXACT_MULTIPLICITY__MULTIPLICITY); | ||
2320 | |||
2321 | boundedMultiplicityEClass = createEClass(BOUNDED_MULTIPLICITY); | ||
2322 | createEAttribute(boundedMultiplicityEClass, BOUNDED_MULTIPLICITY__LOWER_BOUND); | ||
2323 | createEAttribute(boundedMultiplicityEClass, BOUNDED_MULTIPLICITY__UPPER_BOUND); | ||
2324 | |||
2325 | scopeDefinitionEClass = createEClass(SCOPE_DEFINITION); | ||
2326 | createEReference(scopeDefinitionEClass, SCOPE_DEFINITION__TYPE); | ||
2327 | |||
2328 | exactScopeDefinitionEClass = createEClass(EXACT_SCOPE_DEFINITION); | ||
2329 | createEAttribute(exactScopeDefinitionEClass, EXACT_SCOPE_DEFINITION__EXACT_SCOPE); | ||
2330 | |||
2331 | boundedScopeDefinitionEClass = createEClass(BOUNDED_SCOPE_DEFINITION); | ||
2332 | createEAttribute(boundedScopeDefinitionEClass, BOUNDED_SCOPE_DEFINITION__LOWER_BOUND); | ||
2333 | createEAttribute(boundedScopeDefinitionEClass, BOUNDED_SCOPE_DEFINITION__UPPER_BOUND); | ||
2334 | |||
2335 | lowerBoundedScopeDefinitionEClass = createEClass(LOWER_BOUNDED_SCOPE_DEFINITION); | ||
2336 | createEAttribute(lowerBoundedScopeDefinitionEClass, LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND); | ||
2337 | |||
2338 | objectiveDefinitionEClass = createEClass(OBJECTIVE_DEFINITION); | ||
2339 | createEAttribute(objectiveDefinitionEClass, OBJECTIVE_DEFINITION__KIND); | ||
2340 | createEReference(objectiveDefinitionEClass, OBJECTIVE_DEFINITION__OBJECTIVE); | ||
2341 | |||
2342 | interpretationEClass = createEClass(INTERPRETATION); | ||
2343 | createEReference(interpretationEClass, INTERPRETATION__BODY); | ||
2344 | createEReference(interpretationEClass, INTERPRETATION__RANGE); | ||
2345 | |||
2346 | variableEClass = createEClass(VARIABLE); | ||
2347 | createEReference(variableEClass, VARIABLE__TYPE); | ||
2348 | |||
2349 | disjunctionEClass = createEClass(DISJUNCTION); | ||
2350 | createEReference(disjunctionEClass, DISJUNCTION__CHILDREN); | ||
2351 | |||
2352 | switchEClass = createEClass(SWITCH); | ||
2353 | createEReference(switchEClass, SWITCH__CASES); | ||
2354 | |||
2355 | conjunctionEClass = createEClass(CONJUNCTION); | ||
2356 | createEReference(conjunctionEClass, CONJUNCTION__CHILDREN); | ||
2357 | |||
2358 | comparisonEClass = createEClass(COMPARISON); | ||
2359 | createEReference(comparisonEClass, COMPARISON__LEFT); | ||
2360 | createEAttribute(comparisonEClass, COMPARISON__OP); | ||
2361 | createEReference(comparisonEClass, COMPARISON__RIGHT); | ||
2362 | |||
2363 | binaryExpressionEClass = createEClass(BINARY_EXPRESSION); | ||
2364 | createEReference(binaryExpressionEClass, BINARY_EXPRESSION__LEFT); | ||
2365 | createEAttribute(binaryExpressionEClass, BINARY_EXPRESSION__OP); | ||
2366 | createEReference(binaryExpressionEClass, BINARY_EXPRESSION__RIGHT); | ||
2367 | |||
2368 | castExpressionEClass = createEClass(CAST_EXPRESSION); | ||
2369 | createEReference(castExpressionEClass, CAST_EXPRESSION__BODY); | ||
2370 | createEReference(castExpressionEClass, CAST_EXPRESSION__TYPE); | ||
2371 | |||
2372 | unaryExpressionEClass = createEClass(UNARY_EXPRESSION); | ||
2373 | createEAttribute(unaryExpressionEClass, UNARY_EXPRESSION__OP); | ||
2374 | createEReference(unaryExpressionEClass, UNARY_EXPRESSION__BODY); | ||
2375 | |||
2376 | nodeEClass = createEClass(NODE); | ||
2377 | createEAttribute(nodeEClass, NODE__WITH_ID); | ||
2378 | |||
2379 | functorEClass = createEClass(FUNCTOR); | ||
2380 | createEReference(functorEClass, FUNCTOR__PARAMETERS); | ||
2381 | |||
2382 | predicateEClass = createEClass(PREDICATE); | ||
2383 | |||
2384 | metricEClass = createEClass(METRIC); | ||
2385 | createEReference(metricEClass, METRIC__RETURN_TYPE); | ||
2386 | |||
2387 | // Create enums | ||
2388 | binaryOperatorEEnum = createEEnum(BINARY_OPERATOR); | ||
2389 | unaryOpEEnum = createEEnum(UNARY_OP); | ||
2390 | logicValueEEnum = createEEnum(LOGIC_VALUE); | ||
2391 | objectiveKindEEnum = createEEnum(OBJECTIVE_KIND); | ||
2392 | quantifierEEnum = createEEnum(QUANTIFIER); | ||
2393 | } | ||
2394 | |||
2395 | /** | ||
2396 | * <!-- begin-user-doc --> | ||
2397 | * <!-- end-user-doc --> | ||
2398 | * @generated | ||
2399 | */ | ||
2400 | private boolean isInitialized = false; | ||
2401 | |||
2402 | /** | ||
2403 | * Complete the initialization of the package and its meta-model. This | ||
2404 | * method is guarded to have no affect on any invocation but its first. | ||
2405 | * <!-- begin-user-doc --> | ||
2406 | * <!-- end-user-doc --> | ||
2407 | * @generated | ||
2408 | */ | ||
2409 | public void initializePackageContents() { | ||
2410 | if (isInitialized) return; | ||
2411 | isInitialized = true; | ||
2412 | |||
2413 | // Initialize package | ||
2414 | setName(eNAME); | ||
2415 | setNsPrefix(eNS_PREFIX); | ||
2416 | setNsURI(eNS_URI); | ||
2417 | |||
2418 | // Create type parameters | ||
2419 | |||
2420 | // Set bounds for type parameters | ||
2421 | |||
2422 | // Add supertypes to classes | ||
2423 | predicateDefinitionEClass.getESuperTypes().add(this.getStatement()); | ||
2424 | unnamedErrorPrediateDefinitionEClass.getESuperTypes().add(this.getStatement()); | ||
2425 | defaultDefinitionEClass.getESuperTypes().add(this.getStatement()); | ||
2426 | metricDefinitionEClass.getESuperTypes().add(this.getStatement()); | ||
2427 | externPredicateDefinitionEClass.getESuperTypes().add(this.getStatement()); | ||
2428 | externMetricDefinitionEClass.getESuperTypes().add(this.getStatement()); | ||
2429 | externAggregatorDefinitionEClass.getESuperTypes().add(this.getStatement()); | ||
2430 | externDatatypeDefinitionEClass.getESuperTypes().add(this.getStatement()); | ||
2431 | expressionEClass.getESuperTypes().add(this.getStatement()); | ||
2432 | ifElseEClass.getESuperTypes().add(this.getExpression()); | ||
2433 | letEClass.getESuperTypes().add(this.getExpression()); | ||
2434 | caseEClass.getESuperTypes().add(this.getExpression()); | ||
2435 | quantifiedExpressionEClass.getESuperTypes().add(this.getExpression()); | ||
2436 | aggregationEClass.getESuperTypes().add(this.getExpression()); | ||
2437 | callEClass.getESuperTypes().add(this.getExpression()); | ||
2438 | expressionArgumentEClass.getESuperTypes().add(this.getArgument()); | ||
2439 | starArgumentEClass.getESuperTypes().add(this.getArgument()); | ||
2440 | typedArgumentEClass.getESuperTypes().add(this.getArgument()); | ||
2441 | typedStarArgumentEClass.getESuperTypes().add(this.getArgument()); | ||
2442 | referenceEClass.getESuperTypes().add(this.getExpression()); | ||
2443 | intervalEClass.getESuperTypes().add(this.getExpression()); | ||
2444 | literalEClass.getESuperTypes().add(this.getExpression()); | ||
2445 | logicLiteralEClass.getESuperTypes().add(this.getLiteral()); | ||
2446 | numericLiteralEClass.getESuperTypes().add(this.getLiteral()); | ||
2447 | infinityLiteralEClass.getESuperTypes().add(this.getLiteral()); | ||
2448 | emptyIntervalLiteralEClass.getESuperTypes().add(this.getLiteral()); | ||
2449 | stringLiteralEClass.getESuperTypes().add(this.getLiteral()); | ||
2450 | classDefinitionEClass.getESuperTypes().add(this.getStatement()); | ||
2451 | manyMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); | ||
2452 | exactMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); | ||
2453 | boundedMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); | ||
2454 | scopeDefinitionEClass.getESuperTypes().add(this.getStatement()); | ||
2455 | exactScopeDefinitionEClass.getESuperTypes().add(this.getScopeDefinition()); | ||
2456 | boundedScopeDefinitionEClass.getESuperTypes().add(this.getScopeDefinition()); | ||
2457 | lowerBoundedScopeDefinitionEClass.getESuperTypes().add(this.getScopeDefinition()); | ||
2458 | objectiveDefinitionEClass.getESuperTypes().add(this.getStatement()); | ||
2459 | interpretationEClass.getESuperTypes().add(this.getStatement()); | ||
2460 | variableEClass.getESuperTypes().add(this.getNamedElement()); | ||
2461 | disjunctionEClass.getESuperTypes().add(this.getExpression()); | ||
2462 | switchEClass.getESuperTypes().add(this.getExpression()); | ||
2463 | conjunctionEClass.getESuperTypes().add(this.getExpression()); | ||
2464 | comparisonEClass.getESuperTypes().add(this.getExpression()); | ||
2465 | binaryExpressionEClass.getESuperTypes().add(this.getExpression()); | ||
2466 | castExpressionEClass.getESuperTypes().add(this.getExpression()); | ||
2467 | unaryExpressionEClass.getESuperTypes().add(this.getExpression()); | ||
2468 | nodeEClass.getESuperTypes().add(this.getNamedElement()); | ||
2469 | functorEClass.getESuperTypes().add(this.getNamedElement()); | ||
2470 | predicateEClass.getESuperTypes().add(this.getFunctor()); | ||
2471 | metricEClass.getESuperTypes().add(this.getFunctor()); | ||
2472 | |||
2473 | // Initialize classes and features; add operations and parameters | ||
2474 | initEClass(problemEClass, Problem.class, "Problem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2475 | initEReference(getProblem_Statements(), this.getStatement(), null, "statements", null, 0, -1, Problem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2476 | |||
2477 | initEClass(statementEClass, Statement.class, "Statement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2478 | |||
2479 | initEClass(predicateDefinitionEClass, PredicateDefinition.class, "PredicateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2480 | initEReference(getPredicateDefinition_Head(), this.getExpression(), null, "head", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2481 | initEReference(getPredicateDefinition_Body(), this.getExpression(), null, "body", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2482 | initEAttribute(getPredicateDefinition_Functional(), ecorePackage.getEBoolean(), "functional", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2483 | initEAttribute(getPredicateDefinition_Error(), ecorePackage.getEBoolean(), "error", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2484 | |||
2485 | initEClass(unnamedErrorPrediateDefinitionEClass, UnnamedErrorPrediateDefinition.class, "UnnamedErrorPrediateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2486 | initEReference(getUnnamedErrorPrediateDefinition_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, UnnamedErrorPrediateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2487 | initEReference(getUnnamedErrorPrediateDefinition_Body(), this.getExpression(), null, "body", null, 0, 1, UnnamedErrorPrediateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2488 | |||
2489 | initEClass(defaultDefinitionEClass, DefaultDefinition.class, "DefaultDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2490 | initEReference(getDefaultDefinition_Head(), this.getCall(), null, "head", null, 0, 1, DefaultDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2491 | initEReference(getDefaultDefinition_Range(), this.getExpression(), null, "range", null, 0, 1, DefaultDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2492 | |||
2493 | initEClass(metricDefinitionEClass, MetricDefinition.class, "MetricDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2494 | initEReference(getMetricDefinition_Head(), this.getExpression(), null, "head", null, 0, 1, MetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2495 | initEReference(getMetricDefinition_Body(), this.getExpression(), null, "body", null, 0, 1, MetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2496 | initEReference(getMetricDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, MetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2497 | |||
2498 | initEClass(externPredicateDefinitionEClass, ExternPredicateDefinition.class, "ExternPredicateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2499 | initEAttribute(getExternPredicateDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExternPredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2500 | initEReference(getExternPredicateDefinition_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, ExternPredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2501 | |||
2502 | initEClass(externMetricDefinitionEClass, ExternMetricDefinition.class, "ExternMetricDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2503 | initEReference(getExternMetricDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, ExternMetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2504 | initEAttribute(getExternMetricDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExternMetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2505 | initEReference(getExternMetricDefinition_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, ExternMetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2506 | |||
2507 | initEClass(externAggregatorDefinitionEClass, ExternAggregatorDefinition.class, "ExternAggregatorDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2508 | initEReference(getExternAggregatorDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, ExternAggregatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2509 | initEAttribute(getExternAggregatorDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExternAggregatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2510 | initEReference(getExternAggregatorDefinition_InputType(), this.getNamedElement(), null, "inputType", null, 0, 1, ExternAggregatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2511 | |||
2512 | initEClass(externDatatypeDefinitionEClass, ExternDatatypeDefinition.class, "ExternDatatypeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2513 | initEAttribute(getExternDatatypeDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExternDatatypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2514 | initEReference(getExternDatatypeDefinition_Supertypes(), this.getNamedElement(), null, "supertypes", null, 0, -1, ExternDatatypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2515 | |||
2516 | initEClass(namedElementEClass, NamedElement.class, "NamedElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2517 | initEAttribute(getNamedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2518 | |||
2519 | initEClass(expressionEClass, Expression.class, "Expression", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2520 | |||
2521 | initEClass(ifElseEClass, IfElse.class, "IfElse", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2522 | initEReference(getIfElse_Then(), this.getExpression(), null, "then", null, 0, 1, IfElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2523 | initEReference(getIfElse_Else(), this.getExpression(), null, "else", null, 0, 1, IfElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2524 | initEReference(getIfElse_Condition(), this.getExpression(), null, "condition", null, 0, 1, IfElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2525 | |||
2526 | initEClass(letEClass, Let.class, "Let", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2527 | initEReference(getLet_Bindings(), this.getLetBinding(), null, "bindings", null, 0, -1, Let.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2528 | initEReference(getLet_Body(), this.getExpression(), null, "body", null, 0, 1, Let.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2529 | |||
2530 | initEClass(letBindingEClass, LetBinding.class, "LetBinding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2531 | initEReference(getLetBinding_Variable(), this.getNamedElement(), null, "variable", null, 0, 1, LetBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2532 | initEReference(getLetBinding_Value(), this.getExpression(), null, "value", null, 0, 1, LetBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2533 | |||
2534 | initEClass(caseEClass, Case.class, "Case", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2535 | initEReference(getCase_Body(), this.getExpression(), null, "body", null, 0, 1, Case.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2536 | initEReference(getCase_Condition(), this.getExpression(), null, "condition", null, 0, 1, Case.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2537 | |||
2538 | initEClass(localVariablesEClass, LocalVariables.class, "LocalVariables", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2539 | initEReference(getLocalVariables_Variables(), this.getNamedElement(), null, "variables", null, 0, -1, LocalVariables.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2540 | |||
2541 | initEClass(quantifiedExpressionEClass, QuantifiedExpression.class, "QuantifiedExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2542 | initEReference(getQuantifiedExpression_LocalVariables(), this.getLocalVariables(), null, "localVariables", null, 0, 1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2543 | initEReference(getQuantifiedExpression_Body(), this.getExpression(), null, "body", null, 0, 1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2544 | initEAttribute(getQuantifiedExpression_Quantifier(), this.getQuantifier(), "quantifier", null, 0, 1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2545 | |||
2546 | initEClass(aggregationEClass, Aggregation.class, "Aggregation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2547 | initEReference(getAggregation_Op(), this.getNamedElement(), null, "op", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2548 | initEReference(getAggregation_LocalVariables(), this.getLocalVariables(), null, "localVariables", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2549 | initEReference(getAggregation_Body(), this.getExpression(), null, "body", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2550 | initEReference(getAggregation_Condition(), this.getExpression(), null, "condition", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2551 | |||
2552 | initEClass(callEClass, Call.class, "Call", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2553 | initEReference(getCall_Functor(), this.getReference(), null, "functor", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2554 | initEAttribute(getCall_TransitiveClosure(), ecorePackage.getEBoolean(), "transitiveClosure", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2555 | initEAttribute(getCall_ReflexiveTransitiveClosure(), ecorePackage.getEBoolean(), "reflexiveTransitiveClosure", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2556 | initEReference(getCall_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2557 | |||
2558 | initEClass(argumentListEClass, ArgumentList.class, "ArgumentList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2559 | initEReference(getArgumentList_Arguments(), this.getArgument(), null, "arguments", null, 0, -1, ArgumentList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2560 | |||
2561 | initEClass(argumentEClass, Argument.class, "Argument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2562 | |||
2563 | initEClass(expressionArgumentEClass, ExpressionArgument.class, "ExpressionArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2564 | initEReference(getExpressionArgument_Body(), this.getExpression(), null, "body", null, 0, 1, ExpressionArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2565 | |||
2566 | initEClass(starArgumentEClass, StarArgument.class, "StarArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2567 | |||
2568 | initEClass(typedArgumentEClass, TypedArgument.class, "TypedArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2569 | initEReference(getTypedArgument_Type(), this.getNamedElement(), null, "type", null, 0, 1, TypedArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2570 | initEReference(getTypedArgument_Variable(), this.getNamedElement(), null, "variable", null, 0, 1, TypedArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2571 | |||
2572 | initEClass(typedStarArgumentEClass, TypedStarArgument.class, "TypedStarArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2573 | initEReference(getTypedStarArgument_Type(), this.getNamedElement(), null, "type", null, 0, 1, TypedStarArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2574 | |||
2575 | initEClass(referenceEClass, Reference.class, "Reference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2576 | initEReference(getReference_Referred(), this.getNamedElement(), null, "referred", null, 0, 1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2577 | |||
2578 | initEClass(intervalEClass, Interval.class, "Interval", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2579 | initEReference(getInterval_LowerBound(), this.getExpression(), null, "lowerBound", null, 0, 1, Interval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2580 | initEReference(getInterval_UpperBound(), this.getExpression(), null, "upperBound", null, 0, 1, Interval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2581 | |||
2582 | initEClass(literalEClass, Literal.class, "Literal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2583 | |||
2584 | initEClass(logicLiteralEClass, LogicLiteral.class, "LogicLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2585 | initEAttribute(getLogicLiteral_Value(), this.getLogicValue(), "value", null, 0, 1, LogicLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2586 | |||
2587 | initEClass(numericLiteralEClass, NumericLiteral.class, "NumericLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2588 | initEAttribute(getNumericLiteral_Value(), ecorePackage.getEBigDecimal(), "value", null, 0, 1, NumericLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2589 | |||
2590 | initEClass(infinityLiteralEClass, InfinityLiteral.class, "InfinityLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2591 | |||
2592 | initEClass(emptyIntervalLiteralEClass, EmptyIntervalLiteral.class, "EmptyIntervalLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2593 | |||
2594 | initEClass(stringLiteralEClass, StringLiteral.class, "StringLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2595 | initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), "value", null, 0, 1, StringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2596 | |||
2597 | initEClass(classDefinitionEClass, ClassDefinition.class, "ClassDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2598 | initEAttribute(getClassDefinition_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2599 | initEAttribute(getClassDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2600 | initEReference(getClassDefinition_Superclasses(), this.getNamedElement(), null, "superclasses", null, 0, -1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2601 | initEReference(getClassDefinition_Members(), this.getMemberDefinition(), null, "members", null, 0, -1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2602 | |||
2603 | initEClass(memberDefinitionEClass, MemberDefinition.class, "MemberDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2604 | initEAttribute(getMemberDefinition_Containment(), ecorePackage.getEBoolean(), "containment", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2605 | initEReference(getMemberDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2606 | initEReference(getMemberDefinition_Multiplicity(), this.getMultiplicity(), null, "multiplicity", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2607 | initEAttribute(getMemberDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2608 | initEReference(getMemberDefinition_Opposite(), this.getNamedElement(), null, "opposite", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2609 | |||
2610 | initEClass(multiplicityEClass, Multiplicity.class, "Multiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2611 | |||
2612 | initEClass(manyMultiplicityEClass, ManyMultiplicity.class, "ManyMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2613 | |||
2614 | initEClass(exactMultiplicityEClass, ExactMultiplicity.class, "ExactMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2615 | initEAttribute(getExactMultiplicity_Multiplicity(), ecorePackage.getEInt(), "multiplicity", null, 0, 1, ExactMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2616 | |||
2617 | initEClass(boundedMultiplicityEClass, BoundedMultiplicity.class, "BoundedMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2618 | initEAttribute(getBoundedMultiplicity_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, BoundedMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2619 | initEAttribute(getBoundedMultiplicity_UpperBound(), ecorePackage.getEInt(), "upperBound", null, 0, 1, BoundedMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2620 | |||
2621 | initEClass(scopeDefinitionEClass, ScopeDefinition.class, "ScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2622 | initEReference(getScopeDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, ScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2623 | |||
2624 | initEClass(exactScopeDefinitionEClass, ExactScopeDefinition.class, "ExactScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2625 | initEAttribute(getExactScopeDefinition_ExactScope(), ecorePackage.getEInt(), "exactScope", null, 0, 1, ExactScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2626 | |||
2627 | initEClass(boundedScopeDefinitionEClass, BoundedScopeDefinition.class, "BoundedScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2628 | initEAttribute(getBoundedScopeDefinition_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, BoundedScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2629 | initEAttribute(getBoundedScopeDefinition_UpperBound(), ecorePackage.getEInt(), "upperBound", null, 0, 1, BoundedScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2630 | |||
2631 | initEClass(lowerBoundedScopeDefinitionEClass, LowerBoundedScopeDefinition.class, "LowerBoundedScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2632 | initEAttribute(getLowerBoundedScopeDefinition_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, LowerBoundedScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2633 | |||
2634 | initEClass(objectiveDefinitionEClass, ObjectiveDefinition.class, "ObjectiveDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2635 | initEAttribute(getObjectiveDefinition_Kind(), this.getObjectiveKind(), "kind", null, 0, 1, ObjectiveDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2636 | initEReference(getObjectiveDefinition_Objective(), this.getExpression(), null, "objective", null, 0, 1, ObjectiveDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2637 | |||
2638 | initEClass(interpretationEClass, Interpretation.class, "Interpretation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2639 | initEReference(getInterpretation_Body(), this.getExpression(), null, "body", null, 0, 1, Interpretation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2640 | initEReference(getInterpretation_Range(), this.getExpression(), null, "range", null, 0, 1, Interpretation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2641 | |||
2642 | initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2643 | initEReference(getVariable_Type(), this.getNamedElement(), null, "type", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2644 | |||
2645 | initEClass(disjunctionEClass, Disjunction.class, "Disjunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2646 | initEReference(getDisjunction_Children(), this.getExpression(), null, "children", null, 0, -1, Disjunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2647 | |||
2648 | initEClass(switchEClass, Switch.class, "Switch", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2649 | initEReference(getSwitch_Cases(), this.getCase(), null, "cases", null, 0, -1, Switch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2650 | |||
2651 | initEClass(conjunctionEClass, Conjunction.class, "Conjunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2652 | initEReference(getConjunction_Children(), this.getExpression(), null, "children", null, 0, -1, Conjunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2653 | |||
2654 | initEClass(comparisonEClass, Comparison.class, "Comparison", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2655 | initEReference(getComparison_Left(), this.getExpression(), null, "left", null, 0, 1, Comparison.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2656 | initEAttribute(getComparison_Op(), this.getBinaryOperator(), "op", null, 0, 1, Comparison.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2657 | initEReference(getComparison_Right(), this.getExpression(), null, "right", null, 0, 1, Comparison.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2658 | |||
2659 | initEClass(binaryExpressionEClass, BinaryExpression.class, "BinaryExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2660 | initEReference(getBinaryExpression_Left(), this.getExpression(), null, "left", null, 0, 1, BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2661 | initEAttribute(getBinaryExpression_Op(), this.getBinaryOperator(), "op", null, 0, 1, BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2662 | initEReference(getBinaryExpression_Right(), this.getExpression(), null, "right", null, 0, 1, BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2663 | |||
2664 | initEClass(castExpressionEClass, CastExpression.class, "CastExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2665 | initEReference(getCastExpression_Body(), this.getExpression(), null, "body", null, 0, 1, CastExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2666 | initEReference(getCastExpression_Type(), this.getNamedElement(), null, "type", null, 0, 1, CastExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2667 | |||
2668 | initEClass(unaryExpressionEClass, UnaryExpression.class, "UnaryExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2669 | initEAttribute(getUnaryExpression_Op(), this.getUnaryOp(), "op", null, 0, 1, UnaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2670 | initEReference(getUnaryExpression_Body(), this.getExpression(), null, "body", null, 0, 1, UnaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2671 | |||
2672 | initEClass(nodeEClass, Node.class, "Node", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2673 | initEAttribute(getNode_WithId(), ecorePackage.getEBoolean(), "withId", null, 0, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2674 | |||
2675 | initEClass(functorEClass, Functor.class, "Functor", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2676 | initEReference(getFunctor_Parameters(), this.getVariable(), null, "parameters", null, 0, -1, Functor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2677 | |||
2678 | initEClass(predicateEClass, Predicate.class, "Predicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2679 | |||
2680 | initEClass(metricEClass, Metric.class, "Metric", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2681 | initEReference(getMetric_ReturnType(), this.getNamedElement(), null, "returnType", null, 0, 1, Metric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2682 | |||
2683 | // Initialize enums and add enum literals | ||
2684 | initEEnum(binaryOperatorEEnum, BinaryOperator.class, "BinaryOperator"); | ||
2685 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.EQ); | ||
2686 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.NOT_EQ); | ||
2687 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.LESS); | ||
2688 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.LESS_EQ); | ||
2689 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.GREATER); | ||
2690 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.GREATER_EQ); | ||
2691 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.IN); | ||
2692 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.ADD); | ||
2693 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.SUB); | ||
2694 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.MUL); | ||
2695 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.DIV); | ||
2696 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.POW); | ||
2697 | addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.IMPLIES); | ||
2698 | |||
2699 | initEEnum(unaryOpEEnum, UnaryOp.class, "UnaryOp"); | ||
2700 | addEEnumLiteral(unaryOpEEnum, UnaryOp.NEG); | ||
2701 | addEEnumLiteral(unaryOpEEnum, UnaryOp.PLUS); | ||
2702 | addEEnumLiteral(unaryOpEEnum, UnaryOp.MINUS); | ||
2703 | addEEnumLiteral(unaryOpEEnum, UnaryOp.MAY); | ||
2704 | addEEnumLiteral(unaryOpEEnum, UnaryOp.MUST); | ||
2705 | addEEnumLiteral(unaryOpEEnum, UnaryOp.CURRENT); | ||
2706 | |||
2707 | initEEnum(logicValueEEnum, LogicValue.class, "LogicValue"); | ||
2708 | addEEnumLiteral(logicValueEEnum, LogicValue.TRUE); | ||
2709 | addEEnumLiteral(logicValueEEnum, LogicValue.FALSE); | ||
2710 | addEEnumLiteral(logicValueEEnum, LogicValue.UNKNOWN); | ||
2711 | addEEnumLiteral(logicValueEEnum, LogicValue.ERROR); | ||
2712 | |||
2713 | initEEnum(objectiveKindEEnum, ObjectiveKind.class, "ObjectiveKind"); | ||
2714 | addEEnumLiteral(objectiveKindEEnum, ObjectiveKind.MINIMIZE); | ||
2715 | addEEnumLiteral(objectiveKindEEnum, ObjectiveKind.MAXIMIZE); | ||
2716 | |||
2717 | initEEnum(quantifierEEnum, Quantifier.class, "Quantifier"); | ||
2718 | addEEnumLiteral(quantifierEEnum, Quantifier.EXISTS); | ||
2719 | addEEnumLiteral(quantifierEEnum, Quantifier.FORALL); | ||
2720 | addEEnumLiteral(quantifierEEnum, Quantifier.COUNT); | ||
2721 | |||
2722 | // Create resource | ||
2723 | createResource(eNS_URI); | ||
2724 | } | ||
2725 | |||
2726 | } //SolverLanguagePackageImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java deleted file mode 100644 index 93d3ce7f..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | |||
8 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
9 | import org.eclipse.viatra.solver.language.solverLanguage.StarArgument; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Star Argument</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class StarArgumentImpl extends ArgumentImpl implements StarArgument { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected StarArgumentImpl() { | ||
25 | super(); | ||
26 | } | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | @Override | ||
34 | protected EClass eStaticClass() { | ||
35 | return SolverLanguagePackage.Literals.STAR_ARGUMENT; | ||
36 | } | ||
37 | |||
38 | } //StarArgumentImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java deleted file mode 100644 index bf4d9e6a..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | |||
8 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
9 | |||
10 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
11 | import org.eclipse.viatra.solver.language.solverLanguage.Statement; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Statement</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class StatementImpl extends MinimalEObjectImpl.Container implements Statement { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected StatementImpl() { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() { | ||
37 | return SolverLanguagePackage.Literals.STATEMENT; | ||
38 | } | ||
39 | |||
40 | } //StatementImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java deleted file mode 100644 index 30bef702..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java +++ /dev/null | |||
@@ -1,165 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | |||
12 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
13 | import org.eclipse.viatra.solver.language.solverLanguage.StringLiteral; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>String Literal</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl#getValue <em>Value</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class StringLiteralImpl extends LiteralImpl implements StringLiteral { | ||
29 | /** | ||
30 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getValue() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final String VALUE_EDEFAULT = null; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getValue() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected String value = VALUE_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected StringLiteralImpl() { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() { | ||
65 | return SolverLanguagePackage.Literals.STRING_LITERAL; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | @Override | ||
74 | public String getValue() { | ||
75 | return value; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public void setValue(String newValue) { | ||
85 | String oldValue = value; | ||
86 | value = newValue; | ||
87 | if (eNotificationRequired()) | ||
88 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.STRING_LITERAL__VALUE, oldValue, value)); | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
98 | switch (featureID) { | ||
99 | case SolverLanguagePackage.STRING_LITERAL__VALUE: | ||
100 | return getValue(); | ||
101 | } | ||
102 | return super.eGet(featureID, resolve, coreType); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case SolverLanguagePackage.STRING_LITERAL__VALUE: | ||
114 | setValue((String)newValue); | ||
115 | return; | ||
116 | } | ||
117 | super.eSet(featureID, newValue); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void eUnset(int featureID) { | ||
127 | switch (featureID) { | ||
128 | case SolverLanguagePackage.STRING_LITERAL__VALUE: | ||
129 | setValue(VALUE_EDEFAULT); | ||
130 | return; | ||
131 | } | ||
132 | super.eUnset(featureID); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public boolean eIsSet(int featureID) { | ||
142 | switch (featureID) { | ||
143 | case SolverLanguagePackage.STRING_LITERAL__VALUE: | ||
144 | return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); | ||
145 | } | ||
146 | return super.eIsSet(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public String toString() { | ||
156 | if (eIsProxy()) return super.toString(); | ||
157 | |||
158 | StringBuilder result = new StringBuilder(super.toString()); | ||
159 | result.append(" (value: "); | ||
160 | result.append(value); | ||
161 | result.append(')'); | ||
162 | return result.toString(); | ||
163 | } | ||
164 | |||
165 | } //StringLiteralImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java deleted file mode 100644 index 23215a72..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java +++ /dev/null | |||
@@ -1,152 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import java.util.Collection; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.NotificationChain; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
16 | import org.eclipse.emf.ecore.util.InternalEList; | ||
17 | |||
18 | import org.eclipse.viatra.solver.language.solverLanguage.Case; | ||
19 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
20 | import org.eclipse.viatra.solver.language.solverLanguage.Switch; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>Switch</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl#getCases <em>Cases</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class SwitchImpl extends ExpressionImpl implements Switch { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getCases() <em>Cases</em>}' containment reference list. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getCases() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected EList<Case> cases; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected SwitchImpl() { | ||
52 | super(); | ||
53 | } | ||
54 | |||
55 | /** | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @generated | ||
59 | */ | ||
60 | @Override | ||
61 | protected EClass eStaticClass() { | ||
62 | return SolverLanguagePackage.Literals.SWITCH; | ||
63 | } | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | @Override | ||
71 | public EList<Case> getCases() { | ||
72 | if (cases == null) { | ||
73 | cases = new EObjectContainmentEList<Case>(Case.class, this, SolverLanguagePackage.SWITCH__CASES); | ||
74 | } | ||
75 | return cases; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
85 | switch (featureID) { | ||
86 | case SolverLanguagePackage.SWITCH__CASES: | ||
87 | return ((InternalEList<?>)getCases()).basicRemove(otherEnd, msgs); | ||
88 | } | ||
89 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | @Override | ||
98 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
99 | switch (featureID) { | ||
100 | case SolverLanguagePackage.SWITCH__CASES: | ||
101 | return getCases(); | ||
102 | } | ||
103 | return super.eGet(featureID, resolve, coreType); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @SuppressWarnings("unchecked") | ||
112 | @Override | ||
113 | public void eSet(int featureID, Object newValue) { | ||
114 | switch (featureID) { | ||
115 | case SolverLanguagePackage.SWITCH__CASES: | ||
116 | getCases().clear(); | ||
117 | getCases().addAll((Collection<? extends Case>)newValue); | ||
118 | return; | ||
119 | } | ||
120 | super.eSet(featureID, newValue); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public void eUnset(int featureID) { | ||
130 | switch (featureID) { | ||
131 | case SolverLanguagePackage.SWITCH__CASES: | ||
132 | getCases().clear(); | ||
133 | return; | ||
134 | } | ||
135 | super.eUnset(featureID); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | public boolean eIsSet(int featureID) { | ||
145 | switch (featureID) { | ||
146 | case SolverLanguagePackage.SWITCH__CASES: | ||
147 | return cases != null && !cases.isEmpty(); | ||
148 | } | ||
149 | return super.eIsSet(featureID); | ||
150 | } | ||
151 | |||
152 | } //SwitchImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java deleted file mode 100644 index 03032f1c..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java +++ /dev/null | |||
@@ -1,221 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | import org.eclipse.emf.ecore.InternalEObject; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
12 | |||
13 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
14 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Typed Argument</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl#getType <em>Type</em>}</li> | ||
26 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl#getVariable <em>Variable</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class TypedArgumentImpl extends ArgumentImpl implements TypedArgument { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getType() <em>Type</em>}' reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getType() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected NamedElement type; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getVariable() <em>Variable</em>}' reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getVariable() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected NamedElement variable; | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | protected TypedArgumentImpl() { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() { | ||
68 | return SolverLanguagePackage.Literals.TYPED_ARGUMENT; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | @Override | ||
77 | public NamedElement getType() { | ||
78 | if (type != null && type.eIsProxy()) { | ||
79 | InternalEObject oldType = (InternalEObject)type; | ||
80 | type = (NamedElement)eResolveProxy(oldType); | ||
81 | if (type != oldType) { | ||
82 | if (eNotificationRequired()) | ||
83 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.TYPED_ARGUMENT__TYPE, oldType, type)); | ||
84 | } | ||
85 | } | ||
86 | return type; | ||
87 | } | ||
88 | |||
89 | /** | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @generated | ||
93 | */ | ||
94 | public NamedElement basicGetType() { | ||
95 | return type; | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public void setType(NamedElement newType) { | ||
105 | NamedElement oldType = type; | ||
106 | type = newType; | ||
107 | if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_ARGUMENT__TYPE, oldType, type)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NamedElement getVariable() { | ||
118 | if (variable != null && variable.eIsProxy()) { | ||
119 | InternalEObject oldVariable = (InternalEObject)variable; | ||
120 | variable = (NamedElement)eResolveProxy(oldVariable); | ||
121 | if (variable != oldVariable) { | ||
122 | if (eNotificationRequired()) | ||
123 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE, oldVariable, variable)); | ||
124 | } | ||
125 | } | ||
126 | return variable; | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | public NamedElement basicGetVariable() { | ||
135 | return variable; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | public void setVariable(NamedElement newVariable) { | ||
145 | NamedElement oldVariable = variable; | ||
146 | variable = newVariable; | ||
147 | if (eNotificationRequired()) | ||
148 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE, oldVariable, variable)); | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
158 | switch (featureID) { | ||
159 | case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: | ||
160 | if (resolve) return getType(); | ||
161 | return basicGetType(); | ||
162 | case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: | ||
163 | if (resolve) return getVariable(); | ||
164 | return basicGetVariable(); | ||
165 | } | ||
166 | return super.eGet(featureID, resolve, coreType); | ||
167 | } | ||
168 | |||
169 | /** | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @generated | ||
173 | */ | ||
174 | @Override | ||
175 | public void eSet(int featureID, Object newValue) { | ||
176 | switch (featureID) { | ||
177 | case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: | ||
178 | setType((NamedElement)newValue); | ||
179 | return; | ||
180 | case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: | ||
181 | setVariable((NamedElement)newValue); | ||
182 | return; | ||
183 | } | ||
184 | super.eSet(featureID, newValue); | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @generated | ||
191 | */ | ||
192 | @Override | ||
193 | public void eUnset(int featureID) { | ||
194 | switch (featureID) { | ||
195 | case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: | ||
196 | setType((NamedElement)null); | ||
197 | return; | ||
198 | case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: | ||
199 | setVariable((NamedElement)null); | ||
200 | return; | ||
201 | } | ||
202 | super.eUnset(featureID); | ||
203 | } | ||
204 | |||
205 | /** | ||
206 | * <!-- begin-user-doc --> | ||
207 | * <!-- end-user-doc --> | ||
208 | * @generated | ||
209 | */ | ||
210 | @Override | ||
211 | public boolean eIsSet(int featureID) { | ||
212 | switch (featureID) { | ||
213 | case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: | ||
214 | return type != null; | ||
215 | case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: | ||
216 | return variable != null; | ||
217 | } | ||
218 | return super.eIsSet(featureID); | ||
219 | } | ||
220 | |||
221 | } //TypedArgumentImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java deleted file mode 100644 index c806b3c2..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java +++ /dev/null | |||
@@ -1,159 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | import org.eclipse.emf.ecore.InternalEObject; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
12 | |||
13 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
14 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Typed Star Argument</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl#getType <em>Type</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class TypedStarArgumentImpl extends ArgumentImpl implements TypedStarArgument { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getType() <em>Type</em>}' reference. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getType() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected NamedElement type; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected TypedStarArgumentImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return SolverLanguagePackage.Literals.TYPED_STAR_ARGUMENT; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | public NamedElement getType() { | ||
67 | if (type != null && type.eIsProxy()) { | ||
68 | InternalEObject oldType = (InternalEObject)type; | ||
69 | type = (NamedElement)eResolveProxy(oldType); | ||
70 | if (type != oldType) { | ||
71 | if (eNotificationRequired()) | ||
72 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE, oldType, type)); | ||
73 | } | ||
74 | } | ||
75 | return type; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | public NamedElement basicGetType() { | ||
84 | return type; | ||
85 | } | ||
86 | |||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | @Override | ||
93 | public void setType(NamedElement newType) { | ||
94 | NamedElement oldType = type; | ||
95 | type = newType; | ||
96 | if (eNotificationRequired()) | ||
97 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE, oldType, type)); | ||
98 | } | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | @Override | ||
106 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
107 | switch (featureID) { | ||
108 | case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: | ||
109 | if (resolve) return getType(); | ||
110 | return basicGetType(); | ||
111 | } | ||
112 | return super.eGet(featureID, resolve, coreType); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) { | ||
122 | switch (featureID) { | ||
123 | case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: | ||
124 | setType((NamedElement)newValue); | ||
125 | return; | ||
126 | } | ||
127 | super.eSet(featureID, newValue); | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | @Override | ||
136 | public void eUnset(int featureID) { | ||
137 | switch (featureID) { | ||
138 | case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: | ||
139 | setType((NamedElement)null); | ||
140 | return; | ||
141 | } | ||
142 | super.eUnset(featureID); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public boolean eIsSet(int featureID) { | ||
152 | switch (featureID) { | ||
153 | case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: | ||
154 | return type != null; | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | } //TypedStarArgumentImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java deleted file mode 100644 index a3a7b1dc..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java +++ /dev/null | |||
@@ -1,249 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.UnaryOp; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Unary Expression</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl#getOp <em>Op</em>}</li> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl#getBody <em>Body</em>}</li> | ||
29 | * </ul> | ||
30 | * | ||
31 | * @generated | ||
32 | */ | ||
33 | public class UnaryExpressionImpl extends ExpressionImpl implements UnaryExpression { | ||
34 | /** | ||
35 | * The default value of the '{@link #getOp() <em>Op</em>}' attribute. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getOp() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected static final UnaryOp OP_EDEFAULT = UnaryOp.NEG; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getOp() <em>Op</em>}' attribute. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getOp() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected UnaryOp op = OP_EDEFAULT; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getBody() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected Expression body; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected UnaryExpressionImpl() { | ||
70 | super(); | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | @Override | ||
79 | protected EClass eStaticClass() { | ||
80 | return SolverLanguagePackage.Literals.UNARY_EXPRESSION; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | @Override | ||
89 | public UnaryOp getOp() { | ||
90 | return op; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @Override | ||
99 | public void setOp(UnaryOp newOp) { | ||
100 | UnaryOp oldOp = op; | ||
101 | op = newOp == null ? OP_EDEFAULT : newOp; | ||
102 | if (eNotificationRequired()) | ||
103 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__OP, oldOp, op)); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public Expression getBody() { | ||
113 | return body; | ||
114 | } | ||
115 | |||
116 | /** | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | */ | ||
121 | public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { | ||
122 | Expression oldBody = body; | ||
123 | body = newBody; | ||
124 | if (eNotificationRequired()) { | ||
125 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__BODY, oldBody, newBody); | ||
126 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
127 | } | ||
128 | return msgs; | ||
129 | } | ||
130 | |||
131 | /** | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @generated | ||
135 | */ | ||
136 | @Override | ||
137 | public void setBody(Expression newBody) { | ||
138 | if (newBody != body) { | ||
139 | NotificationChain msgs = null; | ||
140 | if (body != null) | ||
141 | msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNARY_EXPRESSION__BODY, null, msgs); | ||
142 | if (newBody != null) | ||
143 | msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNARY_EXPRESSION__BODY, null, msgs); | ||
144 | msgs = basicSetBody(newBody, msgs); | ||
145 | if (msgs != null) msgs.dispatch(); | ||
146 | } | ||
147 | else if (eNotificationRequired()) | ||
148 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__BODY, newBody, newBody)); | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
158 | switch (featureID) { | ||
159 | case SolverLanguagePackage.UNARY_EXPRESSION__BODY: | ||
160 | return basicSetBody(null, msgs); | ||
161 | } | ||
162 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
163 | } | ||
164 | |||
165 | /** | ||
166 | * <!-- begin-user-doc --> | ||
167 | * <!-- end-user-doc --> | ||
168 | * @generated | ||
169 | */ | ||
170 | @Override | ||
171 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
172 | switch (featureID) { | ||
173 | case SolverLanguagePackage.UNARY_EXPRESSION__OP: | ||
174 | return getOp(); | ||
175 | case SolverLanguagePackage.UNARY_EXPRESSION__BODY: | ||
176 | return getBody(); | ||
177 | } | ||
178 | return super.eGet(featureID, resolve, coreType); | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | @Override | ||
187 | public void eSet(int featureID, Object newValue) { | ||
188 | switch (featureID) { | ||
189 | case SolverLanguagePackage.UNARY_EXPRESSION__OP: | ||
190 | setOp((UnaryOp)newValue); | ||
191 | return; | ||
192 | case SolverLanguagePackage.UNARY_EXPRESSION__BODY: | ||
193 | setBody((Expression)newValue); | ||
194 | return; | ||
195 | } | ||
196 | super.eSet(featureID, newValue); | ||
197 | } | ||
198 | |||
199 | /** | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | */ | ||
204 | @Override | ||
205 | public void eUnset(int featureID) { | ||
206 | switch (featureID) { | ||
207 | case SolverLanguagePackage.UNARY_EXPRESSION__OP: | ||
208 | setOp(OP_EDEFAULT); | ||
209 | return; | ||
210 | case SolverLanguagePackage.UNARY_EXPRESSION__BODY: | ||
211 | setBody((Expression)null); | ||
212 | return; | ||
213 | } | ||
214 | super.eUnset(featureID); | ||
215 | } | ||
216 | |||
217 | /** | ||
218 | * <!-- begin-user-doc --> | ||
219 | * <!-- end-user-doc --> | ||
220 | * @generated | ||
221 | */ | ||
222 | @Override | ||
223 | public boolean eIsSet(int featureID) { | ||
224 | switch (featureID) { | ||
225 | case SolverLanguagePackage.UNARY_EXPRESSION__OP: | ||
226 | return op != OP_EDEFAULT; | ||
227 | case SolverLanguagePackage.UNARY_EXPRESSION__BODY: | ||
228 | return body != null; | ||
229 | } | ||
230 | return super.eIsSet(featureID); | ||
231 | } | ||
232 | |||
233 | /** | ||
234 | * <!-- begin-user-doc --> | ||
235 | * <!-- end-user-doc --> | ||
236 | * @generated | ||
237 | */ | ||
238 | @Override | ||
239 | public String toString() { | ||
240 | if (eIsProxy()) return super.toString(); | ||
241 | |||
242 | StringBuilder result = new StringBuilder(super.toString()); | ||
243 | result.append(" (op: "); | ||
244 | result.append(op); | ||
245 | result.append(')'); | ||
246 | return result.toString(); | ||
247 | } | ||
248 | |||
249 | } //UnaryExpressionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java deleted file mode 100644 index 35450b74..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java +++ /dev/null | |||
@@ -1,247 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.Expression; | ||
16 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
17 | import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Unnamed Error Prediate Definition</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl#getArgumentList <em>Argument List</em>}</li> | ||
28 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl#getBody <em>Body</em>}</li> | ||
29 | * </ul> | ||
30 | * | ||
31 | * @generated | ||
32 | */ | ||
33 | public class UnnamedErrorPrediateDefinitionImpl extends StatementImpl implements UnnamedErrorPrediateDefinition { | ||
34 | /** | ||
35 | * The cached value of the '{@link #getArgumentList() <em>Argument List</em>}' containment reference. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getArgumentList() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected ArgumentList argumentList; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getBody() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected Expression body; | ||
53 | |||
54 | /** | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | protected UnnamedErrorPrediateDefinitionImpl() { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() { | ||
70 | return SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDIATE_DEFINITION; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | @Override | ||
79 | public ArgumentList getArgumentList() { | ||
80 | return argumentList; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { | ||
89 | ArgumentList oldArgumentList = argumentList; | ||
90 | argumentList = newArgumentList; | ||
91 | if (eNotificationRequired()) { | ||
92 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, oldArgumentList, newArgumentList); | ||
93 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
94 | } | ||
95 | return msgs; | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public void setArgumentList(ArgumentList newArgumentList) { | ||
105 | if (newArgumentList != argumentList) { | ||
106 | NotificationChain msgs = null; | ||
107 | if (argumentList != null) | ||
108 | msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, null, msgs); | ||
109 | if (newArgumentList != null) | ||
110 | msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, null, msgs); | ||
111 | msgs = basicSetArgumentList(newArgumentList, msgs); | ||
112 | if (msgs != null) msgs.dispatch(); | ||
113 | } | ||
114 | else if (eNotificationRequired()) | ||
115 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, newArgumentList, newArgumentList)); | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | @Override | ||
124 | public Expression getBody() { | ||
125 | return body; | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { | ||
134 | Expression oldBody = body; | ||
135 | body = newBody; | ||
136 | if (eNotificationRequired()) { | ||
137 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, oldBody, newBody); | ||
138 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
139 | } | ||
140 | return msgs; | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void setBody(Expression newBody) { | ||
150 | if (newBody != body) { | ||
151 | NotificationChain msgs = null; | ||
152 | if (body != null) | ||
153 | msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, null, msgs); | ||
154 | if (newBody != null) | ||
155 | msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, null, msgs); | ||
156 | msgs = basicSetBody(newBody, msgs); | ||
157 | if (msgs != null) msgs.dispatch(); | ||
158 | } | ||
159 | else if (eNotificationRequired()) | ||
160 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, newBody, newBody)); | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
170 | switch (featureID) { | ||
171 | case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: | ||
172 | return basicSetArgumentList(null, msgs); | ||
173 | case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: | ||
174 | return basicSetBody(null, msgs); | ||
175 | } | ||
176 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
177 | } | ||
178 | |||
179 | /** | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @generated | ||
183 | */ | ||
184 | @Override | ||
185 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
186 | switch (featureID) { | ||
187 | case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: | ||
188 | return getArgumentList(); | ||
189 | case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: | ||
190 | return getBody(); | ||
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 SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: | ||
204 | setArgumentList((ArgumentList)newValue); | ||
205 | return; | ||
206 | case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: | ||
207 | setBody((Expression)newValue); | ||
208 | return; | ||
209 | } | ||
210 | super.eSet(featureID, newValue); | ||
211 | } | ||
212 | |||
213 | /** | ||
214 | * <!-- begin-user-doc --> | ||
215 | * <!-- end-user-doc --> | ||
216 | * @generated | ||
217 | */ | ||
218 | @Override | ||
219 | public void eUnset(int featureID) { | ||
220 | switch (featureID) { | ||
221 | case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: | ||
222 | setArgumentList((ArgumentList)null); | ||
223 | return; | ||
224 | case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: | ||
225 | setBody((Expression)null); | ||
226 | return; | ||
227 | } | ||
228 | super.eUnset(featureID); | ||
229 | } | ||
230 | |||
231 | /** | ||
232 | * <!-- begin-user-doc --> | ||
233 | * <!-- end-user-doc --> | ||
234 | * @generated | ||
235 | */ | ||
236 | @Override | ||
237 | public boolean eIsSet(int featureID) { | ||
238 | switch (featureID) { | ||
239 | case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: | ||
240 | return argumentList != null; | ||
241 | case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: | ||
242 | return body != null; | ||
243 | } | ||
244 | return super.eIsSet(featureID); | ||
245 | } | ||
246 | |||
247 | } //UnnamedErrorPrediateDefinitionImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java deleted file mode 100644 index 1762d35c..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java +++ /dev/null | |||
@@ -1,159 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.impl; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Notification; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | import org.eclipse.emf.ecore.InternalEObject; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
12 | |||
13 | import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; | ||
14 | import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; | ||
15 | import org.eclipse.viatra.solver.language.solverLanguage.Variable; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Variable</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl#getType <em>Type</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class VariableImpl extends NamedElementImpl implements Variable { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getType() <em>Type</em>}' reference. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getType() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected NamedElement type; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected VariableImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return SolverLanguagePackage.Literals.VARIABLE; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | public NamedElement getType() { | ||
67 | if (type != null && type.eIsProxy()) { | ||
68 | InternalEObject oldType = (InternalEObject)type; | ||
69 | type = (NamedElement)eResolveProxy(oldType); | ||
70 | if (type != oldType) { | ||
71 | if (eNotificationRequired()) | ||
72 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.VARIABLE__TYPE, oldType, type)); | ||
73 | } | ||
74 | } | ||
75 | return type; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | public NamedElement basicGetType() { | ||
84 | return type; | ||
85 | } | ||
86 | |||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | @Override | ||
93 | public void setType(NamedElement newType) { | ||
94 | NamedElement oldType = type; | ||
95 | type = newType; | ||
96 | if (eNotificationRequired()) | ||
97 | eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.VARIABLE__TYPE, oldType, type)); | ||
98 | } | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | @Override | ||
106 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
107 | switch (featureID) { | ||
108 | case SolverLanguagePackage.VARIABLE__TYPE: | ||
109 | if (resolve) return getType(); | ||
110 | return basicGetType(); | ||
111 | } | ||
112 | return super.eGet(featureID, resolve, coreType); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) { | ||
122 | switch (featureID) { | ||
123 | case SolverLanguagePackage.VARIABLE__TYPE: | ||
124 | setType((NamedElement)newValue); | ||
125 | return; | ||
126 | } | ||
127 | super.eSet(featureID, newValue); | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | @Override | ||
136 | public void eUnset(int featureID) { | ||
137 | switch (featureID) { | ||
138 | case SolverLanguagePackage.VARIABLE__TYPE: | ||
139 | setType((NamedElement)null); | ||
140 | return; | ||
141 | } | ||
142 | super.eUnset(featureID); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public boolean eIsSet(int featureID) { | ||
152 | switch (featureID) { | ||
153 | case SolverLanguagePackage.VARIABLE__TYPE: | ||
154 | return type != null; | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | } //VariableImpl | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java deleted file mode 100644 index 23971e9d..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java +++ /dev/null | |||
@@ -1,1147 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.util; | ||
5 | |||
6 | import org.eclipse.emf.common.notify.Adapter; | ||
7 | import org.eclipse.emf.common.notify.Notifier; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EObject; | ||
12 | |||
13 | import org.eclipse.viatra.solver.language.solverLanguage.*; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * The <b>Adapter Factory</b> for the model. | ||
18 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
19 | * <!-- end-user-doc --> | ||
20 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage | ||
21 | * @generated | ||
22 | */ | ||
23 | public class SolverLanguageAdapterFactory extends AdapterFactoryImpl { | ||
24 | /** | ||
25 | * The cached model package. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @generated | ||
29 | */ | ||
30 | protected static SolverLanguagePackage modelPackage; | ||
31 | |||
32 | /** | ||
33 | * Creates an instance of the adapter factory. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | public SolverLanguageAdapterFactory() { | ||
39 | if (modelPackage == null) { | ||
40 | modelPackage = SolverLanguagePackage.eINSTANCE; | ||
41 | } | ||
42 | } | ||
43 | |||
44 | /** | ||
45 | * Returns whether this factory is applicable for the type of the object. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
48 | * <!-- end-user-doc --> | ||
49 | * @return whether this factory is applicable for the type of the object. | ||
50 | * @generated | ||
51 | */ | ||
52 | @Override | ||
53 | public boolean isFactoryForType(Object object) { | ||
54 | if (object == modelPackage) { | ||
55 | return true; | ||
56 | } | ||
57 | if (object instanceof EObject) { | ||
58 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
59 | } | ||
60 | return false; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * The switch that delegates to the <code>createXXX</code> methods. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected SolverLanguageSwitch<Adapter> modelSwitch = | ||
70 | new SolverLanguageSwitch<Adapter>() { | ||
71 | @Override | ||
72 | public Adapter caseProblem(Problem object) { | ||
73 | return createProblemAdapter(); | ||
74 | } | ||
75 | @Override | ||
76 | public Adapter caseStatement(Statement object) { | ||
77 | return createStatementAdapter(); | ||
78 | } | ||
79 | @Override | ||
80 | public Adapter casePredicateDefinition(PredicateDefinition object) { | ||
81 | return createPredicateDefinitionAdapter(); | ||
82 | } | ||
83 | @Override | ||
84 | public Adapter caseUnnamedErrorPrediateDefinition(UnnamedErrorPrediateDefinition object) { | ||
85 | return createUnnamedErrorPrediateDefinitionAdapter(); | ||
86 | } | ||
87 | @Override | ||
88 | public Adapter caseDefaultDefinition(DefaultDefinition object) { | ||
89 | return createDefaultDefinitionAdapter(); | ||
90 | } | ||
91 | @Override | ||
92 | public Adapter caseMetricDefinition(MetricDefinition object) { | ||
93 | return createMetricDefinitionAdapter(); | ||
94 | } | ||
95 | @Override | ||
96 | public Adapter caseExternPredicateDefinition(ExternPredicateDefinition object) { | ||
97 | return createExternPredicateDefinitionAdapter(); | ||
98 | } | ||
99 | @Override | ||
100 | public Adapter caseExternMetricDefinition(ExternMetricDefinition object) { | ||
101 | return createExternMetricDefinitionAdapter(); | ||
102 | } | ||
103 | @Override | ||
104 | public Adapter caseExternAggregatorDefinition(ExternAggregatorDefinition object) { | ||
105 | return createExternAggregatorDefinitionAdapter(); | ||
106 | } | ||
107 | @Override | ||
108 | public Adapter caseExternDatatypeDefinition(ExternDatatypeDefinition object) { | ||
109 | return createExternDatatypeDefinitionAdapter(); | ||
110 | } | ||
111 | @Override | ||
112 | public Adapter caseNamedElement(NamedElement object) { | ||
113 | return createNamedElementAdapter(); | ||
114 | } | ||
115 | @Override | ||
116 | public Adapter caseExpression(Expression object) { | ||
117 | return createExpressionAdapter(); | ||
118 | } | ||
119 | @Override | ||
120 | public Adapter caseIfElse(IfElse object) { | ||
121 | return createIfElseAdapter(); | ||
122 | } | ||
123 | @Override | ||
124 | public Adapter caseLet(Let object) { | ||
125 | return createLetAdapter(); | ||
126 | } | ||
127 | @Override | ||
128 | public Adapter caseLetBinding(LetBinding object) { | ||
129 | return createLetBindingAdapter(); | ||
130 | } | ||
131 | @Override | ||
132 | public Adapter caseCase(Case object) { | ||
133 | return createCaseAdapter(); | ||
134 | } | ||
135 | @Override | ||
136 | public Adapter caseLocalVariables(LocalVariables object) { | ||
137 | return createLocalVariablesAdapter(); | ||
138 | } | ||
139 | @Override | ||
140 | public Adapter caseQuantifiedExpression(QuantifiedExpression object) { | ||
141 | return createQuantifiedExpressionAdapter(); | ||
142 | } | ||
143 | @Override | ||
144 | public Adapter caseAggregation(Aggregation object) { | ||
145 | return createAggregationAdapter(); | ||
146 | } | ||
147 | @Override | ||
148 | public Adapter caseCall(Call object) { | ||
149 | return createCallAdapter(); | ||
150 | } | ||
151 | @Override | ||
152 | public Adapter caseArgumentList(ArgumentList object) { | ||
153 | return createArgumentListAdapter(); | ||
154 | } | ||
155 | @Override | ||
156 | public Adapter caseArgument(Argument object) { | ||
157 | return createArgumentAdapter(); | ||
158 | } | ||
159 | @Override | ||
160 | public Adapter caseExpressionArgument(ExpressionArgument object) { | ||
161 | return createExpressionArgumentAdapter(); | ||
162 | } | ||
163 | @Override | ||
164 | public Adapter caseStarArgument(StarArgument object) { | ||
165 | return createStarArgumentAdapter(); | ||
166 | } | ||
167 | @Override | ||
168 | public Adapter caseTypedArgument(TypedArgument object) { | ||
169 | return createTypedArgumentAdapter(); | ||
170 | } | ||
171 | @Override | ||
172 | public Adapter caseTypedStarArgument(TypedStarArgument object) { | ||
173 | return createTypedStarArgumentAdapter(); | ||
174 | } | ||
175 | @Override | ||
176 | public Adapter caseReference(Reference object) { | ||
177 | return createReferenceAdapter(); | ||
178 | } | ||
179 | @Override | ||
180 | public Adapter caseInterval(Interval object) { | ||
181 | return createIntervalAdapter(); | ||
182 | } | ||
183 | @Override | ||
184 | public Adapter caseLiteral(Literal object) { | ||
185 | return createLiteralAdapter(); | ||
186 | } | ||
187 | @Override | ||
188 | public Adapter caseLogicLiteral(LogicLiteral object) { | ||
189 | return createLogicLiteralAdapter(); | ||
190 | } | ||
191 | @Override | ||
192 | public Adapter caseNumericLiteral(NumericLiteral object) { | ||
193 | return createNumericLiteralAdapter(); | ||
194 | } | ||
195 | @Override | ||
196 | public Adapter caseInfinityLiteral(InfinityLiteral object) { | ||
197 | return createInfinityLiteralAdapter(); | ||
198 | } | ||
199 | @Override | ||
200 | public Adapter caseEmptyIntervalLiteral(EmptyIntervalLiteral object) { | ||
201 | return createEmptyIntervalLiteralAdapter(); | ||
202 | } | ||
203 | @Override | ||
204 | public Adapter caseStringLiteral(StringLiteral object) { | ||
205 | return createStringLiteralAdapter(); | ||
206 | } | ||
207 | @Override | ||
208 | public Adapter caseClassDefinition(ClassDefinition object) { | ||
209 | return createClassDefinitionAdapter(); | ||
210 | } | ||
211 | @Override | ||
212 | public Adapter caseMemberDefinition(MemberDefinition object) { | ||
213 | return createMemberDefinitionAdapter(); | ||
214 | } | ||
215 | @Override | ||
216 | public Adapter caseMultiplicity(Multiplicity object) { | ||
217 | return createMultiplicityAdapter(); | ||
218 | } | ||
219 | @Override | ||
220 | public Adapter caseManyMultiplicity(ManyMultiplicity object) { | ||
221 | return createManyMultiplicityAdapter(); | ||
222 | } | ||
223 | @Override | ||
224 | public Adapter caseExactMultiplicity(ExactMultiplicity object) { | ||
225 | return createExactMultiplicityAdapter(); | ||
226 | } | ||
227 | @Override | ||
228 | public Adapter caseBoundedMultiplicity(BoundedMultiplicity object) { | ||
229 | return createBoundedMultiplicityAdapter(); | ||
230 | } | ||
231 | @Override | ||
232 | public Adapter caseScopeDefinition(ScopeDefinition object) { | ||
233 | return createScopeDefinitionAdapter(); | ||
234 | } | ||
235 | @Override | ||
236 | public Adapter caseExactScopeDefinition(ExactScopeDefinition object) { | ||
237 | return createExactScopeDefinitionAdapter(); | ||
238 | } | ||
239 | @Override | ||
240 | public Adapter caseBoundedScopeDefinition(BoundedScopeDefinition object) { | ||
241 | return createBoundedScopeDefinitionAdapter(); | ||
242 | } | ||
243 | @Override | ||
244 | public Adapter caseLowerBoundedScopeDefinition(LowerBoundedScopeDefinition object) { | ||
245 | return createLowerBoundedScopeDefinitionAdapter(); | ||
246 | } | ||
247 | @Override | ||
248 | public Adapter caseObjectiveDefinition(ObjectiveDefinition object) { | ||
249 | return createObjectiveDefinitionAdapter(); | ||
250 | } | ||
251 | @Override | ||
252 | public Adapter caseInterpretation(Interpretation object) { | ||
253 | return createInterpretationAdapter(); | ||
254 | } | ||
255 | @Override | ||
256 | public Adapter caseVariable(Variable object) { | ||
257 | return createVariableAdapter(); | ||
258 | } | ||
259 | @Override | ||
260 | public Adapter caseDisjunction(Disjunction object) { | ||
261 | return createDisjunctionAdapter(); | ||
262 | } | ||
263 | @Override | ||
264 | public Adapter caseSwitch(Switch object) { | ||
265 | return createSwitchAdapter(); | ||
266 | } | ||
267 | @Override | ||
268 | public Adapter caseConjunction(Conjunction object) { | ||
269 | return createConjunctionAdapter(); | ||
270 | } | ||
271 | @Override | ||
272 | public Adapter caseComparison(Comparison object) { | ||
273 | return createComparisonAdapter(); | ||
274 | } | ||
275 | @Override | ||
276 | public Adapter caseBinaryExpression(BinaryExpression object) { | ||
277 | return createBinaryExpressionAdapter(); | ||
278 | } | ||
279 | @Override | ||
280 | public Adapter caseCastExpression(CastExpression object) { | ||
281 | return createCastExpressionAdapter(); | ||
282 | } | ||
283 | @Override | ||
284 | public Adapter caseUnaryExpression(UnaryExpression object) { | ||
285 | return createUnaryExpressionAdapter(); | ||
286 | } | ||
287 | @Override | ||
288 | public Adapter caseNode(Node object) { | ||
289 | return createNodeAdapter(); | ||
290 | } | ||
291 | @Override | ||
292 | public Adapter caseFunctor(Functor object) { | ||
293 | return createFunctorAdapter(); | ||
294 | } | ||
295 | @Override | ||
296 | public Adapter casePredicate(Predicate object) { | ||
297 | return createPredicateAdapter(); | ||
298 | } | ||
299 | @Override | ||
300 | public Adapter caseMetric(Metric object) { | ||
301 | return createMetricAdapter(); | ||
302 | } | ||
303 | @Override | ||
304 | public Adapter defaultCase(EObject object) { | ||
305 | return createEObjectAdapter(); | ||
306 | } | ||
307 | }; | ||
308 | |||
309 | /** | ||
310 | * Creates an adapter for the <code>target</code>. | ||
311 | * <!-- begin-user-doc --> | ||
312 | * <!-- end-user-doc --> | ||
313 | * @param target the object to adapt. | ||
314 | * @return the adapter for the <code>target</code>. | ||
315 | * @generated | ||
316 | */ | ||
317 | @Override | ||
318 | public Adapter createAdapter(Notifier target) { | ||
319 | return modelSwitch.doSwitch((EObject)target); | ||
320 | } | ||
321 | |||
322 | |||
323 | /** | ||
324 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem <em>Problem</em>}'. | ||
325 | * <!-- begin-user-doc --> | ||
326 | * This default implementation returns null so that we can easily ignore cases; | ||
327 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
328 | * <!-- end-user-doc --> | ||
329 | * @return the new adapter. | ||
330 | * @see org.eclipse.viatra.solver.language.solverLanguage.Problem | ||
331 | * @generated | ||
332 | */ | ||
333 | public Adapter createProblemAdapter() { | ||
334 | return null; | ||
335 | } | ||
336 | |||
337 | /** | ||
338 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement <em>Statement</em>}'. | ||
339 | * <!-- begin-user-doc --> | ||
340 | * This default implementation returns null so that we can easily ignore cases; | ||
341 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
342 | * <!-- end-user-doc --> | ||
343 | * @return the new adapter. | ||
344 | * @see org.eclipse.viatra.solver.language.solverLanguage.Statement | ||
345 | * @generated | ||
346 | */ | ||
347 | public Adapter createStatementAdapter() { | ||
348 | return null; | ||
349 | } | ||
350 | |||
351 | /** | ||
352 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition <em>Predicate Definition</em>}'. | ||
353 | * <!-- begin-user-doc --> | ||
354 | * This default implementation returns null so that we can easily ignore cases; | ||
355 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
356 | * <!-- end-user-doc --> | ||
357 | * @return the new adapter. | ||
358 | * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition | ||
359 | * @generated | ||
360 | */ | ||
361 | public Adapter createPredicateDefinitionAdapter() { | ||
362 | return null; | ||
363 | } | ||
364 | |||
365 | /** | ||
366 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition <em>Unnamed Error Prediate Definition</em>}'. | ||
367 | * <!-- begin-user-doc --> | ||
368 | * This default implementation returns null so that we can easily ignore cases; | ||
369 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
370 | * <!-- end-user-doc --> | ||
371 | * @return the new adapter. | ||
372 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition | ||
373 | * @generated | ||
374 | */ | ||
375 | public Adapter createUnnamedErrorPrediateDefinitionAdapter() { | ||
376 | return null; | ||
377 | } | ||
378 | |||
379 | /** | ||
380 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition <em>Default Definition</em>}'. | ||
381 | * <!-- begin-user-doc --> | ||
382 | * This default implementation returns null so that we can easily ignore cases; | ||
383 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
384 | * <!-- end-user-doc --> | ||
385 | * @return the new adapter. | ||
386 | * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition | ||
387 | * @generated | ||
388 | */ | ||
389 | public Adapter createDefaultDefinitionAdapter() { | ||
390 | return null; | ||
391 | } | ||
392 | |||
393 | /** | ||
394 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition <em>Metric Definition</em>}'. | ||
395 | * <!-- begin-user-doc --> | ||
396 | * This default implementation returns null so that we can easily ignore cases; | ||
397 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
398 | * <!-- end-user-doc --> | ||
399 | * @return the new adapter. | ||
400 | * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition | ||
401 | * @generated | ||
402 | */ | ||
403 | public Adapter createMetricDefinitionAdapter() { | ||
404 | return null; | ||
405 | } | ||
406 | |||
407 | /** | ||
408 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition <em>Extern Predicate Definition</em>}'. | ||
409 | * <!-- begin-user-doc --> | ||
410 | * This default implementation returns null so that we can easily ignore cases; | ||
411 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
412 | * <!-- end-user-doc --> | ||
413 | * @return the new adapter. | ||
414 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition | ||
415 | * @generated | ||
416 | */ | ||
417 | public Adapter createExternPredicateDefinitionAdapter() { | ||
418 | return null; | ||
419 | } | ||
420 | |||
421 | /** | ||
422 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition <em>Extern Metric Definition</em>}'. | ||
423 | * <!-- begin-user-doc --> | ||
424 | * This default implementation returns null so that we can easily ignore cases; | ||
425 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
426 | * <!-- end-user-doc --> | ||
427 | * @return the new adapter. | ||
428 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition | ||
429 | * @generated | ||
430 | */ | ||
431 | public Adapter createExternMetricDefinitionAdapter() { | ||
432 | return null; | ||
433 | } | ||
434 | |||
435 | /** | ||
436 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition <em>Extern Aggregator Definition</em>}'. | ||
437 | * <!-- begin-user-doc --> | ||
438 | * This default implementation returns null so that we can easily ignore cases; | ||
439 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
440 | * <!-- end-user-doc --> | ||
441 | * @return the new adapter. | ||
442 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition | ||
443 | * @generated | ||
444 | */ | ||
445 | public Adapter createExternAggregatorDefinitionAdapter() { | ||
446 | return null; | ||
447 | } | ||
448 | |||
449 | /** | ||
450 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition <em>Extern Datatype Definition</em>}'. | ||
451 | * <!-- begin-user-doc --> | ||
452 | * This default implementation returns null so that we can easily ignore cases; | ||
453 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
454 | * <!-- end-user-doc --> | ||
455 | * @return the new adapter. | ||
456 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition | ||
457 | * @generated | ||
458 | */ | ||
459 | public Adapter createExternDatatypeDefinitionAdapter() { | ||
460 | return null; | ||
461 | } | ||
462 | |||
463 | /** | ||
464 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement <em>Named Element</em>}'. | ||
465 | * <!-- begin-user-doc --> | ||
466 | * This default implementation returns null so that we can easily ignore cases; | ||
467 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
468 | * <!-- end-user-doc --> | ||
469 | * @return the new adapter. | ||
470 | * @see org.eclipse.viatra.solver.language.solverLanguage.NamedElement | ||
471 | * @generated | ||
472 | */ | ||
473 | public Adapter createNamedElementAdapter() { | ||
474 | return null; | ||
475 | } | ||
476 | |||
477 | /** | ||
478 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Expression <em>Expression</em>}'. | ||
479 | * <!-- begin-user-doc --> | ||
480 | * This default implementation returns null so that we can easily ignore cases; | ||
481 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
482 | * <!-- end-user-doc --> | ||
483 | * @return the new adapter. | ||
484 | * @see org.eclipse.viatra.solver.language.solverLanguage.Expression | ||
485 | * @generated | ||
486 | */ | ||
487 | public Adapter createExpressionAdapter() { | ||
488 | return null; | ||
489 | } | ||
490 | |||
491 | /** | ||
492 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse <em>If Else</em>}'. | ||
493 | * <!-- begin-user-doc --> | ||
494 | * This default implementation returns null so that we can easily ignore cases; | ||
495 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
496 | * <!-- end-user-doc --> | ||
497 | * @return the new adapter. | ||
498 | * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse | ||
499 | * @generated | ||
500 | */ | ||
501 | public Adapter createIfElseAdapter() { | ||
502 | return null; | ||
503 | } | ||
504 | |||
505 | /** | ||
506 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Let <em>Let</em>}'. | ||
507 | * <!-- begin-user-doc --> | ||
508 | * This default implementation returns null so that we can easily ignore cases; | ||
509 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
510 | * <!-- end-user-doc --> | ||
511 | * @return the new adapter. | ||
512 | * @see org.eclipse.viatra.solver.language.solverLanguage.Let | ||
513 | * @generated | ||
514 | */ | ||
515 | public Adapter createLetAdapter() { | ||
516 | return null; | ||
517 | } | ||
518 | |||
519 | /** | ||
520 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding <em>Let Binding</em>}'. | ||
521 | * <!-- begin-user-doc --> | ||
522 | * This default implementation returns null so that we can easily ignore cases; | ||
523 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
524 | * <!-- end-user-doc --> | ||
525 | * @return the new adapter. | ||
526 | * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding | ||
527 | * @generated | ||
528 | */ | ||
529 | public Adapter createLetBindingAdapter() { | ||
530 | return null; | ||
531 | } | ||
532 | |||
533 | /** | ||
534 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Case <em>Case</em>}'. | ||
535 | * <!-- begin-user-doc --> | ||
536 | * This default implementation returns null so that we can easily ignore cases; | ||
537 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
538 | * <!-- end-user-doc --> | ||
539 | * @return the new adapter. | ||
540 | * @see org.eclipse.viatra.solver.language.solverLanguage.Case | ||
541 | * @generated | ||
542 | */ | ||
543 | public Adapter createCaseAdapter() { | ||
544 | return null; | ||
545 | } | ||
546 | |||
547 | /** | ||
548 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LocalVariables <em>Local Variables</em>}'. | ||
549 | * <!-- begin-user-doc --> | ||
550 | * This default implementation returns null so that we can easily ignore cases; | ||
551 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
552 | * <!-- end-user-doc --> | ||
553 | * @return the new adapter. | ||
554 | * @see org.eclipse.viatra.solver.language.solverLanguage.LocalVariables | ||
555 | * @generated | ||
556 | */ | ||
557 | public Adapter createLocalVariablesAdapter() { | ||
558 | return null; | ||
559 | } | ||
560 | |||
561 | /** | ||
562 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression <em>Quantified Expression</em>}'. | ||
563 | * <!-- begin-user-doc --> | ||
564 | * This default implementation returns null so that we can easily ignore cases; | ||
565 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
566 | * <!-- end-user-doc --> | ||
567 | * @return the new adapter. | ||
568 | * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression | ||
569 | * @generated | ||
570 | */ | ||
571 | public Adapter createQuantifiedExpressionAdapter() { | ||
572 | return null; | ||
573 | } | ||
574 | |||
575 | /** | ||
576 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation <em>Aggregation</em>}'. | ||
577 | * <!-- begin-user-doc --> | ||
578 | * This default implementation returns null so that we can easily ignore cases; | ||
579 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
580 | * <!-- end-user-doc --> | ||
581 | * @return the new adapter. | ||
582 | * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation | ||
583 | * @generated | ||
584 | */ | ||
585 | public Adapter createAggregationAdapter() { | ||
586 | return null; | ||
587 | } | ||
588 | |||
589 | /** | ||
590 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Call <em>Call</em>}'. | ||
591 | * <!-- begin-user-doc --> | ||
592 | * This default implementation returns null so that we can easily ignore cases; | ||
593 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
594 | * <!-- end-user-doc --> | ||
595 | * @return the new adapter. | ||
596 | * @see org.eclipse.viatra.solver.language.solverLanguage.Call | ||
597 | * @generated | ||
598 | */ | ||
599 | public Adapter createCallAdapter() { | ||
600 | return null; | ||
601 | } | ||
602 | |||
603 | /** | ||
604 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList <em>Argument List</em>}'. | ||
605 | * <!-- begin-user-doc --> | ||
606 | * This default implementation returns null so that we can easily ignore cases; | ||
607 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
608 | * <!-- end-user-doc --> | ||
609 | * @return the new adapter. | ||
610 | * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList | ||
611 | * @generated | ||
612 | */ | ||
613 | public Adapter createArgumentListAdapter() { | ||
614 | return null; | ||
615 | } | ||
616 | |||
617 | /** | ||
618 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Argument <em>Argument</em>}'. | ||
619 | * <!-- begin-user-doc --> | ||
620 | * This default implementation returns null so that we can easily ignore cases; | ||
621 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
622 | * <!-- end-user-doc --> | ||
623 | * @return the new adapter. | ||
624 | * @see org.eclipse.viatra.solver.language.solverLanguage.Argument | ||
625 | * @generated | ||
626 | */ | ||
627 | public Adapter createArgumentAdapter() { | ||
628 | return null; | ||
629 | } | ||
630 | |||
631 | /** | ||
632 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument <em>Expression Argument</em>}'. | ||
633 | * <!-- begin-user-doc --> | ||
634 | * This default implementation returns null so that we can easily ignore cases; | ||
635 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
636 | * <!-- end-user-doc --> | ||
637 | * @return the new adapter. | ||
638 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument | ||
639 | * @generated | ||
640 | */ | ||
641 | public Adapter createExpressionArgumentAdapter() { | ||
642 | return null; | ||
643 | } | ||
644 | |||
645 | /** | ||
646 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.StarArgument <em>Star Argument</em>}'. | ||
647 | * <!-- begin-user-doc --> | ||
648 | * This default implementation returns null so that we can easily ignore cases; | ||
649 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
650 | * <!-- end-user-doc --> | ||
651 | * @return the new adapter. | ||
652 | * @see org.eclipse.viatra.solver.language.solverLanguage.StarArgument | ||
653 | * @generated | ||
654 | */ | ||
655 | public Adapter createStarArgumentAdapter() { | ||
656 | return null; | ||
657 | } | ||
658 | |||
659 | /** | ||
660 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument <em>Typed Argument</em>}'. | ||
661 | * <!-- begin-user-doc --> | ||
662 | * This default implementation returns null so that we can easily ignore cases; | ||
663 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
664 | * <!-- end-user-doc --> | ||
665 | * @return the new adapter. | ||
666 | * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument | ||
667 | * @generated | ||
668 | */ | ||
669 | public Adapter createTypedArgumentAdapter() { | ||
670 | return null; | ||
671 | } | ||
672 | |||
673 | /** | ||
674 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument <em>Typed Star Argument</em>}'. | ||
675 | * <!-- begin-user-doc --> | ||
676 | * This default implementation returns null so that we can easily ignore cases; | ||
677 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
678 | * <!-- end-user-doc --> | ||
679 | * @return the new adapter. | ||
680 | * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument | ||
681 | * @generated | ||
682 | */ | ||
683 | public Adapter createTypedStarArgumentAdapter() { | ||
684 | return null; | ||
685 | } | ||
686 | |||
687 | /** | ||
688 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference <em>Reference</em>}'. | ||
689 | * <!-- begin-user-doc --> | ||
690 | * This default implementation returns null so that we can easily ignore cases; | ||
691 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
692 | * <!-- end-user-doc --> | ||
693 | * @return the new adapter. | ||
694 | * @see org.eclipse.viatra.solver.language.solverLanguage.Reference | ||
695 | * @generated | ||
696 | */ | ||
697 | public Adapter createReferenceAdapter() { | ||
698 | return null; | ||
699 | } | ||
700 | |||
701 | /** | ||
702 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval <em>Interval</em>}'. | ||
703 | * <!-- begin-user-doc --> | ||
704 | * This default implementation returns null so that we can easily ignore cases; | ||
705 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
706 | * <!-- end-user-doc --> | ||
707 | * @return the new adapter. | ||
708 | * @see org.eclipse.viatra.solver.language.solverLanguage.Interval | ||
709 | * @generated | ||
710 | */ | ||
711 | public Adapter createIntervalAdapter() { | ||
712 | return null; | ||
713 | } | ||
714 | |||
715 | /** | ||
716 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Literal <em>Literal</em>}'. | ||
717 | * <!-- begin-user-doc --> | ||
718 | * This default implementation returns null so that we can easily ignore cases; | ||
719 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
720 | * <!-- end-user-doc --> | ||
721 | * @return the new adapter. | ||
722 | * @see org.eclipse.viatra.solver.language.solverLanguage.Literal | ||
723 | * @generated | ||
724 | */ | ||
725 | public Adapter createLiteralAdapter() { | ||
726 | return null; | ||
727 | } | ||
728 | |||
729 | /** | ||
730 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral <em>Logic Literal</em>}'. | ||
731 | * <!-- begin-user-doc --> | ||
732 | * This default implementation returns null so that we can easily ignore cases; | ||
733 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
734 | * <!-- end-user-doc --> | ||
735 | * @return the new adapter. | ||
736 | * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral | ||
737 | * @generated | ||
738 | */ | ||
739 | public Adapter createLogicLiteralAdapter() { | ||
740 | return null; | ||
741 | } | ||
742 | |||
743 | /** | ||
744 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral <em>Numeric Literal</em>}'. | ||
745 | * <!-- begin-user-doc --> | ||
746 | * This default implementation returns null so that we can easily ignore cases; | ||
747 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
748 | * <!-- end-user-doc --> | ||
749 | * @return the new adapter. | ||
750 | * @see org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral | ||
751 | * @generated | ||
752 | */ | ||
753 | public Adapter createNumericLiteralAdapter() { | ||
754 | return null; | ||
755 | } | ||
756 | |||
757 | /** | ||
758 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral <em>Infinity Literal</em>}'. | ||
759 | * <!-- begin-user-doc --> | ||
760 | * This default implementation returns null so that we can easily ignore cases; | ||
761 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
762 | * <!-- end-user-doc --> | ||
763 | * @return the new adapter. | ||
764 | * @see org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral | ||
765 | * @generated | ||
766 | */ | ||
767 | public Adapter createInfinityLiteralAdapter() { | ||
768 | return null; | ||
769 | } | ||
770 | |||
771 | /** | ||
772 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral <em>Empty Interval Literal</em>}'. | ||
773 | * <!-- begin-user-doc --> | ||
774 | * This default implementation returns null so that we can easily ignore cases; | ||
775 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
776 | * <!-- end-user-doc --> | ||
777 | * @return the new adapter. | ||
778 | * @see org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral | ||
779 | * @generated | ||
780 | */ | ||
781 | public Adapter createEmptyIntervalLiteralAdapter() { | ||
782 | return null; | ||
783 | } | ||
784 | |||
785 | /** | ||
786 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral <em>String Literal</em>}'. | ||
787 | * <!-- begin-user-doc --> | ||
788 | * This default implementation returns null so that we can easily ignore cases; | ||
789 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
790 | * <!-- end-user-doc --> | ||
791 | * @return the new adapter. | ||
792 | * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral | ||
793 | * @generated | ||
794 | */ | ||
795 | public Adapter createStringLiteralAdapter() { | ||
796 | return null; | ||
797 | } | ||
798 | |||
799 | /** | ||
800 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition <em>Class Definition</em>}'. | ||
801 | * <!-- begin-user-doc --> | ||
802 | * This default implementation returns null so that we can easily ignore cases; | ||
803 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
804 | * <!-- end-user-doc --> | ||
805 | * @return the new adapter. | ||
806 | * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition | ||
807 | * @generated | ||
808 | */ | ||
809 | public Adapter createClassDefinitionAdapter() { | ||
810 | return null; | ||
811 | } | ||
812 | |||
813 | /** | ||
814 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition <em>Member Definition</em>}'. | ||
815 | * <!-- begin-user-doc --> | ||
816 | * This default implementation returns null so that we can easily ignore cases; | ||
817 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
818 | * <!-- end-user-doc --> | ||
819 | * @return the new adapter. | ||
820 | * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition | ||
821 | * @generated | ||
822 | */ | ||
823 | public Adapter createMemberDefinitionAdapter() { | ||
824 | return null; | ||
825 | } | ||
826 | |||
827 | /** | ||
828 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Multiplicity <em>Multiplicity</em>}'. | ||
829 | * <!-- begin-user-doc --> | ||
830 | * This default implementation returns null so that we can easily ignore cases; | ||
831 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
832 | * <!-- end-user-doc --> | ||
833 | * @return the new adapter. | ||
834 | * @see org.eclipse.viatra.solver.language.solverLanguage.Multiplicity | ||
835 | * @generated | ||
836 | */ | ||
837 | public Adapter createMultiplicityAdapter() { | ||
838 | return null; | ||
839 | } | ||
840 | |||
841 | /** | ||
842 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity <em>Many Multiplicity</em>}'. | ||
843 | * <!-- begin-user-doc --> | ||
844 | * This default implementation returns null so that we can easily ignore cases; | ||
845 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
846 | * <!-- end-user-doc --> | ||
847 | * @return the new adapter. | ||
848 | * @see org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity | ||
849 | * @generated | ||
850 | */ | ||
851 | public Adapter createManyMultiplicityAdapter() { | ||
852 | return null; | ||
853 | } | ||
854 | |||
855 | /** | ||
856 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity <em>Exact Multiplicity</em>}'. | ||
857 | * <!-- begin-user-doc --> | ||
858 | * This default implementation returns null so that we can easily ignore cases; | ||
859 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
860 | * <!-- end-user-doc --> | ||
861 | * @return the new adapter. | ||
862 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity | ||
863 | * @generated | ||
864 | */ | ||
865 | public Adapter createExactMultiplicityAdapter() { | ||
866 | return null; | ||
867 | } | ||
868 | |||
869 | /** | ||
870 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity <em>Bounded Multiplicity</em>}'. | ||
871 | * <!-- begin-user-doc --> | ||
872 | * This default implementation returns null so that we can easily ignore cases; | ||
873 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
874 | * <!-- end-user-doc --> | ||
875 | * @return the new adapter. | ||
876 | * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity | ||
877 | * @generated | ||
878 | */ | ||
879 | public Adapter createBoundedMultiplicityAdapter() { | ||
880 | return null; | ||
881 | } | ||
882 | |||
883 | /** | ||
884 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition <em>Scope Definition</em>}'. | ||
885 | * <!-- begin-user-doc --> | ||
886 | * This default implementation returns null so that we can easily ignore cases; | ||
887 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
888 | * <!-- end-user-doc --> | ||
889 | * @return the new adapter. | ||
890 | * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition | ||
891 | * @generated | ||
892 | */ | ||
893 | public Adapter createScopeDefinitionAdapter() { | ||
894 | return null; | ||
895 | } | ||
896 | |||
897 | /** | ||
898 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition <em>Exact Scope Definition</em>}'. | ||
899 | * <!-- begin-user-doc --> | ||
900 | * This default implementation returns null so that we can easily ignore cases; | ||
901 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
902 | * <!-- end-user-doc --> | ||
903 | * @return the new adapter. | ||
904 | * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition | ||
905 | * @generated | ||
906 | */ | ||
907 | public Adapter createExactScopeDefinitionAdapter() { | ||
908 | return null; | ||
909 | } | ||
910 | |||
911 | /** | ||
912 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition <em>Bounded Scope Definition</em>}'. | ||
913 | * <!-- begin-user-doc --> | ||
914 | * This default implementation returns null so that we can easily ignore cases; | ||
915 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
916 | * <!-- end-user-doc --> | ||
917 | * @return the new adapter. | ||
918 | * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition | ||
919 | * @generated | ||
920 | */ | ||
921 | public Adapter createBoundedScopeDefinitionAdapter() { | ||
922 | return null; | ||
923 | } | ||
924 | |||
925 | /** | ||
926 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition <em>Lower Bounded Scope Definition</em>}'. | ||
927 | * <!-- begin-user-doc --> | ||
928 | * This default implementation returns null so that we can easily ignore cases; | ||
929 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
930 | * <!-- end-user-doc --> | ||
931 | * @return the new adapter. | ||
932 | * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition | ||
933 | * @generated | ||
934 | */ | ||
935 | public Adapter createLowerBoundedScopeDefinitionAdapter() { | ||
936 | return null; | ||
937 | } | ||
938 | |||
939 | /** | ||
940 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition <em>Objective Definition</em>}'. | ||
941 | * <!-- begin-user-doc --> | ||
942 | * This default implementation returns null so that we can easily ignore cases; | ||
943 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
944 | * <!-- end-user-doc --> | ||
945 | * @return the new adapter. | ||
946 | * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition | ||
947 | * @generated | ||
948 | */ | ||
949 | public Adapter createObjectiveDefinitionAdapter() { | ||
950 | return null; | ||
951 | } | ||
952 | |||
953 | /** | ||
954 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation <em>Interpretation</em>}'. | ||
955 | * <!-- begin-user-doc --> | ||
956 | * This default implementation returns null so that we can easily ignore cases; | ||
957 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
958 | * <!-- end-user-doc --> | ||
959 | * @return the new adapter. | ||
960 | * @see org.eclipse.viatra.solver.language.solverLanguage.Interpretation | ||
961 | * @generated | ||
962 | */ | ||
963 | public Adapter createInterpretationAdapter() { | ||
964 | return null; | ||
965 | } | ||
966 | |||
967 | /** | ||
968 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable <em>Variable</em>}'. | ||
969 | * <!-- begin-user-doc --> | ||
970 | * This default implementation returns null so that we can easily ignore cases; | ||
971 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
972 | * <!-- end-user-doc --> | ||
973 | * @return the new adapter. | ||
974 | * @see org.eclipse.viatra.solver.language.solverLanguage.Variable | ||
975 | * @generated | ||
976 | */ | ||
977 | public Adapter createVariableAdapter() { | ||
978 | return null; | ||
979 | } | ||
980 | |||
981 | /** | ||
982 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction <em>Disjunction</em>}'. | ||
983 | * <!-- begin-user-doc --> | ||
984 | * This default implementation returns null so that we can easily ignore cases; | ||
985 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
986 | * <!-- end-user-doc --> | ||
987 | * @return the new adapter. | ||
988 | * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction | ||
989 | * @generated | ||
990 | */ | ||
991 | public Adapter createDisjunctionAdapter() { | ||
992 | return null; | ||
993 | } | ||
994 | |||
995 | /** | ||
996 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch <em>Switch</em>}'. | ||
997 | * <!-- begin-user-doc --> | ||
998 | * This default implementation returns null so that we can easily ignore cases; | ||
999 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1000 | * <!-- end-user-doc --> | ||
1001 | * @return the new adapter. | ||
1002 | * @see org.eclipse.viatra.solver.language.solverLanguage.Switch | ||
1003 | * @generated | ||
1004 | */ | ||
1005 | public Adapter createSwitchAdapter() { | ||
1006 | return null; | ||
1007 | } | ||
1008 | |||
1009 | /** | ||
1010 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction <em>Conjunction</em>}'. | ||
1011 | * <!-- begin-user-doc --> | ||
1012 | * This default implementation returns null so that we can easily ignore cases; | ||
1013 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1014 | * <!-- end-user-doc --> | ||
1015 | * @return the new adapter. | ||
1016 | * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction | ||
1017 | * @generated | ||
1018 | */ | ||
1019 | public Adapter createConjunctionAdapter() { | ||
1020 | return null; | ||
1021 | } | ||
1022 | |||
1023 | /** | ||
1024 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison <em>Comparison</em>}'. | ||
1025 | * <!-- begin-user-doc --> | ||
1026 | * This default implementation returns null so that we can easily ignore cases; | ||
1027 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1028 | * <!-- end-user-doc --> | ||
1029 | * @return the new adapter. | ||
1030 | * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison | ||
1031 | * @generated | ||
1032 | */ | ||
1033 | public Adapter createComparisonAdapter() { | ||
1034 | return null; | ||
1035 | } | ||
1036 | |||
1037 | /** | ||
1038 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression <em>Binary Expression</em>}'. | ||
1039 | * <!-- begin-user-doc --> | ||
1040 | * This default implementation returns null so that we can easily ignore cases; | ||
1041 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1042 | * <!-- end-user-doc --> | ||
1043 | * @return the new adapter. | ||
1044 | * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression | ||
1045 | * @generated | ||
1046 | */ | ||
1047 | public Adapter createBinaryExpressionAdapter() { | ||
1048 | return null; | ||
1049 | } | ||
1050 | |||
1051 | /** | ||
1052 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression <em>Cast Expression</em>}'. | ||
1053 | * <!-- begin-user-doc --> | ||
1054 | * This default implementation returns null so that we can easily ignore cases; | ||
1055 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1056 | * <!-- end-user-doc --> | ||
1057 | * @return the new adapter. | ||
1058 | * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression | ||
1059 | * @generated | ||
1060 | */ | ||
1061 | public Adapter createCastExpressionAdapter() { | ||
1062 | return null; | ||
1063 | } | ||
1064 | |||
1065 | /** | ||
1066 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression <em>Unary Expression</em>}'. | ||
1067 | * <!-- begin-user-doc --> | ||
1068 | * This default implementation returns null so that we can easily ignore cases; | ||
1069 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1070 | * <!-- end-user-doc --> | ||
1071 | * @return the new adapter. | ||
1072 | * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression | ||
1073 | * @generated | ||
1074 | */ | ||
1075 | public Adapter createUnaryExpressionAdapter() { | ||
1076 | return null; | ||
1077 | } | ||
1078 | |||
1079 | /** | ||
1080 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Node <em>Node</em>}'. | ||
1081 | * <!-- begin-user-doc --> | ||
1082 | * This default implementation returns null so that we can easily ignore cases; | ||
1083 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1084 | * <!-- end-user-doc --> | ||
1085 | * @return the new adapter. | ||
1086 | * @see org.eclipse.viatra.solver.language.solverLanguage.Node | ||
1087 | * @generated | ||
1088 | */ | ||
1089 | public Adapter createNodeAdapter() { | ||
1090 | return null; | ||
1091 | } | ||
1092 | |||
1093 | /** | ||
1094 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Functor <em>Functor</em>}'. | ||
1095 | * <!-- begin-user-doc --> | ||
1096 | * This default implementation returns null so that we can easily ignore cases; | ||
1097 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1098 | * <!-- end-user-doc --> | ||
1099 | * @return the new adapter. | ||
1100 | * @see org.eclipse.viatra.solver.language.solverLanguage.Functor | ||
1101 | * @generated | ||
1102 | */ | ||
1103 | public Adapter createFunctorAdapter() { | ||
1104 | return null; | ||
1105 | } | ||
1106 | |||
1107 | /** | ||
1108 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate <em>Predicate</em>}'. | ||
1109 | * <!-- begin-user-doc --> | ||
1110 | * This default implementation returns null so that we can easily ignore cases; | ||
1111 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1112 | * <!-- end-user-doc --> | ||
1113 | * @return the new adapter. | ||
1114 | * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate | ||
1115 | * @generated | ||
1116 | */ | ||
1117 | public Adapter createPredicateAdapter() { | ||
1118 | return null; | ||
1119 | } | ||
1120 | |||
1121 | /** | ||
1122 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric <em>Metric</em>}'. | ||
1123 | * <!-- begin-user-doc --> | ||
1124 | * This default implementation returns null so that we can easily ignore cases; | ||
1125 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1126 | * <!-- end-user-doc --> | ||
1127 | * @return the new adapter. | ||
1128 | * @see org.eclipse.viatra.solver.language.solverLanguage.Metric | ||
1129 | * @generated | ||
1130 | */ | ||
1131 | public Adapter createMetricAdapter() { | ||
1132 | return null; | ||
1133 | } | ||
1134 | |||
1135 | /** | ||
1136 | * Creates a new adapter for the default case. | ||
1137 | * <!-- begin-user-doc --> | ||
1138 | * This default implementation returns null. | ||
1139 | * <!-- end-user-doc --> | ||
1140 | * @return the new adapter. | ||
1141 | * @generated | ||
1142 | */ | ||
1143 | public Adapter createEObjectAdapter() { | ||
1144 | return null; | ||
1145 | } | ||
1146 | |||
1147 | } //SolverLanguageAdapterFactory | ||
diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java deleted file mode 100644 index 4e5929e6..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java +++ /dev/null | |||
@@ -1,1388 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.util; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | import org.eclipse.emf.ecore.EPackage; | ||
8 | |||
9 | import org.eclipse.emf.ecore.util.Switch; | ||
10 | |||
11 | import org.eclipse.viatra.solver.language.solverLanguage.*; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
16 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
17 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
18 | * starting with the actual class of the object | ||
19 | * and proceeding up the inheritance hierarchy | ||
20 | * until a non-null result is returned, | ||
21 | * which is the result of the switch. | ||
22 | * <!-- end-user-doc --> | ||
23 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage | ||
24 | * @generated | ||
25 | */ | ||
26 | public class SolverLanguageSwitch<T> extends Switch<T> { | ||
27 | /** | ||
28 | * The cached model package | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | protected static SolverLanguagePackage modelPackage; | ||
34 | |||
35 | /** | ||
36 | * Creates an instance of the switch. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @generated | ||
40 | */ | ||
41 | public SolverLanguageSwitch() { | ||
42 | if (modelPackage == null) { | ||
43 | modelPackage = SolverLanguagePackage.eINSTANCE; | ||
44 | } | ||
45 | } | ||
46 | |||
47 | /** | ||
48 | * Checks whether this is a switch for the given package. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @param ePackage the package in question. | ||
52 | * @return whether this is a switch for the given package. | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected boolean isSwitchFor(EPackage ePackage) { | ||
57 | return ePackage == modelPackage; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
65 | * @generated | ||
66 | */ | ||
67 | @Override | ||
68 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
69 | switch (classifierID) { | ||
70 | case SolverLanguagePackage.PROBLEM: { | ||
71 | Problem problem = (Problem)theEObject; | ||
72 | T result = caseProblem(problem); | ||
73 | if (result == null) result = defaultCase(theEObject); | ||
74 | return result; | ||
75 | } | ||
76 | case SolverLanguagePackage.STATEMENT: { | ||
77 | Statement statement = (Statement)theEObject; | ||
78 | T result = caseStatement(statement); | ||
79 | if (result == null) result = defaultCase(theEObject); | ||
80 | return result; | ||
81 | } | ||
82 | case SolverLanguagePackage.PREDICATE_DEFINITION: { | ||
83 | PredicateDefinition predicateDefinition = (PredicateDefinition)theEObject; | ||
84 | T result = casePredicateDefinition(predicateDefinition); | ||
85 | if (result == null) result = caseStatement(predicateDefinition); | ||
86 | if (result == null) result = defaultCase(theEObject); | ||
87 | return result; | ||
88 | } | ||
89 | case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION: { | ||
90 | UnnamedErrorPrediateDefinition unnamedErrorPrediateDefinition = (UnnamedErrorPrediateDefinition)theEObject; | ||
91 | T result = caseUnnamedErrorPrediateDefinition(unnamedErrorPrediateDefinition); | ||
92 | if (result == null) result = caseStatement(unnamedErrorPrediateDefinition); | ||
93 | if (result == null) result = defaultCase(theEObject); | ||
94 | return result; | ||
95 | } | ||
96 | case SolverLanguagePackage.DEFAULT_DEFINITION: { | ||
97 | DefaultDefinition defaultDefinition = (DefaultDefinition)theEObject; | ||
98 | T result = caseDefaultDefinition(defaultDefinition); | ||
99 | if (result == null) result = caseStatement(defaultDefinition); | ||
100 | if (result == null) result = defaultCase(theEObject); | ||
101 | return result; | ||
102 | } | ||
103 | case SolverLanguagePackage.METRIC_DEFINITION: { | ||
104 | MetricDefinition metricDefinition = (MetricDefinition)theEObject; | ||
105 | T result = caseMetricDefinition(metricDefinition); | ||
106 | if (result == null) result = caseStatement(metricDefinition); | ||
107 | if (result == null) result = defaultCase(theEObject); | ||
108 | return result; | ||
109 | } | ||
110 | case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION: { | ||
111 | ExternPredicateDefinition externPredicateDefinition = (ExternPredicateDefinition)theEObject; | ||
112 | T result = caseExternPredicateDefinition(externPredicateDefinition); | ||
113 | if (result == null) result = caseStatement(externPredicateDefinition); | ||
114 | if (result == null) result = defaultCase(theEObject); | ||
115 | return result; | ||
116 | } | ||
117 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION: { | ||
118 | ExternMetricDefinition externMetricDefinition = (ExternMetricDefinition)theEObject; | ||
119 | T result = caseExternMetricDefinition(externMetricDefinition); | ||
120 | if (result == null) result = caseStatement(externMetricDefinition); | ||
121 | if (result == null) result = defaultCase(theEObject); | ||
122 | return result; | ||
123 | } | ||
124 | case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION: { | ||
125 | ExternAggregatorDefinition externAggregatorDefinition = (ExternAggregatorDefinition)theEObject; | ||
126 | T result = caseExternAggregatorDefinition(externAggregatorDefinition); | ||
127 | if (result == null) result = caseStatement(externAggregatorDefinition); | ||
128 | if (result == null) result = defaultCase(theEObject); | ||
129 | return result; | ||
130 | } | ||
131 | case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION: { | ||
132 | ExternDatatypeDefinition externDatatypeDefinition = (ExternDatatypeDefinition)theEObject; | ||
133 | T result = caseExternDatatypeDefinition(externDatatypeDefinition); | ||
134 | if (result == null) result = caseStatement(externDatatypeDefinition); | ||
135 | if (result == null) result = defaultCase(theEObject); | ||
136 | return result; | ||
137 | } | ||
138 | case SolverLanguagePackage.NAMED_ELEMENT: { | ||
139 | NamedElement namedElement = (NamedElement)theEObject; | ||
140 | T result = caseNamedElement(namedElement); | ||
141 | if (result == null) result = defaultCase(theEObject); | ||
142 | return result; | ||
143 | } | ||
144 | case SolverLanguagePackage.EXPRESSION: { | ||
145 | Expression expression = (Expression)theEObject; | ||
146 | T result = caseExpression(expression); | ||
147 | if (result == null) result = caseStatement(expression); | ||
148 | if (result == null) result = defaultCase(theEObject); | ||
149 | return result; | ||
150 | } | ||
151 | case SolverLanguagePackage.IF_ELSE: { | ||
152 | IfElse ifElse = (IfElse)theEObject; | ||
153 | T result = caseIfElse(ifElse); | ||
154 | if (result == null) result = caseExpression(ifElse); | ||
155 | if (result == null) result = caseStatement(ifElse); | ||
156 | if (result == null) result = defaultCase(theEObject); | ||
157 | return result; | ||
158 | } | ||
159 | case SolverLanguagePackage.LET: { | ||
160 | Let let = (Let)theEObject; | ||
161 | T result = caseLet(let); | ||
162 | if (result == null) result = caseExpression(let); | ||
163 | if (result == null) result = caseStatement(let); | ||
164 | if (result == null) result = defaultCase(theEObject); | ||
165 | return result; | ||
166 | } | ||
167 | case SolverLanguagePackage.LET_BINDING: { | ||
168 | LetBinding letBinding = (LetBinding)theEObject; | ||
169 | T result = caseLetBinding(letBinding); | ||
170 | if (result == null) result = defaultCase(theEObject); | ||
171 | return result; | ||
172 | } | ||
173 | case SolverLanguagePackage.CASE: { | ||
174 | Case case_ = (Case)theEObject; | ||
175 | T result = caseCase(case_); | ||
176 | if (result == null) result = caseExpression(case_); | ||
177 | if (result == null) result = caseStatement(case_); | ||
178 | if (result == null) result = defaultCase(theEObject); | ||
179 | return result; | ||
180 | } | ||
181 | case SolverLanguagePackage.LOCAL_VARIABLES: { | ||
182 | LocalVariables localVariables = (LocalVariables)theEObject; | ||
183 | T result = caseLocalVariables(localVariables); | ||
184 | if (result == null) result = defaultCase(theEObject); | ||
185 | return result; | ||
186 | } | ||
187 | case SolverLanguagePackage.QUANTIFIED_EXPRESSION: { | ||
188 | QuantifiedExpression quantifiedExpression = (QuantifiedExpression)theEObject; | ||
189 | T result = caseQuantifiedExpression(quantifiedExpression); | ||
190 | if (result == null) result = caseExpression(quantifiedExpression); | ||
191 | if (result == null) result = caseStatement(quantifiedExpression); | ||
192 | if (result == null) result = defaultCase(theEObject); | ||
193 | return result; | ||
194 | } | ||
195 | case SolverLanguagePackage.AGGREGATION: { | ||
196 | Aggregation aggregation = (Aggregation)theEObject; | ||
197 | T result = caseAggregation(aggregation); | ||
198 | if (result == null) result = caseExpression(aggregation); | ||
199 | if (result == null) result = caseStatement(aggregation); | ||
200 | if (result == null) result = defaultCase(theEObject); | ||
201 | return result; | ||
202 | } | ||
203 | case SolverLanguagePackage.CALL: { | ||
204 | Call call = (Call)theEObject; | ||
205 | T result = caseCall(call); | ||
206 | if (result == null) result = caseExpression(call); | ||
207 | if (result == null) result = caseStatement(call); | ||
208 | if (result == null) result = defaultCase(theEObject); | ||
209 | return result; | ||
210 | } | ||
211 | case SolverLanguagePackage.ARGUMENT_LIST: { | ||
212 | ArgumentList argumentList = (ArgumentList)theEObject; | ||
213 | T result = caseArgumentList(argumentList); | ||
214 | if (result == null) result = defaultCase(theEObject); | ||
215 | return result; | ||
216 | } | ||
217 | case SolverLanguagePackage.ARGUMENT: { | ||
218 | Argument argument = (Argument)theEObject; | ||
219 | T result = caseArgument(argument); | ||
220 | if (result == null) result = defaultCase(theEObject); | ||
221 | return result; | ||
222 | } | ||
223 | case SolverLanguagePackage.EXPRESSION_ARGUMENT: { | ||
224 | ExpressionArgument expressionArgument = (ExpressionArgument)theEObject; | ||
225 | T result = caseExpressionArgument(expressionArgument); | ||
226 | if (result == null) result = caseArgument(expressionArgument); | ||
227 | if (result == null) result = defaultCase(theEObject); | ||
228 | return result; | ||
229 | } | ||
230 | case SolverLanguagePackage.STAR_ARGUMENT: { | ||
231 | StarArgument starArgument = (StarArgument)theEObject; | ||
232 | T result = caseStarArgument(starArgument); | ||
233 | if (result == null) result = caseArgument(starArgument); | ||
234 | if (result == null) result = defaultCase(theEObject); | ||
235 | return result; | ||
236 | } | ||
237 | case SolverLanguagePackage.TYPED_ARGUMENT: { | ||
238 | TypedArgument typedArgument = (TypedArgument)theEObject; | ||
239 | T result = caseTypedArgument(typedArgument); | ||
240 | if (result == null) result = caseArgument(typedArgument); | ||
241 | if (result == null) result = defaultCase(theEObject); | ||
242 | return result; | ||
243 | } | ||
244 | case SolverLanguagePackage.TYPED_STAR_ARGUMENT: { | ||
245 | TypedStarArgument typedStarArgument = (TypedStarArgument)theEObject; | ||
246 | T result = caseTypedStarArgument(typedStarArgument); | ||
247 | if (result == null) result = caseArgument(typedStarArgument); | ||
248 | if (result == null) result = defaultCase(theEObject); | ||
249 | return result; | ||
250 | } | ||
251 | case SolverLanguagePackage.REFERENCE: { | ||
252 | Reference reference = (Reference)theEObject; | ||
253 | T result = caseReference(reference); | ||
254 | if (result == null) result = caseExpression(reference); | ||
255 | if (result == null) result = caseStatement(reference); | ||
256 | if (result == null) result = defaultCase(theEObject); | ||
257 | return result; | ||
258 | } | ||
259 | case SolverLanguagePackage.INTERVAL: { | ||
260 | Interval interval = (Interval)theEObject; | ||
261 | T result = caseInterval(interval); | ||
262 | if (result == null) result = caseExpression(interval); | ||
263 | if (result == null) result = caseStatement(interval); | ||
264 | if (result == null) result = defaultCase(theEObject); | ||
265 | return result; | ||
266 | } | ||
267 | case SolverLanguagePackage.LITERAL: { | ||
268 | Literal literal = (Literal)theEObject; | ||
269 | T result = caseLiteral(literal); | ||
270 | if (result == null) result = caseExpression(literal); | ||
271 | if (result == null) result = caseStatement(literal); | ||
272 | if (result == null) result = defaultCase(theEObject); | ||
273 | return result; | ||
274 | } | ||
275 | case SolverLanguagePackage.LOGIC_LITERAL: { | ||
276 | LogicLiteral logicLiteral = (LogicLiteral)theEObject; | ||
277 | T result = caseLogicLiteral(logicLiteral); | ||
278 | if (result == null) result = caseLiteral(logicLiteral); | ||
279 | if (result == null) result = caseExpression(logicLiteral); | ||
280 | if (result == null) result = caseStatement(logicLiteral); | ||
281 | if (result == null) result = defaultCase(theEObject); | ||
282 | return result; | ||
283 | } | ||
284 | case SolverLanguagePackage.NUMERIC_LITERAL: { | ||
285 | NumericLiteral numericLiteral = (NumericLiteral)theEObject; | ||
286 | T result = caseNumericLiteral(numericLiteral); | ||
287 | if (result == null) result = caseLiteral(numericLiteral); | ||
288 | if (result == null) result = caseExpression(numericLiteral); | ||
289 | if (result == null) result = caseStatement(numericLiteral); | ||
290 | if (result == null) result = defaultCase(theEObject); | ||
291 | return result; | ||
292 | } | ||
293 | case SolverLanguagePackage.INFINITY_LITERAL: { | ||
294 | InfinityLiteral infinityLiteral = (InfinityLiteral)theEObject; | ||
295 | T result = caseInfinityLiteral(infinityLiteral); | ||
296 | if (result == null) result = caseLiteral(infinityLiteral); | ||
297 | if (result == null) result = caseExpression(infinityLiteral); | ||
298 | if (result == null) result = caseStatement(infinityLiteral); | ||
299 | if (result == null) result = defaultCase(theEObject); | ||
300 | return result; | ||
301 | } | ||
302 | case SolverLanguagePackage.EMPTY_INTERVAL_LITERAL: { | ||
303 | EmptyIntervalLiteral emptyIntervalLiteral = (EmptyIntervalLiteral)theEObject; | ||
304 | T result = caseEmptyIntervalLiteral(emptyIntervalLiteral); | ||
305 | if (result == null) result = caseLiteral(emptyIntervalLiteral); | ||
306 | if (result == null) result = caseExpression(emptyIntervalLiteral); | ||
307 | if (result == null) result = caseStatement(emptyIntervalLiteral); | ||
308 | if (result == null) result = defaultCase(theEObject); | ||
309 | return result; | ||
310 | } | ||
311 | case SolverLanguagePackage.STRING_LITERAL: { | ||
312 | StringLiteral stringLiteral = (StringLiteral)theEObject; | ||
313 | T result = caseStringLiteral(stringLiteral); | ||
314 | if (result == null) result = caseLiteral(stringLiteral); | ||
315 | if (result == null) result = caseExpression(stringLiteral); | ||
316 | if (result == null) result = caseStatement(stringLiteral); | ||
317 | if (result == null) result = defaultCase(theEObject); | ||
318 | return result; | ||
319 | } | ||
320 | case SolverLanguagePackage.CLASS_DEFINITION: { | ||
321 | ClassDefinition classDefinition = (ClassDefinition)theEObject; | ||
322 | T result = caseClassDefinition(classDefinition); | ||
323 | if (result == null) result = caseStatement(classDefinition); | ||
324 | if (result == null) result = defaultCase(theEObject); | ||
325 | return result; | ||
326 | } | ||
327 | case SolverLanguagePackage.MEMBER_DEFINITION: { | ||
328 | MemberDefinition memberDefinition = (MemberDefinition)theEObject; | ||
329 | T result = caseMemberDefinition(memberDefinition); | ||
330 | if (result == null) result = defaultCase(theEObject); | ||
331 | return result; | ||
332 | } | ||
333 | case SolverLanguagePackage.MULTIPLICITY: { | ||
334 | Multiplicity multiplicity = (Multiplicity)theEObject; | ||
335 | T result = caseMultiplicity(multiplicity); | ||
336 | if (result == null) result = defaultCase(theEObject); | ||
337 | return result; | ||
338 | } | ||
339 | case SolverLanguagePackage.MANY_MULTIPLICITY: { | ||
340 | ManyMultiplicity manyMultiplicity = (ManyMultiplicity)theEObject; | ||
341 | T result = caseManyMultiplicity(manyMultiplicity); | ||
342 | if (result == null) result = caseMultiplicity(manyMultiplicity); | ||
343 | if (result == null) result = defaultCase(theEObject); | ||
344 | return result; | ||
345 | } | ||
346 | case SolverLanguagePackage.EXACT_MULTIPLICITY: { | ||
347 | ExactMultiplicity exactMultiplicity = (ExactMultiplicity)theEObject; | ||
348 | T result = caseExactMultiplicity(exactMultiplicity); | ||
349 | if (result == null) result = caseMultiplicity(exactMultiplicity); | ||
350 | if (result == null) result = defaultCase(theEObject); | ||
351 | return result; | ||
352 | } | ||
353 | case SolverLanguagePackage.BOUNDED_MULTIPLICITY: { | ||
354 | BoundedMultiplicity boundedMultiplicity = (BoundedMultiplicity)theEObject; | ||
355 | T result = caseBoundedMultiplicity(boundedMultiplicity); | ||
356 | if (result == null) result = caseMultiplicity(boundedMultiplicity); | ||
357 | if (result == null) result = defaultCase(theEObject); | ||
358 | return result; | ||
359 | } | ||
360 | case SolverLanguagePackage.SCOPE_DEFINITION: { | ||
361 | ScopeDefinition scopeDefinition = (ScopeDefinition)theEObject; | ||
362 | T result = caseScopeDefinition(scopeDefinition); | ||
363 | if (result == null) result = caseStatement(scopeDefinition); | ||
364 | if (result == null) result = defaultCase(theEObject); | ||
365 | return result; | ||
366 | } | ||
367 | case SolverLanguagePackage.EXACT_SCOPE_DEFINITION: { | ||
368 | ExactScopeDefinition exactScopeDefinition = (ExactScopeDefinition)theEObject; | ||
369 | T result = caseExactScopeDefinition(exactScopeDefinition); | ||
370 | if (result == null) result = caseScopeDefinition(exactScopeDefinition); | ||
371 | if (result == null) result = caseStatement(exactScopeDefinition); | ||
372 | if (result == null) result = defaultCase(theEObject); | ||
373 | return result; | ||
374 | } | ||
375 | case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION: { | ||
376 | BoundedScopeDefinition boundedScopeDefinition = (BoundedScopeDefinition)theEObject; | ||
377 | T result = caseBoundedScopeDefinition(boundedScopeDefinition); | ||
378 | if (result == null) result = caseScopeDefinition(boundedScopeDefinition); | ||
379 | if (result == null) result = caseStatement(boundedScopeDefinition); | ||
380 | if (result == null) result = defaultCase(theEObject); | ||
381 | return result; | ||
382 | } | ||
383 | case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION: { | ||
384 | LowerBoundedScopeDefinition lowerBoundedScopeDefinition = (LowerBoundedScopeDefinition)theEObject; | ||
385 | T result = caseLowerBoundedScopeDefinition(lowerBoundedScopeDefinition); | ||
386 | if (result == null) result = caseScopeDefinition(lowerBoundedScopeDefinition); | ||
387 | if (result == null) result = caseStatement(lowerBoundedScopeDefinition); | ||
388 | if (result == null) result = defaultCase(theEObject); | ||
389 | return result; | ||
390 | } | ||
391 | case SolverLanguagePackage.OBJECTIVE_DEFINITION: { | ||
392 | ObjectiveDefinition objectiveDefinition = (ObjectiveDefinition)theEObject; | ||
393 | T result = caseObjectiveDefinition(objectiveDefinition); | ||
394 | if (result == null) result = caseStatement(objectiveDefinition); | ||
395 | if (result == null) result = defaultCase(theEObject); | ||
396 | return result; | ||
397 | } | ||
398 | case SolverLanguagePackage.INTERPRETATION: { | ||
399 | Interpretation interpretation = (Interpretation)theEObject; | ||
400 | T result = caseInterpretation(interpretation); | ||
401 | if (result == null) result = caseStatement(interpretation); | ||
402 | if (result == null) result = defaultCase(theEObject); | ||
403 | return result; | ||
404 | } | ||
405 | case SolverLanguagePackage.VARIABLE: { | ||
406 | Variable variable = (Variable)theEObject; | ||
407 | T result = caseVariable(variable); | ||
408 | if (result == null) result = caseNamedElement(variable); | ||
409 | if (result == null) result = defaultCase(theEObject); | ||
410 | return result; | ||
411 | } | ||
412 | case SolverLanguagePackage.DISJUNCTION: { | ||
413 | Disjunction disjunction = (Disjunction)theEObject; | ||
414 | T result = caseDisjunction(disjunction); | ||
415 | if (result == null) result = caseExpression(disjunction); | ||
416 | if (result == null) result = caseStatement(disjunction); | ||
417 | if (result == null) result = defaultCase(theEObject); | ||
418 | return result; | ||
419 | } | ||
420 | case SolverLanguagePackage.SWITCH: { | ||
421 | org.eclipse.viatra.solver.language.solverLanguage.Switch switch_ = (org.eclipse.viatra.solver.language.solverLanguage.Switch)theEObject; | ||
422 | T result = caseSwitch(switch_); | ||
423 | if (result == null) result = caseExpression(switch_); | ||
424 | if (result == null) result = caseStatement(switch_); | ||
425 | if (result == null) result = defaultCase(theEObject); | ||
426 | return result; | ||
427 | } | ||
428 | case SolverLanguagePackage.CONJUNCTION: { | ||
429 | Conjunction conjunction = (Conjunction)theEObject; | ||
430 | T result = caseConjunction(conjunction); | ||
431 | if (result == null) result = caseExpression(conjunction); | ||
432 | if (result == null) result = caseStatement(conjunction); | ||
433 | if (result == null) result = defaultCase(theEObject); | ||
434 | return result; | ||
435 | } | ||
436 | case SolverLanguagePackage.COMPARISON: { | ||
437 | Comparison comparison = (Comparison)theEObject; | ||
438 | T result = caseComparison(comparison); | ||
439 | if (result == null) result = caseExpression(comparison); | ||
440 | if (result == null) result = caseStatement(comparison); | ||
441 | if (result == null) result = defaultCase(theEObject); | ||
442 | return result; | ||
443 | } | ||
444 | case SolverLanguagePackage.BINARY_EXPRESSION: { | ||
445 | BinaryExpression binaryExpression = (BinaryExpression)theEObject; | ||
446 | T result = caseBinaryExpression(binaryExpression); | ||
447 | if (result == null) result = caseExpression(binaryExpression); | ||
448 | if (result == null) result = caseStatement(binaryExpression); | ||
449 | if (result == null) result = defaultCase(theEObject); | ||
450 | return result; | ||
451 | } | ||
452 | case SolverLanguagePackage.CAST_EXPRESSION: { | ||
453 | CastExpression castExpression = (CastExpression)theEObject; | ||
454 | T result = caseCastExpression(castExpression); | ||
455 | if (result == null) result = caseExpression(castExpression); | ||
456 | if (result == null) result = caseStatement(castExpression); | ||
457 | if (result == null) result = defaultCase(theEObject); | ||
458 | return result; | ||
459 | } | ||
460 | case SolverLanguagePackage.UNARY_EXPRESSION: { | ||
461 | UnaryExpression unaryExpression = (UnaryExpression)theEObject; | ||
462 | T result = caseUnaryExpression(unaryExpression); | ||
463 | if (result == null) result = caseExpression(unaryExpression); | ||
464 | if (result == null) result = caseStatement(unaryExpression); | ||
465 | if (result == null) result = defaultCase(theEObject); | ||
466 | return result; | ||
467 | } | ||
468 | case SolverLanguagePackage.NODE: { | ||
469 | Node node = (Node)theEObject; | ||
470 | T result = caseNode(node); | ||
471 | if (result == null) result = caseNamedElement(node); | ||
472 | if (result == null) result = defaultCase(theEObject); | ||
473 | return result; | ||
474 | } | ||
475 | case SolverLanguagePackage.FUNCTOR: { | ||
476 | Functor functor = (Functor)theEObject; | ||
477 | T result = caseFunctor(functor); | ||
478 | if (result == null) result = caseNamedElement(functor); | ||
479 | if (result == null) result = defaultCase(theEObject); | ||
480 | return result; | ||
481 | } | ||
482 | case SolverLanguagePackage.PREDICATE: { | ||
483 | Predicate predicate = (Predicate)theEObject; | ||
484 | T result = casePredicate(predicate); | ||
485 | if (result == null) result = caseFunctor(predicate); | ||
486 | if (result == null) result = caseNamedElement(predicate); | ||
487 | if (result == null) result = defaultCase(theEObject); | ||
488 | return result; | ||
489 | } | ||
490 | case SolverLanguagePackage.METRIC: { | ||
491 | Metric metric = (Metric)theEObject; | ||
492 | T result = caseMetric(metric); | ||
493 | if (result == null) result = caseFunctor(metric); | ||
494 | if (result == null) result = caseNamedElement(metric); | ||
495 | if (result == null) result = defaultCase(theEObject); | ||
496 | return result; | ||
497 | } | ||
498 | default: return defaultCase(theEObject); | ||
499 | } | ||
500 | } | ||
501 | |||
502 | /** | ||
503 | * Returns the result of interpreting the object as an instance of '<em>Problem</em>'. | ||
504 | * <!-- begin-user-doc --> | ||
505 | * This implementation returns null; | ||
506 | * returning a non-null result will terminate the switch. | ||
507 | * <!-- end-user-doc --> | ||
508 | * @param object the target of the switch. | ||
509 | * @return the result of interpreting the object as an instance of '<em>Problem</em>'. | ||
510 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
511 | * @generated | ||
512 | */ | ||
513 | public T caseProblem(Problem object) { | ||
514 | return null; | ||
515 | } | ||
516 | |||
517 | /** | ||
518 | * Returns the result of interpreting the object as an instance of '<em>Statement</em>'. | ||
519 | * <!-- begin-user-doc --> | ||
520 | * This implementation returns null; | ||
521 | * returning a non-null result will terminate the switch. | ||
522 | * <!-- end-user-doc --> | ||
523 | * @param object the target of the switch. | ||
524 | * @return the result of interpreting the object as an instance of '<em>Statement</em>'. | ||
525 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
526 | * @generated | ||
527 | */ | ||
528 | public T caseStatement(Statement object) { | ||
529 | return null; | ||
530 | } | ||
531 | |||
532 | /** | ||
533 | * Returns the result of interpreting the object as an instance of '<em>Predicate Definition</em>'. | ||
534 | * <!-- begin-user-doc --> | ||
535 | * This implementation returns null; | ||
536 | * returning a non-null result will terminate the switch. | ||
537 | * <!-- end-user-doc --> | ||
538 | * @param object the target of the switch. | ||
539 | * @return the result of interpreting the object as an instance of '<em>Predicate Definition</em>'. | ||
540 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
541 | * @generated | ||
542 | */ | ||
543 | public T casePredicateDefinition(PredicateDefinition object) { | ||
544 | return null; | ||
545 | } | ||
546 | |||
547 | /** | ||
548 | * Returns the result of interpreting the object as an instance of '<em>Unnamed Error Prediate Definition</em>'. | ||
549 | * <!-- begin-user-doc --> | ||
550 | * This implementation returns null; | ||
551 | * returning a non-null result will terminate the switch. | ||
552 | * <!-- end-user-doc --> | ||
553 | * @param object the target of the switch. | ||
554 | * @return the result of interpreting the object as an instance of '<em>Unnamed Error Prediate Definition</em>'. | ||
555 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
556 | * @generated | ||
557 | */ | ||
558 | public T caseUnnamedErrorPrediateDefinition(UnnamedErrorPrediateDefinition object) { | ||
559 | return null; | ||
560 | } | ||
561 | |||
562 | /** | ||
563 | * Returns the result of interpreting the object as an instance of '<em>Default Definition</em>'. | ||
564 | * <!-- begin-user-doc --> | ||
565 | * This implementation returns null; | ||
566 | * returning a non-null result will terminate the switch. | ||
567 | * <!-- end-user-doc --> | ||
568 | * @param object the target of the switch. | ||
569 | * @return the result of interpreting the object as an instance of '<em>Default Definition</em>'. | ||
570 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
571 | * @generated | ||
572 | */ | ||
573 | public T caseDefaultDefinition(DefaultDefinition object) { | ||
574 | return null; | ||
575 | } | ||
576 | |||
577 | /** | ||
578 | * Returns the result of interpreting the object as an instance of '<em>Metric Definition</em>'. | ||
579 | * <!-- begin-user-doc --> | ||
580 | * This implementation returns null; | ||
581 | * returning a non-null result will terminate the switch. | ||
582 | * <!-- end-user-doc --> | ||
583 | * @param object the target of the switch. | ||
584 | * @return the result of interpreting the object as an instance of '<em>Metric Definition</em>'. | ||
585 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
586 | * @generated | ||
587 | */ | ||
588 | public T caseMetricDefinition(MetricDefinition object) { | ||
589 | return null; | ||
590 | } | ||
591 | |||
592 | /** | ||
593 | * Returns the result of interpreting the object as an instance of '<em>Extern Predicate Definition</em>'. | ||
594 | * <!-- begin-user-doc --> | ||
595 | * This implementation returns null; | ||
596 | * returning a non-null result will terminate the switch. | ||
597 | * <!-- end-user-doc --> | ||
598 | * @param object the target of the switch. | ||
599 | * @return the result of interpreting the object as an instance of '<em>Extern Predicate Definition</em>'. | ||
600 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
601 | * @generated | ||
602 | */ | ||
603 | public T caseExternPredicateDefinition(ExternPredicateDefinition object) { | ||
604 | return null; | ||
605 | } | ||
606 | |||
607 | /** | ||
608 | * Returns the result of interpreting the object as an instance of '<em>Extern Metric Definition</em>'. | ||
609 | * <!-- begin-user-doc --> | ||
610 | * This implementation returns null; | ||
611 | * returning a non-null result will terminate the switch. | ||
612 | * <!-- end-user-doc --> | ||
613 | * @param object the target of the switch. | ||
614 | * @return the result of interpreting the object as an instance of '<em>Extern Metric Definition</em>'. | ||
615 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
616 | * @generated | ||
617 | */ | ||
618 | public T caseExternMetricDefinition(ExternMetricDefinition object) { | ||
619 | return null; | ||
620 | } | ||
621 | |||
622 | /** | ||
623 | * Returns the result of interpreting the object as an instance of '<em>Extern Aggregator Definition</em>'. | ||
624 | * <!-- begin-user-doc --> | ||
625 | * This implementation returns null; | ||
626 | * returning a non-null result will terminate the switch. | ||
627 | * <!-- end-user-doc --> | ||
628 | * @param object the target of the switch. | ||
629 | * @return the result of interpreting the object as an instance of '<em>Extern Aggregator Definition</em>'. | ||
630 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
631 | * @generated | ||
632 | */ | ||
633 | public T caseExternAggregatorDefinition(ExternAggregatorDefinition object) { | ||
634 | return null; | ||
635 | } | ||
636 | |||
637 | /** | ||
638 | * Returns the result of interpreting the object as an instance of '<em>Extern Datatype Definition</em>'. | ||
639 | * <!-- begin-user-doc --> | ||
640 | * This implementation returns null; | ||
641 | * returning a non-null result will terminate the switch. | ||
642 | * <!-- end-user-doc --> | ||
643 | * @param object the target of the switch. | ||
644 | * @return the result of interpreting the object as an instance of '<em>Extern Datatype Definition</em>'. | ||
645 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
646 | * @generated | ||
647 | */ | ||
648 | public T caseExternDatatypeDefinition(ExternDatatypeDefinition object) { | ||
649 | return null; | ||
650 | } | ||
651 | |||
652 | /** | ||
653 | * Returns the result of interpreting the object as an instance of '<em>Named Element</em>'. | ||
654 | * <!-- begin-user-doc --> | ||
655 | * This implementation returns null; | ||
656 | * returning a non-null result will terminate the switch. | ||
657 | * <!-- end-user-doc --> | ||
658 | * @param object the target of the switch. | ||
659 | * @return the result of interpreting the object as an instance of '<em>Named Element</em>'. | ||
660 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
661 | * @generated | ||
662 | */ | ||
663 | public T caseNamedElement(NamedElement object) { | ||
664 | return null; | ||
665 | } | ||
666 | |||
667 | /** | ||
668 | * Returns the result of interpreting the object as an instance of '<em>Expression</em>'. | ||
669 | * <!-- begin-user-doc --> | ||
670 | * This implementation returns null; | ||
671 | * returning a non-null result will terminate the switch. | ||
672 | * <!-- end-user-doc --> | ||
673 | * @param object the target of the switch. | ||
674 | * @return the result of interpreting the object as an instance of '<em>Expression</em>'. | ||
675 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
676 | * @generated | ||
677 | */ | ||
678 | public T caseExpression(Expression object) { | ||
679 | return null; | ||
680 | } | ||
681 | |||
682 | /** | ||
683 | * Returns the result of interpreting the object as an instance of '<em>If Else</em>'. | ||
684 | * <!-- begin-user-doc --> | ||
685 | * This implementation returns null; | ||
686 | * returning a non-null result will terminate the switch. | ||
687 | * <!-- end-user-doc --> | ||
688 | * @param object the target of the switch. | ||
689 | * @return the result of interpreting the object as an instance of '<em>If Else</em>'. | ||
690 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
691 | * @generated | ||
692 | */ | ||
693 | public T caseIfElse(IfElse object) { | ||
694 | return null; | ||
695 | } | ||
696 | |||
697 | /** | ||
698 | * Returns the result of interpreting the object as an instance of '<em>Let</em>'. | ||
699 | * <!-- begin-user-doc --> | ||
700 | * This implementation returns null; | ||
701 | * returning a non-null result will terminate the switch. | ||
702 | * <!-- end-user-doc --> | ||
703 | * @param object the target of the switch. | ||
704 | * @return the result of interpreting the object as an instance of '<em>Let</em>'. | ||
705 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
706 | * @generated | ||
707 | */ | ||
708 | public T caseLet(Let object) { | ||
709 | return null; | ||
710 | } | ||
711 | |||
712 | /** | ||
713 | * Returns the result of interpreting the object as an instance of '<em>Let Binding</em>'. | ||
714 | * <!-- begin-user-doc --> | ||
715 | * This implementation returns null; | ||
716 | * returning a non-null result will terminate the switch. | ||
717 | * <!-- end-user-doc --> | ||
718 | * @param object the target of the switch. | ||
719 | * @return the result of interpreting the object as an instance of '<em>Let Binding</em>'. | ||
720 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
721 | * @generated | ||
722 | */ | ||
723 | public T caseLetBinding(LetBinding object) { | ||
724 | return null; | ||
725 | } | ||
726 | |||
727 | /** | ||
728 | * Returns the result of interpreting the object as an instance of '<em>Case</em>'. | ||
729 | * <!-- begin-user-doc --> | ||
730 | * This implementation returns null; | ||
731 | * returning a non-null result will terminate the switch. | ||
732 | * <!-- end-user-doc --> | ||
733 | * @param object the target of the switch. | ||
734 | * @return the result of interpreting the object as an instance of '<em>Case</em>'. | ||
735 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
736 | * @generated | ||
737 | */ | ||
738 | public T caseCase(Case object) { | ||
739 | return null; | ||
740 | } | ||
741 | |||
742 | /** | ||
743 | * Returns the result of interpreting the object as an instance of '<em>Local Variables</em>'. | ||
744 | * <!-- begin-user-doc --> | ||
745 | * This implementation returns null; | ||
746 | * returning a non-null result will terminate the switch. | ||
747 | * <!-- end-user-doc --> | ||
748 | * @param object the target of the switch. | ||
749 | * @return the result of interpreting the object as an instance of '<em>Local Variables</em>'. | ||
750 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
751 | * @generated | ||
752 | */ | ||
753 | public T caseLocalVariables(LocalVariables object) { | ||
754 | return null; | ||
755 | } | ||
756 | |||
757 | /** | ||
758 | * Returns the result of interpreting the object as an instance of '<em>Quantified Expression</em>'. | ||
759 | * <!-- begin-user-doc --> | ||
760 | * This implementation returns null; | ||
761 | * returning a non-null result will terminate the switch. | ||
762 | * <!-- end-user-doc --> | ||
763 | * @param object the target of the switch. | ||
764 | * @return the result of interpreting the object as an instance of '<em>Quantified Expression</em>'. | ||
765 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
766 | * @generated | ||
767 | */ | ||
768 | public T caseQuantifiedExpression(QuantifiedExpression object) { | ||
769 | return null; | ||
770 | } | ||
771 | |||
772 | /** | ||
773 | * Returns the result of interpreting the object as an instance of '<em>Aggregation</em>'. | ||
774 | * <!-- begin-user-doc --> | ||
775 | * This implementation returns null; | ||
776 | * returning a non-null result will terminate the switch. | ||
777 | * <!-- end-user-doc --> | ||
778 | * @param object the target of the switch. | ||
779 | * @return the result of interpreting the object as an instance of '<em>Aggregation</em>'. | ||
780 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
781 | * @generated | ||
782 | */ | ||
783 | public T caseAggregation(Aggregation object) { | ||
784 | return null; | ||
785 | } | ||
786 | |||
787 | /** | ||
788 | * Returns the result of interpreting the object as an instance of '<em>Call</em>'. | ||
789 | * <!-- begin-user-doc --> | ||
790 | * This implementation returns null; | ||
791 | * returning a non-null result will terminate the switch. | ||
792 | * <!-- end-user-doc --> | ||
793 | * @param object the target of the switch. | ||
794 | * @return the result of interpreting the object as an instance of '<em>Call</em>'. | ||
795 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
796 | * @generated | ||
797 | */ | ||
798 | public T caseCall(Call object) { | ||
799 | return null; | ||
800 | } | ||
801 | |||
802 | /** | ||
803 | * Returns the result of interpreting the object as an instance of '<em>Argument List</em>'. | ||
804 | * <!-- begin-user-doc --> | ||
805 | * This implementation returns null; | ||
806 | * returning a non-null result will terminate the switch. | ||
807 | * <!-- end-user-doc --> | ||
808 | * @param object the target of the switch. | ||
809 | * @return the result of interpreting the object as an instance of '<em>Argument List</em>'. | ||
810 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
811 | * @generated | ||
812 | */ | ||
813 | public T caseArgumentList(ArgumentList object) { | ||
814 | return null; | ||
815 | } | ||
816 | |||
817 | /** | ||
818 | * Returns the result of interpreting the object as an instance of '<em>Argument</em>'. | ||
819 | * <!-- begin-user-doc --> | ||
820 | * This implementation returns null; | ||
821 | * returning a non-null result will terminate the switch. | ||
822 | * <!-- end-user-doc --> | ||
823 | * @param object the target of the switch. | ||
824 | * @return the result of interpreting the object as an instance of '<em>Argument</em>'. | ||
825 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
826 | * @generated | ||
827 | */ | ||
828 | public T caseArgument(Argument object) { | ||
829 | return null; | ||
830 | } | ||
831 | |||
832 | /** | ||
833 | * Returns the result of interpreting the object as an instance of '<em>Expression Argument</em>'. | ||
834 | * <!-- begin-user-doc --> | ||
835 | * This implementation returns null; | ||
836 | * returning a non-null result will terminate the switch. | ||
837 | * <!-- end-user-doc --> | ||
838 | * @param object the target of the switch. | ||
839 | * @return the result of interpreting the object as an instance of '<em>Expression Argument</em>'. | ||
840 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
841 | * @generated | ||
842 | */ | ||
843 | public T caseExpressionArgument(ExpressionArgument object) { | ||
844 | return null; | ||
845 | } | ||
846 | |||
847 | /** | ||
848 | * Returns the result of interpreting the object as an instance of '<em>Star Argument</em>'. | ||
849 | * <!-- begin-user-doc --> | ||
850 | * This implementation returns null; | ||
851 | * returning a non-null result will terminate the switch. | ||
852 | * <!-- end-user-doc --> | ||
853 | * @param object the target of the switch. | ||
854 | * @return the result of interpreting the object as an instance of '<em>Star Argument</em>'. | ||
855 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
856 | * @generated | ||
857 | */ | ||
858 | public T caseStarArgument(StarArgument object) { | ||
859 | return null; | ||
860 | } | ||
861 | |||
862 | /** | ||
863 | * Returns the result of interpreting the object as an instance of '<em>Typed Argument</em>'. | ||
864 | * <!-- begin-user-doc --> | ||
865 | * This implementation returns null; | ||
866 | * returning a non-null result will terminate the switch. | ||
867 | * <!-- end-user-doc --> | ||
868 | * @param object the target of the switch. | ||
869 | * @return the result of interpreting the object as an instance of '<em>Typed Argument</em>'. | ||
870 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
871 | * @generated | ||
872 | */ | ||
873 | public T caseTypedArgument(TypedArgument object) { | ||
874 | return null; | ||
875 | } | ||
876 | |||
877 | /** | ||
878 | * Returns the result of interpreting the object as an instance of '<em>Typed Star Argument</em>'. | ||
879 | * <!-- begin-user-doc --> | ||
880 | * This implementation returns null; | ||
881 | * returning a non-null result will terminate the switch. | ||
882 | * <!-- end-user-doc --> | ||
883 | * @param object the target of the switch. | ||
884 | * @return the result of interpreting the object as an instance of '<em>Typed Star Argument</em>'. | ||
885 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
886 | * @generated | ||
887 | */ | ||
888 | public T caseTypedStarArgument(TypedStarArgument object) { | ||
889 | return null; | ||
890 | } | ||
891 | |||
892 | /** | ||
893 | * Returns the result of interpreting the object as an instance of '<em>Reference</em>'. | ||
894 | * <!-- begin-user-doc --> | ||
895 | * This implementation returns null; | ||
896 | * returning a non-null result will terminate the switch. | ||
897 | * <!-- end-user-doc --> | ||
898 | * @param object the target of the switch. | ||
899 | * @return the result of interpreting the object as an instance of '<em>Reference</em>'. | ||
900 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
901 | * @generated | ||
902 | */ | ||
903 | public T caseReference(Reference object) { | ||
904 | return null; | ||
905 | } | ||
906 | |||
907 | /** | ||
908 | * Returns the result of interpreting the object as an instance of '<em>Interval</em>'. | ||
909 | * <!-- begin-user-doc --> | ||
910 | * This implementation returns null; | ||
911 | * returning a non-null result will terminate the switch. | ||
912 | * <!-- end-user-doc --> | ||
913 | * @param object the target of the switch. | ||
914 | * @return the result of interpreting the object as an instance of '<em>Interval</em>'. | ||
915 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
916 | * @generated | ||
917 | */ | ||
918 | public T caseInterval(Interval object) { | ||
919 | return null; | ||
920 | } | ||
921 | |||
922 | /** | ||
923 | * Returns the result of interpreting the object as an instance of '<em>Literal</em>'. | ||
924 | * <!-- begin-user-doc --> | ||
925 | * This implementation returns null; | ||
926 | * returning a non-null result will terminate the switch. | ||
927 | * <!-- end-user-doc --> | ||
928 | * @param object the target of the switch. | ||
929 | * @return the result of interpreting the object as an instance of '<em>Literal</em>'. | ||
930 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
931 | * @generated | ||
932 | */ | ||
933 | public T caseLiteral(Literal object) { | ||
934 | return null; | ||
935 | } | ||
936 | |||
937 | /** | ||
938 | * Returns the result of interpreting the object as an instance of '<em>Logic Literal</em>'. | ||
939 | * <!-- begin-user-doc --> | ||
940 | * This implementation returns null; | ||
941 | * returning a non-null result will terminate the switch. | ||
942 | * <!-- end-user-doc --> | ||
943 | * @param object the target of the switch. | ||
944 | * @return the result of interpreting the object as an instance of '<em>Logic Literal</em>'. | ||
945 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
946 | * @generated | ||
947 | */ | ||
948 | public T caseLogicLiteral(LogicLiteral object) { | ||
949 | return null; | ||
950 | } | ||
951 | |||
952 | /** | ||
953 | * Returns the result of interpreting the object as an instance of '<em>Numeric Literal</em>'. | ||
954 | * <!-- begin-user-doc --> | ||
955 | * This implementation returns null; | ||
956 | * returning a non-null result will terminate the switch. | ||
957 | * <!-- end-user-doc --> | ||
958 | * @param object the target of the switch. | ||
959 | * @return the result of interpreting the object as an instance of '<em>Numeric Literal</em>'. | ||
960 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
961 | * @generated | ||
962 | */ | ||
963 | public T caseNumericLiteral(NumericLiteral object) { | ||
964 | return null; | ||
965 | } | ||
966 | |||
967 | /** | ||
968 | * Returns the result of interpreting the object as an instance of '<em>Infinity Literal</em>'. | ||
969 | * <!-- begin-user-doc --> | ||
970 | * This implementation returns null; | ||
971 | * returning a non-null result will terminate the switch. | ||
972 | * <!-- end-user-doc --> | ||
973 | * @param object the target of the switch. | ||
974 | * @return the result of interpreting the object as an instance of '<em>Infinity Literal</em>'. | ||
975 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
976 | * @generated | ||
977 | */ | ||
978 | public T caseInfinityLiteral(InfinityLiteral object) { | ||
979 | return null; | ||
980 | } | ||
981 | |||
982 | /** | ||
983 | * Returns the result of interpreting the object as an instance of '<em>Empty Interval Literal</em>'. | ||
984 | * <!-- begin-user-doc --> | ||
985 | * This implementation returns null; | ||
986 | * returning a non-null result will terminate the switch. | ||
987 | * <!-- end-user-doc --> | ||
988 | * @param object the target of the switch. | ||
989 | * @return the result of interpreting the object as an instance of '<em>Empty Interval Literal</em>'. | ||
990 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
991 | * @generated | ||
992 | */ | ||
993 | public T caseEmptyIntervalLiteral(EmptyIntervalLiteral object) { | ||
994 | return null; | ||
995 | } | ||
996 | |||
997 | /** | ||
998 | * Returns the result of interpreting the object as an instance of '<em>String Literal</em>'. | ||
999 | * <!-- begin-user-doc --> | ||
1000 | * This implementation returns null; | ||
1001 | * returning a non-null result will terminate the switch. | ||
1002 | * <!-- end-user-doc --> | ||
1003 | * @param object the target of the switch. | ||
1004 | * @return the result of interpreting the object as an instance of '<em>String Literal</em>'. | ||
1005 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1006 | * @generated | ||
1007 | */ | ||
1008 | public T caseStringLiteral(StringLiteral object) { | ||
1009 | return null; | ||
1010 | } | ||
1011 | |||
1012 | /** | ||
1013 | * Returns the result of interpreting the object as an instance of '<em>Class Definition</em>'. | ||
1014 | * <!-- begin-user-doc --> | ||
1015 | * This implementation returns null; | ||
1016 | * returning a non-null result will terminate the switch. | ||
1017 | * <!-- end-user-doc --> | ||
1018 | * @param object the target of the switch. | ||
1019 | * @return the result of interpreting the object as an instance of '<em>Class Definition</em>'. | ||
1020 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1021 | * @generated | ||
1022 | */ | ||
1023 | public T caseClassDefinition(ClassDefinition object) { | ||
1024 | return null; | ||
1025 | } | ||
1026 | |||
1027 | /** | ||
1028 | * Returns the result of interpreting the object as an instance of '<em>Member Definition</em>'. | ||
1029 | * <!-- begin-user-doc --> | ||
1030 | * This implementation returns null; | ||
1031 | * returning a non-null result will terminate the switch. | ||
1032 | * <!-- end-user-doc --> | ||
1033 | * @param object the target of the switch. | ||
1034 | * @return the result of interpreting the object as an instance of '<em>Member Definition</em>'. | ||
1035 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1036 | * @generated | ||
1037 | */ | ||
1038 | public T caseMemberDefinition(MemberDefinition object) { | ||
1039 | return null; | ||
1040 | } | ||
1041 | |||
1042 | /** | ||
1043 | * Returns the result of interpreting the object as an instance of '<em>Multiplicity</em>'. | ||
1044 | * <!-- begin-user-doc --> | ||
1045 | * This implementation returns null; | ||
1046 | * returning a non-null result will terminate the switch. | ||
1047 | * <!-- end-user-doc --> | ||
1048 | * @param object the target of the switch. | ||
1049 | * @return the result of interpreting the object as an instance of '<em>Multiplicity</em>'. | ||
1050 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1051 | * @generated | ||
1052 | */ | ||
1053 | public T caseMultiplicity(Multiplicity object) { | ||
1054 | return null; | ||
1055 | } | ||
1056 | |||
1057 | /** | ||
1058 | * Returns the result of interpreting the object as an instance of '<em>Many Multiplicity</em>'. | ||
1059 | * <!-- begin-user-doc --> | ||
1060 | * This implementation returns null; | ||
1061 | * returning a non-null result will terminate the switch. | ||
1062 | * <!-- end-user-doc --> | ||
1063 | * @param object the target of the switch. | ||
1064 | * @return the result of interpreting the object as an instance of '<em>Many Multiplicity</em>'. | ||
1065 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1066 | * @generated | ||
1067 | */ | ||
1068 | public T caseManyMultiplicity(ManyMultiplicity object) { | ||
1069 | return null; | ||
1070 | } | ||
1071 | |||
1072 | /** | ||
1073 | * Returns the result of interpreting the object as an instance of '<em>Exact Multiplicity</em>'. | ||
1074 | * <!-- begin-user-doc --> | ||
1075 | * This implementation returns null; | ||
1076 | * returning a non-null result will terminate the switch. | ||
1077 | * <!-- end-user-doc --> | ||
1078 | * @param object the target of the switch. | ||
1079 | * @return the result of interpreting the object as an instance of '<em>Exact Multiplicity</em>'. | ||
1080 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1081 | * @generated | ||
1082 | */ | ||
1083 | public T caseExactMultiplicity(ExactMultiplicity object) { | ||
1084 | return null; | ||
1085 | } | ||
1086 | |||
1087 | /** | ||
1088 | * Returns the result of interpreting the object as an instance of '<em>Bounded Multiplicity</em>'. | ||
1089 | * <!-- begin-user-doc --> | ||
1090 | * This implementation returns null; | ||
1091 | * returning a non-null result will terminate the switch. | ||
1092 | * <!-- end-user-doc --> | ||
1093 | * @param object the target of the switch. | ||
1094 | * @return the result of interpreting the object as an instance of '<em>Bounded Multiplicity</em>'. | ||
1095 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1096 | * @generated | ||
1097 | */ | ||
1098 | public T caseBoundedMultiplicity(BoundedMultiplicity object) { | ||
1099 | return null; | ||
1100 | } | ||
1101 | |||
1102 | /** | ||
1103 | * Returns the result of interpreting the object as an instance of '<em>Scope Definition</em>'. | ||
1104 | * <!-- begin-user-doc --> | ||
1105 | * This implementation returns null; | ||
1106 | * returning a non-null result will terminate the switch. | ||
1107 | * <!-- end-user-doc --> | ||
1108 | * @param object the target of the switch. | ||
1109 | * @return the result of interpreting the object as an instance of '<em>Scope Definition</em>'. | ||
1110 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1111 | * @generated | ||
1112 | */ | ||
1113 | public T caseScopeDefinition(ScopeDefinition object) { | ||
1114 | return null; | ||
1115 | } | ||
1116 | |||
1117 | /** | ||
1118 | * Returns the result of interpreting the object as an instance of '<em>Exact Scope Definition</em>'. | ||
1119 | * <!-- begin-user-doc --> | ||
1120 | * This implementation returns null; | ||
1121 | * returning a non-null result will terminate the switch. | ||
1122 | * <!-- end-user-doc --> | ||
1123 | * @param object the target of the switch. | ||
1124 | * @return the result of interpreting the object as an instance of '<em>Exact Scope Definition</em>'. | ||
1125 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1126 | * @generated | ||
1127 | */ | ||
1128 | public T caseExactScopeDefinition(ExactScopeDefinition object) { | ||
1129 | return null; | ||
1130 | } | ||
1131 | |||
1132 | /** | ||
1133 | * Returns the result of interpreting the object as an instance of '<em>Bounded Scope Definition</em>'. | ||
1134 | * <!-- begin-user-doc --> | ||
1135 | * This implementation returns null; | ||
1136 | * returning a non-null result will terminate the switch. | ||
1137 | * <!-- end-user-doc --> | ||
1138 | * @param object the target of the switch. | ||
1139 | * @return the result of interpreting the object as an instance of '<em>Bounded Scope Definition</em>'. | ||
1140 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1141 | * @generated | ||
1142 | */ | ||
1143 | public T caseBoundedScopeDefinition(BoundedScopeDefinition object) { | ||
1144 | return null; | ||
1145 | } | ||
1146 | |||
1147 | /** | ||
1148 | * Returns the result of interpreting the object as an instance of '<em>Lower Bounded Scope Definition</em>'. | ||
1149 | * <!-- begin-user-doc --> | ||
1150 | * This implementation returns null; | ||
1151 | * returning a non-null result will terminate the switch. | ||
1152 | * <!-- end-user-doc --> | ||
1153 | * @param object the target of the switch. | ||
1154 | * @return the result of interpreting the object as an instance of '<em>Lower Bounded Scope Definition</em>'. | ||
1155 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1156 | * @generated | ||
1157 | */ | ||
1158 | public T caseLowerBoundedScopeDefinition(LowerBoundedScopeDefinition object) { | ||
1159 | return null; | ||
1160 | } | ||
1161 | |||
1162 | /** | ||
1163 | * Returns the result of interpreting the object as an instance of '<em>Objective Definition</em>'. | ||
1164 | * <!-- begin-user-doc --> | ||
1165 | * This implementation returns null; | ||
1166 | * returning a non-null result will terminate the switch. | ||
1167 | * <!-- end-user-doc --> | ||
1168 | * @param object the target of the switch. | ||
1169 | * @return the result of interpreting the object as an instance of '<em>Objective Definition</em>'. | ||
1170 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1171 | * @generated | ||
1172 | */ | ||
1173 | public T caseObjectiveDefinition(ObjectiveDefinition object) { | ||
1174 | return null; | ||
1175 | } | ||
1176 | |||
1177 | /** | ||
1178 | * Returns the result of interpreting the object as an instance of '<em>Interpretation</em>'. | ||
1179 | * <!-- begin-user-doc --> | ||
1180 | * This implementation returns null; | ||
1181 | * returning a non-null result will terminate the switch. | ||
1182 | * <!-- end-user-doc --> | ||
1183 | * @param object the target of the switch. | ||
1184 | * @return the result of interpreting the object as an instance of '<em>Interpretation</em>'. | ||
1185 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1186 | * @generated | ||
1187 | */ | ||
1188 | public T caseInterpretation(Interpretation object) { | ||
1189 | return null; | ||
1190 | } | ||
1191 | |||
1192 | /** | ||
1193 | * Returns the result of interpreting the object as an instance of '<em>Variable</em>'. | ||
1194 | * <!-- begin-user-doc --> | ||
1195 | * This implementation returns null; | ||
1196 | * returning a non-null result will terminate the switch. | ||
1197 | * <!-- end-user-doc --> | ||
1198 | * @param object the target of the switch. | ||
1199 | * @return the result of interpreting the object as an instance of '<em>Variable</em>'. | ||
1200 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1201 | * @generated | ||
1202 | */ | ||
1203 | public T caseVariable(Variable object) { | ||
1204 | return null; | ||
1205 | } | ||
1206 | |||
1207 | /** | ||
1208 | * Returns the result of interpreting the object as an instance of '<em>Disjunction</em>'. | ||
1209 | * <!-- begin-user-doc --> | ||
1210 | * This implementation returns null; | ||
1211 | * returning a non-null result will terminate the switch. | ||
1212 | * <!-- end-user-doc --> | ||
1213 | * @param object the target of the switch. | ||
1214 | * @return the result of interpreting the object as an instance of '<em>Disjunction</em>'. | ||
1215 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1216 | * @generated | ||
1217 | */ | ||
1218 | public T caseDisjunction(Disjunction object) { | ||
1219 | return null; | ||
1220 | } | ||
1221 | |||
1222 | /** | ||
1223 | * Returns the result of interpreting the object as an instance of '<em>Switch</em>'. | ||
1224 | * <!-- begin-user-doc --> | ||
1225 | * This implementation returns null; | ||
1226 | * returning a non-null result will terminate the switch. | ||
1227 | * <!-- end-user-doc --> | ||
1228 | * @param object the target of the switch. | ||
1229 | * @return the result of interpreting the object as an instance of '<em>Switch</em>'. | ||
1230 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1231 | * @generated | ||
1232 | */ | ||
1233 | public T caseSwitch(org.eclipse.viatra.solver.language.solverLanguage.Switch object) { | ||
1234 | return null; | ||
1235 | } | ||
1236 | |||
1237 | /** | ||
1238 | * Returns the result of interpreting the object as an instance of '<em>Conjunction</em>'. | ||
1239 | * <!-- begin-user-doc --> | ||
1240 | * This implementation returns null; | ||
1241 | * returning a non-null result will terminate the switch. | ||
1242 | * <!-- end-user-doc --> | ||
1243 | * @param object the target of the switch. | ||
1244 | * @return the result of interpreting the object as an instance of '<em>Conjunction</em>'. | ||
1245 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1246 | * @generated | ||
1247 | */ | ||
1248 | public T caseConjunction(Conjunction object) { | ||
1249 | return null; | ||
1250 | } | ||
1251 | |||
1252 | /** | ||
1253 | * Returns the result of interpreting the object as an instance of '<em>Comparison</em>'. | ||
1254 | * <!-- begin-user-doc --> | ||
1255 | * This implementation returns null; | ||
1256 | * returning a non-null result will terminate the switch. | ||
1257 | * <!-- end-user-doc --> | ||
1258 | * @param object the target of the switch. | ||
1259 | * @return the result of interpreting the object as an instance of '<em>Comparison</em>'. | ||
1260 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1261 | * @generated | ||
1262 | */ | ||
1263 | public T caseComparison(Comparison object) { | ||
1264 | return null; | ||
1265 | } | ||
1266 | |||
1267 | /** | ||
1268 | * Returns the result of interpreting the object as an instance of '<em>Binary Expression</em>'. | ||
1269 | * <!-- begin-user-doc --> | ||
1270 | * This implementation returns null; | ||
1271 | * returning a non-null result will terminate the switch. | ||
1272 | * <!-- end-user-doc --> | ||
1273 | * @param object the target of the switch. | ||
1274 | * @return the result of interpreting the object as an instance of '<em>Binary Expression</em>'. | ||
1275 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1276 | * @generated | ||
1277 | */ | ||
1278 | public T caseBinaryExpression(BinaryExpression object) { | ||
1279 | return null; | ||
1280 | } | ||
1281 | |||
1282 | /** | ||
1283 | * Returns the result of interpreting the object as an instance of '<em>Cast Expression</em>'. | ||
1284 | * <!-- begin-user-doc --> | ||
1285 | * This implementation returns null; | ||
1286 | * returning a non-null result will terminate the switch. | ||
1287 | * <!-- end-user-doc --> | ||
1288 | * @param object the target of the switch. | ||
1289 | * @return the result of interpreting the object as an instance of '<em>Cast Expression</em>'. | ||
1290 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1291 | * @generated | ||
1292 | */ | ||
1293 | public T caseCastExpression(CastExpression object) { | ||
1294 | return null; | ||
1295 | } | ||
1296 | |||
1297 | /** | ||
1298 | * Returns the result of interpreting the object as an instance of '<em>Unary Expression</em>'. | ||
1299 | * <!-- begin-user-doc --> | ||
1300 | * This implementation returns null; | ||
1301 | * returning a non-null result will terminate the switch. | ||
1302 | * <!-- end-user-doc --> | ||
1303 | * @param object the target of the switch. | ||
1304 | * @return the result of interpreting the object as an instance of '<em>Unary Expression</em>'. | ||
1305 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1306 | * @generated | ||
1307 | */ | ||
1308 | public T caseUnaryExpression(UnaryExpression object) { | ||
1309 | return null; | ||
1310 | } | ||
1311 | |||
1312 | /** | ||
1313 | * Returns the result of interpreting the object as an instance of '<em>Node</em>'. | ||
1314 | * <!-- begin-user-doc --> | ||
1315 | * This implementation returns null; | ||
1316 | * returning a non-null result will terminate the switch. | ||
1317 | * <!-- end-user-doc --> | ||
1318 | * @param object the target of the switch. | ||
1319 | * @return the result of interpreting the object as an instance of '<em>Node</em>'. | ||
1320 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1321 | * @generated | ||
1322 | */ | ||
1323 | public T caseNode(Node object) { | ||
1324 | return null; | ||
1325 | } | ||
1326 | |||
1327 | /** | ||
1328 | * Returns the result of interpreting the object as an instance of '<em>Functor</em>'. | ||
1329 | * <!-- begin-user-doc --> | ||
1330 | * This implementation returns null; | ||
1331 | * returning a non-null result will terminate the switch. | ||
1332 | * <!-- end-user-doc --> | ||
1333 | * @param object the target of the switch. | ||
1334 | * @return the result of interpreting the object as an instance of '<em>Functor</em>'. | ||
1335 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1336 | * @generated | ||
1337 | */ | ||
1338 | public T caseFunctor(Functor object) { | ||
1339 | return null; | ||
1340 | } | ||
1341 | |||
1342 | /** | ||
1343 | * Returns the result of interpreting the object as an instance of '<em>Predicate</em>'. | ||
1344 | * <!-- begin-user-doc --> | ||
1345 | * This implementation returns null; | ||
1346 | * returning a non-null result will terminate the switch. | ||
1347 | * <!-- end-user-doc --> | ||
1348 | * @param object the target of the switch. | ||
1349 | * @return the result of interpreting the object as an instance of '<em>Predicate</em>'. | ||
1350 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1351 | * @generated | ||
1352 | */ | ||
1353 | public T casePredicate(Predicate object) { | ||
1354 | return null; | ||
1355 | } | ||
1356 | |||
1357 | /** | ||
1358 | * Returns the result of interpreting the object as an instance of '<em>Metric</em>'. | ||
1359 | * <!-- begin-user-doc --> | ||
1360 | * This implementation returns null; | ||
1361 | * returning a non-null result will terminate the switch. | ||
1362 | * <!-- end-user-doc --> | ||
1363 | * @param object the target of the switch. | ||
1364 | * @return the result of interpreting the object as an instance of '<em>Metric</em>'. | ||
1365 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1366 | * @generated | ||
1367 | */ | ||
1368 | public T caseMetric(Metric object) { | ||
1369 | return null; | ||
1370 | } | ||
1371 | |||
1372 | /** | ||
1373 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
1374 | * <!-- begin-user-doc --> | ||
1375 | * This implementation returns null; | ||
1376 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
1377 | * <!-- end-user-doc --> | ||
1378 | * @param object the target of the switch. | ||
1379 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
1380 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
1381 | * @generated | ||
1382 | */ | ||
1383 | @Override | ||
1384 | public T defaultCase(EObject object) { | ||
1385 | return null; | ||
1386 | } | ||
1387 | |||
1388 | } //SolverLanguageSwitch | ||