diff options
Diffstat (limited to 'Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl')
81 files changed, 17465 insertions, 0 deletions
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/ReasoningProbeImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/ReasoningProbeImpl.java new file mode 100644 index 00000000..5d0838e9 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/ReasoningProbeImpl.java | |||
@@ -0,0 +1,177 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.ReasoningProbe; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
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 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Reasoning Probe</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.ReasoningProbeImpl#getName <em>Name</em>}</li> | ||
23 | * </ul> | ||
24 | * </p> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class ReasoningProbeImpl extends MinimalEObjectImpl.Container implements ReasoningProbe | ||
29 | { | ||
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 ReasoningProbeImpl() | ||
56 | { | ||
57 | super(); | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | protected EClass eStaticClass() | ||
67 | { | ||
68 | return SmtLanguagePackage.Literals.REASONING_PROBE; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public String getName() | ||
77 | { | ||
78 | return name; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public void setName(String newName) | ||
87 | { | ||
88 | String oldName = name; | ||
89 | name = newName; | ||
90 | if (eNotificationRequired()) | ||
91 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.REASONING_PROBE__NAME, oldName, name)); | ||
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 | { | ||
102 | switch (featureID) | ||
103 | { | ||
104 | case SmtLanguagePackage.REASONING_PROBE__NAME: | ||
105 | return getName(); | ||
106 | } | ||
107 | return super.eGet(featureID, resolve, coreType); | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | @Override | ||
116 | public void eSet(int featureID, Object newValue) | ||
117 | { | ||
118 | switch (featureID) | ||
119 | { | ||
120 | case SmtLanguagePackage.REASONING_PROBE__NAME: | ||
121 | setName((String)newValue); | ||
122 | return; | ||
123 | } | ||
124 | super.eSet(featureID, newValue); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public void eUnset(int featureID) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case SmtLanguagePackage.REASONING_PROBE__NAME: | ||
138 | setName(NAME_EDEFAULT); | ||
139 | return; | ||
140 | } | ||
141 | super.eUnset(featureID); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public boolean eIsSet(int featureID) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case SmtLanguagePackage.REASONING_PROBE__NAME: | ||
155 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
156 | } | ||
157 | return super.eIsSet(featureID); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public String toString() | ||
167 | { | ||
168 | if (eIsProxy()) return super.toString(); | ||
169 | |||
170 | StringBuffer result = new StringBuffer(super.toString()); | ||
171 | result.append(" (name: "); | ||
172 | result.append(name); | ||
173 | result.append(')'); | ||
174 | return result.toString(); | ||
175 | } | ||
176 | |||
177 | } //ReasoningProbeImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/ReasoningTacticParameterImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/ReasoningTacticParameterImpl.java new file mode 100644 index 00000000..cbf1cd36 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/ReasoningTacticParameterImpl.java | |||
@@ -0,0 +1,265 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.ReasoningTacticParameter; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTAtomicTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Reasoning Tactic Parameter</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.ReasoningTacticParameterImpl#getName <em>Name</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.ReasoningTacticParameterImpl#getValue <em>Value</em>}</li> | ||
27 | * </ul> | ||
28 | * </p> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class ReasoningTacticParameterImpl extends MinimalEObjectImpl.Container implements ReasoningTacticParameter | ||
33 | { | ||
34 | /** | ||
35 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getName() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected static final String NAME_EDEFAULT = null; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getName() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected String name = NAME_EDEFAULT; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getValue() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected SMTAtomicTerm value; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected ReasoningTacticParameterImpl() | ||
70 | { | ||
71 | super(); | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | @Override | ||
80 | protected EClass eStaticClass() | ||
81 | { | ||
82 | return SmtLanguagePackage.Literals.REASONING_TACTIC_PARAMETER; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | public String getName() | ||
91 | { | ||
92 | return name; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setName(String newName) | ||
101 | { | ||
102 | String oldName = name; | ||
103 | name = newName; | ||
104 | if (eNotificationRequired()) | ||
105 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.REASONING_TACTIC_PARAMETER__NAME, oldName, name)); | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | public SMTAtomicTerm getValue() | ||
114 | { | ||
115 | return value; | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | public NotificationChain basicSetValue(SMTAtomicTerm newValue, NotificationChain msgs) | ||
124 | { | ||
125 | SMTAtomicTerm oldValue = value; | ||
126 | value = newValue; | ||
127 | if (eNotificationRequired()) | ||
128 | { | ||
129 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.REASONING_TACTIC_PARAMETER__VALUE, oldValue, newValue); | ||
130 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
131 | } | ||
132 | return msgs; | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public void setValue(SMTAtomicTerm newValue) | ||
141 | { | ||
142 | if (newValue != value) | ||
143 | { | ||
144 | NotificationChain msgs = null; | ||
145 | if (value != null) | ||
146 | msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.REASONING_TACTIC_PARAMETER__VALUE, null, msgs); | ||
147 | if (newValue != null) | ||
148 | msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.REASONING_TACTIC_PARAMETER__VALUE, null, msgs); | ||
149 | msgs = basicSetValue(newValue, msgs); | ||
150 | if (msgs != null) msgs.dispatch(); | ||
151 | } | ||
152 | else if (eNotificationRequired()) | ||
153 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.REASONING_TACTIC_PARAMETER__VALUE, newValue, newValue)); | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | @Override | ||
162 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
163 | { | ||
164 | switch (featureID) | ||
165 | { | ||
166 | case SmtLanguagePackage.REASONING_TACTIC_PARAMETER__VALUE: | ||
167 | return basicSetValue(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 | { | ||
180 | switch (featureID) | ||
181 | { | ||
182 | case SmtLanguagePackage.REASONING_TACTIC_PARAMETER__NAME: | ||
183 | return getName(); | ||
184 | case SmtLanguagePackage.REASONING_TACTIC_PARAMETER__VALUE: | ||
185 | return getValue(); | ||
186 | } | ||
187 | return super.eGet(featureID, resolve, coreType); | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | @Override | ||
196 | public void eSet(int featureID, Object newValue) | ||
197 | { | ||
198 | switch (featureID) | ||
199 | { | ||
200 | case SmtLanguagePackage.REASONING_TACTIC_PARAMETER__NAME: | ||
201 | setName((String)newValue); | ||
202 | return; | ||
203 | case SmtLanguagePackage.REASONING_TACTIC_PARAMETER__VALUE: | ||
204 | setValue((SMTAtomicTerm)newValue); | ||
205 | return; | ||
206 | } | ||
207 | super.eSet(featureID, newValue); | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @Override | ||
216 | public void eUnset(int featureID) | ||
217 | { | ||
218 | switch (featureID) | ||
219 | { | ||
220 | case SmtLanguagePackage.REASONING_TACTIC_PARAMETER__NAME: | ||
221 | setName(NAME_EDEFAULT); | ||
222 | return; | ||
223 | case SmtLanguagePackage.REASONING_TACTIC_PARAMETER__VALUE: | ||
224 | setValue((SMTAtomicTerm)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 | { | ||
238 | switch (featureID) | ||
239 | { | ||
240 | case SmtLanguagePackage.REASONING_TACTIC_PARAMETER__NAME: | ||
241 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
242 | case SmtLanguagePackage.REASONING_TACTIC_PARAMETER__VALUE: | ||
243 | return value != null; | ||
244 | } | ||
245 | return super.eIsSet(featureID); | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | @Override | ||
254 | public String toString() | ||
255 | { | ||
256 | if (eIsProxy()) return super.toString(); | ||
257 | |||
258 | StringBuffer result = new StringBuffer(super.toString()); | ||
259 | result.append(" (name: "); | ||
260 | result.append(name); | ||
261 | result.append(')'); | ||
262 | return result.toString(); | ||
263 | } | ||
264 | |||
265 | } //ReasoningTacticParameterImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTAndImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTAndImpl.java new file mode 100644 index 00000000..5bec747b --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTAndImpl.java | |||
@@ -0,0 +1,165 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTAnd; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>SMT And</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * <ul> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTAndImpl#getOperands <em>Operands</em>}</li> | ||
29 | * </ul> | ||
30 | * </p> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class SMTAndImpl extends SMTBoolOperationImpl implements SMTAnd | ||
35 | { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getOperands() <em>Operands</em>}' containment reference list. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getOperands() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected EList<SMTTerm> operands; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected SMTAndImpl() | ||
52 | { | ||
53 | super(); | ||
54 | } | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | @Override | ||
62 | protected EClass eStaticClass() | ||
63 | { | ||
64 | return SmtLanguagePackage.Literals.SMT_AND; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public EList<SMTTerm> getOperands() | ||
73 | { | ||
74 | if (operands == null) | ||
75 | { | ||
76 | operands = new EObjectContainmentEList<SMTTerm>(SMTTerm.class, this, SmtLanguagePackage.SMT_AND__OPERANDS); | ||
77 | } | ||
78 | return operands; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | @Override | ||
87 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
88 | { | ||
89 | switch (featureID) | ||
90 | { | ||
91 | case SmtLanguagePackage.SMT_AND__OPERANDS: | ||
92 | return ((InternalEList<?>)getOperands()).basicRemove(otherEnd, msgs); | ||
93 | } | ||
94 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
104 | { | ||
105 | switch (featureID) | ||
106 | { | ||
107 | case SmtLanguagePackage.SMT_AND__OPERANDS: | ||
108 | return getOperands(); | ||
109 | } | ||
110 | return super.eGet(featureID, resolve, coreType); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @SuppressWarnings("unchecked") | ||
119 | @Override | ||
120 | public void eSet(int featureID, Object newValue) | ||
121 | { | ||
122 | switch (featureID) | ||
123 | { | ||
124 | case SmtLanguagePackage.SMT_AND__OPERANDS: | ||
125 | getOperands().clear(); | ||
126 | getOperands().addAll((Collection<? extends SMTTerm>)newValue); | ||
127 | return; | ||
128 | } | ||
129 | super.eSet(featureID, newValue); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public void eUnset(int featureID) | ||
139 | { | ||
140 | switch (featureID) | ||
141 | { | ||
142 | case SmtLanguagePackage.SMT_AND__OPERANDS: | ||
143 | getOperands().clear(); | ||
144 | return; | ||
145 | } | ||
146 | super.eUnset(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public boolean eIsSet(int featureID) | ||
156 | { | ||
157 | switch (featureID) | ||
158 | { | ||
159 | case SmtLanguagePackage.SMT_AND__OPERANDS: | ||
160 | return operands != null && !operands.isEmpty(); | ||
161 | } | ||
162 | return super.eIsSet(featureID); | ||
163 | } | ||
164 | |||
165 | } //SMTAndImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTAndThenCombinatorImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTAndThenCombinatorImpl.java new file mode 100644 index 00000000..bfc00605 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTAndThenCombinatorImpl.java | |||
@@ -0,0 +1,165 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTAndThenCombinator; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningTactic; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>SMT And Then Combinator</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * <ul> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTAndThenCombinatorImpl#getTactics <em>Tactics</em>}</li> | ||
29 | * </ul> | ||
30 | * </p> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class SMTAndThenCombinatorImpl extends SMTReasoningCombinatorImpl implements SMTAndThenCombinator | ||
35 | { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getTactics() <em>Tactics</em>}' containment reference list. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getTactics() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected EList<SMTReasoningTactic> tactics; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected SMTAndThenCombinatorImpl() | ||
52 | { | ||
53 | super(); | ||
54 | } | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | @Override | ||
62 | protected EClass eStaticClass() | ||
63 | { | ||
64 | return SmtLanguagePackage.Literals.SMT_AND_THEN_COMBINATOR; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public EList<SMTReasoningTactic> getTactics() | ||
73 | { | ||
74 | if (tactics == null) | ||
75 | { | ||
76 | tactics = new EObjectContainmentEList<SMTReasoningTactic>(SMTReasoningTactic.class, this, SmtLanguagePackage.SMT_AND_THEN_COMBINATOR__TACTICS); | ||
77 | } | ||
78 | return tactics; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | @Override | ||
87 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
88 | { | ||
89 | switch (featureID) | ||
90 | { | ||
91 | case SmtLanguagePackage.SMT_AND_THEN_COMBINATOR__TACTICS: | ||
92 | return ((InternalEList<?>)getTactics()).basicRemove(otherEnd, msgs); | ||
93 | } | ||
94 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
104 | { | ||
105 | switch (featureID) | ||
106 | { | ||
107 | case SmtLanguagePackage.SMT_AND_THEN_COMBINATOR__TACTICS: | ||
108 | return getTactics(); | ||
109 | } | ||
110 | return super.eGet(featureID, resolve, coreType); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @SuppressWarnings("unchecked") | ||
119 | @Override | ||
120 | public void eSet(int featureID, Object newValue) | ||
121 | { | ||
122 | switch (featureID) | ||
123 | { | ||
124 | case SmtLanguagePackage.SMT_AND_THEN_COMBINATOR__TACTICS: | ||
125 | getTactics().clear(); | ||
126 | getTactics().addAll((Collection<? extends SMTReasoningTactic>)newValue); | ||
127 | return; | ||
128 | } | ||
129 | super.eSet(featureID, newValue); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public void eUnset(int featureID) | ||
139 | { | ||
140 | switch (featureID) | ||
141 | { | ||
142 | case SmtLanguagePackage.SMT_AND_THEN_COMBINATOR__TACTICS: | ||
143 | getTactics().clear(); | ||
144 | return; | ||
145 | } | ||
146 | super.eUnset(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public boolean eIsSet(int featureID) | ||
156 | { | ||
157 | switch (featureID) | ||
158 | { | ||
159 | case SmtLanguagePackage.SMT_AND_THEN_COMBINATOR__TACTICS: | ||
160 | return tactics != null && !tactics.isEmpty(); | ||
161 | } | ||
162 | return super.eIsSet(featureID); | ||
163 | } | ||
164 | |||
165 | } //SMTAndThenCombinatorImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTAssertionImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTAssertionImpl.java new file mode 100644 index 00000000..8be64892 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTAssertionImpl.java | |||
@@ -0,0 +1,194 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTAssertion; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>SMT Assertion</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTAssertionImpl#getValue <em>Value</em>}</li> | ||
26 | * </ul> | ||
27 | * </p> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class SMTAssertionImpl extends MinimalEObjectImpl.Container implements SMTAssertion | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getValue() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected SMTTerm value; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected SMTAssertionImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return SmtLanguagePackage.Literals.SMT_ASSERTION; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public SMTTerm getValue() | ||
70 | { | ||
71 | return value; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetValue(SMTTerm newValue, NotificationChain msgs) | ||
80 | { | ||
81 | SMTTerm oldValue = value; | ||
82 | value = newValue; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_ASSERTION__VALUE, oldValue, newValue); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setValue(SMTTerm newValue) | ||
97 | { | ||
98 | if (newValue != value) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (value != null) | ||
102 | msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_ASSERTION__VALUE, null, msgs); | ||
103 | if (newValue != null) | ||
104 | msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_ASSERTION__VALUE, null, msgs); | ||
105 | msgs = basicSetValue(newValue, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_ASSERTION__VALUE, newValue, newValue)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case SmtLanguagePackage.SMT_ASSERTION__VALUE: | ||
123 | return basicSetValue(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case SmtLanguagePackage.SMT_ASSERTION__VALUE: | ||
139 | return getValue(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case SmtLanguagePackage.SMT_ASSERTION__VALUE: | ||
155 | setValue((SMTTerm)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case SmtLanguagePackage.SMT_ASSERTION__VALUE: | ||
172 | setValue((SMTTerm)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case SmtLanguagePackage.SMT_ASSERTION__VALUE: | ||
189 | return value != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //SMTAssertionImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTAtomicTermImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTAtomicTermImpl.java new file mode 100644 index 00000000..18202a68 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTAtomicTermImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTAtomicTerm; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Atomic Term</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTAtomicTermImpl extends SMTTermImpl implements SMTAtomicTerm | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTAtomicTermImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_ATOMIC_TERM; | ||
40 | } | ||
41 | |||
42 | } //SMTAtomicTermImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTBoolLiteralImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTBoolLiteralImpl.java new file mode 100644 index 00000000..645ed713 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTBoolLiteralImpl.java | |||
@@ -0,0 +1,176 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTBoolLiteral; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
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 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>SMT Bool Literal</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * <ul> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTBoolLiteralImpl#isValue <em>Value</em>}</li> | ||
22 | * </ul> | ||
23 | * </p> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class SMTBoolLiteralImpl extends SMTAtomicTermImpl implements SMTBoolLiteral | ||
28 | { | ||
29 | /** | ||
30 | * The default value of the '{@link #isValue() <em>Value</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #isValue() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final boolean VALUE_EDEFAULT = false; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #isValue() <em>Value</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #isValue() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected boolean value = VALUE_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected SMTBoolLiteralImpl() | ||
55 | { | ||
56 | super(); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | protected EClass eStaticClass() | ||
66 | { | ||
67 | return SmtLanguagePackage.Literals.SMT_BOOL_LITERAL; | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | public boolean isValue() | ||
76 | { | ||
77 | return value; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public void setValue(boolean newValue) | ||
86 | { | ||
87 | boolean oldValue = value; | ||
88 | value = newValue; | ||
89 | if (eNotificationRequired()) | ||
90 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_BOOL_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 | { | ||
101 | switch (featureID) | ||
102 | { | ||
103 | case SmtLanguagePackage.SMT_BOOL_LITERAL__VALUE: | ||
104 | return isValue(); | ||
105 | } | ||
106 | return super.eGet(featureID, resolve, coreType); | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | @Override | ||
115 | public void eSet(int featureID, Object newValue) | ||
116 | { | ||
117 | switch (featureID) | ||
118 | { | ||
119 | case SmtLanguagePackage.SMT_BOOL_LITERAL__VALUE: | ||
120 | setValue((Boolean)newValue); | ||
121 | return; | ||
122 | } | ||
123 | super.eSet(featureID, newValue); | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | @Override | ||
132 | public void eUnset(int featureID) | ||
133 | { | ||
134 | switch (featureID) | ||
135 | { | ||
136 | case SmtLanguagePackage.SMT_BOOL_LITERAL__VALUE: | ||
137 | setValue(VALUE_EDEFAULT); | ||
138 | return; | ||
139 | } | ||
140 | super.eUnset(featureID); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public boolean eIsSet(int featureID) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case SmtLanguagePackage.SMT_BOOL_LITERAL__VALUE: | ||
154 | return value != VALUE_EDEFAULT; | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | @Override | ||
165 | public String toString() | ||
166 | { | ||
167 | if (eIsProxy()) return super.toString(); | ||
168 | |||
169 | StringBuffer result = new StringBuffer(super.toString()); | ||
170 | result.append(" (value: "); | ||
171 | result.append(value); | ||
172 | result.append(')'); | ||
173 | return result.toString(); | ||
174 | } | ||
175 | |||
176 | } //SMTBoolLiteralImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTBoolOperationImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTBoolOperationImpl.java new file mode 100644 index 00000000..2d46ada6 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTBoolOperationImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTBoolOperation; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Bool Operation</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTBoolOperationImpl extends SMTTermImpl implements SMTBoolOperation | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTBoolOperationImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_BOOL_OPERATION; | ||
40 | } | ||
41 | |||
42 | } //SMTBoolOperationImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTBoolTypeReferenceImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTBoolTypeReferenceImpl.java new file mode 100644 index 00000000..0bcaf2fc --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTBoolTypeReferenceImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTBoolTypeReference; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Bool Type Reference</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTBoolTypeReferenceImpl extends SMTPrimitiveTypeReferenceImpl implements SMTBoolTypeReference | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTBoolTypeReferenceImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_BOOL_TYPE_REFERENCE; | ||
40 | } | ||
41 | |||
42 | } //SMTBoolTypeReferenceImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTBuiltinTacticImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTBuiltinTacticImpl.java new file mode 100644 index 00000000..c5a182d9 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTBuiltinTacticImpl.java | |||
@@ -0,0 +1,176 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTBuiltinTactic; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
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 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>SMT Builtin Tactic</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * <ul> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTBuiltinTacticImpl#getName <em>Name</em>}</li> | ||
22 | * </ul> | ||
23 | * </p> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class SMTBuiltinTacticImpl extends SMTReasoningTacticImpl implements SMTBuiltinTactic | ||
28 | { | ||
29 | /** | ||
30 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getName() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final String NAME_EDEFAULT = null; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getName() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected String name = NAME_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected SMTBuiltinTacticImpl() | ||
55 | { | ||
56 | super(); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | protected EClass eStaticClass() | ||
66 | { | ||
67 | return SmtLanguagePackage.Literals.SMT_BUILTIN_TACTIC; | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | public String getName() | ||
76 | { | ||
77 | return name; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public void setName(String newName) | ||
86 | { | ||
87 | String oldName = name; | ||
88 | name = newName; | ||
89 | if (eNotificationRequired()) | ||
90 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_BUILTIN_TACTIC__NAME, oldName, name)); | ||
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 | { | ||
101 | switch (featureID) | ||
102 | { | ||
103 | case SmtLanguagePackage.SMT_BUILTIN_TACTIC__NAME: | ||
104 | return getName(); | ||
105 | } | ||
106 | return super.eGet(featureID, resolve, coreType); | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | @Override | ||
115 | public void eSet(int featureID, Object newValue) | ||
116 | { | ||
117 | switch (featureID) | ||
118 | { | ||
119 | case SmtLanguagePackage.SMT_BUILTIN_TACTIC__NAME: | ||
120 | setName((String)newValue); | ||
121 | return; | ||
122 | } | ||
123 | super.eSet(featureID, newValue); | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | @Override | ||
132 | public void eUnset(int featureID) | ||
133 | { | ||
134 | switch (featureID) | ||
135 | { | ||
136 | case SmtLanguagePackage.SMT_BUILTIN_TACTIC__NAME: | ||
137 | setName(NAME_EDEFAULT); | ||
138 | return; | ||
139 | } | ||
140 | super.eUnset(featureID); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public boolean eIsSet(int featureID) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case SmtLanguagePackage.SMT_BUILTIN_TACTIC__NAME: | ||
154 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | @Override | ||
165 | public String toString() | ||
166 | { | ||
167 | if (eIsProxy()) return super.toString(); | ||
168 | |||
169 | StringBuffer result = new StringBuffer(super.toString()); | ||
170 | result.append(" (name: "); | ||
171 | result.append(name); | ||
172 | result.append(')'); | ||
173 | return result.toString(); | ||
174 | } | ||
175 | |||
176 | } //SMTBuiltinTacticImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTCardinalityConstraintImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTCardinalityConstraintImpl.java new file mode 100644 index 00000000..7bc53cf3 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTCardinalityConstraintImpl.java | |||
@@ -0,0 +1,241 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTCardinalityConstraint; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSymbolicValue; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTypeReference; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
22 | |||
23 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
24 | import org.eclipse.emf.ecore.util.InternalEList; | ||
25 | |||
26 | /** | ||
27 | * <!-- begin-user-doc --> | ||
28 | * An implementation of the model object '<em><b>SMT Cardinality Constraint</b></em>'. | ||
29 | * <!-- end-user-doc --> | ||
30 | * <p> | ||
31 | * The following features are implemented: | ||
32 | * <ul> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTCardinalityConstraintImpl#getType <em>Type</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTCardinalityConstraintImpl#getElements <em>Elements</em>}</li> | ||
35 | * </ul> | ||
36 | * </p> | ||
37 | * | ||
38 | * @generated | ||
39 | */ | ||
40 | public class SMTCardinalityConstraintImpl extends MinimalEObjectImpl.Container implements SMTCardinalityConstraint | ||
41 | { | ||
42 | /** | ||
43 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getType() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected SMTTypeReference type; | ||
51 | |||
52 | /** | ||
53 | * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #getElements() | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | protected EList<SMTSymbolicValue> elements; | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | protected SMTCardinalityConstraintImpl() | ||
68 | { | ||
69 | super(); | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | @Override | ||
78 | protected EClass eStaticClass() | ||
79 | { | ||
80 | return SmtLanguagePackage.Literals.SMT_CARDINALITY_CONSTRAINT; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public SMTTypeReference getType() | ||
89 | { | ||
90 | return type; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public NotificationChain basicSetType(SMTTypeReference newType, NotificationChain msgs) | ||
99 | { | ||
100 | SMTTypeReference oldType = type; | ||
101 | type = newType; | ||
102 | if (eNotificationRequired()) | ||
103 | { | ||
104 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__TYPE, oldType, newType); | ||
105 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
106 | } | ||
107 | return msgs; | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | public void setType(SMTTypeReference newType) | ||
116 | { | ||
117 | if (newType != type) | ||
118 | { | ||
119 | NotificationChain msgs = null; | ||
120 | if (type != null) | ||
121 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__TYPE, null, msgs); | ||
122 | if (newType != null) | ||
123 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__TYPE, null, msgs); | ||
124 | msgs = basicSetType(newType, msgs); | ||
125 | if (msgs != null) msgs.dispatch(); | ||
126 | } | ||
127 | else if (eNotificationRequired()) | ||
128 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__TYPE, newType, newType)); | ||
129 | } | ||
130 | |||
131 | /** | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @generated | ||
135 | */ | ||
136 | public EList<SMTSymbolicValue> getElements() | ||
137 | { | ||
138 | if (elements == null) | ||
139 | { | ||
140 | elements = new EObjectContainmentEList<SMTSymbolicValue>(SMTSymbolicValue.class, this, SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__ELEMENTS); | ||
141 | } | ||
142 | return elements; | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
152 | { | ||
153 | switch (featureID) | ||
154 | { | ||
155 | case SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__TYPE: | ||
156 | return basicSetType(null, msgs); | ||
157 | case SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__ELEMENTS: | ||
158 | return ((InternalEList<?>)getElements()).basicRemove(otherEnd, msgs); | ||
159 | } | ||
160 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
170 | { | ||
171 | switch (featureID) | ||
172 | { | ||
173 | case SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__TYPE: | ||
174 | return getType(); | ||
175 | case SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__ELEMENTS: | ||
176 | return getElements(); | ||
177 | } | ||
178 | return super.eGet(featureID, resolve, coreType); | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | @SuppressWarnings("unchecked") | ||
187 | @Override | ||
188 | public void eSet(int featureID, Object newValue) | ||
189 | { | ||
190 | switch (featureID) | ||
191 | { | ||
192 | case SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__TYPE: | ||
193 | setType((SMTTypeReference)newValue); | ||
194 | return; | ||
195 | case SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__ELEMENTS: | ||
196 | getElements().clear(); | ||
197 | getElements().addAll((Collection<? extends SMTSymbolicValue>)newValue); | ||
198 | return; | ||
199 | } | ||
200 | super.eSet(featureID, newValue); | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * <!-- begin-user-doc --> | ||
205 | * <!-- end-user-doc --> | ||
206 | * @generated | ||
207 | */ | ||
208 | @Override | ||
209 | public void eUnset(int featureID) | ||
210 | { | ||
211 | switch (featureID) | ||
212 | { | ||
213 | case SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__TYPE: | ||
214 | setType((SMTTypeReference)null); | ||
215 | return; | ||
216 | case SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__ELEMENTS: | ||
217 | getElements().clear(); | ||
218 | return; | ||
219 | } | ||
220 | super.eUnset(featureID); | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @generated | ||
227 | */ | ||
228 | @Override | ||
229 | public boolean eIsSet(int featureID) | ||
230 | { | ||
231 | switch (featureID) | ||
232 | { | ||
233 | case SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__TYPE: | ||
234 | return type != null; | ||
235 | case SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT__ELEMENTS: | ||
236 | return elements != null && !elements.isEmpty(); | ||
237 | } | ||
238 | return super.eIsSet(featureID); | ||
239 | } | ||
240 | |||
241 | } //SMTCardinalityConstraintImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTComplexSatCommandImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTComplexSatCommandImpl.java new file mode 100644 index 00000000..181d946c --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTComplexSatCommandImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTComplexSatCommand; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningTactic; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMT Complex Sat Command</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTComplexSatCommandImpl#getMethod <em>Method</em>}</li> | ||
25 | * </ul> | ||
26 | * </p> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class SMTComplexSatCommandImpl extends SMTSatCommandImpl implements SMTComplexSatCommand | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getMethod() <em>Method</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getMethod() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected SMTReasoningTactic method; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected SMTComplexSatCommandImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return SmtLanguagePackage.Literals.SMT_COMPLEX_SAT_COMMAND; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public SMTReasoningTactic getMethod() | ||
69 | { | ||
70 | return method; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetMethod(SMTReasoningTactic newMethod, NotificationChain msgs) | ||
79 | { | ||
80 | SMTReasoningTactic oldMethod = method; | ||
81 | method = newMethod; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_COMPLEX_SAT_COMMAND__METHOD, oldMethod, newMethod); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setMethod(SMTReasoningTactic newMethod) | ||
96 | { | ||
97 | if (newMethod != method) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (method != null) | ||
101 | msgs = ((InternalEObject)method).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_COMPLEX_SAT_COMMAND__METHOD, null, msgs); | ||
102 | if (newMethod != null) | ||
103 | msgs = ((InternalEObject)newMethod).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_COMPLEX_SAT_COMMAND__METHOD, null, msgs); | ||
104 | msgs = basicSetMethod(newMethod, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_COMPLEX_SAT_COMMAND__METHOD, newMethod, newMethod)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case SmtLanguagePackage.SMT_COMPLEX_SAT_COMMAND__METHOD: | ||
122 | return basicSetMethod(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case SmtLanguagePackage.SMT_COMPLEX_SAT_COMMAND__METHOD: | ||
138 | return getMethod(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case SmtLanguagePackage.SMT_COMPLEX_SAT_COMMAND__METHOD: | ||
154 | setMethod((SMTReasoningTactic)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case SmtLanguagePackage.SMT_COMPLEX_SAT_COMMAND__METHOD: | ||
171 | setMethod((SMTReasoningTactic)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case SmtLanguagePackage.SMT_COMPLEX_SAT_COMMAND__METHOD: | ||
188 | return method != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //SMTComplexSatCommandImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTComplexTypeReferenceImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTComplexTypeReferenceImpl.java new file mode 100644 index 00000000..5338604b --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTComplexTypeReferenceImpl.java | |||
@@ -0,0 +1,172 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTComplexTypeReference; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTType; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | import org.eclipse.emf.ecore.InternalEObject; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>SMT Complex Type Reference</b></em>'. | ||
19 | * <!-- end-user-doc --> | ||
20 | * <p> | ||
21 | * The following features are implemented: | ||
22 | * <ul> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTComplexTypeReferenceImpl#getReferred <em>Referred</em>}</li> | ||
24 | * </ul> | ||
25 | * </p> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class SMTComplexTypeReferenceImpl extends SMTTypeReferenceImpl implements SMTComplexTypeReference | ||
30 | { | ||
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 SMTType referred; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected SMTComplexTypeReferenceImpl() | ||
47 | { | ||
48 | super(); | ||
49 | } | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | @Override | ||
57 | protected EClass eStaticClass() | ||
58 | { | ||
59 | return SmtLanguagePackage.Literals.SMT_COMPLEX_TYPE_REFERENCE; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | public SMTType getReferred() | ||
68 | { | ||
69 | if (referred != null && referred.eIsProxy()) | ||
70 | { | ||
71 | InternalEObject oldReferred = (InternalEObject)referred; | ||
72 | referred = (SMTType)eResolveProxy(oldReferred); | ||
73 | if (referred != oldReferred) | ||
74 | { | ||
75 | if (eNotificationRequired()) | ||
76 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SmtLanguagePackage.SMT_COMPLEX_TYPE_REFERENCE__REFERRED, oldReferred, referred)); | ||
77 | } | ||
78 | } | ||
79 | return referred; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public SMTType basicGetReferred() | ||
88 | { | ||
89 | return referred; | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | public void setReferred(SMTType newReferred) | ||
98 | { | ||
99 | SMTType oldReferred = referred; | ||
100 | referred = newReferred; | ||
101 | if (eNotificationRequired()) | ||
102 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_COMPLEX_TYPE_REFERENCE__REFERRED, oldReferred, referred)); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
112 | { | ||
113 | switch (featureID) | ||
114 | { | ||
115 | case SmtLanguagePackage.SMT_COMPLEX_TYPE_REFERENCE__REFERRED: | ||
116 | if (resolve) return getReferred(); | ||
117 | return basicGetReferred(); | ||
118 | } | ||
119 | return super.eGet(featureID, resolve, coreType); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public void eSet(int featureID, Object newValue) | ||
129 | { | ||
130 | switch (featureID) | ||
131 | { | ||
132 | case SmtLanguagePackage.SMT_COMPLEX_TYPE_REFERENCE__REFERRED: | ||
133 | setReferred((SMTType)newValue); | ||
134 | return; | ||
135 | } | ||
136 | super.eSet(featureID, newValue); | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | @Override | ||
145 | public void eUnset(int featureID) | ||
146 | { | ||
147 | switch (featureID) | ||
148 | { | ||
149 | case SmtLanguagePackage.SMT_COMPLEX_TYPE_REFERENCE__REFERRED: | ||
150 | setReferred((SMTType)null); | ||
151 | return; | ||
152 | } | ||
153 | super.eUnset(featureID); | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | @Override | ||
162 | public boolean eIsSet(int featureID) | ||
163 | { | ||
164 | switch (featureID) | ||
165 | { | ||
166 | case SmtLanguagePackage.SMT_COMPLEX_TYPE_REFERENCE__REFERRED: | ||
167 | return referred != null; | ||
168 | } | ||
169 | return super.eIsSet(featureID); | ||
170 | } | ||
171 | |||
172 | } //SMTComplexTypeReferenceImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTDistinctImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTDistinctImpl.java new file mode 100644 index 00000000..f3e38aa4 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTDistinctImpl.java | |||
@@ -0,0 +1,165 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTDistinct; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>SMT Distinct</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * <ul> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTDistinctImpl#getOperands <em>Operands</em>}</li> | ||
29 | * </ul> | ||
30 | * </p> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class SMTDistinctImpl extends SMTRelationImpl implements SMTDistinct | ||
35 | { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getOperands() <em>Operands</em>}' containment reference list. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getOperands() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected EList<SMTTerm> operands; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected SMTDistinctImpl() | ||
52 | { | ||
53 | super(); | ||
54 | } | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | @Override | ||
62 | protected EClass eStaticClass() | ||
63 | { | ||
64 | return SmtLanguagePackage.Literals.SMT_DISTINCT; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public EList<SMTTerm> getOperands() | ||
73 | { | ||
74 | if (operands == null) | ||
75 | { | ||
76 | operands = new EObjectContainmentEList<SMTTerm>(SMTTerm.class, this, SmtLanguagePackage.SMT_DISTINCT__OPERANDS); | ||
77 | } | ||
78 | return operands; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | @Override | ||
87 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
88 | { | ||
89 | switch (featureID) | ||
90 | { | ||
91 | case SmtLanguagePackage.SMT_DISTINCT__OPERANDS: | ||
92 | return ((InternalEList<?>)getOperands()).basicRemove(otherEnd, msgs); | ||
93 | } | ||
94 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
104 | { | ||
105 | switch (featureID) | ||
106 | { | ||
107 | case SmtLanguagePackage.SMT_DISTINCT__OPERANDS: | ||
108 | return getOperands(); | ||
109 | } | ||
110 | return super.eGet(featureID, resolve, coreType); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @SuppressWarnings("unchecked") | ||
119 | @Override | ||
120 | public void eSet(int featureID, Object newValue) | ||
121 | { | ||
122 | switch (featureID) | ||
123 | { | ||
124 | case SmtLanguagePackage.SMT_DISTINCT__OPERANDS: | ||
125 | getOperands().clear(); | ||
126 | getOperands().addAll((Collection<? extends SMTTerm>)newValue); | ||
127 | return; | ||
128 | } | ||
129 | super.eSet(featureID, newValue); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public void eUnset(int featureID) | ||
139 | { | ||
140 | switch (featureID) | ||
141 | { | ||
142 | case SmtLanguagePackage.SMT_DISTINCT__OPERANDS: | ||
143 | getOperands().clear(); | ||
144 | return; | ||
145 | } | ||
146 | super.eUnset(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public boolean eIsSet(int featureID) | ||
156 | { | ||
157 | switch (featureID) | ||
158 | { | ||
159 | case SmtLanguagePackage.SMT_DISTINCT__OPERANDS: | ||
160 | return operands != null && !operands.isEmpty(); | ||
161 | } | ||
162 | return super.eIsSet(featureID); | ||
163 | } | ||
164 | |||
165 | } //SMTDistinctImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTDivImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTDivImpl.java new file mode 100644 index 00000000..3e2377ea --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTDivImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTDiv; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Div</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTDivImpl extends SMTIntOperationImpl implements SMTDiv | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTDivImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_DIV; | ||
40 | } | ||
41 | |||
42 | } //SMTDivImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTDivisonImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTDivisonImpl.java new file mode 100644 index 00000000..85997500 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTDivisonImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTDivison; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Divison</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTDivisonImpl extends SMTIntOperationImpl implements SMTDivison | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTDivisonImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_DIVISON; | ||
40 | } | ||
41 | |||
42 | } //SMTDivisonImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTDocumentImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTDocumentImpl.java new file mode 100644 index 00000000..e3b14eaa --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTDocumentImpl.java | |||
@@ -0,0 +1,266 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTDocument; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTInput; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTOutput; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>SMT Document</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTDocumentImpl#getInput <em>Input</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTDocumentImpl#getOutput <em>Output</em>}</li> | ||
28 | * </ul> | ||
29 | * </p> | ||
30 | * | ||
31 | * @generated | ||
32 | */ | ||
33 | public class SMTDocumentImpl extends MinimalEObjectImpl.Container implements SMTDocument | ||
34 | { | ||
35 | /** | ||
36 | * The cached value of the '{@link #getInput() <em>Input</em>}' containment reference. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @see #getInput() | ||
40 | * @generated | ||
41 | * @ordered | ||
42 | */ | ||
43 | protected SMTInput input; | ||
44 | |||
45 | /** | ||
46 | * The cached value of the '{@link #getOutput() <em>Output</em>}' containment reference. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @see #getOutput() | ||
50 | * @generated | ||
51 | * @ordered | ||
52 | */ | ||
53 | protected SMTOutput output; | ||
54 | |||
55 | /** | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @generated | ||
59 | */ | ||
60 | protected SMTDocumentImpl() | ||
61 | { | ||
62 | super(); | ||
63 | } | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | @Override | ||
71 | protected EClass eStaticClass() | ||
72 | { | ||
73 | return SmtLanguagePackage.Literals.SMT_DOCUMENT; | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | public SMTInput getInput() | ||
82 | { | ||
83 | return input; | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | public NotificationChain basicSetInput(SMTInput newInput, NotificationChain msgs) | ||
92 | { | ||
93 | SMTInput oldInput = input; | ||
94 | input = newInput; | ||
95 | if (eNotificationRequired()) | ||
96 | { | ||
97 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_DOCUMENT__INPUT, oldInput, newInput); | ||
98 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
99 | } | ||
100 | return msgs; | ||
101 | } | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | public void setInput(SMTInput newInput) | ||
109 | { | ||
110 | if (newInput != input) | ||
111 | { | ||
112 | NotificationChain msgs = null; | ||
113 | if (input != null) | ||
114 | msgs = ((InternalEObject)input).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_DOCUMENT__INPUT, null, msgs); | ||
115 | if (newInput != null) | ||
116 | msgs = ((InternalEObject)newInput).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_DOCUMENT__INPUT, null, msgs); | ||
117 | msgs = basicSetInput(newInput, msgs); | ||
118 | if (msgs != null) msgs.dispatch(); | ||
119 | } | ||
120 | else if (eNotificationRequired()) | ||
121 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_DOCUMENT__INPUT, newInput, newInput)); | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | public SMTOutput getOutput() | ||
130 | { | ||
131 | return output; | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | public NotificationChain basicSetOutput(SMTOutput newOutput, NotificationChain msgs) | ||
140 | { | ||
141 | SMTOutput oldOutput = output; | ||
142 | output = newOutput; | ||
143 | if (eNotificationRequired()) | ||
144 | { | ||
145 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_DOCUMENT__OUTPUT, oldOutput, newOutput); | ||
146 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
147 | } | ||
148 | return msgs; | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | public void setOutput(SMTOutput newOutput) | ||
157 | { | ||
158 | if (newOutput != output) | ||
159 | { | ||
160 | NotificationChain msgs = null; | ||
161 | if (output != null) | ||
162 | msgs = ((InternalEObject)output).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_DOCUMENT__OUTPUT, null, msgs); | ||
163 | if (newOutput != null) | ||
164 | msgs = ((InternalEObject)newOutput).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_DOCUMENT__OUTPUT, null, msgs); | ||
165 | msgs = basicSetOutput(newOutput, msgs); | ||
166 | if (msgs != null) msgs.dispatch(); | ||
167 | } | ||
168 | else if (eNotificationRequired()) | ||
169 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_DOCUMENT__OUTPUT, newOutput, newOutput)); | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | */ | ||
177 | @Override | ||
178 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
179 | { | ||
180 | switch (featureID) | ||
181 | { | ||
182 | case SmtLanguagePackage.SMT_DOCUMENT__INPUT: | ||
183 | return basicSetInput(null, msgs); | ||
184 | case SmtLanguagePackage.SMT_DOCUMENT__OUTPUT: | ||
185 | return basicSetOutput(null, msgs); | ||
186 | } | ||
187 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | @Override | ||
196 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
197 | { | ||
198 | switch (featureID) | ||
199 | { | ||
200 | case SmtLanguagePackage.SMT_DOCUMENT__INPUT: | ||
201 | return getInput(); | ||
202 | case SmtLanguagePackage.SMT_DOCUMENT__OUTPUT: | ||
203 | return getOutput(); | ||
204 | } | ||
205 | return super.eGet(featureID, resolve, coreType); | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | */ | ||
213 | @Override | ||
214 | public void eSet(int featureID, Object newValue) | ||
215 | { | ||
216 | switch (featureID) | ||
217 | { | ||
218 | case SmtLanguagePackage.SMT_DOCUMENT__INPUT: | ||
219 | setInput((SMTInput)newValue); | ||
220 | return; | ||
221 | case SmtLanguagePackage.SMT_DOCUMENT__OUTPUT: | ||
222 | setOutput((SMTOutput)newValue); | ||
223 | return; | ||
224 | } | ||
225 | super.eSet(featureID, newValue); | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | */ | ||
233 | @Override | ||
234 | public void eUnset(int featureID) | ||
235 | { | ||
236 | switch (featureID) | ||
237 | { | ||
238 | case SmtLanguagePackage.SMT_DOCUMENT__INPUT: | ||
239 | setInput((SMTInput)null); | ||
240 | return; | ||
241 | case SmtLanguagePackage.SMT_DOCUMENT__OUTPUT: | ||
242 | setOutput((SMTOutput)null); | ||
243 | return; | ||
244 | } | ||
245 | super.eUnset(featureID); | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | @Override | ||
254 | public boolean eIsSet(int featureID) | ||
255 | { | ||
256 | switch (featureID) | ||
257 | { | ||
258 | case SmtLanguagePackage.SMT_DOCUMENT__INPUT: | ||
259 | return input != null; | ||
260 | case SmtLanguagePackage.SMT_DOCUMENT__OUTPUT: | ||
261 | return output != null; | ||
262 | } | ||
263 | return super.eIsSet(featureID); | ||
264 | } | ||
265 | |||
266 | } //SMTDocumentImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTEnumLiteralImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTEnumLiteralImpl.java new file mode 100644 index 00000000..3dce83fb --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTEnumLiteralImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTEnumLiteral; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Enum Literal</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTEnumLiteralImpl extends SMTSymbolicDeclarationImpl implements SMTEnumLiteral | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTEnumLiteralImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_ENUM_LITERAL; | ||
40 | } | ||
41 | |||
42 | } //SMTEnumLiteralImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTEnumeratedTypeDeclarationImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTEnumeratedTypeDeclarationImpl.java new file mode 100644 index 00000000..1a85c485 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTEnumeratedTypeDeclarationImpl.java | |||
@@ -0,0 +1,165 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTEnumLiteral; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTEnumeratedTypeDeclaration; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>SMT Enumerated Type Declaration</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * <ul> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTEnumeratedTypeDeclarationImpl#getElements <em>Elements</em>}</li> | ||
29 | * </ul> | ||
30 | * </p> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class SMTEnumeratedTypeDeclarationImpl extends SMTTypeImpl implements SMTEnumeratedTypeDeclaration | ||
35 | { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getElements() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected EList<SMTEnumLiteral> elements; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected SMTEnumeratedTypeDeclarationImpl() | ||
52 | { | ||
53 | super(); | ||
54 | } | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | @Override | ||
62 | protected EClass eStaticClass() | ||
63 | { | ||
64 | return SmtLanguagePackage.Literals.SMT_ENUMERATED_TYPE_DECLARATION; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public EList<SMTEnumLiteral> getElements() | ||
73 | { | ||
74 | if (elements == null) | ||
75 | { | ||
76 | elements = new EObjectContainmentEList<SMTEnumLiteral>(SMTEnumLiteral.class, this, SmtLanguagePackage.SMT_ENUMERATED_TYPE_DECLARATION__ELEMENTS); | ||
77 | } | ||
78 | return elements; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | @Override | ||
87 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
88 | { | ||
89 | switch (featureID) | ||
90 | { | ||
91 | case SmtLanguagePackage.SMT_ENUMERATED_TYPE_DECLARATION__ELEMENTS: | ||
92 | return ((InternalEList<?>)getElements()).basicRemove(otherEnd, msgs); | ||
93 | } | ||
94 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
104 | { | ||
105 | switch (featureID) | ||
106 | { | ||
107 | case SmtLanguagePackage.SMT_ENUMERATED_TYPE_DECLARATION__ELEMENTS: | ||
108 | return getElements(); | ||
109 | } | ||
110 | return super.eGet(featureID, resolve, coreType); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @SuppressWarnings("unchecked") | ||
119 | @Override | ||
120 | public void eSet(int featureID, Object newValue) | ||
121 | { | ||
122 | switch (featureID) | ||
123 | { | ||
124 | case SmtLanguagePackage.SMT_ENUMERATED_TYPE_DECLARATION__ELEMENTS: | ||
125 | getElements().clear(); | ||
126 | getElements().addAll((Collection<? extends SMTEnumLiteral>)newValue); | ||
127 | return; | ||
128 | } | ||
129 | super.eSet(featureID, newValue); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public void eUnset(int featureID) | ||
139 | { | ||
140 | switch (featureID) | ||
141 | { | ||
142 | case SmtLanguagePackage.SMT_ENUMERATED_TYPE_DECLARATION__ELEMENTS: | ||
143 | getElements().clear(); | ||
144 | return; | ||
145 | } | ||
146 | super.eUnset(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public boolean eIsSet(int featureID) | ||
156 | { | ||
157 | switch (featureID) | ||
158 | { | ||
159 | case SmtLanguagePackage.SMT_ENUMERATED_TYPE_DECLARATION__ELEMENTS: | ||
160 | return elements != null && !elements.isEmpty(); | ||
161 | } | ||
162 | return super.eIsSet(featureID); | ||
163 | } | ||
164 | |||
165 | } //SMTEnumeratedTypeDeclarationImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTEqualsImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTEqualsImpl.java new file mode 100644 index 00000000..55896853 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTEqualsImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTEquals; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMT Equals</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTEqualsImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTEqualsImpl#getRightOperand <em>Right Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * </p> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class SMTEqualsImpl extends SMTRelationImpl implements SMTEquals | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected SMTTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected SMTTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected SMTEqualsImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return SmtLanguagePackage.Literals.SMT_EQUALS; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public SMTTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(SMTTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | SMTTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_EQUALS__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(SMTTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_EQUALS__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_EQUALS__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_EQUALS__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public SMTTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(SMTTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | SMTTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_EQUALS__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(SMTTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_EQUALS__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_EQUALS__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_EQUALS__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case SmtLanguagePackage.SMT_EQUALS__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case SmtLanguagePackage.SMT_EQUALS__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case SmtLanguagePackage.SMT_EQUALS__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case SmtLanguagePackage.SMT_EQUALS__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case SmtLanguagePackage.SMT_EQUALS__LEFT_OPERAND: | ||
217 | setLeftOperand((SMTTerm)newValue); | ||
218 | return; | ||
219 | case SmtLanguagePackage.SMT_EQUALS__RIGHT_OPERAND: | ||
220 | setRightOperand((SMTTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case SmtLanguagePackage.SMT_EQUALS__LEFT_OPERAND: | ||
237 | setLeftOperand((SMTTerm)null); | ||
238 | return; | ||
239 | case SmtLanguagePackage.SMT_EQUALS__RIGHT_OPERAND: | ||
240 | setRightOperand((SMTTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case SmtLanguagePackage.SMT_EQUALS__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case SmtLanguagePackage.SMT_EQUALS__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //SMTEqualsImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTErrorResultImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTErrorResultImpl.java new file mode 100644 index 00000000..52654821 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTErrorResultImpl.java | |||
@@ -0,0 +1,176 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTErrorResult; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
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 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>SMT Error Result</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * <ul> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTErrorResultImpl#getMessage <em>Message</em>}</li> | ||
22 | * </ul> | ||
23 | * </p> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class SMTErrorResultImpl extends SMTResultImpl implements SMTErrorResult | ||
28 | { | ||
29 | /** | ||
30 | * The default value of the '{@link #getMessage() <em>Message</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getMessage() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final String MESSAGE_EDEFAULT = null; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getMessage() <em>Message</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getMessage() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected String message = MESSAGE_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected SMTErrorResultImpl() | ||
55 | { | ||
56 | super(); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | protected EClass eStaticClass() | ||
66 | { | ||
67 | return SmtLanguagePackage.Literals.SMT_ERROR_RESULT; | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | public String getMessage() | ||
76 | { | ||
77 | return message; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public void setMessage(String newMessage) | ||
86 | { | ||
87 | String oldMessage = message; | ||
88 | message = newMessage; | ||
89 | if (eNotificationRequired()) | ||
90 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_ERROR_RESULT__MESSAGE, oldMessage, message)); | ||
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 | { | ||
101 | switch (featureID) | ||
102 | { | ||
103 | case SmtLanguagePackage.SMT_ERROR_RESULT__MESSAGE: | ||
104 | return getMessage(); | ||
105 | } | ||
106 | return super.eGet(featureID, resolve, coreType); | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | @Override | ||
115 | public void eSet(int featureID, Object newValue) | ||
116 | { | ||
117 | switch (featureID) | ||
118 | { | ||
119 | case SmtLanguagePackage.SMT_ERROR_RESULT__MESSAGE: | ||
120 | setMessage((String)newValue); | ||
121 | return; | ||
122 | } | ||
123 | super.eSet(featureID, newValue); | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | @Override | ||
132 | public void eUnset(int featureID) | ||
133 | { | ||
134 | switch (featureID) | ||
135 | { | ||
136 | case SmtLanguagePackage.SMT_ERROR_RESULT__MESSAGE: | ||
137 | setMessage(MESSAGE_EDEFAULT); | ||
138 | return; | ||
139 | } | ||
140 | super.eUnset(featureID); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public boolean eIsSet(int featureID) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case SmtLanguagePackage.SMT_ERROR_RESULT__MESSAGE: | ||
154 | return MESSAGE_EDEFAULT == null ? message != null : !MESSAGE_EDEFAULT.equals(message); | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | @Override | ||
165 | public String toString() | ||
166 | { | ||
167 | if (eIsProxy()) return super.toString(); | ||
168 | |||
169 | StringBuffer result = new StringBuffer(super.toString()); | ||
170 | result.append(" (message: "); | ||
171 | result.append(message); | ||
172 | result.append(')'); | ||
173 | return result.toString(); | ||
174 | } | ||
175 | |||
176 | } //SMTErrorResultImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTExistsImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTExistsImpl.java new file mode 100644 index 00000000..b33a8b4f --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTExistsImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTExists; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Exists</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTExistsImpl extends SMTQuantifiedExpressionImpl implements SMTExists | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTExistsImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_EXISTS; | ||
40 | } | ||
41 | |||
42 | } //SMTExistsImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTFailIfCombinatorImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTFailIfCombinatorImpl.java new file mode 100644 index 00000000..e600faca --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTFailIfCombinatorImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.ReasoningProbe; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTFailIfCombinator; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMT Fail If Combinator</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTFailIfCombinatorImpl#getProbe <em>Probe</em>}</li> | ||
25 | * </ul> | ||
26 | * </p> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class SMTFailIfCombinatorImpl extends SMTReasoningCombinatorImpl implements SMTFailIfCombinator | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getProbe() <em>Probe</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getProbe() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected ReasoningProbe probe; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected SMTFailIfCombinatorImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return SmtLanguagePackage.Literals.SMT_FAIL_IF_COMBINATOR; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public ReasoningProbe getProbe() | ||
69 | { | ||
70 | return probe; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetProbe(ReasoningProbe newProbe, NotificationChain msgs) | ||
79 | { | ||
80 | ReasoningProbe oldProbe = probe; | ||
81 | probe = newProbe; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_FAIL_IF_COMBINATOR__PROBE, oldProbe, newProbe); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setProbe(ReasoningProbe newProbe) | ||
96 | { | ||
97 | if (newProbe != probe) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (probe != null) | ||
101 | msgs = ((InternalEObject)probe).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_FAIL_IF_COMBINATOR__PROBE, null, msgs); | ||
102 | if (newProbe != null) | ||
103 | msgs = ((InternalEObject)newProbe).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_FAIL_IF_COMBINATOR__PROBE, null, msgs); | ||
104 | msgs = basicSetProbe(newProbe, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_FAIL_IF_COMBINATOR__PROBE, newProbe, newProbe)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case SmtLanguagePackage.SMT_FAIL_IF_COMBINATOR__PROBE: | ||
122 | return basicSetProbe(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case SmtLanguagePackage.SMT_FAIL_IF_COMBINATOR__PROBE: | ||
138 | return getProbe(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case SmtLanguagePackage.SMT_FAIL_IF_COMBINATOR__PROBE: | ||
154 | setProbe((ReasoningProbe)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case SmtLanguagePackage.SMT_FAIL_IF_COMBINATOR__PROBE: | ||
171 | setProbe((ReasoningProbe)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case SmtLanguagePackage.SMT_FAIL_IF_COMBINATOR__PROBE: | ||
188 | return probe != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //SMTFailIfCombinatorImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTForallImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTForallImpl.java new file mode 100644 index 00000000..184b2cf0 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTForallImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTForall; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Forall</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTForallImpl extends SMTQuantifiedExpressionImpl implements SMTForall | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTForallImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_FORALL; | ||
40 | } | ||
41 | |||
42 | } //SMTForallImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTFunctionDeclarationImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTFunctionDeclarationImpl.java new file mode 100644 index 00000000..dae096ac --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTFunctionDeclarationImpl.java | |||
@@ -0,0 +1,239 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTFunctionDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTypeReference; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.Notification; | ||
12 | import org.eclipse.emf.common.notify.NotificationChain; | ||
13 | |||
14 | import org.eclipse.emf.common.util.EList; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
20 | |||
21 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
22 | import org.eclipse.emf.ecore.util.InternalEList; | ||
23 | |||
24 | /** | ||
25 | * <!-- begin-user-doc --> | ||
26 | * An implementation of the model object '<em><b>SMT Function Declaration</b></em>'. | ||
27 | * <!-- end-user-doc --> | ||
28 | * <p> | ||
29 | * The following features are implemented: | ||
30 | * <ul> | ||
31 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTFunctionDeclarationImpl#getParameters <em>Parameters</em>}</li> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTFunctionDeclarationImpl#getRange <em>Range</em>}</li> | ||
33 | * </ul> | ||
34 | * </p> | ||
35 | * | ||
36 | * @generated | ||
37 | */ | ||
38 | public class SMTFunctionDeclarationImpl extends SMTSymbolicDeclarationImpl implements SMTFunctionDeclaration | ||
39 | { | ||
40 | /** | ||
41 | * The cached value of the '{@link #getParameters() <em>Parameters</em>}' containment reference list. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getParameters() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected EList<SMTTypeReference> parameters; | ||
49 | |||
50 | /** | ||
51 | * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @see #getRange() | ||
55 | * @generated | ||
56 | * @ordered | ||
57 | */ | ||
58 | protected SMTTypeReference range; | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | protected SMTFunctionDeclarationImpl() | ||
66 | { | ||
67 | super(); | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | @Override | ||
76 | protected EClass eStaticClass() | ||
77 | { | ||
78 | return SmtLanguagePackage.Literals.SMT_FUNCTION_DECLARATION; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public EList<SMTTypeReference> getParameters() | ||
87 | { | ||
88 | if (parameters == null) | ||
89 | { | ||
90 | parameters = new EObjectContainmentEList<SMTTypeReference>(SMTTypeReference.class, this, SmtLanguagePackage.SMT_FUNCTION_DECLARATION__PARAMETERS); | ||
91 | } | ||
92 | return parameters; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public SMTTypeReference getRange() | ||
101 | { | ||
102 | return range; | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | public NotificationChain basicSetRange(SMTTypeReference newRange, NotificationChain msgs) | ||
111 | { | ||
112 | SMTTypeReference oldRange = range; | ||
113 | range = newRange; | ||
114 | if (eNotificationRequired()) | ||
115 | { | ||
116 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_FUNCTION_DECLARATION__RANGE, oldRange, newRange); | ||
117 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
118 | } | ||
119 | return msgs; | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public void setRange(SMTTypeReference newRange) | ||
128 | { | ||
129 | if (newRange != range) | ||
130 | { | ||
131 | NotificationChain msgs = null; | ||
132 | if (range != null) | ||
133 | msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_FUNCTION_DECLARATION__RANGE, null, msgs); | ||
134 | if (newRange != null) | ||
135 | msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_FUNCTION_DECLARATION__RANGE, null, msgs); | ||
136 | msgs = basicSetRange(newRange, msgs); | ||
137 | if (msgs != null) msgs.dispatch(); | ||
138 | } | ||
139 | else if (eNotificationRequired()) | ||
140 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_FUNCTION_DECLARATION__RANGE, newRange, newRange)); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case SmtLanguagePackage.SMT_FUNCTION_DECLARATION__PARAMETERS: | ||
154 | return ((InternalEList<?>)getParameters()).basicRemove(otherEnd, msgs); | ||
155 | case SmtLanguagePackage.SMT_FUNCTION_DECLARATION__RANGE: | ||
156 | return basicSetRange(null, msgs); | ||
157 | } | ||
158 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case SmtLanguagePackage.SMT_FUNCTION_DECLARATION__PARAMETERS: | ||
172 | return getParameters(); | ||
173 | case SmtLanguagePackage.SMT_FUNCTION_DECLARATION__RANGE: | ||
174 | return getRange(); | ||
175 | } | ||
176 | return super.eGet(featureID, resolve, coreType); | ||
177 | } | ||
178 | |||
179 | /** | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @generated | ||
183 | */ | ||
184 | @SuppressWarnings("unchecked") | ||
185 | @Override | ||
186 | public void eSet(int featureID, Object newValue) | ||
187 | { | ||
188 | switch (featureID) | ||
189 | { | ||
190 | case SmtLanguagePackage.SMT_FUNCTION_DECLARATION__PARAMETERS: | ||
191 | getParameters().clear(); | ||
192 | getParameters().addAll((Collection<? extends SMTTypeReference>)newValue); | ||
193 | return; | ||
194 | case SmtLanguagePackage.SMT_FUNCTION_DECLARATION__RANGE: | ||
195 | setRange((SMTTypeReference)newValue); | ||
196 | return; | ||
197 | } | ||
198 | super.eSet(featureID, newValue); | ||
199 | } | ||
200 | |||
201 | /** | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | */ | ||
206 | @Override | ||
207 | public void eUnset(int featureID) | ||
208 | { | ||
209 | switch (featureID) | ||
210 | { | ||
211 | case SmtLanguagePackage.SMT_FUNCTION_DECLARATION__PARAMETERS: | ||
212 | getParameters().clear(); | ||
213 | return; | ||
214 | case SmtLanguagePackage.SMT_FUNCTION_DECLARATION__RANGE: | ||
215 | setRange((SMTTypeReference)null); | ||
216 | return; | ||
217 | } | ||
218 | super.eUnset(featureID); | ||
219 | } | ||
220 | |||
221 | /** | ||
222 | * <!-- begin-user-doc --> | ||
223 | * <!-- end-user-doc --> | ||
224 | * @generated | ||
225 | */ | ||
226 | @Override | ||
227 | public boolean eIsSet(int featureID) | ||
228 | { | ||
229 | switch (featureID) | ||
230 | { | ||
231 | case SmtLanguagePackage.SMT_FUNCTION_DECLARATION__PARAMETERS: | ||
232 | return parameters != null && !parameters.isEmpty(); | ||
233 | case SmtLanguagePackage.SMT_FUNCTION_DECLARATION__RANGE: | ||
234 | return range != null; | ||
235 | } | ||
236 | return super.eIsSet(featureID); | ||
237 | } | ||
238 | |||
239 | } //SMTFunctionDeclarationImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTFunctionDefinitionImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTFunctionDefinitionImpl.java new file mode 100644 index 00000000..df4a9cfb --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTFunctionDefinitionImpl.java | |||
@@ -0,0 +1,312 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTFunctionDefinition; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSortedVariable; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTypeReference; | ||
9 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.Notification; | ||
14 | import org.eclipse.emf.common.notify.NotificationChain; | ||
15 | |||
16 | import org.eclipse.emf.common.util.EList; | ||
17 | |||
18 | import org.eclipse.emf.ecore.EClass; | ||
19 | import org.eclipse.emf.ecore.InternalEObject; | ||
20 | |||
21 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
22 | |||
23 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
24 | import org.eclipse.emf.ecore.util.InternalEList; | ||
25 | |||
26 | /** | ||
27 | * <!-- begin-user-doc --> | ||
28 | * An implementation of the model object '<em><b>SMT Function Definition</b></em>'. | ||
29 | * <!-- end-user-doc --> | ||
30 | * <p> | ||
31 | * The following features are implemented: | ||
32 | * <ul> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTFunctionDefinitionImpl#getParameters <em>Parameters</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTFunctionDefinitionImpl#getRange <em>Range</em>}</li> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTFunctionDefinitionImpl#getValue <em>Value</em>}</li> | ||
36 | * </ul> | ||
37 | * </p> | ||
38 | * | ||
39 | * @generated | ||
40 | */ | ||
41 | public class SMTFunctionDefinitionImpl extends SMTSymbolicDeclarationImpl implements SMTFunctionDefinition | ||
42 | { | ||
43 | /** | ||
44 | * The cached value of the '{@link #getParameters() <em>Parameters</em>}' containment reference list. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getParameters() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected EList<SMTSortedVariable> parameters; | ||
52 | |||
53 | /** | ||
54 | * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @see #getRange() | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | protected SMTTypeReference range; | ||
62 | |||
63 | /** | ||
64 | * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @see #getValue() | ||
68 | * @generated | ||
69 | * @ordered | ||
70 | */ | ||
71 | protected SMTTerm value; | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | protected SMTFunctionDefinitionImpl() | ||
79 | { | ||
80 | super(); | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | @Override | ||
89 | protected EClass eStaticClass() | ||
90 | { | ||
91 | return SmtLanguagePackage.Literals.SMT_FUNCTION_DEFINITION; | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | public EList<SMTSortedVariable> getParameters() | ||
100 | { | ||
101 | if (parameters == null) | ||
102 | { | ||
103 | parameters = new EObjectContainmentEList<SMTSortedVariable>(SMTSortedVariable.class, this, SmtLanguagePackage.SMT_FUNCTION_DEFINITION__PARAMETERS); | ||
104 | } | ||
105 | return parameters; | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | public SMTTypeReference getRange() | ||
114 | { | ||
115 | return range; | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | public NotificationChain basicSetRange(SMTTypeReference newRange, NotificationChain msgs) | ||
124 | { | ||
125 | SMTTypeReference oldRange = range; | ||
126 | range = newRange; | ||
127 | if (eNotificationRequired()) | ||
128 | { | ||
129 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_FUNCTION_DEFINITION__RANGE, oldRange, newRange); | ||
130 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
131 | } | ||
132 | return msgs; | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public void setRange(SMTTypeReference newRange) | ||
141 | { | ||
142 | if (newRange != range) | ||
143 | { | ||
144 | NotificationChain msgs = null; | ||
145 | if (range != null) | ||
146 | msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_FUNCTION_DEFINITION__RANGE, null, msgs); | ||
147 | if (newRange != null) | ||
148 | msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_FUNCTION_DEFINITION__RANGE, null, msgs); | ||
149 | msgs = basicSetRange(newRange, msgs); | ||
150 | if (msgs != null) msgs.dispatch(); | ||
151 | } | ||
152 | else if (eNotificationRequired()) | ||
153 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_FUNCTION_DEFINITION__RANGE, newRange, newRange)); | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | public SMTTerm getValue() | ||
162 | { | ||
163 | return value; | ||
164 | } | ||
165 | |||
166 | /** | ||
167 | * <!-- begin-user-doc --> | ||
168 | * <!-- end-user-doc --> | ||
169 | * @generated | ||
170 | */ | ||
171 | public NotificationChain basicSetValue(SMTTerm newValue, NotificationChain msgs) | ||
172 | { | ||
173 | SMTTerm oldValue = value; | ||
174 | value = newValue; | ||
175 | if (eNotificationRequired()) | ||
176 | { | ||
177 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_FUNCTION_DEFINITION__VALUE, oldValue, newValue); | ||
178 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
179 | } | ||
180 | return msgs; | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @generated | ||
187 | */ | ||
188 | public void setValue(SMTTerm newValue) | ||
189 | { | ||
190 | if (newValue != value) | ||
191 | { | ||
192 | NotificationChain msgs = null; | ||
193 | if (value != null) | ||
194 | msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_FUNCTION_DEFINITION__VALUE, null, msgs); | ||
195 | if (newValue != null) | ||
196 | msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_FUNCTION_DEFINITION__VALUE, null, msgs); | ||
197 | msgs = basicSetValue(newValue, msgs); | ||
198 | if (msgs != null) msgs.dispatch(); | ||
199 | } | ||
200 | else if (eNotificationRequired()) | ||
201 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_FUNCTION_DEFINITION__VALUE, newValue, newValue)); | ||
202 | } | ||
203 | |||
204 | /** | ||
205 | * <!-- begin-user-doc --> | ||
206 | * <!-- end-user-doc --> | ||
207 | * @generated | ||
208 | */ | ||
209 | @Override | ||
210 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
211 | { | ||
212 | switch (featureID) | ||
213 | { | ||
214 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__PARAMETERS: | ||
215 | return ((InternalEList<?>)getParameters()).basicRemove(otherEnd, msgs); | ||
216 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__RANGE: | ||
217 | return basicSetRange(null, msgs); | ||
218 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__VALUE: | ||
219 | return basicSetValue(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 | { | ||
232 | switch (featureID) | ||
233 | { | ||
234 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__PARAMETERS: | ||
235 | return getParameters(); | ||
236 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__RANGE: | ||
237 | return getRange(); | ||
238 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__VALUE: | ||
239 | return getValue(); | ||
240 | } | ||
241 | return super.eGet(featureID, resolve, coreType); | ||
242 | } | ||
243 | |||
244 | /** | ||
245 | * <!-- begin-user-doc --> | ||
246 | * <!-- end-user-doc --> | ||
247 | * @generated | ||
248 | */ | ||
249 | @SuppressWarnings("unchecked") | ||
250 | @Override | ||
251 | public void eSet(int featureID, Object newValue) | ||
252 | { | ||
253 | switch (featureID) | ||
254 | { | ||
255 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__PARAMETERS: | ||
256 | getParameters().clear(); | ||
257 | getParameters().addAll((Collection<? extends SMTSortedVariable>)newValue); | ||
258 | return; | ||
259 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__RANGE: | ||
260 | setRange((SMTTypeReference)newValue); | ||
261 | return; | ||
262 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__VALUE: | ||
263 | setValue((SMTTerm)newValue); | ||
264 | return; | ||
265 | } | ||
266 | super.eSet(featureID, newValue); | ||
267 | } | ||
268 | |||
269 | /** | ||
270 | * <!-- begin-user-doc --> | ||
271 | * <!-- end-user-doc --> | ||
272 | * @generated | ||
273 | */ | ||
274 | @Override | ||
275 | public void eUnset(int featureID) | ||
276 | { | ||
277 | switch (featureID) | ||
278 | { | ||
279 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__PARAMETERS: | ||
280 | getParameters().clear(); | ||
281 | return; | ||
282 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__RANGE: | ||
283 | setRange((SMTTypeReference)null); | ||
284 | return; | ||
285 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__VALUE: | ||
286 | setValue((SMTTerm)null); | ||
287 | return; | ||
288 | } | ||
289 | super.eUnset(featureID); | ||
290 | } | ||
291 | |||
292 | /** | ||
293 | * <!-- begin-user-doc --> | ||
294 | * <!-- end-user-doc --> | ||
295 | * @generated | ||
296 | */ | ||
297 | @Override | ||
298 | public boolean eIsSet(int featureID) | ||
299 | { | ||
300 | switch (featureID) | ||
301 | { | ||
302 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__PARAMETERS: | ||
303 | return parameters != null && !parameters.isEmpty(); | ||
304 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__RANGE: | ||
305 | return range != null; | ||
306 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION__VALUE: | ||
307 | return value != null; | ||
308 | } | ||
309 | return super.eIsSet(featureID); | ||
310 | } | ||
311 | |||
312 | } //SMTFunctionDefinitionImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTGetModelCommandImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTGetModelCommandImpl.java new file mode 100644 index 00000000..dee08f0a --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTGetModelCommandImpl.java | |||
@@ -0,0 +1,44 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTGetModelCommand; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>SMT Get Model Command</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * <p> | ||
17 | * </p> | ||
18 | * | ||
19 | * @generated | ||
20 | */ | ||
21 | public class SMTGetModelCommandImpl extends MinimalEObjectImpl.Container implements SMTGetModelCommand | ||
22 | { | ||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | protected SMTGetModelCommandImpl() | ||
29 | { | ||
30 | super(); | ||
31 | } | ||
32 | |||
33 | /** | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | @Override | ||
39 | protected EClass eStaticClass() | ||
40 | { | ||
41 | return SmtLanguagePackage.Literals.SMT_GET_MODEL_COMMAND; | ||
42 | } | ||
43 | |||
44 | } //SMTGetModelCommandImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTITEImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTITEImpl.java new file mode 100644 index 00000000..760721d6 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTITEImpl.java | |||
@@ -0,0 +1,335 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTITE; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMTITE</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTITEImpl#getCondition <em>Condition</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTITEImpl#getIf <em>If</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTITEImpl#getElse <em>Else</em>}</li> | ||
27 | * </ul> | ||
28 | * </p> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class SMTITEImpl extends SMTTermImpl implements SMTITE | ||
33 | { | ||
34 | /** | ||
35 | * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getCondition() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected SMTTerm condition; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getIf() <em>If</em>}' containment reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getIf() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected SMTTerm if_; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getElse() <em>Else</em>}' containment reference. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getElse() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected SMTTerm else_; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected SMTITEImpl() | ||
70 | { | ||
71 | super(); | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | @Override | ||
80 | protected EClass eStaticClass() | ||
81 | { | ||
82 | return SmtLanguagePackage.Literals.SMTITE; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | public SMTTerm getCondition() | ||
91 | { | ||
92 | return condition; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public NotificationChain basicSetCondition(SMTTerm newCondition, NotificationChain msgs) | ||
101 | { | ||
102 | SMTTerm oldCondition = condition; | ||
103 | condition = newCondition; | ||
104 | if (eNotificationRequired()) | ||
105 | { | ||
106 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTITE__CONDITION, oldCondition, newCondition); | ||
107 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
108 | } | ||
109 | return msgs; | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | public void setCondition(SMTTerm newCondition) | ||
118 | { | ||
119 | if (newCondition != condition) | ||
120 | { | ||
121 | NotificationChain msgs = null; | ||
122 | if (condition != null) | ||
123 | msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTITE__CONDITION, null, msgs); | ||
124 | if (newCondition != null) | ||
125 | msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTITE__CONDITION, null, msgs); | ||
126 | msgs = basicSetCondition(newCondition, msgs); | ||
127 | if (msgs != null) msgs.dispatch(); | ||
128 | } | ||
129 | else if (eNotificationRequired()) | ||
130 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTITE__CONDITION, newCondition, newCondition)); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | public SMTTerm getIf() | ||
139 | { | ||
140 | return if_; | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | public NotificationChain basicSetIf(SMTTerm newIf, NotificationChain msgs) | ||
149 | { | ||
150 | SMTTerm oldIf = if_; | ||
151 | if_ = newIf; | ||
152 | if (eNotificationRequired()) | ||
153 | { | ||
154 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTITE__IF, oldIf, newIf); | ||
155 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
156 | } | ||
157 | return msgs; | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | public void setIf(SMTTerm newIf) | ||
166 | { | ||
167 | if (newIf != if_) | ||
168 | { | ||
169 | NotificationChain msgs = null; | ||
170 | if (if_ != null) | ||
171 | msgs = ((InternalEObject)if_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTITE__IF, null, msgs); | ||
172 | if (newIf != null) | ||
173 | msgs = ((InternalEObject)newIf).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTITE__IF, null, msgs); | ||
174 | msgs = basicSetIf(newIf, msgs); | ||
175 | if (msgs != null) msgs.dispatch(); | ||
176 | } | ||
177 | else if (eNotificationRequired()) | ||
178 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTITE__IF, newIf, newIf)); | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | public SMTTerm getElse() | ||
187 | { | ||
188 | return else_; | ||
189 | } | ||
190 | |||
191 | /** | ||
192 | * <!-- begin-user-doc --> | ||
193 | * <!-- end-user-doc --> | ||
194 | * @generated | ||
195 | */ | ||
196 | public NotificationChain basicSetElse(SMTTerm newElse, NotificationChain msgs) | ||
197 | { | ||
198 | SMTTerm oldElse = else_; | ||
199 | else_ = newElse; | ||
200 | if (eNotificationRequired()) | ||
201 | { | ||
202 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTITE__ELSE, oldElse, newElse); | ||
203 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
204 | } | ||
205 | return msgs; | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | */ | ||
213 | public void setElse(SMTTerm newElse) | ||
214 | { | ||
215 | if (newElse != else_) | ||
216 | { | ||
217 | NotificationChain msgs = null; | ||
218 | if (else_ != null) | ||
219 | msgs = ((InternalEObject)else_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTITE__ELSE, null, msgs); | ||
220 | if (newElse != null) | ||
221 | msgs = ((InternalEObject)newElse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTITE__ELSE, null, msgs); | ||
222 | msgs = basicSetElse(newElse, msgs); | ||
223 | if (msgs != null) msgs.dispatch(); | ||
224 | } | ||
225 | else if (eNotificationRequired()) | ||
226 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTITE__ELSE, newElse, newElse)); | ||
227 | } | ||
228 | |||
229 | /** | ||
230 | * <!-- begin-user-doc --> | ||
231 | * <!-- end-user-doc --> | ||
232 | * @generated | ||
233 | */ | ||
234 | @Override | ||
235 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
236 | { | ||
237 | switch (featureID) | ||
238 | { | ||
239 | case SmtLanguagePackage.SMTITE__CONDITION: | ||
240 | return basicSetCondition(null, msgs); | ||
241 | case SmtLanguagePackage.SMTITE__IF: | ||
242 | return basicSetIf(null, msgs); | ||
243 | case SmtLanguagePackage.SMTITE__ELSE: | ||
244 | return basicSetElse(null, msgs); | ||
245 | } | ||
246 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
247 | } | ||
248 | |||
249 | /** | ||
250 | * <!-- begin-user-doc --> | ||
251 | * <!-- end-user-doc --> | ||
252 | * @generated | ||
253 | */ | ||
254 | @Override | ||
255 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
256 | { | ||
257 | switch (featureID) | ||
258 | { | ||
259 | case SmtLanguagePackage.SMTITE__CONDITION: | ||
260 | return getCondition(); | ||
261 | case SmtLanguagePackage.SMTITE__IF: | ||
262 | return getIf(); | ||
263 | case SmtLanguagePackage.SMTITE__ELSE: | ||
264 | return getElse(); | ||
265 | } | ||
266 | return super.eGet(featureID, resolve, coreType); | ||
267 | } | ||
268 | |||
269 | /** | ||
270 | * <!-- begin-user-doc --> | ||
271 | * <!-- end-user-doc --> | ||
272 | * @generated | ||
273 | */ | ||
274 | @Override | ||
275 | public void eSet(int featureID, Object newValue) | ||
276 | { | ||
277 | switch (featureID) | ||
278 | { | ||
279 | case SmtLanguagePackage.SMTITE__CONDITION: | ||
280 | setCondition((SMTTerm)newValue); | ||
281 | return; | ||
282 | case SmtLanguagePackage.SMTITE__IF: | ||
283 | setIf((SMTTerm)newValue); | ||
284 | return; | ||
285 | case SmtLanguagePackage.SMTITE__ELSE: | ||
286 | setElse((SMTTerm)newValue); | ||
287 | return; | ||
288 | } | ||
289 | super.eSet(featureID, newValue); | ||
290 | } | ||
291 | |||
292 | /** | ||
293 | * <!-- begin-user-doc --> | ||
294 | * <!-- end-user-doc --> | ||
295 | * @generated | ||
296 | */ | ||
297 | @Override | ||
298 | public void eUnset(int featureID) | ||
299 | { | ||
300 | switch (featureID) | ||
301 | { | ||
302 | case SmtLanguagePackage.SMTITE__CONDITION: | ||
303 | setCondition((SMTTerm)null); | ||
304 | return; | ||
305 | case SmtLanguagePackage.SMTITE__IF: | ||
306 | setIf((SMTTerm)null); | ||
307 | return; | ||
308 | case SmtLanguagePackage.SMTITE__ELSE: | ||
309 | setElse((SMTTerm)null); | ||
310 | return; | ||
311 | } | ||
312 | super.eUnset(featureID); | ||
313 | } | ||
314 | |||
315 | /** | ||
316 | * <!-- begin-user-doc --> | ||
317 | * <!-- end-user-doc --> | ||
318 | * @generated | ||
319 | */ | ||
320 | @Override | ||
321 | public boolean eIsSet(int featureID) | ||
322 | { | ||
323 | switch (featureID) | ||
324 | { | ||
325 | case SmtLanguagePackage.SMTITE__CONDITION: | ||
326 | return condition != null; | ||
327 | case SmtLanguagePackage.SMTITE__IF: | ||
328 | return if_ != null; | ||
329 | case SmtLanguagePackage.SMTITE__ELSE: | ||
330 | return else_ != null; | ||
331 | } | ||
332 | return super.eIsSet(featureID); | ||
333 | } | ||
334 | |||
335 | } //SMTITEImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIfCombinatorImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIfCombinatorImpl.java new file mode 100644 index 00000000..fb8de467 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIfCombinatorImpl.java | |||
@@ -0,0 +1,336 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.ReasoningProbe; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTIfCombinator; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningTactic; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>SMT If Combinator</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTIfCombinatorImpl#getProbe <em>Probe</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTIfCombinatorImpl#getIfTactic <em>If Tactic</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTIfCombinatorImpl#getElseTactic <em>Else Tactic</em>}</li> | ||
28 | * </ul> | ||
29 | * </p> | ||
30 | * | ||
31 | * @generated | ||
32 | */ | ||
33 | public class SMTIfCombinatorImpl extends SMTReasoningCombinatorImpl implements SMTIfCombinator | ||
34 | { | ||
35 | /** | ||
36 | * The cached value of the '{@link #getProbe() <em>Probe</em>}' containment reference. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @see #getProbe() | ||
40 | * @generated | ||
41 | * @ordered | ||
42 | */ | ||
43 | protected ReasoningProbe probe; | ||
44 | |||
45 | /** | ||
46 | * The cached value of the '{@link #getIfTactic() <em>If Tactic</em>}' containment reference. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @see #getIfTactic() | ||
50 | * @generated | ||
51 | * @ordered | ||
52 | */ | ||
53 | protected SMTReasoningTactic ifTactic; | ||
54 | |||
55 | /** | ||
56 | * The cached value of the '{@link #getElseTactic() <em>Else Tactic</em>}' containment reference. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @see #getElseTactic() | ||
60 | * @generated | ||
61 | * @ordered | ||
62 | */ | ||
63 | protected SMTReasoningTactic elseTactic; | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | protected SMTIfCombinatorImpl() | ||
71 | { | ||
72 | super(); | ||
73 | } | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | @Override | ||
81 | protected EClass eStaticClass() | ||
82 | { | ||
83 | return SmtLanguagePackage.Literals.SMT_IF_COMBINATOR; | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | public ReasoningProbe getProbe() | ||
92 | { | ||
93 | return probe; | ||
94 | } | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | public NotificationChain basicSetProbe(ReasoningProbe newProbe, NotificationChain msgs) | ||
102 | { | ||
103 | ReasoningProbe oldProbe = probe; | ||
104 | probe = newProbe; | ||
105 | if (eNotificationRequired()) | ||
106 | { | ||
107 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IF_COMBINATOR__PROBE, oldProbe, newProbe); | ||
108 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
109 | } | ||
110 | return msgs; | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | public void setProbe(ReasoningProbe newProbe) | ||
119 | { | ||
120 | if (newProbe != probe) | ||
121 | { | ||
122 | NotificationChain msgs = null; | ||
123 | if (probe != null) | ||
124 | msgs = ((InternalEObject)probe).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IF_COMBINATOR__PROBE, null, msgs); | ||
125 | if (newProbe != null) | ||
126 | msgs = ((InternalEObject)newProbe).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IF_COMBINATOR__PROBE, null, msgs); | ||
127 | msgs = basicSetProbe(newProbe, msgs); | ||
128 | if (msgs != null) msgs.dispatch(); | ||
129 | } | ||
130 | else if (eNotificationRequired()) | ||
131 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IF_COMBINATOR__PROBE, newProbe, newProbe)); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | public SMTReasoningTactic getIfTactic() | ||
140 | { | ||
141 | return ifTactic; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | public NotificationChain basicSetIfTactic(SMTReasoningTactic newIfTactic, NotificationChain msgs) | ||
150 | { | ||
151 | SMTReasoningTactic oldIfTactic = ifTactic; | ||
152 | ifTactic = newIfTactic; | ||
153 | if (eNotificationRequired()) | ||
154 | { | ||
155 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IF_COMBINATOR__IF_TACTIC, oldIfTactic, newIfTactic); | ||
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 | public void setIfTactic(SMTReasoningTactic newIfTactic) | ||
167 | { | ||
168 | if (newIfTactic != ifTactic) | ||
169 | { | ||
170 | NotificationChain msgs = null; | ||
171 | if (ifTactic != null) | ||
172 | msgs = ((InternalEObject)ifTactic).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IF_COMBINATOR__IF_TACTIC, null, msgs); | ||
173 | if (newIfTactic != null) | ||
174 | msgs = ((InternalEObject)newIfTactic).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IF_COMBINATOR__IF_TACTIC, null, msgs); | ||
175 | msgs = basicSetIfTactic(newIfTactic, msgs); | ||
176 | if (msgs != null) msgs.dispatch(); | ||
177 | } | ||
178 | else if (eNotificationRequired()) | ||
179 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IF_COMBINATOR__IF_TACTIC, newIfTactic, newIfTactic)); | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | public SMTReasoningTactic getElseTactic() | ||
188 | { | ||
189 | return elseTactic; | ||
190 | } | ||
191 | |||
192 | /** | ||
193 | * <!-- begin-user-doc --> | ||
194 | * <!-- end-user-doc --> | ||
195 | * @generated | ||
196 | */ | ||
197 | public NotificationChain basicSetElseTactic(SMTReasoningTactic newElseTactic, NotificationChain msgs) | ||
198 | { | ||
199 | SMTReasoningTactic oldElseTactic = elseTactic; | ||
200 | elseTactic = newElseTactic; | ||
201 | if (eNotificationRequired()) | ||
202 | { | ||
203 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IF_COMBINATOR__ELSE_TACTIC, oldElseTactic, newElseTactic); | ||
204 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
205 | } | ||
206 | return msgs; | ||
207 | } | ||
208 | |||
209 | /** | ||
210 | * <!-- begin-user-doc --> | ||
211 | * <!-- end-user-doc --> | ||
212 | * @generated | ||
213 | */ | ||
214 | public void setElseTactic(SMTReasoningTactic newElseTactic) | ||
215 | { | ||
216 | if (newElseTactic != elseTactic) | ||
217 | { | ||
218 | NotificationChain msgs = null; | ||
219 | if (elseTactic != null) | ||
220 | msgs = ((InternalEObject)elseTactic).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IF_COMBINATOR__ELSE_TACTIC, null, msgs); | ||
221 | if (newElseTactic != null) | ||
222 | msgs = ((InternalEObject)newElseTactic).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IF_COMBINATOR__ELSE_TACTIC, null, msgs); | ||
223 | msgs = basicSetElseTactic(newElseTactic, msgs); | ||
224 | if (msgs != null) msgs.dispatch(); | ||
225 | } | ||
226 | else if (eNotificationRequired()) | ||
227 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IF_COMBINATOR__ELSE_TACTIC, newElseTactic, newElseTactic)); | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @generated | ||
234 | */ | ||
235 | @Override | ||
236 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
237 | { | ||
238 | switch (featureID) | ||
239 | { | ||
240 | case SmtLanguagePackage.SMT_IF_COMBINATOR__PROBE: | ||
241 | return basicSetProbe(null, msgs); | ||
242 | case SmtLanguagePackage.SMT_IF_COMBINATOR__IF_TACTIC: | ||
243 | return basicSetIfTactic(null, msgs); | ||
244 | case SmtLanguagePackage.SMT_IF_COMBINATOR__ELSE_TACTIC: | ||
245 | return basicSetElseTactic(null, msgs); | ||
246 | } | ||
247 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
248 | } | ||
249 | |||
250 | /** | ||
251 | * <!-- begin-user-doc --> | ||
252 | * <!-- end-user-doc --> | ||
253 | * @generated | ||
254 | */ | ||
255 | @Override | ||
256 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
257 | { | ||
258 | switch (featureID) | ||
259 | { | ||
260 | case SmtLanguagePackage.SMT_IF_COMBINATOR__PROBE: | ||
261 | return getProbe(); | ||
262 | case SmtLanguagePackage.SMT_IF_COMBINATOR__IF_TACTIC: | ||
263 | return getIfTactic(); | ||
264 | case SmtLanguagePackage.SMT_IF_COMBINATOR__ELSE_TACTIC: | ||
265 | return getElseTactic(); | ||
266 | } | ||
267 | return super.eGet(featureID, resolve, coreType); | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * <!-- begin-user-doc --> | ||
272 | * <!-- end-user-doc --> | ||
273 | * @generated | ||
274 | */ | ||
275 | @Override | ||
276 | public void eSet(int featureID, Object newValue) | ||
277 | { | ||
278 | switch (featureID) | ||
279 | { | ||
280 | case SmtLanguagePackage.SMT_IF_COMBINATOR__PROBE: | ||
281 | setProbe((ReasoningProbe)newValue); | ||
282 | return; | ||
283 | case SmtLanguagePackage.SMT_IF_COMBINATOR__IF_TACTIC: | ||
284 | setIfTactic((SMTReasoningTactic)newValue); | ||
285 | return; | ||
286 | case SmtLanguagePackage.SMT_IF_COMBINATOR__ELSE_TACTIC: | ||
287 | setElseTactic((SMTReasoningTactic)newValue); | ||
288 | return; | ||
289 | } | ||
290 | super.eSet(featureID, newValue); | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * <!-- begin-user-doc --> | ||
295 | * <!-- end-user-doc --> | ||
296 | * @generated | ||
297 | */ | ||
298 | @Override | ||
299 | public void eUnset(int featureID) | ||
300 | { | ||
301 | switch (featureID) | ||
302 | { | ||
303 | case SmtLanguagePackage.SMT_IF_COMBINATOR__PROBE: | ||
304 | setProbe((ReasoningProbe)null); | ||
305 | return; | ||
306 | case SmtLanguagePackage.SMT_IF_COMBINATOR__IF_TACTIC: | ||
307 | setIfTactic((SMTReasoningTactic)null); | ||
308 | return; | ||
309 | case SmtLanguagePackage.SMT_IF_COMBINATOR__ELSE_TACTIC: | ||
310 | setElseTactic((SMTReasoningTactic)null); | ||
311 | return; | ||
312 | } | ||
313 | super.eUnset(featureID); | ||
314 | } | ||
315 | |||
316 | /** | ||
317 | * <!-- begin-user-doc --> | ||
318 | * <!-- end-user-doc --> | ||
319 | * @generated | ||
320 | */ | ||
321 | @Override | ||
322 | public boolean eIsSet(int featureID) | ||
323 | { | ||
324 | switch (featureID) | ||
325 | { | ||
326 | case SmtLanguagePackage.SMT_IF_COMBINATOR__PROBE: | ||
327 | return probe != null; | ||
328 | case SmtLanguagePackage.SMT_IF_COMBINATOR__IF_TACTIC: | ||
329 | return ifTactic != null; | ||
330 | case SmtLanguagePackage.SMT_IF_COMBINATOR__ELSE_TACTIC: | ||
331 | return elseTactic != null; | ||
332 | } | ||
333 | return super.eIsSet(featureID); | ||
334 | } | ||
335 | |||
336 | } //SMTIfCombinatorImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIffImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIffImpl.java new file mode 100644 index 00000000..c0a70021 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIffImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTIff; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMT Iff</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTIffImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTIffImpl#getRightOperand <em>Right Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * </p> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class SMTIffImpl extends SMTBoolOperationImpl implements SMTIff | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected SMTTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected SMTTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected SMTIffImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return SmtLanguagePackage.Literals.SMT_IFF; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public SMTTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(SMTTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | SMTTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IFF__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(SMTTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IFF__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IFF__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IFF__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public SMTTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(SMTTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | SMTTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IFF__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(SMTTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IFF__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IFF__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IFF__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case SmtLanguagePackage.SMT_IFF__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case SmtLanguagePackage.SMT_IFF__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case SmtLanguagePackage.SMT_IFF__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case SmtLanguagePackage.SMT_IFF__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case SmtLanguagePackage.SMT_IFF__LEFT_OPERAND: | ||
217 | setLeftOperand((SMTTerm)newValue); | ||
218 | return; | ||
219 | case SmtLanguagePackage.SMT_IFF__RIGHT_OPERAND: | ||
220 | setRightOperand((SMTTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case SmtLanguagePackage.SMT_IFF__LEFT_OPERAND: | ||
237 | setLeftOperand((SMTTerm)null); | ||
238 | return; | ||
239 | case SmtLanguagePackage.SMT_IFF__RIGHT_OPERAND: | ||
240 | setRightOperand((SMTTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case SmtLanguagePackage.SMT_IFF__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case SmtLanguagePackage.SMT_IFF__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //SMTIffImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTImplImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTImplImpl.java new file mode 100644 index 00000000..42f1a6e1 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTImplImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTImpl; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMT Impl</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTImplImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTImplImpl#getRightOperand <em>Right Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * </p> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class SMTImplImpl extends SMTBoolOperationImpl implements SMTImpl | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected SMTTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected SMTTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected SMTImplImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return SmtLanguagePackage.Literals.SMT_IMPL; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public SMTTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(SMTTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | SMTTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IMPL__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(SMTTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IMPL__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IMPL__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IMPL__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public SMTTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(SMTTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | SMTTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IMPL__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(SMTTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IMPL__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_IMPL__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_IMPL__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case SmtLanguagePackage.SMT_IMPL__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case SmtLanguagePackage.SMT_IMPL__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case SmtLanguagePackage.SMT_IMPL__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case SmtLanguagePackage.SMT_IMPL__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case SmtLanguagePackage.SMT_IMPL__LEFT_OPERAND: | ||
217 | setLeftOperand((SMTTerm)newValue); | ||
218 | return; | ||
219 | case SmtLanguagePackage.SMT_IMPL__RIGHT_OPERAND: | ||
220 | setRightOperand((SMTTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case SmtLanguagePackage.SMT_IMPL__LEFT_OPERAND: | ||
237 | setLeftOperand((SMTTerm)null); | ||
238 | return; | ||
239 | case SmtLanguagePackage.SMT_IMPL__RIGHT_OPERAND: | ||
240 | setRightOperand((SMTTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case SmtLanguagePackage.SMT_IMPL__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case SmtLanguagePackage.SMT_IMPL__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //SMTImplImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTInlineConstantDefinitionImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTInlineConstantDefinitionImpl.java new file mode 100644 index 00000000..9ffa7e12 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTInlineConstantDefinitionImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTInlineConstantDefinition; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMT Inline Constant Definition</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTInlineConstantDefinitionImpl#getDefinition <em>Definition</em>}</li> | ||
25 | * </ul> | ||
26 | * </p> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class SMTInlineConstantDefinitionImpl extends SMTSymbolicDeclarationImpl implements SMTInlineConstantDefinition | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getDefinition() <em>Definition</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getDefinition() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected SMTTerm definition; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected SMTInlineConstantDefinitionImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return SmtLanguagePackage.Literals.SMT_INLINE_CONSTANT_DEFINITION; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public SMTTerm getDefinition() | ||
69 | { | ||
70 | return definition; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetDefinition(SMTTerm newDefinition, NotificationChain msgs) | ||
79 | { | ||
80 | SMTTerm oldDefinition = definition; | ||
81 | definition = newDefinition; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_INLINE_CONSTANT_DEFINITION__DEFINITION, oldDefinition, newDefinition); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setDefinition(SMTTerm newDefinition) | ||
96 | { | ||
97 | if (newDefinition != definition) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (definition != null) | ||
101 | msgs = ((InternalEObject)definition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_INLINE_CONSTANT_DEFINITION__DEFINITION, null, msgs); | ||
102 | if (newDefinition != null) | ||
103 | msgs = ((InternalEObject)newDefinition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_INLINE_CONSTANT_DEFINITION__DEFINITION, null, msgs); | ||
104 | msgs = basicSetDefinition(newDefinition, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_INLINE_CONSTANT_DEFINITION__DEFINITION, newDefinition, newDefinition)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case SmtLanguagePackage.SMT_INLINE_CONSTANT_DEFINITION__DEFINITION: | ||
122 | return basicSetDefinition(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case SmtLanguagePackage.SMT_INLINE_CONSTANT_DEFINITION__DEFINITION: | ||
138 | return getDefinition(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case SmtLanguagePackage.SMT_INLINE_CONSTANT_DEFINITION__DEFINITION: | ||
154 | setDefinition((SMTTerm)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case SmtLanguagePackage.SMT_INLINE_CONSTANT_DEFINITION__DEFINITION: | ||
171 | setDefinition((SMTTerm)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case SmtLanguagePackage.SMT_INLINE_CONSTANT_DEFINITION__DEFINITION: | ||
188 | return definition != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //SMTInlineConstantDefinitionImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTInputImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTInputImpl.java new file mode 100644 index 00000000..c336f8e6 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTInputImpl.java | |||
@@ -0,0 +1,469 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTAssertion; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTFunctionDeclaration; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTFunctionDefinition; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTGetModelCommand; | ||
9 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTInput; | ||
10 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTOption; | ||
11 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSatCommand; | ||
12 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTType; | ||
13 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
14 | |||
15 | import java.util.Collection; | ||
16 | |||
17 | import org.eclipse.emf.common.notify.Notification; | ||
18 | import org.eclipse.emf.common.notify.NotificationChain; | ||
19 | |||
20 | import org.eclipse.emf.common.util.EList; | ||
21 | |||
22 | import org.eclipse.emf.ecore.EClass; | ||
23 | import org.eclipse.emf.ecore.InternalEObject; | ||
24 | |||
25 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
26 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
27 | |||
28 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
29 | import org.eclipse.emf.ecore.util.InternalEList; | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * An implementation of the model object '<em><b>SMT Input</b></em>'. | ||
34 | * <!-- end-user-doc --> | ||
35 | * <p> | ||
36 | * The following features are implemented: | ||
37 | * <ul> | ||
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTInputImpl#getOptions <em>Options</em>}</li> | ||
39 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTInputImpl#getTypeDeclarations <em>Type Declarations</em>}</li> | ||
40 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTInputImpl#getFunctionDeclarations <em>Function Declarations</em>}</li> | ||
41 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTInputImpl#getFunctionDefinition <em>Function Definition</em>}</li> | ||
42 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTInputImpl#getAssertions <em>Assertions</em>}</li> | ||
43 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTInputImpl#getSatCommand <em>Sat Command</em>}</li> | ||
44 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTInputImpl#getGetModelCommand <em>Get Model Command</em>}</li> | ||
45 | * </ul> | ||
46 | * </p> | ||
47 | * | ||
48 | * @generated | ||
49 | */ | ||
50 | public class SMTInputImpl extends MinimalEObjectImpl.Container implements SMTInput | ||
51 | { | ||
52 | /** | ||
53 | * The cached value of the '{@link #getOptions() <em>Options</em>}' containment reference list. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #getOptions() | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | protected EList<SMTOption> options; | ||
61 | |||
62 | /** | ||
63 | * The cached value of the '{@link #getTypeDeclarations() <em>Type Declarations</em>}' containment reference list. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @see #getTypeDeclarations() | ||
67 | * @generated | ||
68 | * @ordered | ||
69 | */ | ||
70 | protected EList<SMTType> typeDeclarations; | ||
71 | |||
72 | /** | ||
73 | * The cached value of the '{@link #getFunctionDeclarations() <em>Function Declarations</em>}' containment reference list. | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @see #getFunctionDeclarations() | ||
77 | * @generated | ||
78 | * @ordered | ||
79 | */ | ||
80 | protected EList<SMTFunctionDeclaration> functionDeclarations; | ||
81 | |||
82 | /** | ||
83 | * The cached value of the '{@link #getFunctionDefinition() <em>Function Definition</em>}' containment reference list. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @see #getFunctionDefinition() | ||
87 | * @generated | ||
88 | * @ordered | ||
89 | */ | ||
90 | protected EList<SMTFunctionDefinition> functionDefinition; | ||
91 | |||
92 | /** | ||
93 | * The cached value of the '{@link #getAssertions() <em>Assertions</em>}' containment reference list. | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @see #getAssertions() | ||
97 | * @generated | ||
98 | * @ordered | ||
99 | */ | ||
100 | protected EList<SMTAssertion> assertions; | ||
101 | |||
102 | /** | ||
103 | * The cached value of the '{@link #getSatCommand() <em>Sat Command</em>}' containment reference. | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @see #getSatCommand() | ||
107 | * @generated | ||
108 | * @ordered | ||
109 | */ | ||
110 | protected SMTSatCommand satCommand; | ||
111 | |||
112 | /** | ||
113 | * The cached value of the '{@link #getGetModelCommand() <em>Get Model Command</em>}' containment reference. | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @see #getGetModelCommand() | ||
117 | * @generated | ||
118 | * @ordered | ||
119 | */ | ||
120 | protected SMTGetModelCommand getModelCommand; | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | protected SMTInputImpl() | ||
128 | { | ||
129 | super(); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | protected EClass eStaticClass() | ||
139 | { | ||
140 | return SmtLanguagePackage.Literals.SMT_INPUT; | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | public EList<SMTOption> getOptions() | ||
149 | { | ||
150 | if (options == null) | ||
151 | { | ||
152 | options = new EObjectContainmentEList<SMTOption>(SMTOption.class, this, SmtLanguagePackage.SMT_INPUT__OPTIONS); | ||
153 | } | ||
154 | return options; | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | public EList<SMTType> getTypeDeclarations() | ||
163 | { | ||
164 | if (typeDeclarations == null) | ||
165 | { | ||
166 | typeDeclarations = new EObjectContainmentEList<SMTType>(SMTType.class, this, SmtLanguagePackage.SMT_INPUT__TYPE_DECLARATIONS); | ||
167 | } | ||
168 | return typeDeclarations; | ||
169 | } | ||
170 | |||
171 | /** | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | */ | ||
176 | public EList<SMTFunctionDeclaration> getFunctionDeclarations() | ||
177 | { | ||
178 | if (functionDeclarations == null) | ||
179 | { | ||
180 | functionDeclarations = new EObjectContainmentEList<SMTFunctionDeclaration>(SMTFunctionDeclaration.class, this, SmtLanguagePackage.SMT_INPUT__FUNCTION_DECLARATIONS); | ||
181 | } | ||
182 | return functionDeclarations; | ||
183 | } | ||
184 | |||
185 | /** | ||
186 | * <!-- begin-user-doc --> | ||
187 | * <!-- end-user-doc --> | ||
188 | * @generated | ||
189 | */ | ||
190 | public EList<SMTFunctionDefinition> getFunctionDefinition() | ||
191 | { | ||
192 | if (functionDefinition == null) | ||
193 | { | ||
194 | functionDefinition = new EObjectContainmentEList<SMTFunctionDefinition>(SMTFunctionDefinition.class, this, SmtLanguagePackage.SMT_INPUT__FUNCTION_DEFINITION); | ||
195 | } | ||
196 | return functionDefinition; | ||
197 | } | ||
198 | |||
199 | /** | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | */ | ||
204 | public EList<SMTAssertion> getAssertions() | ||
205 | { | ||
206 | if (assertions == null) | ||
207 | { | ||
208 | assertions = new EObjectContainmentEList<SMTAssertion>(SMTAssertion.class, this, SmtLanguagePackage.SMT_INPUT__ASSERTIONS); | ||
209 | } | ||
210 | return assertions; | ||
211 | } | ||
212 | |||
213 | /** | ||
214 | * <!-- begin-user-doc --> | ||
215 | * <!-- end-user-doc --> | ||
216 | * @generated | ||
217 | */ | ||
218 | public SMTSatCommand getSatCommand() | ||
219 | { | ||
220 | return satCommand; | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @generated | ||
227 | */ | ||
228 | public NotificationChain basicSetSatCommand(SMTSatCommand newSatCommand, NotificationChain msgs) | ||
229 | { | ||
230 | SMTSatCommand oldSatCommand = satCommand; | ||
231 | satCommand = newSatCommand; | ||
232 | if (eNotificationRequired()) | ||
233 | { | ||
234 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_INPUT__SAT_COMMAND, oldSatCommand, newSatCommand); | ||
235 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
236 | } | ||
237 | return msgs; | ||
238 | } | ||
239 | |||
240 | /** | ||
241 | * <!-- begin-user-doc --> | ||
242 | * <!-- end-user-doc --> | ||
243 | * @generated | ||
244 | */ | ||
245 | public void setSatCommand(SMTSatCommand newSatCommand) | ||
246 | { | ||
247 | if (newSatCommand != satCommand) | ||
248 | { | ||
249 | NotificationChain msgs = null; | ||
250 | if (satCommand != null) | ||
251 | msgs = ((InternalEObject)satCommand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_INPUT__SAT_COMMAND, null, msgs); | ||
252 | if (newSatCommand != null) | ||
253 | msgs = ((InternalEObject)newSatCommand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_INPUT__SAT_COMMAND, null, msgs); | ||
254 | msgs = basicSetSatCommand(newSatCommand, msgs); | ||
255 | if (msgs != null) msgs.dispatch(); | ||
256 | } | ||
257 | else if (eNotificationRequired()) | ||
258 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_INPUT__SAT_COMMAND, newSatCommand, newSatCommand)); | ||
259 | } | ||
260 | |||
261 | /** | ||
262 | * <!-- begin-user-doc --> | ||
263 | * <!-- end-user-doc --> | ||
264 | * @generated | ||
265 | */ | ||
266 | public SMTGetModelCommand getGetModelCommand() | ||
267 | { | ||
268 | return getModelCommand; | ||
269 | } | ||
270 | |||
271 | /** | ||
272 | * <!-- begin-user-doc --> | ||
273 | * <!-- end-user-doc --> | ||
274 | * @generated | ||
275 | */ | ||
276 | public NotificationChain basicSetGetModelCommand(SMTGetModelCommand newGetModelCommand, NotificationChain msgs) | ||
277 | { | ||
278 | SMTGetModelCommand oldGetModelCommand = getModelCommand; | ||
279 | getModelCommand = newGetModelCommand; | ||
280 | if (eNotificationRequired()) | ||
281 | { | ||
282 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_INPUT__GET_MODEL_COMMAND, oldGetModelCommand, newGetModelCommand); | ||
283 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
284 | } | ||
285 | return msgs; | ||
286 | } | ||
287 | |||
288 | /** | ||
289 | * <!-- begin-user-doc --> | ||
290 | * <!-- end-user-doc --> | ||
291 | * @generated | ||
292 | */ | ||
293 | public void setGetModelCommand(SMTGetModelCommand newGetModelCommand) | ||
294 | { | ||
295 | if (newGetModelCommand != getModelCommand) | ||
296 | { | ||
297 | NotificationChain msgs = null; | ||
298 | if (getModelCommand != null) | ||
299 | msgs = ((InternalEObject)getModelCommand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_INPUT__GET_MODEL_COMMAND, null, msgs); | ||
300 | if (newGetModelCommand != null) | ||
301 | msgs = ((InternalEObject)newGetModelCommand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_INPUT__GET_MODEL_COMMAND, null, msgs); | ||
302 | msgs = basicSetGetModelCommand(newGetModelCommand, msgs); | ||
303 | if (msgs != null) msgs.dispatch(); | ||
304 | } | ||
305 | else if (eNotificationRequired()) | ||
306 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_INPUT__GET_MODEL_COMMAND, newGetModelCommand, newGetModelCommand)); | ||
307 | } | ||
308 | |||
309 | /** | ||
310 | * <!-- begin-user-doc --> | ||
311 | * <!-- end-user-doc --> | ||
312 | * @generated | ||
313 | */ | ||
314 | @Override | ||
315 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
316 | { | ||
317 | switch (featureID) | ||
318 | { | ||
319 | case SmtLanguagePackage.SMT_INPUT__OPTIONS: | ||
320 | return ((InternalEList<?>)getOptions()).basicRemove(otherEnd, msgs); | ||
321 | case SmtLanguagePackage.SMT_INPUT__TYPE_DECLARATIONS: | ||
322 | return ((InternalEList<?>)getTypeDeclarations()).basicRemove(otherEnd, msgs); | ||
323 | case SmtLanguagePackage.SMT_INPUT__FUNCTION_DECLARATIONS: | ||
324 | return ((InternalEList<?>)getFunctionDeclarations()).basicRemove(otherEnd, msgs); | ||
325 | case SmtLanguagePackage.SMT_INPUT__FUNCTION_DEFINITION: | ||
326 | return ((InternalEList<?>)getFunctionDefinition()).basicRemove(otherEnd, msgs); | ||
327 | case SmtLanguagePackage.SMT_INPUT__ASSERTIONS: | ||
328 | return ((InternalEList<?>)getAssertions()).basicRemove(otherEnd, msgs); | ||
329 | case SmtLanguagePackage.SMT_INPUT__SAT_COMMAND: | ||
330 | return basicSetSatCommand(null, msgs); | ||
331 | case SmtLanguagePackage.SMT_INPUT__GET_MODEL_COMMAND: | ||
332 | return basicSetGetModelCommand(null, msgs); | ||
333 | } | ||
334 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
335 | } | ||
336 | |||
337 | /** | ||
338 | * <!-- begin-user-doc --> | ||
339 | * <!-- end-user-doc --> | ||
340 | * @generated | ||
341 | */ | ||
342 | @Override | ||
343 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
344 | { | ||
345 | switch (featureID) | ||
346 | { | ||
347 | case SmtLanguagePackage.SMT_INPUT__OPTIONS: | ||
348 | return getOptions(); | ||
349 | case SmtLanguagePackage.SMT_INPUT__TYPE_DECLARATIONS: | ||
350 | return getTypeDeclarations(); | ||
351 | case SmtLanguagePackage.SMT_INPUT__FUNCTION_DECLARATIONS: | ||
352 | return getFunctionDeclarations(); | ||
353 | case SmtLanguagePackage.SMT_INPUT__FUNCTION_DEFINITION: | ||
354 | return getFunctionDefinition(); | ||
355 | case SmtLanguagePackage.SMT_INPUT__ASSERTIONS: | ||
356 | return getAssertions(); | ||
357 | case SmtLanguagePackage.SMT_INPUT__SAT_COMMAND: | ||
358 | return getSatCommand(); | ||
359 | case SmtLanguagePackage.SMT_INPUT__GET_MODEL_COMMAND: | ||
360 | return getGetModelCommand(); | ||
361 | } | ||
362 | return super.eGet(featureID, resolve, coreType); | ||
363 | } | ||
364 | |||
365 | /** | ||
366 | * <!-- begin-user-doc --> | ||
367 | * <!-- end-user-doc --> | ||
368 | * @generated | ||
369 | */ | ||
370 | @SuppressWarnings("unchecked") | ||
371 | @Override | ||
372 | public void eSet(int featureID, Object newValue) | ||
373 | { | ||
374 | switch (featureID) | ||
375 | { | ||
376 | case SmtLanguagePackage.SMT_INPUT__OPTIONS: | ||
377 | getOptions().clear(); | ||
378 | getOptions().addAll((Collection<? extends SMTOption>)newValue); | ||
379 | return; | ||
380 | case SmtLanguagePackage.SMT_INPUT__TYPE_DECLARATIONS: | ||
381 | getTypeDeclarations().clear(); | ||
382 | getTypeDeclarations().addAll((Collection<? extends SMTType>)newValue); | ||
383 | return; | ||
384 | case SmtLanguagePackage.SMT_INPUT__FUNCTION_DECLARATIONS: | ||
385 | getFunctionDeclarations().clear(); | ||
386 | getFunctionDeclarations().addAll((Collection<? extends SMTFunctionDeclaration>)newValue); | ||
387 | return; | ||
388 | case SmtLanguagePackage.SMT_INPUT__FUNCTION_DEFINITION: | ||
389 | getFunctionDefinition().clear(); | ||
390 | getFunctionDefinition().addAll((Collection<? extends SMTFunctionDefinition>)newValue); | ||
391 | return; | ||
392 | case SmtLanguagePackage.SMT_INPUT__ASSERTIONS: | ||
393 | getAssertions().clear(); | ||
394 | getAssertions().addAll((Collection<? extends SMTAssertion>)newValue); | ||
395 | return; | ||
396 | case SmtLanguagePackage.SMT_INPUT__SAT_COMMAND: | ||
397 | setSatCommand((SMTSatCommand)newValue); | ||
398 | return; | ||
399 | case SmtLanguagePackage.SMT_INPUT__GET_MODEL_COMMAND: | ||
400 | setGetModelCommand((SMTGetModelCommand)newValue); | ||
401 | return; | ||
402 | } | ||
403 | super.eSet(featureID, newValue); | ||
404 | } | ||
405 | |||
406 | /** | ||
407 | * <!-- begin-user-doc --> | ||
408 | * <!-- end-user-doc --> | ||
409 | * @generated | ||
410 | */ | ||
411 | @Override | ||
412 | public void eUnset(int featureID) | ||
413 | { | ||
414 | switch (featureID) | ||
415 | { | ||
416 | case SmtLanguagePackage.SMT_INPUT__OPTIONS: | ||
417 | getOptions().clear(); | ||
418 | return; | ||
419 | case SmtLanguagePackage.SMT_INPUT__TYPE_DECLARATIONS: | ||
420 | getTypeDeclarations().clear(); | ||
421 | return; | ||
422 | case SmtLanguagePackage.SMT_INPUT__FUNCTION_DECLARATIONS: | ||
423 | getFunctionDeclarations().clear(); | ||
424 | return; | ||
425 | case SmtLanguagePackage.SMT_INPUT__FUNCTION_DEFINITION: | ||
426 | getFunctionDefinition().clear(); | ||
427 | return; | ||
428 | case SmtLanguagePackage.SMT_INPUT__ASSERTIONS: | ||
429 | getAssertions().clear(); | ||
430 | return; | ||
431 | case SmtLanguagePackage.SMT_INPUT__SAT_COMMAND: | ||
432 | setSatCommand((SMTSatCommand)null); | ||
433 | return; | ||
434 | case SmtLanguagePackage.SMT_INPUT__GET_MODEL_COMMAND: | ||
435 | setGetModelCommand((SMTGetModelCommand)null); | ||
436 | return; | ||
437 | } | ||
438 | super.eUnset(featureID); | ||
439 | } | ||
440 | |||
441 | /** | ||
442 | * <!-- begin-user-doc --> | ||
443 | * <!-- end-user-doc --> | ||
444 | * @generated | ||
445 | */ | ||
446 | @Override | ||
447 | public boolean eIsSet(int featureID) | ||
448 | { | ||
449 | switch (featureID) | ||
450 | { | ||
451 | case SmtLanguagePackage.SMT_INPUT__OPTIONS: | ||
452 | return options != null && !options.isEmpty(); | ||
453 | case SmtLanguagePackage.SMT_INPUT__TYPE_DECLARATIONS: | ||
454 | return typeDeclarations != null && !typeDeclarations.isEmpty(); | ||
455 | case SmtLanguagePackage.SMT_INPUT__FUNCTION_DECLARATIONS: | ||
456 | return functionDeclarations != null && !functionDeclarations.isEmpty(); | ||
457 | case SmtLanguagePackage.SMT_INPUT__FUNCTION_DEFINITION: | ||
458 | return functionDefinition != null && !functionDefinition.isEmpty(); | ||
459 | case SmtLanguagePackage.SMT_INPUT__ASSERTIONS: | ||
460 | return assertions != null && !assertions.isEmpty(); | ||
461 | case SmtLanguagePackage.SMT_INPUT__SAT_COMMAND: | ||
462 | return satCommand != null; | ||
463 | case SmtLanguagePackage.SMT_INPUT__GET_MODEL_COMMAND: | ||
464 | return getModelCommand != null; | ||
465 | } | ||
466 | return super.eIsSet(featureID); | ||
467 | } | ||
468 | |||
469 | } //SMTInputImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIntLiteralImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIntLiteralImpl.java new file mode 100644 index 00000000..c6458060 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIntLiteralImpl.java | |||
@@ -0,0 +1,176 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTIntLiteral; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
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 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>SMT Int Literal</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * <ul> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTIntLiteralImpl#getValue <em>Value</em>}</li> | ||
22 | * </ul> | ||
23 | * </p> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class SMTIntLiteralImpl extends SMTAtomicTermImpl implements SMTIntLiteral | ||
28 | { | ||
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 int VALUE_EDEFAULT = 0; | ||
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 int value = VALUE_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected SMTIntLiteralImpl() | ||
55 | { | ||
56 | super(); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | protected EClass eStaticClass() | ||
66 | { | ||
67 | return SmtLanguagePackage.Literals.SMT_INT_LITERAL; | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | public int getValue() | ||
76 | { | ||
77 | return value; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public void setValue(int newValue) | ||
86 | { | ||
87 | int oldValue = value; | ||
88 | value = newValue; | ||
89 | if (eNotificationRequired()) | ||
90 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_INT_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 | { | ||
101 | switch (featureID) | ||
102 | { | ||
103 | case SmtLanguagePackage.SMT_INT_LITERAL__VALUE: | ||
104 | return getValue(); | ||
105 | } | ||
106 | return super.eGet(featureID, resolve, coreType); | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | @Override | ||
115 | public void eSet(int featureID, Object newValue) | ||
116 | { | ||
117 | switch (featureID) | ||
118 | { | ||
119 | case SmtLanguagePackage.SMT_INT_LITERAL__VALUE: | ||
120 | setValue((Integer)newValue); | ||
121 | return; | ||
122 | } | ||
123 | super.eSet(featureID, newValue); | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | @Override | ||
132 | public void eUnset(int featureID) | ||
133 | { | ||
134 | switch (featureID) | ||
135 | { | ||
136 | case SmtLanguagePackage.SMT_INT_LITERAL__VALUE: | ||
137 | setValue(VALUE_EDEFAULT); | ||
138 | return; | ||
139 | } | ||
140 | super.eUnset(featureID); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public boolean eIsSet(int featureID) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case SmtLanguagePackage.SMT_INT_LITERAL__VALUE: | ||
154 | return value != VALUE_EDEFAULT; | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | @Override | ||
165 | public String toString() | ||
166 | { | ||
167 | if (eIsProxy()) return super.toString(); | ||
168 | |||
169 | StringBuffer result = new StringBuffer(super.toString()); | ||
170 | result.append(" (value: "); | ||
171 | result.append(value); | ||
172 | result.append(')'); | ||
173 | return result.toString(); | ||
174 | } | ||
175 | |||
176 | } //SMTIntLiteralImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIntOperationImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIntOperationImpl.java new file mode 100644 index 00000000..f4ec56fe --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIntOperationImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTIntOperation; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMT Int Operation</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTIntOperationImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTIntOperationImpl#getRightOperand <em>Right Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * </p> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class SMTIntOperationImpl extends SMTTermImpl implements SMTIntOperation | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected SMTTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected SMTTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected SMTIntOperationImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return SmtLanguagePackage.Literals.SMT_INT_OPERATION; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public SMTTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(SMTTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | SMTTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_INT_OPERATION__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(SMTTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_INT_OPERATION__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_INT_OPERATION__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_INT_OPERATION__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public SMTTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(SMTTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | SMTTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_INT_OPERATION__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(SMTTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_INT_OPERATION__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_INT_OPERATION__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_INT_OPERATION__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case SmtLanguagePackage.SMT_INT_OPERATION__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case SmtLanguagePackage.SMT_INT_OPERATION__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case SmtLanguagePackage.SMT_INT_OPERATION__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case SmtLanguagePackage.SMT_INT_OPERATION__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case SmtLanguagePackage.SMT_INT_OPERATION__LEFT_OPERAND: | ||
217 | setLeftOperand((SMTTerm)newValue); | ||
218 | return; | ||
219 | case SmtLanguagePackage.SMT_INT_OPERATION__RIGHT_OPERAND: | ||
220 | setRightOperand((SMTTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case SmtLanguagePackage.SMT_INT_OPERATION__LEFT_OPERAND: | ||
237 | setLeftOperand((SMTTerm)null); | ||
238 | return; | ||
239 | case SmtLanguagePackage.SMT_INT_OPERATION__RIGHT_OPERAND: | ||
240 | setRightOperand((SMTTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case SmtLanguagePackage.SMT_INT_OPERATION__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case SmtLanguagePackage.SMT_INT_OPERATION__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //SMTIntOperationImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIntTypeReferenceImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIntTypeReferenceImpl.java new file mode 100644 index 00000000..b6ba7340 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTIntTypeReferenceImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTIntTypeReference; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Int Type Reference</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTIntTypeReferenceImpl extends SMTPrimitiveTypeReferenceImpl implements SMTIntTypeReference | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTIntTypeReferenceImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_INT_TYPE_REFERENCE; | ||
40 | } | ||
41 | |||
42 | } //SMTIntTypeReferenceImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTLEQImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTLEQImpl.java new file mode 100644 index 00000000..0becd5f2 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTLEQImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTLEQ; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMTLEQ</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTLEQImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTLEQImpl#getRightOperand <em>Right Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * </p> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class SMTLEQImpl extends SMTRelationImpl implements SMTLEQ | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected SMTTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected SMTTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected SMTLEQImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return SmtLanguagePackage.Literals.SMTLEQ; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public SMTTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(SMTTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | SMTTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTLEQ__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(SMTTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTLEQ__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTLEQ__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTLEQ__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public SMTTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(SMTTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | SMTTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTLEQ__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(SMTTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTLEQ__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTLEQ__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTLEQ__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case SmtLanguagePackage.SMTLEQ__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case SmtLanguagePackage.SMTLEQ__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case SmtLanguagePackage.SMTLEQ__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case SmtLanguagePackage.SMTLEQ__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case SmtLanguagePackage.SMTLEQ__LEFT_OPERAND: | ||
217 | setLeftOperand((SMTTerm)newValue); | ||
218 | return; | ||
219 | case SmtLanguagePackage.SMTLEQ__RIGHT_OPERAND: | ||
220 | setRightOperand((SMTTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case SmtLanguagePackage.SMTLEQ__LEFT_OPERAND: | ||
237 | setLeftOperand((SMTTerm)null); | ||
238 | return; | ||
239 | case SmtLanguagePackage.SMTLEQ__RIGHT_OPERAND: | ||
240 | setRightOperand((SMTTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case SmtLanguagePackage.SMTLEQ__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case SmtLanguagePackage.SMTLEQ__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //SMTLEQImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTLTImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTLTImpl.java new file mode 100644 index 00000000..a6d58929 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTLTImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTLT; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMTLT</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTLTImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTLTImpl#getRightOperand <em>Right Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * </p> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class SMTLTImpl extends SMTRelationImpl implements SMTLT | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected SMTTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected SMTTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected SMTLTImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return SmtLanguagePackage.Literals.SMTLT; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public SMTTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(SMTTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | SMTTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTLT__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(SMTTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTLT__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTLT__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTLT__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public SMTTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(SMTTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | SMTTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTLT__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(SMTTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTLT__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTLT__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTLT__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case SmtLanguagePackage.SMTLT__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case SmtLanguagePackage.SMTLT__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case SmtLanguagePackage.SMTLT__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case SmtLanguagePackage.SMTLT__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case SmtLanguagePackage.SMTLT__LEFT_OPERAND: | ||
217 | setLeftOperand((SMTTerm)newValue); | ||
218 | return; | ||
219 | case SmtLanguagePackage.SMTLT__RIGHT_OPERAND: | ||
220 | setRightOperand((SMTTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case SmtLanguagePackage.SMTLT__LEFT_OPERAND: | ||
237 | setLeftOperand((SMTTerm)null); | ||
238 | return; | ||
239 | case SmtLanguagePackage.SMTLT__RIGHT_OPERAND: | ||
240 | setRightOperand((SMTTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case SmtLanguagePackage.SMTLT__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case SmtLanguagePackage.SMTLT__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //SMTLTImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTLetImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTLetImpl.java new file mode 100644 index 00000000..4278c635 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTLetImpl.java | |||
@@ -0,0 +1,240 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTInlineConstantDefinition; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTLet; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | |||
22 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
23 | import org.eclipse.emf.ecore.util.InternalEList; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model object '<em><b>SMT Let</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * <p> | ||
30 | * The following features are implemented: | ||
31 | * <ul> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTLetImpl#getInlineConstantDefinitions <em>Inline Constant Definitions</em>}</li> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTLetImpl#getTerm <em>Term</em>}</li> | ||
34 | * </ul> | ||
35 | * </p> | ||
36 | * | ||
37 | * @generated | ||
38 | */ | ||
39 | public class SMTLetImpl extends SMTTermImpl implements SMTLet | ||
40 | { | ||
41 | /** | ||
42 | * The cached value of the '{@link #getInlineConstantDefinitions() <em>Inline Constant Definitions</em>}' containment reference list. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getInlineConstantDefinitions() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected EList<SMTInlineConstantDefinition> inlineConstantDefinitions; | ||
50 | |||
51 | /** | ||
52 | * The cached value of the '{@link #getTerm() <em>Term</em>}' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getTerm() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected SMTTerm term; | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | protected SMTLetImpl() | ||
67 | { | ||
68 | super(); | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | @Override | ||
77 | protected EClass eStaticClass() | ||
78 | { | ||
79 | return SmtLanguagePackage.Literals.SMT_LET; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public EList<SMTInlineConstantDefinition> getInlineConstantDefinitions() | ||
88 | { | ||
89 | if (inlineConstantDefinitions == null) | ||
90 | { | ||
91 | inlineConstantDefinitions = new EObjectContainmentEList<SMTInlineConstantDefinition>(SMTInlineConstantDefinition.class, this, SmtLanguagePackage.SMT_LET__INLINE_CONSTANT_DEFINITIONS); | ||
92 | } | ||
93 | return inlineConstantDefinitions; | ||
94 | } | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | public SMTTerm getTerm() | ||
102 | { | ||
103 | return term; | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | public NotificationChain basicSetTerm(SMTTerm newTerm, NotificationChain msgs) | ||
112 | { | ||
113 | SMTTerm oldTerm = term; | ||
114 | term = newTerm; | ||
115 | if (eNotificationRequired()) | ||
116 | { | ||
117 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_LET__TERM, oldTerm, newTerm); | ||
118 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
119 | } | ||
120 | return msgs; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public void setTerm(SMTTerm newTerm) | ||
129 | { | ||
130 | if (newTerm != term) | ||
131 | { | ||
132 | NotificationChain msgs = null; | ||
133 | if (term != null) | ||
134 | msgs = ((InternalEObject)term).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_LET__TERM, null, msgs); | ||
135 | if (newTerm != null) | ||
136 | msgs = ((InternalEObject)newTerm).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_LET__TERM, null, msgs); | ||
137 | msgs = basicSetTerm(newTerm, msgs); | ||
138 | if (msgs != null) msgs.dispatch(); | ||
139 | } | ||
140 | else if (eNotificationRequired()) | ||
141 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_LET__TERM, newTerm, newTerm)); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case SmtLanguagePackage.SMT_LET__INLINE_CONSTANT_DEFINITIONS: | ||
155 | return ((InternalEList<?>)getInlineConstantDefinitions()).basicRemove(otherEnd, msgs); | ||
156 | case SmtLanguagePackage.SMT_LET__TERM: | ||
157 | return basicSetTerm(null, msgs); | ||
158 | } | ||
159 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | @Override | ||
168 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
169 | { | ||
170 | switch (featureID) | ||
171 | { | ||
172 | case SmtLanguagePackage.SMT_LET__INLINE_CONSTANT_DEFINITIONS: | ||
173 | return getInlineConstantDefinitions(); | ||
174 | case SmtLanguagePackage.SMT_LET__TERM: | ||
175 | return getTerm(); | ||
176 | } | ||
177 | return super.eGet(featureID, resolve, coreType); | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | */ | ||
185 | @SuppressWarnings("unchecked") | ||
186 | @Override | ||
187 | public void eSet(int featureID, Object newValue) | ||
188 | { | ||
189 | switch (featureID) | ||
190 | { | ||
191 | case SmtLanguagePackage.SMT_LET__INLINE_CONSTANT_DEFINITIONS: | ||
192 | getInlineConstantDefinitions().clear(); | ||
193 | getInlineConstantDefinitions().addAll((Collection<? extends SMTInlineConstantDefinition>)newValue); | ||
194 | return; | ||
195 | case SmtLanguagePackage.SMT_LET__TERM: | ||
196 | setTerm((SMTTerm)newValue); | ||
197 | return; | ||
198 | } | ||
199 | super.eSet(featureID, newValue); | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | @Override | ||
208 | public void eUnset(int featureID) | ||
209 | { | ||
210 | switch (featureID) | ||
211 | { | ||
212 | case SmtLanguagePackage.SMT_LET__INLINE_CONSTANT_DEFINITIONS: | ||
213 | getInlineConstantDefinitions().clear(); | ||
214 | return; | ||
215 | case SmtLanguagePackage.SMT_LET__TERM: | ||
216 | setTerm((SMTTerm)null); | ||
217 | return; | ||
218 | } | ||
219 | super.eUnset(featureID); | ||
220 | } | ||
221 | |||
222 | /** | ||
223 | * <!-- begin-user-doc --> | ||
224 | * <!-- end-user-doc --> | ||
225 | * @generated | ||
226 | */ | ||
227 | @Override | ||
228 | public boolean eIsSet(int featureID) | ||
229 | { | ||
230 | switch (featureID) | ||
231 | { | ||
232 | case SmtLanguagePackage.SMT_LET__INLINE_CONSTANT_DEFINITIONS: | ||
233 | return inlineConstantDefinitions != null && !inlineConstantDefinitions.isEmpty(); | ||
234 | case SmtLanguagePackage.SMT_LET__TERM: | ||
235 | return term != null; | ||
236 | } | ||
237 | return super.eIsSet(featureID); | ||
238 | } | ||
239 | |||
240 | } //SMTLetImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTMEQImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTMEQImpl.java new file mode 100644 index 00000000..878bc84b --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTMEQImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMEQ; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMTMEQ</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTMEQImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTMEQImpl#getRightOperand <em>Right Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * </p> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class SMTMEQImpl extends SMTRelationImpl implements SMTMEQ | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected SMTTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected SMTTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected SMTMEQImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return SmtLanguagePackage.Literals.SMTMEQ; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public SMTTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(SMTTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | SMTTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTMEQ__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(SMTTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTMEQ__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTMEQ__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTMEQ__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public SMTTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(SMTTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | SMTTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTMEQ__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(SMTTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTMEQ__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTMEQ__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTMEQ__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case SmtLanguagePackage.SMTMEQ__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case SmtLanguagePackage.SMTMEQ__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case SmtLanguagePackage.SMTMEQ__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case SmtLanguagePackage.SMTMEQ__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case SmtLanguagePackage.SMTMEQ__LEFT_OPERAND: | ||
217 | setLeftOperand((SMTTerm)newValue); | ||
218 | return; | ||
219 | case SmtLanguagePackage.SMTMEQ__RIGHT_OPERAND: | ||
220 | setRightOperand((SMTTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case SmtLanguagePackage.SMTMEQ__LEFT_OPERAND: | ||
237 | setLeftOperand((SMTTerm)null); | ||
238 | return; | ||
239 | case SmtLanguagePackage.SMTMEQ__RIGHT_OPERAND: | ||
240 | setRightOperand((SMTTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case SmtLanguagePackage.SMTMEQ__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case SmtLanguagePackage.SMTMEQ__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //SMTMEQImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTMTImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTMTImpl.java new file mode 100644 index 00000000..934ddd59 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTMTImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMT; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMTMT</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTMTImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTMTImpl#getRightOperand <em>Right Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * </p> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class SMTMTImpl extends SMTRelationImpl implements SMTMT | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected SMTTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected SMTTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected SMTMTImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return SmtLanguagePackage.Literals.SMTMT; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public SMTTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(SMTTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | SMTTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTMT__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(SMTTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTMT__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTMT__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTMT__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public SMTTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(SMTTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | SMTTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTMT__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(SMTTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTMT__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMTMT__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMTMT__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case SmtLanguagePackage.SMTMT__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case SmtLanguagePackage.SMTMT__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case SmtLanguagePackage.SMTMT__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case SmtLanguagePackage.SMTMT__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case SmtLanguagePackage.SMTMT__LEFT_OPERAND: | ||
217 | setLeftOperand((SMTTerm)newValue); | ||
218 | return; | ||
219 | case SmtLanguagePackage.SMTMT__RIGHT_OPERAND: | ||
220 | setRightOperand((SMTTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case SmtLanguagePackage.SMTMT__LEFT_OPERAND: | ||
237 | setLeftOperand((SMTTerm)null); | ||
238 | return; | ||
239 | case SmtLanguagePackage.SMTMT__RIGHT_OPERAND: | ||
240 | setRightOperand((SMTTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case SmtLanguagePackage.SMTMT__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case SmtLanguagePackage.SMTMT__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //SMTMTImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTMinusImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTMinusImpl.java new file mode 100644 index 00000000..877b8551 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTMinusImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMinus; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Minus</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTMinusImpl extends SMTIntOperationImpl implements SMTMinus | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTMinusImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_MINUS; | ||
40 | } | ||
41 | |||
42 | } //SMTMinusImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTModImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTModImpl.java new file mode 100644 index 00000000..9ff8d7b2 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTModImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMod; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Mod</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTModImpl extends SMTIntOperationImpl implements SMTMod | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTModImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_MOD; | ||
40 | } | ||
41 | |||
42 | } //SMTModImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTModelResultImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTModelResultImpl.java new file mode 100644 index 00000000..1756a74e --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTModelResultImpl.java | |||
@@ -0,0 +1,243 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTCardinalityConstraint; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTFunctionDeclaration; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTFunctionDefinition; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTModelResult; | ||
9 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
21 | import org.eclipse.emf.ecore.util.InternalEList; | ||
22 | |||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * An implementation of the model object '<em><b>SMT Model Result</b></em>'. | ||
26 | * <!-- end-user-doc --> | ||
27 | * <p> | ||
28 | * The following features are implemented: | ||
29 | * <ul> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTModelResultImpl#getNewFunctionDeclarations <em>New Function Declarations</em>}</li> | ||
31 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTModelResultImpl#getTypeDefinitions <em>Type Definitions</em>}</li> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTModelResultImpl#getNewFunctionDefinitions <em>New Function Definitions</em>}</li> | ||
33 | * </ul> | ||
34 | * </p> | ||
35 | * | ||
36 | * @generated | ||
37 | */ | ||
38 | public class SMTModelResultImpl extends SMTResultImpl implements SMTModelResult | ||
39 | { | ||
40 | /** | ||
41 | * The cached value of the '{@link #getNewFunctionDeclarations() <em>New Function Declarations</em>}' containment reference list. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getNewFunctionDeclarations() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected EList<SMTFunctionDeclaration> newFunctionDeclarations; | ||
49 | |||
50 | /** | ||
51 | * The cached value of the '{@link #getTypeDefinitions() <em>Type Definitions</em>}' containment reference list. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @see #getTypeDefinitions() | ||
55 | * @generated | ||
56 | * @ordered | ||
57 | */ | ||
58 | protected EList<SMTCardinalityConstraint> typeDefinitions; | ||
59 | |||
60 | /** | ||
61 | * The cached value of the '{@link #getNewFunctionDefinitions() <em>New Function Definitions</em>}' containment reference list. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see #getNewFunctionDefinitions() | ||
65 | * @generated | ||
66 | * @ordered | ||
67 | */ | ||
68 | protected EList<SMTFunctionDefinition> newFunctionDefinitions; | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | protected SMTModelResultImpl() | ||
76 | { | ||
77 | super(); | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | @Override | ||
86 | protected EClass eStaticClass() | ||
87 | { | ||
88 | return SmtLanguagePackage.Literals.SMT_MODEL_RESULT; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public EList<SMTFunctionDeclaration> getNewFunctionDeclarations() | ||
97 | { | ||
98 | if (newFunctionDeclarations == null) | ||
99 | { | ||
100 | newFunctionDeclarations = new EObjectContainmentEList<SMTFunctionDeclaration>(SMTFunctionDeclaration.class, this, SmtLanguagePackage.SMT_MODEL_RESULT__NEW_FUNCTION_DECLARATIONS); | ||
101 | } | ||
102 | return newFunctionDeclarations; | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | public EList<SMTCardinalityConstraint> getTypeDefinitions() | ||
111 | { | ||
112 | if (typeDefinitions == null) | ||
113 | { | ||
114 | typeDefinitions = new EObjectContainmentEList<SMTCardinalityConstraint>(SMTCardinalityConstraint.class, this, SmtLanguagePackage.SMT_MODEL_RESULT__TYPE_DEFINITIONS); | ||
115 | } | ||
116 | return typeDefinitions; | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | public EList<SMTFunctionDefinition> getNewFunctionDefinitions() | ||
125 | { | ||
126 | if (newFunctionDefinitions == null) | ||
127 | { | ||
128 | newFunctionDefinitions = new EObjectContainmentEList<SMTFunctionDefinition>(SMTFunctionDefinition.class, this, SmtLanguagePackage.SMT_MODEL_RESULT__NEW_FUNCTION_DEFINITIONS); | ||
129 | } | ||
130 | return newFunctionDefinitions; | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
140 | { | ||
141 | switch (featureID) | ||
142 | { | ||
143 | case SmtLanguagePackage.SMT_MODEL_RESULT__NEW_FUNCTION_DECLARATIONS: | ||
144 | return ((InternalEList<?>)getNewFunctionDeclarations()).basicRemove(otherEnd, msgs); | ||
145 | case SmtLanguagePackage.SMT_MODEL_RESULT__TYPE_DEFINITIONS: | ||
146 | return ((InternalEList<?>)getTypeDefinitions()).basicRemove(otherEnd, msgs); | ||
147 | case SmtLanguagePackage.SMT_MODEL_RESULT__NEW_FUNCTION_DEFINITIONS: | ||
148 | return ((InternalEList<?>)getNewFunctionDefinitions()).basicRemove(otherEnd, msgs); | ||
149 | } | ||
150 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
151 | } | ||
152 | |||
153 | /** | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @generated | ||
157 | */ | ||
158 | @Override | ||
159 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
160 | { | ||
161 | switch (featureID) | ||
162 | { | ||
163 | case SmtLanguagePackage.SMT_MODEL_RESULT__NEW_FUNCTION_DECLARATIONS: | ||
164 | return getNewFunctionDeclarations(); | ||
165 | case SmtLanguagePackage.SMT_MODEL_RESULT__TYPE_DEFINITIONS: | ||
166 | return getTypeDefinitions(); | ||
167 | case SmtLanguagePackage.SMT_MODEL_RESULT__NEW_FUNCTION_DEFINITIONS: | ||
168 | return getNewFunctionDefinitions(); | ||
169 | } | ||
170 | return super.eGet(featureID, resolve, coreType); | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @SuppressWarnings("unchecked") | ||
179 | @Override | ||
180 | public void eSet(int featureID, Object newValue) | ||
181 | { | ||
182 | switch (featureID) | ||
183 | { | ||
184 | case SmtLanguagePackage.SMT_MODEL_RESULT__NEW_FUNCTION_DECLARATIONS: | ||
185 | getNewFunctionDeclarations().clear(); | ||
186 | getNewFunctionDeclarations().addAll((Collection<? extends SMTFunctionDeclaration>)newValue); | ||
187 | return; | ||
188 | case SmtLanguagePackage.SMT_MODEL_RESULT__TYPE_DEFINITIONS: | ||
189 | getTypeDefinitions().clear(); | ||
190 | getTypeDefinitions().addAll((Collection<? extends SMTCardinalityConstraint>)newValue); | ||
191 | return; | ||
192 | case SmtLanguagePackage.SMT_MODEL_RESULT__NEW_FUNCTION_DEFINITIONS: | ||
193 | getNewFunctionDefinitions().clear(); | ||
194 | getNewFunctionDefinitions().addAll((Collection<? extends SMTFunctionDefinition>)newValue); | ||
195 | return; | ||
196 | } | ||
197 | super.eSet(featureID, newValue); | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @generated | ||
204 | */ | ||
205 | @Override | ||
206 | public void eUnset(int featureID) | ||
207 | { | ||
208 | switch (featureID) | ||
209 | { | ||
210 | case SmtLanguagePackage.SMT_MODEL_RESULT__NEW_FUNCTION_DECLARATIONS: | ||
211 | getNewFunctionDeclarations().clear(); | ||
212 | return; | ||
213 | case SmtLanguagePackage.SMT_MODEL_RESULT__TYPE_DEFINITIONS: | ||
214 | getTypeDefinitions().clear(); | ||
215 | return; | ||
216 | case SmtLanguagePackage.SMT_MODEL_RESULT__NEW_FUNCTION_DEFINITIONS: | ||
217 | getNewFunctionDefinitions().clear(); | ||
218 | return; | ||
219 | } | ||
220 | super.eUnset(featureID); | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @generated | ||
227 | */ | ||
228 | @Override | ||
229 | public boolean eIsSet(int featureID) | ||
230 | { | ||
231 | switch (featureID) | ||
232 | { | ||
233 | case SmtLanguagePackage.SMT_MODEL_RESULT__NEW_FUNCTION_DECLARATIONS: | ||
234 | return newFunctionDeclarations != null && !newFunctionDeclarations.isEmpty(); | ||
235 | case SmtLanguagePackage.SMT_MODEL_RESULT__TYPE_DEFINITIONS: | ||
236 | return typeDefinitions != null && !typeDefinitions.isEmpty(); | ||
237 | case SmtLanguagePackage.SMT_MODEL_RESULT__NEW_FUNCTION_DEFINITIONS: | ||
238 | return newFunctionDefinitions != null && !newFunctionDefinitions.isEmpty(); | ||
239 | } | ||
240 | return super.eIsSet(featureID); | ||
241 | } | ||
242 | |||
243 | } //SMTModelResultImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTMultiplyImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTMultiplyImpl.java new file mode 100644 index 00000000..6e4d5a94 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTMultiplyImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMultiply; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Multiply</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTMultiplyImpl extends SMTIntOperationImpl implements SMTMultiply | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTMultiplyImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_MULTIPLY; | ||
40 | } | ||
41 | |||
42 | } //SMTMultiplyImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTNotImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTNotImpl.java new file mode 100644 index 00000000..14bdfcc6 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTNotImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTNot; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMT Not</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTNotImpl#getOperand <em>Operand</em>}</li> | ||
25 | * </ul> | ||
26 | * </p> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class SMTNotImpl extends SMTBoolOperationImpl implements SMTNot | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected SMTTerm operand; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected SMTNotImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return SmtLanguagePackage.Literals.SMT_NOT; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public SMTTerm getOperand() | ||
69 | { | ||
70 | return operand; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetOperand(SMTTerm newOperand, NotificationChain msgs) | ||
79 | { | ||
80 | SMTTerm oldOperand = operand; | ||
81 | operand = newOperand; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_NOT__OPERAND, oldOperand, newOperand); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setOperand(SMTTerm newOperand) | ||
96 | { | ||
97 | if (newOperand != operand) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (operand != null) | ||
101 | msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_NOT__OPERAND, null, msgs); | ||
102 | if (newOperand != null) | ||
103 | msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_NOT__OPERAND, null, msgs); | ||
104 | msgs = basicSetOperand(newOperand, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_NOT__OPERAND, newOperand, newOperand)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case SmtLanguagePackage.SMT_NOT__OPERAND: | ||
122 | return basicSetOperand(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case SmtLanguagePackage.SMT_NOT__OPERAND: | ||
138 | return getOperand(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case SmtLanguagePackage.SMT_NOT__OPERAND: | ||
154 | setOperand((SMTTerm)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case SmtLanguagePackage.SMT_NOT__OPERAND: | ||
171 | setOperand((SMTTerm)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case SmtLanguagePackage.SMT_NOT__OPERAND: | ||
188 | return operand != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //SMTNotImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTOptionImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTOptionImpl.java new file mode 100644 index 00000000..d3d51c5b --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTOptionImpl.java | |||
@@ -0,0 +1,265 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTAtomicTerm; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTOption; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>SMT Option</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTOptionImpl#getName <em>Name</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTOptionImpl#getValue <em>Value</em>}</li> | ||
27 | * </ul> | ||
28 | * </p> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class SMTOptionImpl extends MinimalEObjectImpl.Container implements SMTOption | ||
33 | { | ||
34 | /** | ||
35 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getName() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected static final String NAME_EDEFAULT = null; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getName() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected String name = NAME_EDEFAULT; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getValue() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected SMTAtomicTerm value; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected SMTOptionImpl() | ||
70 | { | ||
71 | super(); | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | @Override | ||
80 | protected EClass eStaticClass() | ||
81 | { | ||
82 | return SmtLanguagePackage.Literals.SMT_OPTION; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | public String getName() | ||
91 | { | ||
92 | return name; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setName(String newName) | ||
101 | { | ||
102 | String oldName = name; | ||
103 | name = newName; | ||
104 | if (eNotificationRequired()) | ||
105 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_OPTION__NAME, oldName, name)); | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | public SMTAtomicTerm getValue() | ||
114 | { | ||
115 | return value; | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | public NotificationChain basicSetValue(SMTAtomicTerm newValue, NotificationChain msgs) | ||
124 | { | ||
125 | SMTAtomicTerm oldValue = value; | ||
126 | value = newValue; | ||
127 | if (eNotificationRequired()) | ||
128 | { | ||
129 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_OPTION__VALUE, oldValue, newValue); | ||
130 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
131 | } | ||
132 | return msgs; | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public void setValue(SMTAtomicTerm newValue) | ||
141 | { | ||
142 | if (newValue != value) | ||
143 | { | ||
144 | NotificationChain msgs = null; | ||
145 | if (value != null) | ||
146 | msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_OPTION__VALUE, null, msgs); | ||
147 | if (newValue != null) | ||
148 | msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_OPTION__VALUE, null, msgs); | ||
149 | msgs = basicSetValue(newValue, msgs); | ||
150 | if (msgs != null) msgs.dispatch(); | ||
151 | } | ||
152 | else if (eNotificationRequired()) | ||
153 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_OPTION__VALUE, newValue, newValue)); | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | @Override | ||
162 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
163 | { | ||
164 | switch (featureID) | ||
165 | { | ||
166 | case SmtLanguagePackage.SMT_OPTION__VALUE: | ||
167 | return basicSetValue(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 | { | ||
180 | switch (featureID) | ||
181 | { | ||
182 | case SmtLanguagePackage.SMT_OPTION__NAME: | ||
183 | return getName(); | ||
184 | case SmtLanguagePackage.SMT_OPTION__VALUE: | ||
185 | return getValue(); | ||
186 | } | ||
187 | return super.eGet(featureID, resolve, coreType); | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | @Override | ||
196 | public void eSet(int featureID, Object newValue) | ||
197 | { | ||
198 | switch (featureID) | ||
199 | { | ||
200 | case SmtLanguagePackage.SMT_OPTION__NAME: | ||
201 | setName((String)newValue); | ||
202 | return; | ||
203 | case SmtLanguagePackage.SMT_OPTION__VALUE: | ||
204 | setValue((SMTAtomicTerm)newValue); | ||
205 | return; | ||
206 | } | ||
207 | super.eSet(featureID, newValue); | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @Override | ||
216 | public void eUnset(int featureID) | ||
217 | { | ||
218 | switch (featureID) | ||
219 | { | ||
220 | case SmtLanguagePackage.SMT_OPTION__NAME: | ||
221 | setName(NAME_EDEFAULT); | ||
222 | return; | ||
223 | case SmtLanguagePackage.SMT_OPTION__VALUE: | ||
224 | setValue((SMTAtomicTerm)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 | { | ||
238 | switch (featureID) | ||
239 | { | ||
240 | case SmtLanguagePackage.SMT_OPTION__NAME: | ||
241 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
242 | case SmtLanguagePackage.SMT_OPTION__VALUE: | ||
243 | return value != null; | ||
244 | } | ||
245 | return super.eIsSet(featureID); | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | @Override | ||
254 | public String toString() | ||
255 | { | ||
256 | if (eIsProxy()) return super.toString(); | ||
257 | |||
258 | StringBuffer result = new StringBuffer(super.toString()); | ||
259 | result.append(" (name: "); | ||
260 | result.append(name); | ||
261 | result.append(')'); | ||
262 | return result.toString(); | ||
263 | } | ||
264 | |||
265 | } //SMTOptionImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTOrElseCombinatorImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTOrElseCombinatorImpl.java new file mode 100644 index 00000000..738ac83e --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTOrElseCombinatorImpl.java | |||
@@ -0,0 +1,165 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTOrElseCombinator; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningTactic; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>SMT Or Else Combinator</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * <ul> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTOrElseCombinatorImpl#getTactics <em>Tactics</em>}</li> | ||
29 | * </ul> | ||
30 | * </p> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class SMTOrElseCombinatorImpl extends SMTReasoningCombinatorImpl implements SMTOrElseCombinator | ||
35 | { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getTactics() <em>Tactics</em>}' containment reference list. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getTactics() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected EList<SMTReasoningTactic> tactics; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected SMTOrElseCombinatorImpl() | ||
52 | { | ||
53 | super(); | ||
54 | } | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | @Override | ||
62 | protected EClass eStaticClass() | ||
63 | { | ||
64 | return SmtLanguagePackage.Literals.SMT_OR_ELSE_COMBINATOR; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public EList<SMTReasoningTactic> getTactics() | ||
73 | { | ||
74 | if (tactics == null) | ||
75 | { | ||
76 | tactics = new EObjectContainmentEList<SMTReasoningTactic>(SMTReasoningTactic.class, this, SmtLanguagePackage.SMT_OR_ELSE_COMBINATOR__TACTICS); | ||
77 | } | ||
78 | return tactics; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | @Override | ||
87 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
88 | { | ||
89 | switch (featureID) | ||
90 | { | ||
91 | case SmtLanguagePackage.SMT_OR_ELSE_COMBINATOR__TACTICS: | ||
92 | return ((InternalEList<?>)getTactics()).basicRemove(otherEnd, msgs); | ||
93 | } | ||
94 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
104 | { | ||
105 | switch (featureID) | ||
106 | { | ||
107 | case SmtLanguagePackage.SMT_OR_ELSE_COMBINATOR__TACTICS: | ||
108 | return getTactics(); | ||
109 | } | ||
110 | return super.eGet(featureID, resolve, coreType); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @SuppressWarnings("unchecked") | ||
119 | @Override | ||
120 | public void eSet(int featureID, Object newValue) | ||
121 | { | ||
122 | switch (featureID) | ||
123 | { | ||
124 | case SmtLanguagePackage.SMT_OR_ELSE_COMBINATOR__TACTICS: | ||
125 | getTactics().clear(); | ||
126 | getTactics().addAll((Collection<? extends SMTReasoningTactic>)newValue); | ||
127 | return; | ||
128 | } | ||
129 | super.eSet(featureID, newValue); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public void eUnset(int featureID) | ||
139 | { | ||
140 | switch (featureID) | ||
141 | { | ||
142 | case SmtLanguagePackage.SMT_OR_ELSE_COMBINATOR__TACTICS: | ||
143 | getTactics().clear(); | ||
144 | return; | ||
145 | } | ||
146 | super.eUnset(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public boolean eIsSet(int featureID) | ||
156 | { | ||
157 | switch (featureID) | ||
158 | { | ||
159 | case SmtLanguagePackage.SMT_OR_ELSE_COMBINATOR__TACTICS: | ||
160 | return tactics != null && !tactics.isEmpty(); | ||
161 | } | ||
162 | return super.eIsSet(featureID); | ||
163 | } | ||
164 | |||
165 | } //SMTOrElseCombinatorImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTOrImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTOrImpl.java new file mode 100644 index 00000000..950d0895 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTOrImpl.java | |||
@@ -0,0 +1,165 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTOr; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>SMT Or</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * <ul> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTOrImpl#getOperands <em>Operands</em>}</li> | ||
29 | * </ul> | ||
30 | * </p> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class SMTOrImpl extends SMTBoolOperationImpl implements SMTOr | ||
35 | { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getOperands() <em>Operands</em>}' containment reference list. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getOperands() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected EList<SMTTerm> operands; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected SMTOrImpl() | ||
52 | { | ||
53 | super(); | ||
54 | } | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | @Override | ||
62 | protected EClass eStaticClass() | ||
63 | { | ||
64 | return SmtLanguagePackage.Literals.SMT_OR; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public EList<SMTTerm> getOperands() | ||
73 | { | ||
74 | if (operands == null) | ||
75 | { | ||
76 | operands = new EObjectContainmentEList<SMTTerm>(SMTTerm.class, this, SmtLanguagePackage.SMT_OR__OPERANDS); | ||
77 | } | ||
78 | return operands; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | @Override | ||
87 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
88 | { | ||
89 | switch (featureID) | ||
90 | { | ||
91 | case SmtLanguagePackage.SMT_OR__OPERANDS: | ||
92 | return ((InternalEList<?>)getOperands()).basicRemove(otherEnd, msgs); | ||
93 | } | ||
94 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
104 | { | ||
105 | switch (featureID) | ||
106 | { | ||
107 | case SmtLanguagePackage.SMT_OR__OPERANDS: | ||
108 | return getOperands(); | ||
109 | } | ||
110 | return super.eGet(featureID, resolve, coreType); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @SuppressWarnings("unchecked") | ||
119 | @Override | ||
120 | public void eSet(int featureID, Object newValue) | ||
121 | { | ||
122 | switch (featureID) | ||
123 | { | ||
124 | case SmtLanguagePackage.SMT_OR__OPERANDS: | ||
125 | getOperands().clear(); | ||
126 | getOperands().addAll((Collection<? extends SMTTerm>)newValue); | ||
127 | return; | ||
128 | } | ||
129 | super.eSet(featureID, newValue); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public void eUnset(int featureID) | ||
139 | { | ||
140 | switch (featureID) | ||
141 | { | ||
142 | case SmtLanguagePackage.SMT_OR__OPERANDS: | ||
143 | getOperands().clear(); | ||
144 | return; | ||
145 | } | ||
146 | super.eUnset(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public boolean eIsSet(int featureID) | ||
156 | { | ||
157 | switch (featureID) | ||
158 | { | ||
159 | case SmtLanguagePackage.SMT_OR__OPERANDS: | ||
160 | return operands != null && !operands.isEmpty(); | ||
161 | } | ||
162 | return super.eIsSet(featureID); | ||
163 | } | ||
164 | |||
165 | } //SMTOrImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTOutputImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTOutputImpl.java new file mode 100644 index 00000000..7a67447d --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTOutputImpl.java | |||
@@ -0,0 +1,337 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTOutput; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTResult; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTStatisticsSection; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>SMT Output</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTOutputImpl#getSatResult <em>Sat Result</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTOutputImpl#getGetModelResult <em>Get Model Result</em>}</li> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTOutputImpl#getStatistics <em>Statistics</em>}</li> | ||
29 | * </ul> | ||
30 | * </p> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class SMTOutputImpl extends MinimalEObjectImpl.Container implements SMTOutput | ||
35 | { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getSatResult() <em>Sat Result</em>}' containment reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getSatResult() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected SMTResult satResult; | ||
45 | |||
46 | /** | ||
47 | * The cached value of the '{@link #getGetModelResult() <em>Get Model Result</em>}' containment reference. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @see #getGetModelResult() | ||
51 | * @generated | ||
52 | * @ordered | ||
53 | */ | ||
54 | protected SMTResult getModelResult; | ||
55 | |||
56 | /** | ||
57 | * The cached value of the '{@link #getStatistics() <em>Statistics</em>}' containment reference. | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @see #getStatistics() | ||
61 | * @generated | ||
62 | * @ordered | ||
63 | */ | ||
64 | protected SMTStatisticsSection statistics; | ||
65 | |||
66 | /** | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @generated | ||
70 | */ | ||
71 | protected SMTOutputImpl() | ||
72 | { | ||
73 | super(); | ||
74 | } | ||
75 | |||
76 | /** | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | @Override | ||
82 | protected EClass eStaticClass() | ||
83 | { | ||
84 | return SmtLanguagePackage.Literals.SMT_OUTPUT; | ||
85 | } | ||
86 | |||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | public SMTResult getSatResult() | ||
93 | { | ||
94 | return satResult; | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | public NotificationChain basicSetSatResult(SMTResult newSatResult, NotificationChain msgs) | ||
103 | { | ||
104 | SMTResult oldSatResult = satResult; | ||
105 | satResult = newSatResult; | ||
106 | if (eNotificationRequired()) | ||
107 | { | ||
108 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_OUTPUT__SAT_RESULT, oldSatResult, newSatResult); | ||
109 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
110 | } | ||
111 | return msgs; | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public void setSatResult(SMTResult newSatResult) | ||
120 | { | ||
121 | if (newSatResult != satResult) | ||
122 | { | ||
123 | NotificationChain msgs = null; | ||
124 | if (satResult != null) | ||
125 | msgs = ((InternalEObject)satResult).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_OUTPUT__SAT_RESULT, null, msgs); | ||
126 | if (newSatResult != null) | ||
127 | msgs = ((InternalEObject)newSatResult).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_OUTPUT__SAT_RESULT, null, msgs); | ||
128 | msgs = basicSetSatResult(newSatResult, msgs); | ||
129 | if (msgs != null) msgs.dispatch(); | ||
130 | } | ||
131 | else if (eNotificationRequired()) | ||
132 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_OUTPUT__SAT_RESULT, newSatResult, newSatResult)); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public SMTResult getGetModelResult() | ||
141 | { | ||
142 | return getModelResult; | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | public NotificationChain basicSetGetModelResult(SMTResult newGetModelResult, NotificationChain msgs) | ||
151 | { | ||
152 | SMTResult oldGetModelResult = getModelResult; | ||
153 | getModelResult = newGetModelResult; | ||
154 | if (eNotificationRequired()) | ||
155 | { | ||
156 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_OUTPUT__GET_MODEL_RESULT, oldGetModelResult, newGetModelResult); | ||
157 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
158 | } | ||
159 | return msgs; | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | public void setGetModelResult(SMTResult newGetModelResult) | ||
168 | { | ||
169 | if (newGetModelResult != getModelResult) | ||
170 | { | ||
171 | NotificationChain msgs = null; | ||
172 | if (getModelResult != null) | ||
173 | msgs = ((InternalEObject)getModelResult).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_OUTPUT__GET_MODEL_RESULT, null, msgs); | ||
174 | if (newGetModelResult != null) | ||
175 | msgs = ((InternalEObject)newGetModelResult).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_OUTPUT__GET_MODEL_RESULT, null, msgs); | ||
176 | msgs = basicSetGetModelResult(newGetModelResult, msgs); | ||
177 | if (msgs != null) msgs.dispatch(); | ||
178 | } | ||
179 | else if (eNotificationRequired()) | ||
180 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_OUTPUT__GET_MODEL_RESULT, newGetModelResult, newGetModelResult)); | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @generated | ||
187 | */ | ||
188 | public SMTStatisticsSection getStatistics() | ||
189 | { | ||
190 | return statistics; | ||
191 | } | ||
192 | |||
193 | /** | ||
194 | * <!-- begin-user-doc --> | ||
195 | * <!-- end-user-doc --> | ||
196 | * @generated | ||
197 | */ | ||
198 | public NotificationChain basicSetStatistics(SMTStatisticsSection newStatistics, NotificationChain msgs) | ||
199 | { | ||
200 | SMTStatisticsSection oldStatistics = statistics; | ||
201 | statistics = newStatistics; | ||
202 | if (eNotificationRequired()) | ||
203 | { | ||
204 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_OUTPUT__STATISTICS, oldStatistics, newStatistics); | ||
205 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
206 | } | ||
207 | return msgs; | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | public void setStatistics(SMTStatisticsSection newStatistics) | ||
216 | { | ||
217 | if (newStatistics != statistics) | ||
218 | { | ||
219 | NotificationChain msgs = null; | ||
220 | if (statistics != null) | ||
221 | msgs = ((InternalEObject)statistics).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_OUTPUT__STATISTICS, null, msgs); | ||
222 | if (newStatistics != null) | ||
223 | msgs = ((InternalEObject)newStatistics).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_OUTPUT__STATISTICS, null, msgs); | ||
224 | msgs = basicSetStatistics(newStatistics, msgs); | ||
225 | if (msgs != null) msgs.dispatch(); | ||
226 | } | ||
227 | else if (eNotificationRequired()) | ||
228 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_OUTPUT__STATISTICS, newStatistics, newStatistics)); | ||
229 | } | ||
230 | |||
231 | /** | ||
232 | * <!-- begin-user-doc --> | ||
233 | * <!-- end-user-doc --> | ||
234 | * @generated | ||
235 | */ | ||
236 | @Override | ||
237 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
238 | { | ||
239 | switch (featureID) | ||
240 | { | ||
241 | case SmtLanguagePackage.SMT_OUTPUT__SAT_RESULT: | ||
242 | return basicSetSatResult(null, msgs); | ||
243 | case SmtLanguagePackage.SMT_OUTPUT__GET_MODEL_RESULT: | ||
244 | return basicSetGetModelResult(null, msgs); | ||
245 | case SmtLanguagePackage.SMT_OUTPUT__STATISTICS: | ||
246 | return basicSetStatistics(null, msgs); | ||
247 | } | ||
248 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
249 | } | ||
250 | |||
251 | /** | ||
252 | * <!-- begin-user-doc --> | ||
253 | * <!-- end-user-doc --> | ||
254 | * @generated | ||
255 | */ | ||
256 | @Override | ||
257 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
258 | { | ||
259 | switch (featureID) | ||
260 | { | ||
261 | case SmtLanguagePackage.SMT_OUTPUT__SAT_RESULT: | ||
262 | return getSatResult(); | ||
263 | case SmtLanguagePackage.SMT_OUTPUT__GET_MODEL_RESULT: | ||
264 | return getGetModelResult(); | ||
265 | case SmtLanguagePackage.SMT_OUTPUT__STATISTICS: | ||
266 | return getStatistics(); | ||
267 | } | ||
268 | return super.eGet(featureID, resolve, coreType); | ||
269 | } | ||
270 | |||
271 | /** | ||
272 | * <!-- begin-user-doc --> | ||
273 | * <!-- end-user-doc --> | ||
274 | * @generated | ||
275 | */ | ||
276 | @Override | ||
277 | public void eSet(int featureID, Object newValue) | ||
278 | { | ||
279 | switch (featureID) | ||
280 | { | ||
281 | case SmtLanguagePackage.SMT_OUTPUT__SAT_RESULT: | ||
282 | setSatResult((SMTResult)newValue); | ||
283 | return; | ||
284 | case SmtLanguagePackage.SMT_OUTPUT__GET_MODEL_RESULT: | ||
285 | setGetModelResult((SMTResult)newValue); | ||
286 | return; | ||
287 | case SmtLanguagePackage.SMT_OUTPUT__STATISTICS: | ||
288 | setStatistics((SMTStatisticsSection)newValue); | ||
289 | return; | ||
290 | } | ||
291 | super.eSet(featureID, newValue); | ||
292 | } | ||
293 | |||
294 | /** | ||
295 | * <!-- begin-user-doc --> | ||
296 | * <!-- end-user-doc --> | ||
297 | * @generated | ||
298 | */ | ||
299 | @Override | ||
300 | public void eUnset(int featureID) | ||
301 | { | ||
302 | switch (featureID) | ||
303 | { | ||
304 | case SmtLanguagePackage.SMT_OUTPUT__SAT_RESULT: | ||
305 | setSatResult((SMTResult)null); | ||
306 | return; | ||
307 | case SmtLanguagePackage.SMT_OUTPUT__GET_MODEL_RESULT: | ||
308 | setGetModelResult((SMTResult)null); | ||
309 | return; | ||
310 | case SmtLanguagePackage.SMT_OUTPUT__STATISTICS: | ||
311 | setStatistics((SMTStatisticsSection)null); | ||
312 | return; | ||
313 | } | ||
314 | super.eUnset(featureID); | ||
315 | } | ||
316 | |||
317 | /** | ||
318 | * <!-- begin-user-doc --> | ||
319 | * <!-- end-user-doc --> | ||
320 | * @generated | ||
321 | */ | ||
322 | @Override | ||
323 | public boolean eIsSet(int featureID) | ||
324 | { | ||
325 | switch (featureID) | ||
326 | { | ||
327 | case SmtLanguagePackage.SMT_OUTPUT__SAT_RESULT: | ||
328 | return satResult != null; | ||
329 | case SmtLanguagePackage.SMT_OUTPUT__GET_MODEL_RESULT: | ||
330 | return getModelResult != null; | ||
331 | case SmtLanguagePackage.SMT_OUTPUT__STATISTICS: | ||
332 | return statistics != null; | ||
333 | } | ||
334 | return super.eIsSet(featureID); | ||
335 | } | ||
336 | |||
337 | } //SMTOutputImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTParOrCombinatorImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTParOrCombinatorImpl.java new file mode 100644 index 00000000..4227e886 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTParOrCombinatorImpl.java | |||
@@ -0,0 +1,165 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTParOrCombinator; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningTactic; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>SMT Par Or Combinator</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * <ul> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTParOrCombinatorImpl#getTactics <em>Tactics</em>}</li> | ||
29 | * </ul> | ||
30 | * </p> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class SMTParOrCombinatorImpl extends SMTReasoningCombinatorImpl implements SMTParOrCombinator | ||
35 | { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getTactics() <em>Tactics</em>}' containment reference list. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getTactics() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected EList<SMTReasoningTactic> tactics; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected SMTParOrCombinatorImpl() | ||
52 | { | ||
53 | super(); | ||
54 | } | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | @Override | ||
62 | protected EClass eStaticClass() | ||
63 | { | ||
64 | return SmtLanguagePackage.Literals.SMT_PAR_OR_COMBINATOR; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public EList<SMTReasoningTactic> getTactics() | ||
73 | { | ||
74 | if (tactics == null) | ||
75 | { | ||
76 | tactics = new EObjectContainmentEList<SMTReasoningTactic>(SMTReasoningTactic.class, this, SmtLanguagePackage.SMT_PAR_OR_COMBINATOR__TACTICS); | ||
77 | } | ||
78 | return tactics; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | @Override | ||
87 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
88 | { | ||
89 | switch (featureID) | ||
90 | { | ||
91 | case SmtLanguagePackage.SMT_PAR_OR_COMBINATOR__TACTICS: | ||
92 | return ((InternalEList<?>)getTactics()).basicRemove(otherEnd, msgs); | ||
93 | } | ||
94 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
104 | { | ||
105 | switch (featureID) | ||
106 | { | ||
107 | case SmtLanguagePackage.SMT_PAR_OR_COMBINATOR__TACTICS: | ||
108 | return getTactics(); | ||
109 | } | ||
110 | return super.eGet(featureID, resolve, coreType); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @SuppressWarnings("unchecked") | ||
119 | @Override | ||
120 | public void eSet(int featureID, Object newValue) | ||
121 | { | ||
122 | switch (featureID) | ||
123 | { | ||
124 | case SmtLanguagePackage.SMT_PAR_OR_COMBINATOR__TACTICS: | ||
125 | getTactics().clear(); | ||
126 | getTactics().addAll((Collection<? extends SMTReasoningTactic>)newValue); | ||
127 | return; | ||
128 | } | ||
129 | super.eSet(featureID, newValue); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public void eUnset(int featureID) | ||
139 | { | ||
140 | switch (featureID) | ||
141 | { | ||
142 | case SmtLanguagePackage.SMT_PAR_OR_COMBINATOR__TACTICS: | ||
143 | getTactics().clear(); | ||
144 | return; | ||
145 | } | ||
146 | super.eUnset(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public boolean eIsSet(int featureID) | ||
156 | { | ||
157 | switch (featureID) | ||
158 | { | ||
159 | case SmtLanguagePackage.SMT_PAR_OR_COMBINATOR__TACTICS: | ||
160 | return tactics != null && !tactics.isEmpty(); | ||
161 | } | ||
162 | return super.eIsSet(featureID); | ||
163 | } | ||
164 | |||
165 | } //SMTParOrCombinatorImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTParThenCombinatorImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTParThenCombinatorImpl.java new file mode 100644 index 00000000..6a3c06dd --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTParThenCombinatorImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTParThenCombinator; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningTactic; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMT Par Then Combinator</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTParThenCombinatorImpl#getPreProcessingTactic <em>Pre Processing Tactic</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTParThenCombinatorImpl#getParalellyPostpricessingTactic <em>Paralelly Postpricessing Tactic</em>}</li> | ||
26 | * </ul> | ||
27 | * </p> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class SMTParThenCombinatorImpl extends SMTReasoningCombinatorImpl implements SMTParThenCombinator | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getPreProcessingTactic() <em>Pre Processing Tactic</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getPreProcessingTactic() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected SMTReasoningTactic preProcessingTactic; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getParalellyPostpricessingTactic() <em>Paralelly Postpricessing Tactic</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getParalellyPostpricessingTactic() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected SMTReasoningTactic paralellyPostpricessingTactic; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected SMTParThenCombinatorImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return SmtLanguagePackage.Literals.SMT_PAR_THEN_COMBINATOR; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public SMTReasoningTactic getPreProcessingTactic() | ||
80 | { | ||
81 | return preProcessingTactic; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetPreProcessingTactic(SMTReasoningTactic newPreProcessingTactic, NotificationChain msgs) | ||
90 | { | ||
91 | SMTReasoningTactic oldPreProcessingTactic = preProcessingTactic; | ||
92 | preProcessingTactic = newPreProcessingTactic; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PRE_PROCESSING_TACTIC, oldPreProcessingTactic, newPreProcessingTactic); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setPreProcessingTactic(SMTReasoningTactic newPreProcessingTactic) | ||
107 | { | ||
108 | if (newPreProcessingTactic != preProcessingTactic) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (preProcessingTactic != null) | ||
112 | msgs = ((InternalEObject)preProcessingTactic).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PRE_PROCESSING_TACTIC, null, msgs); | ||
113 | if (newPreProcessingTactic != null) | ||
114 | msgs = ((InternalEObject)newPreProcessingTactic).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PRE_PROCESSING_TACTIC, null, msgs); | ||
115 | msgs = basicSetPreProcessingTactic(newPreProcessingTactic, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PRE_PROCESSING_TACTIC, newPreProcessingTactic, newPreProcessingTactic)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public SMTReasoningTactic getParalellyPostpricessingTactic() | ||
128 | { | ||
129 | return paralellyPostpricessingTactic; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetParalellyPostpricessingTactic(SMTReasoningTactic newParalellyPostpricessingTactic, NotificationChain msgs) | ||
138 | { | ||
139 | SMTReasoningTactic oldParalellyPostpricessingTactic = paralellyPostpricessingTactic; | ||
140 | paralellyPostpricessingTactic = newParalellyPostpricessingTactic; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PARALELLY_POSTPRICESSING_TACTIC, oldParalellyPostpricessingTactic, newParalellyPostpricessingTactic); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setParalellyPostpricessingTactic(SMTReasoningTactic newParalellyPostpricessingTactic) | ||
155 | { | ||
156 | if (newParalellyPostpricessingTactic != paralellyPostpricessingTactic) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (paralellyPostpricessingTactic != null) | ||
160 | msgs = ((InternalEObject)paralellyPostpricessingTactic).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PARALELLY_POSTPRICESSING_TACTIC, null, msgs); | ||
161 | if (newParalellyPostpricessingTactic != null) | ||
162 | msgs = ((InternalEObject)newParalellyPostpricessingTactic).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PARALELLY_POSTPRICESSING_TACTIC, null, msgs); | ||
163 | msgs = basicSetParalellyPostpricessingTactic(newParalellyPostpricessingTactic, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PARALELLY_POSTPRICESSING_TACTIC, newParalellyPostpricessingTactic, newParalellyPostpricessingTactic)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PRE_PROCESSING_TACTIC: | ||
181 | return basicSetPreProcessingTactic(null, msgs); | ||
182 | case SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PARALELLY_POSTPRICESSING_TACTIC: | ||
183 | return basicSetParalellyPostpricessingTactic(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PRE_PROCESSING_TACTIC: | ||
199 | return getPreProcessingTactic(); | ||
200 | case SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PARALELLY_POSTPRICESSING_TACTIC: | ||
201 | return getParalellyPostpricessingTactic(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PRE_PROCESSING_TACTIC: | ||
217 | setPreProcessingTactic((SMTReasoningTactic)newValue); | ||
218 | return; | ||
219 | case SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PARALELLY_POSTPRICESSING_TACTIC: | ||
220 | setParalellyPostpricessingTactic((SMTReasoningTactic)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PRE_PROCESSING_TACTIC: | ||
237 | setPreProcessingTactic((SMTReasoningTactic)null); | ||
238 | return; | ||
239 | case SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PARALELLY_POSTPRICESSING_TACTIC: | ||
240 | setParalellyPostpricessingTactic((SMTReasoningTactic)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PRE_PROCESSING_TACTIC: | ||
257 | return preProcessingTactic != null; | ||
258 | case SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR__PARALELLY_POSTPRICESSING_TACTIC: | ||
259 | return paralellyPostpricessingTactic != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //SMTParThenCombinatorImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTPlusImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTPlusImpl.java new file mode 100644 index 00000000..87ec6ff4 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTPlusImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTPlus; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Plus</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTPlusImpl extends SMTIntOperationImpl implements SMTPlus | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTPlusImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_PLUS; | ||
40 | } | ||
41 | |||
42 | } //SMTPlusImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTPrimitiveTypeReferenceImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTPrimitiveTypeReferenceImpl.java new file mode 100644 index 00000000..b3df7751 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTPrimitiveTypeReferenceImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTPrimitiveTypeReference; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Primitive Type Reference</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTPrimitiveTypeReferenceImpl extends SMTTypeReferenceImpl implements SMTPrimitiveTypeReference | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTPrimitiveTypeReferenceImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_PRIMITIVE_TYPE_REFERENCE; | ||
40 | } | ||
41 | |||
42 | } //SMTPrimitiveTypeReferenceImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTQuantifiedExpressionImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTQuantifiedExpressionImpl.java new file mode 100644 index 00000000..1d9d594e --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTQuantifiedExpressionImpl.java | |||
@@ -0,0 +1,311 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTQuantifiedExpression; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSortedVariable; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | |||
22 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
23 | import org.eclipse.emf.ecore.util.InternalEList; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model object '<em><b>SMT Quantified Expression</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * <p> | ||
30 | * The following features are implemented: | ||
31 | * <ul> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTQuantifiedExpressionImpl#getQuantifiedVariables <em>Quantified Variables</em>}</li> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTQuantifiedExpressionImpl#getExpression <em>Expression</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTQuantifiedExpressionImpl#getPattern <em>Pattern</em>}</li> | ||
35 | * </ul> | ||
36 | * </p> | ||
37 | * | ||
38 | * @generated | ||
39 | */ | ||
40 | public class SMTQuantifiedExpressionImpl extends SMTTermImpl implements SMTQuantifiedExpression | ||
41 | { | ||
42 | /** | ||
43 | * The cached value of the '{@link #getQuantifiedVariables() <em>Quantified Variables</em>}' containment reference list. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getQuantifiedVariables() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected EList<SMTSortedVariable> quantifiedVariables; | ||
51 | |||
52 | /** | ||
53 | * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #getExpression() | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | protected SMTTerm expression; | ||
61 | |||
62 | /** | ||
63 | * The cached value of the '{@link #getPattern() <em>Pattern</em>}' containment reference. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @see #getPattern() | ||
67 | * @generated | ||
68 | * @ordered | ||
69 | */ | ||
70 | protected SMTTerm pattern; | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | protected SMTQuantifiedExpressionImpl() | ||
78 | { | ||
79 | super(); | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | protected EClass eStaticClass() | ||
89 | { | ||
90 | return SmtLanguagePackage.Literals.SMT_QUANTIFIED_EXPRESSION; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public EList<SMTSortedVariable> getQuantifiedVariables() | ||
99 | { | ||
100 | if (quantifiedVariables == null) | ||
101 | { | ||
102 | quantifiedVariables = new EObjectContainmentEList<SMTSortedVariable>(SMTSortedVariable.class, this, SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES); | ||
103 | } | ||
104 | return quantifiedVariables; | ||
105 | } | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | public SMTTerm getExpression() | ||
113 | { | ||
114 | return expression; | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | public NotificationChain basicSetExpression(SMTTerm newExpression, NotificationChain msgs) | ||
123 | { | ||
124 | SMTTerm oldExpression = expression; | ||
125 | expression = newExpression; | ||
126 | if (eNotificationRequired()) | ||
127 | { | ||
128 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__EXPRESSION, oldExpression, newExpression); | ||
129 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
130 | } | ||
131 | return msgs; | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | public void setExpression(SMTTerm newExpression) | ||
140 | { | ||
141 | if (newExpression != expression) | ||
142 | { | ||
143 | NotificationChain msgs = null; | ||
144 | if (expression != null) | ||
145 | msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__EXPRESSION, null, msgs); | ||
146 | if (newExpression != null) | ||
147 | msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__EXPRESSION, null, msgs); | ||
148 | msgs = basicSetExpression(newExpression, msgs); | ||
149 | if (msgs != null) msgs.dispatch(); | ||
150 | } | ||
151 | else if (eNotificationRequired()) | ||
152 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__EXPRESSION, newExpression, newExpression)); | ||
153 | } | ||
154 | |||
155 | /** | ||
156 | * <!-- begin-user-doc --> | ||
157 | * <!-- end-user-doc --> | ||
158 | * @generated | ||
159 | */ | ||
160 | public SMTTerm getPattern() | ||
161 | { | ||
162 | return pattern; | ||
163 | } | ||
164 | |||
165 | /** | ||
166 | * <!-- begin-user-doc --> | ||
167 | * <!-- end-user-doc --> | ||
168 | * @generated | ||
169 | */ | ||
170 | public NotificationChain basicSetPattern(SMTTerm newPattern, NotificationChain msgs) | ||
171 | { | ||
172 | SMTTerm oldPattern = pattern; | ||
173 | pattern = newPattern; | ||
174 | if (eNotificationRequired()) | ||
175 | { | ||
176 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__PATTERN, oldPattern, newPattern); | ||
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 | public void setPattern(SMTTerm newPattern) | ||
188 | { | ||
189 | if (newPattern != pattern) | ||
190 | { | ||
191 | NotificationChain msgs = null; | ||
192 | if (pattern != null) | ||
193 | msgs = ((InternalEObject)pattern).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__PATTERN, null, msgs); | ||
194 | if (newPattern != null) | ||
195 | msgs = ((InternalEObject)newPattern).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__PATTERN, null, msgs); | ||
196 | msgs = basicSetPattern(newPattern, msgs); | ||
197 | if (msgs != null) msgs.dispatch(); | ||
198 | } | ||
199 | else if (eNotificationRequired()) | ||
200 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__PATTERN, newPattern, newPattern)); | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * <!-- begin-user-doc --> | ||
205 | * <!-- end-user-doc --> | ||
206 | * @generated | ||
207 | */ | ||
208 | @Override | ||
209 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
210 | { | ||
211 | switch (featureID) | ||
212 | { | ||
213 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: | ||
214 | return ((InternalEList<?>)getQuantifiedVariables()).basicRemove(otherEnd, msgs); | ||
215 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__EXPRESSION: | ||
216 | return basicSetExpression(null, msgs); | ||
217 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__PATTERN: | ||
218 | return basicSetPattern(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 | { | ||
231 | switch (featureID) | ||
232 | { | ||
233 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: | ||
234 | return getQuantifiedVariables(); | ||
235 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__EXPRESSION: | ||
236 | return getExpression(); | ||
237 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__PATTERN: | ||
238 | return getPattern(); | ||
239 | } | ||
240 | return super.eGet(featureID, resolve, coreType); | ||
241 | } | ||
242 | |||
243 | /** | ||
244 | * <!-- begin-user-doc --> | ||
245 | * <!-- end-user-doc --> | ||
246 | * @generated | ||
247 | */ | ||
248 | @SuppressWarnings("unchecked") | ||
249 | @Override | ||
250 | public void eSet(int featureID, Object newValue) | ||
251 | { | ||
252 | switch (featureID) | ||
253 | { | ||
254 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: | ||
255 | getQuantifiedVariables().clear(); | ||
256 | getQuantifiedVariables().addAll((Collection<? extends SMTSortedVariable>)newValue); | ||
257 | return; | ||
258 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__EXPRESSION: | ||
259 | setExpression((SMTTerm)newValue); | ||
260 | return; | ||
261 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__PATTERN: | ||
262 | setPattern((SMTTerm)newValue); | ||
263 | return; | ||
264 | } | ||
265 | super.eSet(featureID, newValue); | ||
266 | } | ||
267 | |||
268 | /** | ||
269 | * <!-- begin-user-doc --> | ||
270 | * <!-- end-user-doc --> | ||
271 | * @generated | ||
272 | */ | ||
273 | @Override | ||
274 | public void eUnset(int featureID) | ||
275 | { | ||
276 | switch (featureID) | ||
277 | { | ||
278 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: | ||
279 | getQuantifiedVariables().clear(); | ||
280 | return; | ||
281 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__EXPRESSION: | ||
282 | setExpression((SMTTerm)null); | ||
283 | return; | ||
284 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__PATTERN: | ||
285 | setPattern((SMTTerm)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 | { | ||
299 | switch (featureID) | ||
300 | { | ||
301 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: | ||
302 | return quantifiedVariables != null && !quantifiedVariables.isEmpty(); | ||
303 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__EXPRESSION: | ||
304 | return expression != null; | ||
305 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION__PATTERN: | ||
306 | return pattern != null; | ||
307 | } | ||
308 | return super.eIsSet(featureID); | ||
309 | } | ||
310 | |||
311 | } //SMTQuantifiedExpressionImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTRealLiteralImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTRealLiteralImpl.java new file mode 100644 index 00000000..e6ac53ff --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTRealLiteralImpl.java | |||
@@ -0,0 +1,178 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTRealLiteral; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import java.math.BigDecimal; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>SMT Real Literal</b></em>'. | ||
19 | * <!-- end-user-doc --> | ||
20 | * <p> | ||
21 | * The following features are implemented: | ||
22 | * <ul> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTRealLiteralImpl#getValue <em>Value</em>}</li> | ||
24 | * </ul> | ||
25 | * </p> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class SMTRealLiteralImpl extends SMTAtomicTermImpl implements SMTRealLiteral | ||
30 | { | ||
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 SMTRealLiteralImpl() | ||
57 | { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() | ||
68 | { | ||
69 | return SmtLanguagePackage.Literals.SMT_REAL_LITERAL; | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | public BigDecimal getValue() | ||
78 | { | ||
79 | return value; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public void setValue(BigDecimal newValue) | ||
88 | { | ||
89 | BigDecimal oldValue = value; | ||
90 | value = newValue; | ||
91 | if (eNotificationRequired()) | ||
92 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_REAL_LITERAL__VALUE, oldValue, value)); | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | @Override | ||
101 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
102 | { | ||
103 | switch (featureID) | ||
104 | { | ||
105 | case SmtLanguagePackage.SMT_REAL_LITERAL__VALUE: | ||
106 | return getValue(); | ||
107 | } | ||
108 | return super.eGet(featureID, resolve, coreType); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public void eSet(int featureID, Object newValue) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case SmtLanguagePackage.SMT_REAL_LITERAL__VALUE: | ||
122 | setValue((BigDecimal)newValue); | ||
123 | return; | ||
124 | } | ||
125 | super.eSet(featureID, newValue); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public void eUnset(int featureID) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case SmtLanguagePackage.SMT_REAL_LITERAL__VALUE: | ||
139 | setValue(VALUE_EDEFAULT); | ||
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 | { | ||
153 | switch (featureID) | ||
154 | { | ||
155 | case SmtLanguagePackage.SMT_REAL_LITERAL__VALUE: | ||
156 | return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); | ||
157 | } | ||
158 | return super.eIsSet(featureID); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public String toString() | ||
168 | { | ||
169 | if (eIsProxy()) return super.toString(); | ||
170 | |||
171 | StringBuffer result = new StringBuffer(super.toString()); | ||
172 | result.append(" (value: "); | ||
173 | result.append(value); | ||
174 | result.append(')'); | ||
175 | return result.toString(); | ||
176 | } | ||
177 | |||
178 | } //SMTRealLiteralImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTRealTypeReferenceImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTRealTypeReferenceImpl.java new file mode 100644 index 00000000..95c19cfd --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTRealTypeReferenceImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTRealTypeReference; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Real Type Reference</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTRealTypeReferenceImpl extends SMTPrimitiveTypeReferenceImpl implements SMTRealTypeReference | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTRealTypeReferenceImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_REAL_TYPE_REFERENCE; | ||
40 | } | ||
41 | |||
42 | } //SMTRealTypeReferenceImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTReasoningCombinatorImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTReasoningCombinatorImpl.java new file mode 100644 index 00000000..767ba81e --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTReasoningCombinatorImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningCombinator; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Reasoning Combinator</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTReasoningCombinatorImpl extends SMTReasoningTacticImpl implements SMTReasoningCombinator | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTReasoningCombinatorImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_REASONING_COMBINATOR; | ||
40 | } | ||
41 | |||
42 | } //SMTReasoningCombinatorImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTReasoningTacticImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTReasoningTacticImpl.java new file mode 100644 index 00000000..73bd6390 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTReasoningTacticImpl.java | |||
@@ -0,0 +1,44 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningTactic; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>SMT Reasoning Tactic</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * <p> | ||
17 | * </p> | ||
18 | * | ||
19 | * @generated | ||
20 | */ | ||
21 | public class SMTReasoningTacticImpl extends MinimalEObjectImpl.Container implements SMTReasoningTactic | ||
22 | { | ||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | protected SMTReasoningTacticImpl() | ||
29 | { | ||
30 | super(); | ||
31 | } | ||
32 | |||
33 | /** | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | @Override | ||
39 | protected EClass eStaticClass() | ||
40 | { | ||
41 | return SmtLanguagePackage.Literals.SMT_REASONING_TACTIC; | ||
42 | } | ||
43 | |||
44 | } //SMTReasoningTacticImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTRelationImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTRelationImpl.java new file mode 100644 index 00000000..7086f095 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTRelationImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTRelation; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Relation</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTRelationImpl extends SMTTermImpl implements SMTRelation | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTRelationImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_RELATION; | ||
40 | } | ||
41 | |||
42 | } //SMTRelationImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTResultImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTResultImpl.java new file mode 100644 index 00000000..602dea0c --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTResultImpl.java | |||
@@ -0,0 +1,44 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTResult; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>SMT Result</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * <p> | ||
17 | * </p> | ||
18 | * | ||
19 | * @generated | ||
20 | */ | ||
21 | public class SMTResultImpl extends MinimalEObjectImpl.Container implements SMTResult | ||
22 | { | ||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | protected SMTResultImpl() | ||
29 | { | ||
30 | super(); | ||
31 | } | ||
32 | |||
33 | /** | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | @Override | ||
39 | protected EClass eStaticClass() | ||
40 | { | ||
41 | return SmtLanguagePackage.Literals.SMT_RESULT; | ||
42 | } | ||
43 | |||
44 | } //SMTResultImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSatCommandImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSatCommandImpl.java new file mode 100644 index 00000000..224fd955 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSatCommandImpl.java | |||
@@ -0,0 +1,44 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSatCommand; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>SMT Sat Command</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * <p> | ||
17 | * </p> | ||
18 | * | ||
19 | * @generated | ||
20 | */ | ||
21 | public class SMTSatCommandImpl extends MinimalEObjectImpl.Container implements SMTSatCommand | ||
22 | { | ||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | protected SMTSatCommandImpl() | ||
29 | { | ||
30 | super(); | ||
31 | } | ||
32 | |||
33 | /** | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | @Override | ||
39 | protected EClass eStaticClass() | ||
40 | { | ||
41 | return SmtLanguagePackage.Literals.SMT_SAT_COMMAND; | ||
42 | } | ||
43 | |||
44 | } //SMTSatCommandImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSatResultImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSatResultImpl.java new file mode 100644 index 00000000..0f72153a --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSatResultImpl.java | |||
@@ -0,0 +1,288 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSatResult; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
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 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>SMT Sat Result</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * <ul> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTSatResultImpl#isSat <em>Sat</em>}</li> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTSatResultImpl#isUnsat <em>Unsat</em>}</li> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTSatResultImpl#isUnknown <em>Unknown</em>}</li> | ||
24 | * </ul> | ||
25 | * </p> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class SMTSatResultImpl extends SMTResultImpl implements SMTSatResult | ||
30 | { | ||
31 | /** | ||
32 | * The default value of the '{@link #isSat() <em>Sat</em>}' attribute. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #isSat() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected static final boolean SAT_EDEFAULT = false; | ||
40 | |||
41 | /** | ||
42 | * The cached value of the '{@link #isSat() <em>Sat</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #isSat() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected boolean sat = SAT_EDEFAULT; | ||
50 | |||
51 | /** | ||
52 | * The default value of the '{@link #isUnsat() <em>Unsat</em>}' attribute. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #isUnsat() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected static final boolean UNSAT_EDEFAULT = false; | ||
60 | |||
61 | /** | ||
62 | * The cached value of the '{@link #isUnsat() <em>Unsat</em>}' attribute. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @see #isUnsat() | ||
66 | * @generated | ||
67 | * @ordered | ||
68 | */ | ||
69 | protected boolean unsat = UNSAT_EDEFAULT; | ||
70 | |||
71 | /** | ||
72 | * The default value of the '{@link #isUnknown() <em>Unknown</em>}' attribute. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @see #isUnknown() | ||
76 | * @generated | ||
77 | * @ordered | ||
78 | */ | ||
79 | protected static final boolean UNKNOWN_EDEFAULT = false; | ||
80 | |||
81 | /** | ||
82 | * The cached value of the '{@link #isUnknown() <em>Unknown</em>}' attribute. | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @see #isUnknown() | ||
86 | * @generated | ||
87 | * @ordered | ||
88 | */ | ||
89 | protected boolean unknown = UNKNOWN_EDEFAULT; | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | protected SMTSatResultImpl() | ||
97 | { | ||
98 | super(); | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | @Override | ||
107 | protected EClass eStaticClass() | ||
108 | { | ||
109 | return SmtLanguagePackage.Literals.SMT_SAT_RESULT; | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | public boolean isSat() | ||
118 | { | ||
119 | return sat; | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public void setSat(boolean newSat) | ||
128 | { | ||
129 | boolean oldSat = sat; | ||
130 | sat = newSat; | ||
131 | if (eNotificationRequired()) | ||
132 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_SAT_RESULT__SAT, oldSat, sat)); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public boolean isUnsat() | ||
141 | { | ||
142 | return unsat; | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | public void setUnsat(boolean newUnsat) | ||
151 | { | ||
152 | boolean oldUnsat = unsat; | ||
153 | unsat = newUnsat; | ||
154 | if (eNotificationRequired()) | ||
155 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_SAT_RESULT__UNSAT, oldUnsat, unsat)); | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | public boolean isUnknown() | ||
164 | { | ||
165 | return unknown; | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | public void setUnknown(boolean newUnknown) | ||
174 | { | ||
175 | boolean oldUnknown = unknown; | ||
176 | unknown = newUnknown; | ||
177 | if (eNotificationRequired()) | ||
178 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_SAT_RESULT__UNKNOWN, oldUnknown, unknown)); | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | @Override | ||
187 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
188 | { | ||
189 | switch (featureID) | ||
190 | { | ||
191 | case SmtLanguagePackage.SMT_SAT_RESULT__SAT: | ||
192 | return isSat(); | ||
193 | case SmtLanguagePackage.SMT_SAT_RESULT__UNSAT: | ||
194 | return isUnsat(); | ||
195 | case SmtLanguagePackage.SMT_SAT_RESULT__UNKNOWN: | ||
196 | return isUnknown(); | ||
197 | } | ||
198 | return super.eGet(featureID, resolve, coreType); | ||
199 | } | ||
200 | |||
201 | /** | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | */ | ||
206 | @Override | ||
207 | public void eSet(int featureID, Object newValue) | ||
208 | { | ||
209 | switch (featureID) | ||
210 | { | ||
211 | case SmtLanguagePackage.SMT_SAT_RESULT__SAT: | ||
212 | setSat((Boolean)newValue); | ||
213 | return; | ||
214 | case SmtLanguagePackage.SMT_SAT_RESULT__UNSAT: | ||
215 | setUnsat((Boolean)newValue); | ||
216 | return; | ||
217 | case SmtLanguagePackage.SMT_SAT_RESULT__UNKNOWN: | ||
218 | setUnknown((Boolean)newValue); | ||
219 | return; | ||
220 | } | ||
221 | super.eSet(featureID, newValue); | ||
222 | } | ||
223 | |||
224 | /** | ||
225 | * <!-- begin-user-doc --> | ||
226 | * <!-- end-user-doc --> | ||
227 | * @generated | ||
228 | */ | ||
229 | @Override | ||
230 | public void eUnset(int featureID) | ||
231 | { | ||
232 | switch (featureID) | ||
233 | { | ||
234 | case SmtLanguagePackage.SMT_SAT_RESULT__SAT: | ||
235 | setSat(SAT_EDEFAULT); | ||
236 | return; | ||
237 | case SmtLanguagePackage.SMT_SAT_RESULT__UNSAT: | ||
238 | setUnsat(UNSAT_EDEFAULT); | ||
239 | return; | ||
240 | case SmtLanguagePackage.SMT_SAT_RESULT__UNKNOWN: | ||
241 | setUnknown(UNKNOWN_EDEFAULT); | ||
242 | return; | ||
243 | } | ||
244 | super.eUnset(featureID); | ||
245 | } | ||
246 | |||
247 | /** | ||
248 | * <!-- begin-user-doc --> | ||
249 | * <!-- end-user-doc --> | ||
250 | * @generated | ||
251 | */ | ||
252 | @Override | ||
253 | public boolean eIsSet(int featureID) | ||
254 | { | ||
255 | switch (featureID) | ||
256 | { | ||
257 | case SmtLanguagePackage.SMT_SAT_RESULT__SAT: | ||
258 | return sat != SAT_EDEFAULT; | ||
259 | case SmtLanguagePackage.SMT_SAT_RESULT__UNSAT: | ||
260 | return unsat != UNSAT_EDEFAULT; | ||
261 | case SmtLanguagePackage.SMT_SAT_RESULT__UNKNOWN: | ||
262 | return unknown != UNKNOWN_EDEFAULT; | ||
263 | } | ||
264 | return super.eIsSet(featureID); | ||
265 | } | ||
266 | |||
267 | /** | ||
268 | * <!-- begin-user-doc --> | ||
269 | * <!-- end-user-doc --> | ||
270 | * @generated | ||
271 | */ | ||
272 | @Override | ||
273 | public String toString() | ||
274 | { | ||
275 | if (eIsProxy()) return super.toString(); | ||
276 | |||
277 | StringBuffer result = new StringBuffer(super.toString()); | ||
278 | result.append(" (sat: "); | ||
279 | result.append(sat); | ||
280 | result.append(", unsat: "); | ||
281 | result.append(unsat); | ||
282 | result.append(", unknown: "); | ||
283 | result.append(unknown); | ||
284 | result.append(')'); | ||
285 | return result.toString(); | ||
286 | } | ||
287 | |||
288 | } //SMTSatResultImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSetTypeDeclarationImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSetTypeDeclarationImpl.java new file mode 100644 index 00000000..9d77638b --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSetTypeDeclarationImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSetTypeDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Set Type Declaration</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTSetTypeDeclarationImpl extends SMTTypeImpl implements SMTSetTypeDeclaration | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTSetTypeDeclarationImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_SET_TYPE_DECLARATION; | ||
40 | } | ||
41 | |||
42 | } //SMTSetTypeDeclarationImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSimpleSatCommandImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSimpleSatCommandImpl.java new file mode 100644 index 00000000..2f006469 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSimpleSatCommandImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSimpleSatCommand; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>SMT Simple Sat Command</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * <p> | ||
15 | * </p> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class SMTSimpleSatCommandImpl extends SMTSatCommandImpl implements SMTSimpleSatCommand | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected SMTSimpleSatCommandImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return SmtLanguagePackage.Literals.SMT_SIMPLE_SAT_COMMAND; | ||
40 | } | ||
41 | |||
42 | } //SMTSimpleSatCommandImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSortedVariableImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSortedVariableImpl.java new file mode 100644 index 00000000..71c1d866 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSortedVariableImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSortedVariable; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTypeReference; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMT Sorted Variable</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTSortedVariableImpl#getRange <em>Range</em>}</li> | ||
25 | * </ul> | ||
26 | * </p> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class SMTSortedVariableImpl extends SMTSymbolicDeclarationImpl implements SMTSortedVariable | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getRange() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected SMTTypeReference range; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected SMTSortedVariableImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return SmtLanguagePackage.Literals.SMT_SORTED_VARIABLE; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public SMTTypeReference getRange() | ||
69 | { | ||
70 | return range; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetRange(SMTTypeReference newRange, NotificationChain msgs) | ||
79 | { | ||
80 | SMTTypeReference oldRange = range; | ||
81 | range = newRange; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_SORTED_VARIABLE__RANGE, oldRange, newRange); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setRange(SMTTypeReference newRange) | ||
96 | { | ||
97 | if (newRange != range) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (range != null) | ||
101 | msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_SORTED_VARIABLE__RANGE, null, msgs); | ||
102 | if (newRange != null) | ||
103 | msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_SORTED_VARIABLE__RANGE, null, msgs); | ||
104 | msgs = basicSetRange(newRange, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_SORTED_VARIABLE__RANGE, newRange, newRange)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case SmtLanguagePackage.SMT_SORTED_VARIABLE__RANGE: | ||
122 | return basicSetRange(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case SmtLanguagePackage.SMT_SORTED_VARIABLE__RANGE: | ||
138 | return getRange(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case SmtLanguagePackage.SMT_SORTED_VARIABLE__RANGE: | ||
154 | setRange((SMTTypeReference)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case SmtLanguagePackage.SMT_SORTED_VARIABLE__RANGE: | ||
171 | setRange((SMTTypeReference)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case SmtLanguagePackage.SMT_SORTED_VARIABLE__RANGE: | ||
188 | return range != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //SMTSortedVariableImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTStatisticDoubleValueImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTStatisticDoubleValueImpl.java new file mode 100644 index 00000000..91a69998 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTStatisticDoubleValueImpl.java | |||
@@ -0,0 +1,178 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTStatisticDoubleValue; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import java.math.BigDecimal; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>SMT Statistic Double Value</b></em>'. | ||
19 | * <!-- end-user-doc --> | ||
20 | * <p> | ||
21 | * The following features are implemented: | ||
22 | * <ul> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTStatisticDoubleValueImpl#getValue <em>Value</em>}</li> | ||
24 | * </ul> | ||
25 | * </p> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class SMTStatisticDoubleValueImpl extends SMTStatisticValueImpl implements SMTStatisticDoubleValue | ||
30 | { | ||
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 SMTStatisticDoubleValueImpl() | ||
57 | { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() | ||
68 | { | ||
69 | return SmtLanguagePackage.Literals.SMT_STATISTIC_DOUBLE_VALUE; | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | public BigDecimal getValue() | ||
78 | { | ||
79 | return value; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public void setValue(BigDecimal newValue) | ||
88 | { | ||
89 | BigDecimal oldValue = value; | ||
90 | value = newValue; | ||
91 | if (eNotificationRequired()) | ||
92 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_STATISTIC_DOUBLE_VALUE__VALUE, oldValue, value)); | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | @Override | ||
101 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
102 | { | ||
103 | switch (featureID) | ||
104 | { | ||
105 | case SmtLanguagePackage.SMT_STATISTIC_DOUBLE_VALUE__VALUE: | ||
106 | return getValue(); | ||
107 | } | ||
108 | return super.eGet(featureID, resolve, coreType); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public void eSet(int featureID, Object newValue) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case SmtLanguagePackage.SMT_STATISTIC_DOUBLE_VALUE__VALUE: | ||
122 | setValue((BigDecimal)newValue); | ||
123 | return; | ||
124 | } | ||
125 | super.eSet(featureID, newValue); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public void eUnset(int featureID) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case SmtLanguagePackage.SMT_STATISTIC_DOUBLE_VALUE__VALUE: | ||
139 | setValue(VALUE_EDEFAULT); | ||
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 | { | ||
153 | switch (featureID) | ||
154 | { | ||
155 | case SmtLanguagePackage.SMT_STATISTIC_DOUBLE_VALUE__VALUE: | ||
156 | return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); | ||
157 | } | ||
158 | return super.eIsSet(featureID); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public String toString() | ||
168 | { | ||
169 | if (eIsProxy()) return super.toString(); | ||
170 | |||
171 | StringBuffer result = new StringBuffer(super.toString()); | ||
172 | result.append(" (value: "); | ||
173 | result.append(value); | ||
174 | result.append(')'); | ||
175 | return result.toString(); | ||
176 | } | ||
177 | |||
178 | } //SMTStatisticDoubleValueImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTStatisticIntValueImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTStatisticIntValueImpl.java new file mode 100644 index 00000000..7f76d3e9 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTStatisticIntValueImpl.java | |||
@@ -0,0 +1,176 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTStatisticIntValue; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
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 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>SMT Statistic Int Value</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * <ul> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTStatisticIntValueImpl#getValue <em>Value</em>}</li> | ||
22 | * </ul> | ||
23 | * </p> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class SMTStatisticIntValueImpl extends SMTStatisticValueImpl implements SMTStatisticIntValue | ||
28 | { | ||
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 int VALUE_EDEFAULT = 0; | ||
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 int value = VALUE_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected SMTStatisticIntValueImpl() | ||
55 | { | ||
56 | super(); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | protected EClass eStaticClass() | ||
66 | { | ||
67 | return SmtLanguagePackage.Literals.SMT_STATISTIC_INT_VALUE; | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | public int getValue() | ||
76 | { | ||
77 | return value; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public void setValue(int newValue) | ||
86 | { | ||
87 | int oldValue = value; | ||
88 | value = newValue; | ||
89 | if (eNotificationRequired()) | ||
90 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_STATISTIC_INT_VALUE__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 | { | ||
101 | switch (featureID) | ||
102 | { | ||
103 | case SmtLanguagePackage.SMT_STATISTIC_INT_VALUE__VALUE: | ||
104 | return getValue(); | ||
105 | } | ||
106 | return super.eGet(featureID, resolve, coreType); | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | @Override | ||
115 | public void eSet(int featureID, Object newValue) | ||
116 | { | ||
117 | switch (featureID) | ||
118 | { | ||
119 | case SmtLanguagePackage.SMT_STATISTIC_INT_VALUE__VALUE: | ||
120 | setValue((Integer)newValue); | ||
121 | return; | ||
122 | } | ||
123 | super.eSet(featureID, newValue); | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | @Override | ||
132 | public void eUnset(int featureID) | ||
133 | { | ||
134 | switch (featureID) | ||
135 | { | ||
136 | case SmtLanguagePackage.SMT_STATISTIC_INT_VALUE__VALUE: | ||
137 | setValue(VALUE_EDEFAULT); | ||
138 | return; | ||
139 | } | ||
140 | super.eUnset(featureID); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public boolean eIsSet(int featureID) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case SmtLanguagePackage.SMT_STATISTIC_INT_VALUE__VALUE: | ||
154 | return value != VALUE_EDEFAULT; | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | @Override | ||
165 | public String toString() | ||
166 | { | ||
167 | if (eIsProxy()) return super.toString(); | ||
168 | |||
169 | StringBuffer result = new StringBuffer(super.toString()); | ||
170 | result.append(" (value: "); | ||
171 | result.append(value); | ||
172 | result.append(')'); | ||
173 | return result.toString(); | ||
174 | } | ||
175 | |||
176 | } //SMTStatisticIntValueImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTStatisticValueImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTStatisticValueImpl.java new file mode 100644 index 00000000..95844583 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTStatisticValueImpl.java | |||
@@ -0,0 +1,177 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTStatisticValue; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
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 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>SMT Statistic Value</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTStatisticValueImpl#getName <em>Name</em>}</li> | ||
23 | * </ul> | ||
24 | * </p> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class SMTStatisticValueImpl extends MinimalEObjectImpl.Container implements SMTStatisticValue | ||
29 | { | ||
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 SMTStatisticValueImpl() | ||
56 | { | ||
57 | super(); | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | protected EClass eStaticClass() | ||
67 | { | ||
68 | return SmtLanguagePackage.Literals.SMT_STATISTIC_VALUE; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public String getName() | ||
77 | { | ||
78 | return name; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public void setName(String newName) | ||
87 | { | ||
88 | String oldName = name; | ||
89 | name = newName; | ||
90 | if (eNotificationRequired()) | ||
91 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_STATISTIC_VALUE__NAME, oldName, name)); | ||
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 | { | ||
102 | switch (featureID) | ||
103 | { | ||
104 | case SmtLanguagePackage.SMT_STATISTIC_VALUE__NAME: | ||
105 | return getName(); | ||
106 | } | ||
107 | return super.eGet(featureID, resolve, coreType); | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | @Override | ||
116 | public void eSet(int featureID, Object newValue) | ||
117 | { | ||
118 | switch (featureID) | ||
119 | { | ||
120 | case SmtLanguagePackage.SMT_STATISTIC_VALUE__NAME: | ||
121 | setName((String)newValue); | ||
122 | return; | ||
123 | } | ||
124 | super.eSet(featureID, newValue); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public void eUnset(int featureID) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case SmtLanguagePackage.SMT_STATISTIC_VALUE__NAME: | ||
138 | setName(NAME_EDEFAULT); | ||
139 | return; | ||
140 | } | ||
141 | super.eUnset(featureID); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public boolean eIsSet(int featureID) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case SmtLanguagePackage.SMT_STATISTIC_VALUE__NAME: | ||
155 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
156 | } | ||
157 | return super.eIsSet(featureID); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public String toString() | ||
167 | { | ||
168 | if (eIsProxy()) return super.toString(); | ||
169 | |||
170 | StringBuffer result = new StringBuffer(super.toString()); | ||
171 | result.append(" (name: "); | ||
172 | result.append(name); | ||
173 | result.append(')'); | ||
174 | return result.toString(); | ||
175 | } | ||
176 | |||
177 | } //SMTStatisticValueImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTStatisticsSectionImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTStatisticsSectionImpl.java new file mode 100644 index 00000000..370c2df5 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTStatisticsSectionImpl.java | |||
@@ -0,0 +1,167 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTStatisticValue; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTStatisticsSection; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
19 | |||
20 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
21 | import org.eclipse.emf.ecore.util.InternalEList; | ||
22 | |||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * An implementation of the model object '<em><b>SMT Statistics Section</b></em>'. | ||
26 | * <!-- end-user-doc --> | ||
27 | * <p> | ||
28 | * The following features are implemented: | ||
29 | * <ul> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTStatisticsSectionImpl#getValues <em>Values</em>}</li> | ||
31 | * </ul> | ||
32 | * </p> | ||
33 | * | ||
34 | * @generated | ||
35 | */ | ||
36 | public class SMTStatisticsSectionImpl extends MinimalEObjectImpl.Container implements SMTStatisticsSection | ||
37 | { | ||
38 | /** | ||
39 | * The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getValues() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected EList<SMTStatisticValue> values; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected SMTStatisticsSectionImpl() | ||
54 | { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() | ||
65 | { | ||
66 | return SmtLanguagePackage.Literals.SMT_STATISTICS_SECTION; | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | public EList<SMTStatisticValue> getValues() | ||
75 | { | ||
76 | if (values == null) | ||
77 | { | ||
78 | values = new EObjectContainmentEList<SMTStatisticValue>(SMTStatisticValue.class, this, SmtLanguagePackage.SMT_STATISTICS_SECTION__VALUES); | ||
79 | } | ||
80 | return values; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | @Override | ||
89 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
90 | { | ||
91 | switch (featureID) | ||
92 | { | ||
93 | case SmtLanguagePackage.SMT_STATISTICS_SECTION__VALUES: | ||
94 | return ((InternalEList<?>)getValues()).basicRemove(otherEnd, msgs); | ||
95 | } | ||
96 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
97 | } | ||
98 | |||
99 | /** | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | @Override | ||
105 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
106 | { | ||
107 | switch (featureID) | ||
108 | { | ||
109 | case SmtLanguagePackage.SMT_STATISTICS_SECTION__VALUES: | ||
110 | return getValues(); | ||
111 | } | ||
112 | return super.eGet(featureID, resolve, coreType); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | @SuppressWarnings("unchecked") | ||
121 | @Override | ||
122 | public void eSet(int featureID, Object newValue) | ||
123 | { | ||
124 | switch (featureID) | ||
125 | { | ||
126 | case SmtLanguagePackage.SMT_STATISTICS_SECTION__VALUES: | ||
127 | getValues().clear(); | ||
128 | getValues().addAll((Collection<? extends SMTStatisticValue>)newValue); | ||
129 | return; | ||
130 | } | ||
131 | super.eSet(featureID, newValue); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public void eUnset(int featureID) | ||
141 | { | ||
142 | switch (featureID) | ||
143 | { | ||
144 | case SmtLanguagePackage.SMT_STATISTICS_SECTION__VALUES: | ||
145 | getValues().clear(); | ||
146 | return; | ||
147 | } | ||
148 | super.eUnset(featureID); | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public boolean eIsSet(int featureID) | ||
158 | { | ||
159 | switch (featureID) | ||
160 | { | ||
161 | case SmtLanguagePackage.SMT_STATISTICS_SECTION__VALUES: | ||
162 | return values != null && !values.isEmpty(); | ||
163 | } | ||
164 | return super.eIsSet(featureID); | ||
165 | } | ||
166 | |||
167 | } //SMTStatisticsSectionImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSymbolicDeclarationImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSymbolicDeclarationImpl.java new file mode 100644 index 00000000..3513feec --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSymbolicDeclarationImpl.java | |||
@@ -0,0 +1,177 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSymbolicDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
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 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>SMT Symbolic Declaration</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTSymbolicDeclarationImpl#getName <em>Name</em>}</li> | ||
23 | * </ul> | ||
24 | * </p> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class SMTSymbolicDeclarationImpl extends MinimalEObjectImpl.Container implements SMTSymbolicDeclaration | ||
29 | { | ||
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 SMTSymbolicDeclarationImpl() | ||
56 | { | ||
57 | super(); | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | protected EClass eStaticClass() | ||
67 | { | ||
68 | return SmtLanguagePackage.Literals.SMT_SYMBOLIC_DECLARATION; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public String getName() | ||
77 | { | ||
78 | return name; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public void setName(String newName) | ||
87 | { | ||
88 | String oldName = name; | ||
89 | name = newName; | ||
90 | if (eNotificationRequired()) | ||
91 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_SYMBOLIC_DECLARATION__NAME, oldName, name)); | ||
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 | { | ||
102 | switch (featureID) | ||
103 | { | ||
104 | case SmtLanguagePackage.SMT_SYMBOLIC_DECLARATION__NAME: | ||
105 | return getName(); | ||
106 | } | ||
107 | return super.eGet(featureID, resolve, coreType); | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | @Override | ||
116 | public void eSet(int featureID, Object newValue) | ||
117 | { | ||
118 | switch (featureID) | ||
119 | { | ||
120 | case SmtLanguagePackage.SMT_SYMBOLIC_DECLARATION__NAME: | ||
121 | setName((String)newValue); | ||
122 | return; | ||
123 | } | ||
124 | super.eSet(featureID, newValue); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public void eUnset(int featureID) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case SmtLanguagePackage.SMT_SYMBOLIC_DECLARATION__NAME: | ||
138 | setName(NAME_EDEFAULT); | ||
139 | return; | ||
140 | } | ||
141 | super.eUnset(featureID); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public boolean eIsSet(int featureID) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case SmtLanguagePackage.SMT_SYMBOLIC_DECLARATION__NAME: | ||
155 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
156 | } | ||
157 | return super.eIsSet(featureID); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public String toString() | ||
167 | { | ||
168 | if (eIsProxy()) return super.toString(); | ||
169 | |||
170 | StringBuffer result = new StringBuffer(super.toString()); | ||
171 | result.append(" (name: "); | ||
172 | result.append(name); | ||
173 | result.append(')'); | ||
174 | return result.toString(); | ||
175 | } | ||
176 | |||
177 | } //SMTSymbolicDeclarationImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSymbolicValueImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSymbolicValueImpl.java new file mode 100644 index 00000000..ea0689ef --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTSymbolicValueImpl.java | |||
@@ -0,0 +1,234 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSymbolicDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSymbolicValue; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | |||
22 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
23 | import org.eclipse.emf.ecore.util.InternalEList; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model object '<em><b>SMT Symbolic Value</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * <p> | ||
30 | * The following features are implemented: | ||
31 | * <ul> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTSymbolicValueImpl#getSymbolicReference <em>Symbolic Reference</em>}</li> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTSymbolicValueImpl#getParameterSubstitutions <em>Parameter Substitutions</em>}</li> | ||
34 | * </ul> | ||
35 | * </p> | ||
36 | * | ||
37 | * @generated | ||
38 | */ | ||
39 | public class SMTSymbolicValueImpl extends SMTTermImpl implements SMTSymbolicValue | ||
40 | { | ||
41 | /** | ||
42 | * The cached value of the '{@link #getSymbolicReference() <em>Symbolic Reference</em>}' reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getSymbolicReference() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected SMTSymbolicDeclaration symbolicReference; | ||
50 | |||
51 | /** | ||
52 | * The cached value of the '{@link #getParameterSubstitutions() <em>Parameter Substitutions</em>}' containment reference list. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getParameterSubstitutions() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected EList<SMTTerm> parameterSubstitutions; | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | protected SMTSymbolicValueImpl() | ||
67 | { | ||
68 | super(); | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | @Override | ||
77 | protected EClass eStaticClass() | ||
78 | { | ||
79 | return SmtLanguagePackage.Literals.SMT_SYMBOLIC_VALUE; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public SMTSymbolicDeclaration getSymbolicReference() | ||
88 | { | ||
89 | if (symbolicReference != null && symbolicReference.eIsProxy()) | ||
90 | { | ||
91 | InternalEObject oldSymbolicReference = (InternalEObject)symbolicReference; | ||
92 | symbolicReference = (SMTSymbolicDeclaration)eResolveProxy(oldSymbolicReference); | ||
93 | if (symbolicReference != oldSymbolicReference) | ||
94 | { | ||
95 | if (eNotificationRequired()) | ||
96 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SmtLanguagePackage.SMT_SYMBOLIC_VALUE__SYMBOLIC_REFERENCE, oldSymbolicReference, symbolicReference)); | ||
97 | } | ||
98 | } | ||
99 | return symbolicReference; | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | public SMTSymbolicDeclaration basicGetSymbolicReference() | ||
108 | { | ||
109 | return symbolicReference; | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | public void setSymbolicReference(SMTSymbolicDeclaration newSymbolicReference) | ||
118 | { | ||
119 | SMTSymbolicDeclaration oldSymbolicReference = symbolicReference; | ||
120 | symbolicReference = newSymbolicReference; | ||
121 | if (eNotificationRequired()) | ||
122 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_SYMBOLIC_VALUE__SYMBOLIC_REFERENCE, oldSymbolicReference, symbolicReference)); | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | public EList<SMTTerm> getParameterSubstitutions() | ||
131 | { | ||
132 | if (parameterSubstitutions == null) | ||
133 | { | ||
134 | parameterSubstitutions = new EObjectContainmentEList<SMTTerm>(SMTTerm.class, this, SmtLanguagePackage.SMT_SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS); | ||
135 | } | ||
136 | return parameterSubstitutions; | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | @Override | ||
145 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
146 | { | ||
147 | switch (featureID) | ||
148 | { | ||
149 | case SmtLanguagePackage.SMT_SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: | ||
150 | return ((InternalEList<?>)getParameterSubstitutions()).basicRemove(otherEnd, msgs); | ||
151 | } | ||
152 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
153 | } | ||
154 | |||
155 | /** | ||
156 | * <!-- begin-user-doc --> | ||
157 | * <!-- end-user-doc --> | ||
158 | * @generated | ||
159 | */ | ||
160 | @Override | ||
161 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
162 | { | ||
163 | switch (featureID) | ||
164 | { | ||
165 | case SmtLanguagePackage.SMT_SYMBOLIC_VALUE__SYMBOLIC_REFERENCE: | ||
166 | if (resolve) return getSymbolicReference(); | ||
167 | return basicGetSymbolicReference(); | ||
168 | case SmtLanguagePackage.SMT_SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: | ||
169 | return getParameterSubstitutions(); | ||
170 | } | ||
171 | return super.eGet(featureID, resolve, coreType); | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | @SuppressWarnings("unchecked") | ||
180 | @Override | ||
181 | public void eSet(int featureID, Object newValue) | ||
182 | { | ||
183 | switch (featureID) | ||
184 | { | ||
185 | case SmtLanguagePackage.SMT_SYMBOLIC_VALUE__SYMBOLIC_REFERENCE: | ||
186 | setSymbolicReference((SMTSymbolicDeclaration)newValue); | ||
187 | return; | ||
188 | case SmtLanguagePackage.SMT_SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: | ||
189 | getParameterSubstitutions().clear(); | ||
190 | getParameterSubstitutions().addAll((Collection<? extends SMTTerm>)newValue); | ||
191 | return; | ||
192 | } | ||
193 | super.eSet(featureID, newValue); | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @generated | ||
200 | */ | ||
201 | @Override | ||
202 | public void eUnset(int featureID) | ||
203 | { | ||
204 | switch (featureID) | ||
205 | { | ||
206 | case SmtLanguagePackage.SMT_SYMBOLIC_VALUE__SYMBOLIC_REFERENCE: | ||
207 | setSymbolicReference((SMTSymbolicDeclaration)null); | ||
208 | return; | ||
209 | case SmtLanguagePackage.SMT_SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: | ||
210 | getParameterSubstitutions().clear(); | ||
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 | { | ||
224 | switch (featureID) | ||
225 | { | ||
226 | case SmtLanguagePackage.SMT_SYMBOLIC_VALUE__SYMBOLIC_REFERENCE: | ||
227 | return symbolicReference != null; | ||
228 | case SmtLanguagePackage.SMT_SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: | ||
229 | return parameterSubstitutions != null && !parameterSubstitutions.isEmpty(); | ||
230 | } | ||
231 | return super.eIsSet(featureID); | ||
232 | } | ||
233 | |||
234 | } //SMTSymbolicValueImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTTermImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTTermImpl.java new file mode 100644 index 00000000..69c66871 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTTermImpl.java | |||
@@ -0,0 +1,44 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>SMT Term</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * <p> | ||
17 | * </p> | ||
18 | * | ||
19 | * @generated | ||
20 | */ | ||
21 | public class SMTTermImpl extends MinimalEObjectImpl.Container implements SMTTerm | ||
22 | { | ||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | protected SMTTermImpl() | ||
29 | { | ||
30 | super(); | ||
31 | } | ||
32 | |||
33 | /** | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | @Override | ||
39 | protected EClass eStaticClass() | ||
40 | { | ||
41 | return SmtLanguagePackage.Literals.SMT_TERM; | ||
42 | } | ||
43 | |||
44 | } //SMTTermImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTTryForCombinatorImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTTryForCombinatorImpl.java new file mode 100644 index 00000000..31b18931 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTTryForCombinatorImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningTactic; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTryForCombinator; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>SMT Try For Combinator</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTTryForCombinatorImpl#getTactic <em>Tactic</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTTryForCombinatorImpl#getTime <em>Time</em>}</li> | ||
26 | * </ul> | ||
27 | * </p> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class SMTTryForCombinatorImpl extends SMTReasoningCombinatorImpl implements SMTTryForCombinator | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getTactic() <em>Tactic</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getTactic() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected SMTReasoningTactic tactic; | ||
42 | |||
43 | /** | ||
44 | * The default value of the '{@link #getTime() <em>Time</em>}' attribute. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getTime() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected static final int TIME_EDEFAULT = 0; | ||
52 | |||
53 | /** | ||
54 | * The cached value of the '{@link #getTime() <em>Time</em>}' attribute. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @see #getTime() | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | protected int time = TIME_EDEFAULT; | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected SMTTryForCombinatorImpl() | ||
69 | { | ||
70 | super(); | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | @Override | ||
79 | protected EClass eStaticClass() | ||
80 | { | ||
81 | return SmtLanguagePackage.Literals.SMT_TRY_FOR_COMBINATOR; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public SMTReasoningTactic getTactic() | ||
90 | { | ||
91 | return tactic; | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | public NotificationChain basicSetTactic(SMTReasoningTactic newTactic, NotificationChain msgs) | ||
100 | { | ||
101 | SMTReasoningTactic oldTactic = tactic; | ||
102 | tactic = newTactic; | ||
103 | if (eNotificationRequired()) | ||
104 | { | ||
105 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TACTIC, oldTactic, newTactic); | ||
106 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
107 | } | ||
108 | return msgs; | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | public void setTactic(SMTReasoningTactic newTactic) | ||
117 | { | ||
118 | if (newTactic != tactic) | ||
119 | { | ||
120 | NotificationChain msgs = null; | ||
121 | if (tactic != null) | ||
122 | msgs = ((InternalEObject)tactic).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TACTIC, null, msgs); | ||
123 | if (newTactic != null) | ||
124 | msgs = ((InternalEObject)newTactic).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TACTIC, null, msgs); | ||
125 | msgs = basicSetTactic(newTactic, msgs); | ||
126 | if (msgs != null) msgs.dispatch(); | ||
127 | } | ||
128 | else if (eNotificationRequired()) | ||
129 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TACTIC, newTactic, newTactic)); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public int getTime() | ||
138 | { | ||
139 | return time; | ||
140 | } | ||
141 | |||
142 | /** | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @generated | ||
146 | */ | ||
147 | public void setTime(int newTime) | ||
148 | { | ||
149 | int oldTime = time; | ||
150 | time = newTime; | ||
151 | if (eNotificationRequired()) | ||
152 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TIME, oldTime, time)); | ||
153 | } | ||
154 | |||
155 | /** | ||
156 | * <!-- begin-user-doc --> | ||
157 | * <!-- end-user-doc --> | ||
158 | * @generated | ||
159 | */ | ||
160 | @Override | ||
161 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
162 | { | ||
163 | switch (featureID) | ||
164 | { | ||
165 | case SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TACTIC: | ||
166 | return basicSetTactic(null, msgs); | ||
167 | } | ||
168 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
169 | } | ||
170 | |||
171 | /** | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | */ | ||
176 | @Override | ||
177 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
178 | { | ||
179 | switch (featureID) | ||
180 | { | ||
181 | case SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TACTIC: | ||
182 | return getTactic(); | ||
183 | case SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TIME: | ||
184 | return getTime(); | ||
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 | { | ||
197 | switch (featureID) | ||
198 | { | ||
199 | case SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TACTIC: | ||
200 | setTactic((SMTReasoningTactic)newValue); | ||
201 | return; | ||
202 | case SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TIME: | ||
203 | setTime((Integer)newValue); | ||
204 | return; | ||
205 | } | ||
206 | super.eSet(featureID, newValue); | ||
207 | } | ||
208 | |||
209 | /** | ||
210 | * <!-- begin-user-doc --> | ||
211 | * <!-- end-user-doc --> | ||
212 | * @generated | ||
213 | */ | ||
214 | @Override | ||
215 | public void eUnset(int featureID) | ||
216 | { | ||
217 | switch (featureID) | ||
218 | { | ||
219 | case SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TACTIC: | ||
220 | setTactic((SMTReasoningTactic)null); | ||
221 | return; | ||
222 | case SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TIME: | ||
223 | setTime(TIME_EDEFAULT); | ||
224 | return; | ||
225 | } | ||
226 | super.eUnset(featureID); | ||
227 | } | ||
228 | |||
229 | /** | ||
230 | * <!-- begin-user-doc --> | ||
231 | * <!-- end-user-doc --> | ||
232 | * @generated | ||
233 | */ | ||
234 | @Override | ||
235 | public boolean eIsSet(int featureID) | ||
236 | { | ||
237 | switch (featureID) | ||
238 | { | ||
239 | case SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TACTIC: | ||
240 | return tactic != null; | ||
241 | case SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR__TIME: | ||
242 | return time != TIME_EDEFAULT; | ||
243 | } | ||
244 | return super.eIsSet(featureID); | ||
245 | } | ||
246 | |||
247 | /** | ||
248 | * <!-- begin-user-doc --> | ||
249 | * <!-- end-user-doc --> | ||
250 | * @generated | ||
251 | */ | ||
252 | @Override | ||
253 | public String toString() | ||
254 | { | ||
255 | if (eIsProxy()) return super.toString(); | ||
256 | |||
257 | StringBuffer result = new StringBuffer(super.toString()); | ||
258 | result.append(" (time: "); | ||
259 | result.append(time); | ||
260 | result.append(')'); | ||
261 | return result.toString(); | ||
262 | } | ||
263 | |||
264 | } //SMTTryForCombinatorImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTTypeImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTTypeImpl.java new file mode 100644 index 00000000..883ece7e --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTTypeImpl.java | |||
@@ -0,0 +1,177 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTType; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
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 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>SMT Type</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTTypeImpl#getName <em>Name</em>}</li> | ||
23 | * </ul> | ||
24 | * </p> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class SMTTypeImpl extends MinimalEObjectImpl.Container implements SMTType | ||
29 | { | ||
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 SMTTypeImpl() | ||
56 | { | ||
57 | super(); | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | protected EClass eStaticClass() | ||
67 | { | ||
68 | return SmtLanguagePackage.Literals.SMT_TYPE; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public String getName() | ||
77 | { | ||
78 | return name; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public void setName(String newName) | ||
87 | { | ||
88 | String oldName = name; | ||
89 | name = newName; | ||
90 | if (eNotificationRequired()) | ||
91 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_TYPE__NAME, oldName, name)); | ||
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 | { | ||
102 | switch (featureID) | ||
103 | { | ||
104 | case SmtLanguagePackage.SMT_TYPE__NAME: | ||
105 | return getName(); | ||
106 | } | ||
107 | return super.eGet(featureID, resolve, coreType); | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | @Override | ||
116 | public void eSet(int featureID, Object newValue) | ||
117 | { | ||
118 | switch (featureID) | ||
119 | { | ||
120 | case SmtLanguagePackage.SMT_TYPE__NAME: | ||
121 | setName((String)newValue); | ||
122 | return; | ||
123 | } | ||
124 | super.eSet(featureID, newValue); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public void eUnset(int featureID) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case SmtLanguagePackage.SMT_TYPE__NAME: | ||
138 | setName(NAME_EDEFAULT); | ||
139 | return; | ||
140 | } | ||
141 | super.eUnset(featureID); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public boolean eIsSet(int featureID) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case SmtLanguagePackage.SMT_TYPE__NAME: | ||
155 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
156 | } | ||
157 | return super.eIsSet(featureID); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public String toString() | ||
167 | { | ||
168 | if (eIsProxy()) return super.toString(); | ||
169 | |||
170 | StringBuffer result = new StringBuffer(super.toString()); | ||
171 | result.append(" (name: "); | ||
172 | result.append(name); | ||
173 | result.append(')'); | ||
174 | return result.toString(); | ||
175 | } | ||
176 | |||
177 | } //SMTTypeImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTTypeReferenceImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTTypeReferenceImpl.java new file mode 100644 index 00000000..b87bb1aa --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTTypeReferenceImpl.java | |||
@@ -0,0 +1,44 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTypeReference; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>SMT Type Reference</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * <p> | ||
17 | * </p> | ||
18 | * | ||
19 | * @generated | ||
20 | */ | ||
21 | public class SMTTypeReferenceImpl extends MinimalEObjectImpl.Container implements SMTTypeReference | ||
22 | { | ||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | protected SMTTypeReferenceImpl() | ||
29 | { | ||
30 | super(); | ||
31 | } | ||
32 | |||
33 | /** | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | @Override | ||
39 | protected EClass eStaticClass() | ||
40 | { | ||
41 | return SmtLanguagePackage.Literals.SMT_TYPE_REFERENCE; | ||
42 | } | ||
43 | |||
44 | } //SMTTypeReferenceImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTUnsupportedResultImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTUnsupportedResultImpl.java new file mode 100644 index 00000000..d8fb9d80 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTUnsupportedResultImpl.java | |||
@@ -0,0 +1,176 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTUnsupportedResult; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
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 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>SMT Unsupported Result</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * <ul> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTUnsupportedResultImpl#getCommand <em>Command</em>}</li> | ||
22 | * </ul> | ||
23 | * </p> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class SMTUnsupportedResultImpl extends SMTResultImpl implements SMTUnsupportedResult | ||
28 | { | ||
29 | /** | ||
30 | * The default value of the '{@link #getCommand() <em>Command</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getCommand() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final String COMMAND_EDEFAULT = null; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getCommand() <em>Command</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getCommand() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected String command = COMMAND_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected SMTUnsupportedResultImpl() | ||
55 | { | ||
56 | super(); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | protected EClass eStaticClass() | ||
66 | { | ||
67 | return SmtLanguagePackage.Literals.SMT_UNSUPPORTED_RESULT; | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | public String getCommand() | ||
76 | { | ||
77 | return command; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public void setCommand(String newCommand) | ||
86 | { | ||
87 | String oldCommand = command; | ||
88 | command = newCommand; | ||
89 | if (eNotificationRequired()) | ||
90 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_UNSUPPORTED_RESULT__COMMAND, oldCommand, command)); | ||
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 | { | ||
101 | switch (featureID) | ||
102 | { | ||
103 | case SmtLanguagePackage.SMT_UNSUPPORTED_RESULT__COMMAND: | ||
104 | return getCommand(); | ||
105 | } | ||
106 | return super.eGet(featureID, resolve, coreType); | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | @Override | ||
115 | public void eSet(int featureID, Object newValue) | ||
116 | { | ||
117 | switch (featureID) | ||
118 | { | ||
119 | case SmtLanguagePackage.SMT_UNSUPPORTED_RESULT__COMMAND: | ||
120 | setCommand((String)newValue); | ||
121 | return; | ||
122 | } | ||
123 | super.eSet(featureID, newValue); | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | @Override | ||
132 | public void eUnset(int featureID) | ||
133 | { | ||
134 | switch (featureID) | ||
135 | { | ||
136 | case SmtLanguagePackage.SMT_UNSUPPORTED_RESULT__COMMAND: | ||
137 | setCommand(COMMAND_EDEFAULT); | ||
138 | return; | ||
139 | } | ||
140 | super.eUnset(featureID); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public boolean eIsSet(int featureID) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case SmtLanguagePackage.SMT_UNSUPPORTED_RESULT__COMMAND: | ||
154 | return COMMAND_EDEFAULT == null ? command != null : !COMMAND_EDEFAULT.equals(command); | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | @Override | ||
165 | public String toString() | ||
166 | { | ||
167 | if (eIsProxy()) return super.toString(); | ||
168 | |||
169 | StringBuffer result = new StringBuffer(super.toString()); | ||
170 | result.append(" (command: "); | ||
171 | result.append(command); | ||
172 | result.append(')'); | ||
173 | return result.toString(); | ||
174 | } | ||
175 | |||
176 | } //SMTUnsupportedResultImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTUsingParamCombinatorImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTUsingParamCombinatorImpl.java new file mode 100644 index 00000000..4eaff2d4 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTUsingParamCombinatorImpl.java | |||
@@ -0,0 +1,240 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.ReasoningTacticParameter; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningTactic; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTUsingParamCombinator; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | |||
22 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
23 | import org.eclipse.emf.ecore.util.InternalEList; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model object '<em><b>SMT Using Param Combinator</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * <p> | ||
30 | * The following features are implemented: | ||
31 | * <ul> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTUsingParamCombinatorImpl#getTactic <em>Tactic</em>}</li> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTUsingParamCombinatorImpl#getParameters <em>Parameters</em>}</li> | ||
34 | * </ul> | ||
35 | * </p> | ||
36 | * | ||
37 | * @generated | ||
38 | */ | ||
39 | public class SMTUsingParamCombinatorImpl extends SMTReasoningCombinatorImpl implements SMTUsingParamCombinator | ||
40 | { | ||
41 | /** | ||
42 | * The cached value of the '{@link #getTactic() <em>Tactic</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getTactic() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected SMTReasoningTactic tactic; | ||
50 | |||
51 | /** | ||
52 | * The cached value of the '{@link #getParameters() <em>Parameters</em>}' containment reference list. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getParameters() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected EList<ReasoningTacticParameter> parameters; | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | protected SMTUsingParamCombinatorImpl() | ||
67 | { | ||
68 | super(); | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | @Override | ||
77 | protected EClass eStaticClass() | ||
78 | { | ||
79 | return SmtLanguagePackage.Literals.SMT_USING_PARAM_COMBINATOR; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public SMTReasoningTactic getTactic() | ||
88 | { | ||
89 | return tactic; | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | public NotificationChain basicSetTactic(SMTReasoningTactic newTactic, NotificationChain msgs) | ||
98 | { | ||
99 | SMTReasoningTactic oldTactic = tactic; | ||
100 | tactic = newTactic; | ||
101 | if (eNotificationRequired()) | ||
102 | { | ||
103 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__TACTIC, oldTactic, newTactic); | ||
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 | public void setTactic(SMTReasoningTactic newTactic) | ||
115 | { | ||
116 | if (newTactic != tactic) | ||
117 | { | ||
118 | NotificationChain msgs = null; | ||
119 | if (tactic != null) | ||
120 | msgs = ((InternalEObject)tactic).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__TACTIC, null, msgs); | ||
121 | if (newTactic != null) | ||
122 | msgs = ((InternalEObject)newTactic).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__TACTIC, null, msgs); | ||
123 | msgs = basicSetTactic(newTactic, msgs); | ||
124 | if (msgs != null) msgs.dispatch(); | ||
125 | } | ||
126 | else if (eNotificationRequired()) | ||
127 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__TACTIC, newTactic, newTactic)); | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | public EList<ReasoningTacticParameter> getParameters() | ||
136 | { | ||
137 | if (parameters == null) | ||
138 | { | ||
139 | parameters = new EObjectContainmentEList<ReasoningTacticParameter>(ReasoningTacticParameter.class, this, SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__PARAMETERS); | ||
140 | } | ||
141 | return parameters; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__TACTIC: | ||
155 | return basicSetTactic(null, msgs); | ||
156 | case SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__PARAMETERS: | ||
157 | return ((InternalEList<?>)getParameters()).basicRemove(otherEnd, msgs); | ||
158 | } | ||
159 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | @Override | ||
168 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
169 | { | ||
170 | switch (featureID) | ||
171 | { | ||
172 | case SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__TACTIC: | ||
173 | return getTactic(); | ||
174 | case SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__PARAMETERS: | ||
175 | return getParameters(); | ||
176 | } | ||
177 | return super.eGet(featureID, resolve, coreType); | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | */ | ||
185 | @SuppressWarnings("unchecked") | ||
186 | @Override | ||
187 | public void eSet(int featureID, Object newValue) | ||
188 | { | ||
189 | switch (featureID) | ||
190 | { | ||
191 | case SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__TACTIC: | ||
192 | setTactic((SMTReasoningTactic)newValue); | ||
193 | return; | ||
194 | case SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__PARAMETERS: | ||
195 | getParameters().clear(); | ||
196 | getParameters().addAll((Collection<? extends ReasoningTacticParameter>)newValue); | ||
197 | return; | ||
198 | } | ||
199 | super.eSet(featureID, newValue); | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | @Override | ||
208 | public void eUnset(int featureID) | ||
209 | { | ||
210 | switch (featureID) | ||
211 | { | ||
212 | case SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__TACTIC: | ||
213 | setTactic((SMTReasoningTactic)null); | ||
214 | return; | ||
215 | case SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__PARAMETERS: | ||
216 | getParameters().clear(); | ||
217 | return; | ||
218 | } | ||
219 | super.eUnset(featureID); | ||
220 | } | ||
221 | |||
222 | /** | ||
223 | * <!-- begin-user-doc --> | ||
224 | * <!-- end-user-doc --> | ||
225 | * @generated | ||
226 | */ | ||
227 | @Override | ||
228 | public boolean eIsSet(int featureID) | ||
229 | { | ||
230 | switch (featureID) | ||
231 | { | ||
232 | case SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__TACTIC: | ||
233 | return tactic != null; | ||
234 | case SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR__PARAMETERS: | ||
235 | return parameters != null && !parameters.isEmpty(); | ||
236 | } | ||
237 | return super.eIsSet(featureID); | ||
238 | } | ||
239 | |||
240 | } //SMTUsingParamCombinatorImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTWhenCombinatorImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTWhenCombinatorImpl.java new file mode 100644 index 00000000..be9f1846 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTWhenCombinatorImpl.java | |||
@@ -0,0 +1,265 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.ReasoningProbe; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningTactic; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTWhenCombinator; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
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 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>SMT When Combinator</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTWhenCombinatorImpl#getProbe <em>Probe</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.smtLanguage.impl.SMTWhenCombinatorImpl#getTactic <em>Tactic</em>}</li> | ||
27 | * </ul> | ||
28 | * </p> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class SMTWhenCombinatorImpl extends SMTReasoningCombinatorImpl implements SMTWhenCombinator | ||
33 | { | ||
34 | /** | ||
35 | * The cached value of the '{@link #getProbe() <em>Probe</em>}' containment reference. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getProbe() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected ReasoningProbe probe; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getTactic() <em>Tactic</em>}' containment reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getTactic() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected SMTReasoningTactic tactic; | ||
53 | |||
54 | /** | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | protected SMTWhenCombinatorImpl() | ||
60 | { | ||
61 | super(); | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | @Override | ||
70 | protected EClass eStaticClass() | ||
71 | { | ||
72 | return SmtLanguagePackage.Literals.SMT_WHEN_COMBINATOR; | ||
73 | } | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | public ReasoningProbe getProbe() | ||
81 | { | ||
82 | return probe; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | public NotificationChain basicSetProbe(ReasoningProbe newProbe, NotificationChain msgs) | ||
91 | { | ||
92 | ReasoningProbe oldProbe = probe; | ||
93 | probe = newProbe; | ||
94 | if (eNotificationRequired()) | ||
95 | { | ||
96 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_WHEN_COMBINATOR__PROBE, oldProbe, newProbe); | ||
97 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
98 | } | ||
99 | return msgs; | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | public void setProbe(ReasoningProbe newProbe) | ||
108 | { | ||
109 | if (newProbe != probe) | ||
110 | { | ||
111 | NotificationChain msgs = null; | ||
112 | if (probe != null) | ||
113 | msgs = ((InternalEObject)probe).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_WHEN_COMBINATOR__PROBE, null, msgs); | ||
114 | if (newProbe != null) | ||
115 | msgs = ((InternalEObject)newProbe).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_WHEN_COMBINATOR__PROBE, null, msgs); | ||
116 | msgs = basicSetProbe(newProbe, msgs); | ||
117 | if (msgs != null) msgs.dispatch(); | ||
118 | } | ||
119 | else if (eNotificationRequired()) | ||
120 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_WHEN_COMBINATOR__PROBE, newProbe, newProbe)); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public SMTReasoningTactic getTactic() | ||
129 | { | ||
130 | return tactic; | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | public NotificationChain basicSetTactic(SMTReasoningTactic newTactic, NotificationChain msgs) | ||
139 | { | ||
140 | SMTReasoningTactic oldTactic = tactic; | ||
141 | tactic = newTactic; | ||
142 | if (eNotificationRequired()) | ||
143 | { | ||
144 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_WHEN_COMBINATOR__TACTIC, oldTactic, newTactic); | ||
145 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
146 | } | ||
147 | return msgs; | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | public void setTactic(SMTReasoningTactic newTactic) | ||
156 | { | ||
157 | if (newTactic != tactic) | ||
158 | { | ||
159 | NotificationChain msgs = null; | ||
160 | if (tactic != null) | ||
161 | msgs = ((InternalEObject)tactic).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_WHEN_COMBINATOR__TACTIC, null, msgs); | ||
162 | if (newTactic != null) | ||
163 | msgs = ((InternalEObject)newTactic).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmtLanguagePackage.SMT_WHEN_COMBINATOR__TACTIC, null, msgs); | ||
164 | msgs = basicSetTactic(newTactic, msgs); | ||
165 | if (msgs != null) msgs.dispatch(); | ||
166 | } | ||
167 | else if (eNotificationRequired()) | ||
168 | eNotify(new ENotificationImpl(this, Notification.SET, SmtLanguagePackage.SMT_WHEN_COMBINATOR__TACTIC, newTactic, newTactic)); | ||
169 | } | ||
170 | |||
171 | /** | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | */ | ||
176 | @Override | ||
177 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
178 | { | ||
179 | switch (featureID) | ||
180 | { | ||
181 | case SmtLanguagePackage.SMT_WHEN_COMBINATOR__PROBE: | ||
182 | return basicSetProbe(null, msgs); | ||
183 | case SmtLanguagePackage.SMT_WHEN_COMBINATOR__TACTIC: | ||
184 | return basicSetTactic(null, msgs); | ||
185 | } | ||
186 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
196 | { | ||
197 | switch (featureID) | ||
198 | { | ||
199 | case SmtLanguagePackage.SMT_WHEN_COMBINATOR__PROBE: | ||
200 | return getProbe(); | ||
201 | case SmtLanguagePackage.SMT_WHEN_COMBINATOR__TACTIC: | ||
202 | return getTactic(); | ||
203 | } | ||
204 | return super.eGet(featureID, resolve, coreType); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public void eSet(int featureID, Object newValue) | ||
214 | { | ||
215 | switch (featureID) | ||
216 | { | ||
217 | case SmtLanguagePackage.SMT_WHEN_COMBINATOR__PROBE: | ||
218 | setProbe((ReasoningProbe)newValue); | ||
219 | return; | ||
220 | case SmtLanguagePackage.SMT_WHEN_COMBINATOR__TACTIC: | ||
221 | setTactic((SMTReasoningTactic)newValue); | ||
222 | return; | ||
223 | } | ||
224 | super.eSet(featureID, newValue); | ||
225 | } | ||
226 | |||
227 | /** | ||
228 | * <!-- begin-user-doc --> | ||
229 | * <!-- end-user-doc --> | ||
230 | * @generated | ||
231 | */ | ||
232 | @Override | ||
233 | public void eUnset(int featureID) | ||
234 | { | ||
235 | switch (featureID) | ||
236 | { | ||
237 | case SmtLanguagePackage.SMT_WHEN_COMBINATOR__PROBE: | ||
238 | setProbe((ReasoningProbe)null); | ||
239 | return; | ||
240 | case SmtLanguagePackage.SMT_WHEN_COMBINATOR__TACTIC: | ||
241 | setTactic((SMTReasoningTactic)null); | ||
242 | return; | ||
243 | } | ||
244 | super.eUnset(featureID); | ||
245 | } | ||
246 | |||
247 | /** | ||
248 | * <!-- begin-user-doc --> | ||
249 | * <!-- end-user-doc --> | ||
250 | * @generated | ||
251 | */ | ||
252 | @Override | ||
253 | public boolean eIsSet(int featureID) | ||
254 | { | ||
255 | switch (featureID) | ||
256 | { | ||
257 | case SmtLanguagePackage.SMT_WHEN_COMBINATOR__PROBE: | ||
258 | return probe != null; | ||
259 | case SmtLanguagePackage.SMT_WHEN_COMBINATOR__TACTIC: | ||
260 | return tactic != null; | ||
261 | } | ||
262 | return super.eIsSet(featureID); | ||
263 | } | ||
264 | |||
265 | } //SMTWhenCombinatorImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SmtLanguageFactoryImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SmtLanguageFactoryImpl.java new file mode 100644 index 00000000..b284ade3 --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SmtLanguageFactoryImpl.java | |||
@@ -0,0 +1,1042 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
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 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model <b>Factory</b>. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @generated | ||
20 | */ | ||
21 | public class SmtLanguageFactoryImpl extends EFactoryImpl implements SmtLanguageFactory | ||
22 | { | ||
23 | /** | ||
24 | * Creates the default factory implementation. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | public static SmtLanguageFactory init() | ||
30 | { | ||
31 | try | ||
32 | { | ||
33 | SmtLanguageFactory theSmtLanguageFactory = (SmtLanguageFactory)EPackage.Registry.INSTANCE.getEFactory(SmtLanguagePackage.eNS_URI); | ||
34 | if (theSmtLanguageFactory != null) | ||
35 | { | ||
36 | return theSmtLanguageFactory; | ||
37 | } | ||
38 | } | ||
39 | catch (Exception exception) | ||
40 | { | ||
41 | EcorePlugin.INSTANCE.log(exception); | ||
42 | } | ||
43 | return new SmtLanguageFactoryImpl(); | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Creates an instance of the factory. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | public SmtLanguageFactoryImpl() | ||
53 | { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | public EObject create(EClass eClass) | ||
64 | { | ||
65 | switch (eClass.getClassifierID()) | ||
66 | { | ||
67 | case SmtLanguagePackage.SMT_DOCUMENT: return createSMTDocument(); | ||
68 | case SmtLanguagePackage.SMT_INPUT: return createSMTInput(); | ||
69 | case SmtLanguagePackage.SMT_OUTPUT: return createSMTOutput(); | ||
70 | case SmtLanguagePackage.SMT_OPTION: return createSMTOption(); | ||
71 | case SmtLanguagePackage.SMT_TYPE: return createSMTType(); | ||
72 | case SmtLanguagePackage.SMT_ENUM_LITERAL: return createSMTEnumLiteral(); | ||
73 | case SmtLanguagePackage.SMT_ENUMERATED_TYPE_DECLARATION: return createSMTEnumeratedTypeDeclaration(); | ||
74 | case SmtLanguagePackage.SMT_SET_TYPE_DECLARATION: return createSMTSetTypeDeclaration(); | ||
75 | case SmtLanguagePackage.SMT_TYPE_REFERENCE: return createSMTTypeReference(); | ||
76 | case SmtLanguagePackage.SMT_COMPLEX_TYPE_REFERENCE: return createSMTComplexTypeReference(); | ||
77 | case SmtLanguagePackage.SMT_PRIMITIVE_TYPE_REFERENCE: return createSMTPrimitiveTypeReference(); | ||
78 | case SmtLanguagePackage.SMT_INT_TYPE_REFERENCE: return createSMTIntTypeReference(); | ||
79 | case SmtLanguagePackage.SMT_BOOL_TYPE_REFERENCE: return createSMTBoolTypeReference(); | ||
80 | case SmtLanguagePackage.SMT_REAL_TYPE_REFERENCE: return createSMTRealTypeReference(); | ||
81 | case SmtLanguagePackage.SMT_FUNCTION_DECLARATION: return createSMTFunctionDeclaration(); | ||
82 | case SmtLanguagePackage.SMT_FUNCTION_DEFINITION: return createSMTFunctionDefinition(); | ||
83 | case SmtLanguagePackage.SMT_TERM: return createSMTTerm(); | ||
84 | case SmtLanguagePackage.SMT_SYMBOLIC_DECLARATION: return createSMTSymbolicDeclaration(); | ||
85 | case SmtLanguagePackage.SMT_SYMBOLIC_VALUE: return createSMTSymbolicValue(); | ||
86 | case SmtLanguagePackage.SMT_ATOMIC_TERM: return createSMTAtomicTerm(); | ||
87 | case SmtLanguagePackage.SMT_INT_LITERAL: return createSMTIntLiteral(); | ||
88 | case SmtLanguagePackage.SMT_BOOL_LITERAL: return createSMTBoolLiteral(); | ||
89 | case SmtLanguagePackage.SMT_REAL_LITERAL: return createSMTRealLiteral(); | ||
90 | case SmtLanguagePackage.SMT_SORTED_VARIABLE: return createSMTSortedVariable(); | ||
91 | case SmtLanguagePackage.SMT_QUANTIFIED_EXPRESSION: return createSMTQuantifiedExpression(); | ||
92 | case SmtLanguagePackage.SMT_EXISTS: return createSMTExists(); | ||
93 | case SmtLanguagePackage.SMT_FORALL: return createSMTForall(); | ||
94 | case SmtLanguagePackage.SMT_BOOL_OPERATION: return createSMTBoolOperation(); | ||
95 | case SmtLanguagePackage.SMT_AND: return createSMTAnd(); | ||
96 | case SmtLanguagePackage.SMT_OR: return createSMTOr(); | ||
97 | case SmtLanguagePackage.SMT_IMPL: return createSMTImpl(); | ||
98 | case SmtLanguagePackage.SMT_NOT: return createSMTNot(); | ||
99 | case SmtLanguagePackage.SMT_IFF: return createSMTIff(); | ||
100 | case SmtLanguagePackage.SMTITE: return createSMTITE(); | ||
101 | case SmtLanguagePackage.SMT_LET: return createSMTLet(); | ||
102 | case SmtLanguagePackage.SMT_INLINE_CONSTANT_DEFINITION: return createSMTInlineConstantDefinition(); | ||
103 | case SmtLanguagePackage.SMT_RELATION: return createSMTRelation(); | ||
104 | case SmtLanguagePackage.SMT_EQUALS: return createSMTEquals(); | ||
105 | case SmtLanguagePackage.SMT_DISTINCT: return createSMTDistinct(); | ||
106 | case SmtLanguagePackage.SMTLT: return createSMTLT(); | ||
107 | case SmtLanguagePackage.SMTMT: return createSMTMT(); | ||
108 | case SmtLanguagePackage.SMTLEQ: return createSMTLEQ(); | ||
109 | case SmtLanguagePackage.SMTMEQ: return createSMTMEQ(); | ||
110 | case SmtLanguagePackage.SMT_INT_OPERATION: return createSMTIntOperation(); | ||
111 | case SmtLanguagePackage.SMT_PLUS: return createSMTPlus(); | ||
112 | case SmtLanguagePackage.SMT_MINUS: return createSMTMinus(); | ||
113 | case SmtLanguagePackage.SMT_MULTIPLY: return createSMTMultiply(); | ||
114 | case SmtLanguagePackage.SMT_DIVISON: return createSMTDivison(); | ||
115 | case SmtLanguagePackage.SMT_DIV: return createSMTDiv(); | ||
116 | case SmtLanguagePackage.SMT_MOD: return createSMTMod(); | ||
117 | case SmtLanguagePackage.SMT_ASSERTION: return createSMTAssertion(); | ||
118 | case SmtLanguagePackage.SMT_CARDINALITY_CONSTRAINT: return createSMTCardinalityConstraint(); | ||
119 | case SmtLanguagePackage.SMT_SAT_COMMAND: return createSMTSatCommand(); | ||
120 | case SmtLanguagePackage.SMT_SIMPLE_SAT_COMMAND: return createSMTSimpleSatCommand(); | ||
121 | case SmtLanguagePackage.SMT_COMPLEX_SAT_COMMAND: return createSMTComplexSatCommand(); | ||
122 | case SmtLanguagePackage.SMT_GET_MODEL_COMMAND: return createSMTGetModelCommand(); | ||
123 | case SmtLanguagePackage.SMT_REASONING_TACTIC: return createSMTReasoningTactic(); | ||
124 | case SmtLanguagePackage.SMT_BUILTIN_TACTIC: return createSMTBuiltinTactic(); | ||
125 | case SmtLanguagePackage.SMT_REASONING_COMBINATOR: return createSMTReasoningCombinator(); | ||
126 | case SmtLanguagePackage.SMT_AND_THEN_COMBINATOR: return createSMTAndThenCombinator(); | ||
127 | case SmtLanguagePackage.SMT_OR_ELSE_COMBINATOR: return createSMTOrElseCombinator(); | ||
128 | case SmtLanguagePackage.SMT_PAR_OR_COMBINATOR: return createSMTParOrCombinator(); | ||
129 | case SmtLanguagePackage.SMT_PAR_THEN_COMBINATOR: return createSMTParThenCombinator(); | ||
130 | case SmtLanguagePackage.SMT_TRY_FOR_COMBINATOR: return createSMTTryForCombinator(); | ||
131 | case SmtLanguagePackage.SMT_IF_COMBINATOR: return createSMTIfCombinator(); | ||
132 | case SmtLanguagePackage.SMT_WHEN_COMBINATOR: return createSMTWhenCombinator(); | ||
133 | case SmtLanguagePackage.SMT_FAIL_IF_COMBINATOR: return createSMTFailIfCombinator(); | ||
134 | case SmtLanguagePackage.SMT_USING_PARAM_COMBINATOR: return createSMTUsingParamCombinator(); | ||
135 | case SmtLanguagePackage.REASONING_PROBE: return createReasoningProbe(); | ||
136 | case SmtLanguagePackage.REASONING_TACTIC_PARAMETER: return createReasoningTacticParameter(); | ||
137 | case SmtLanguagePackage.SMT_RESULT: return createSMTResult(); | ||
138 | case SmtLanguagePackage.SMT_ERROR_RESULT: return createSMTErrorResult(); | ||
139 | case SmtLanguagePackage.SMT_UNSUPPORTED_RESULT: return createSMTUnsupportedResult(); | ||
140 | case SmtLanguagePackage.SMT_SAT_RESULT: return createSMTSatResult(); | ||
141 | case SmtLanguagePackage.SMT_MODEL_RESULT: return createSMTModelResult(); | ||
142 | case SmtLanguagePackage.SMT_STATISTIC_VALUE: return createSMTStatisticValue(); | ||
143 | case SmtLanguagePackage.SMT_STATISTIC_INT_VALUE: return createSMTStatisticIntValue(); | ||
144 | case SmtLanguagePackage.SMT_STATISTIC_DOUBLE_VALUE: return createSMTStatisticDoubleValue(); | ||
145 | case SmtLanguagePackage.SMT_STATISTICS_SECTION: return createSMTStatisticsSection(); | ||
146 | default: | ||
147 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
148 | } | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | public SMTDocument createSMTDocument() | ||
157 | { | ||
158 | SMTDocumentImpl smtDocument = new SMTDocumentImpl(); | ||
159 | return smtDocument; | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | public SMTInput createSMTInput() | ||
168 | { | ||
169 | SMTInputImpl smtInput = new SMTInputImpl(); | ||
170 | return smtInput; | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | public SMTOutput createSMTOutput() | ||
179 | { | ||
180 | SMTOutputImpl smtOutput = new SMTOutputImpl(); | ||
181 | return smtOutput; | ||
182 | } | ||
183 | |||
184 | /** | ||
185 | * <!-- begin-user-doc --> | ||
186 | * <!-- end-user-doc --> | ||
187 | * @generated | ||
188 | */ | ||
189 | public SMTOption createSMTOption() | ||
190 | { | ||
191 | SMTOptionImpl smtOption = new SMTOptionImpl(); | ||
192 | return smtOption; | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @generated | ||
199 | */ | ||
200 | public SMTType createSMTType() | ||
201 | { | ||
202 | SMTTypeImpl smtType = new SMTTypeImpl(); | ||
203 | return smtType; | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | public SMTEnumLiteral createSMTEnumLiteral() | ||
212 | { | ||
213 | SMTEnumLiteralImpl smtEnumLiteral = new SMTEnumLiteralImpl(); | ||
214 | return smtEnumLiteral; | ||
215 | } | ||
216 | |||
217 | /** | ||
218 | * <!-- begin-user-doc --> | ||
219 | * <!-- end-user-doc --> | ||
220 | * @generated | ||
221 | */ | ||
222 | public SMTEnumeratedTypeDeclaration createSMTEnumeratedTypeDeclaration() | ||
223 | { | ||
224 | SMTEnumeratedTypeDeclarationImpl smtEnumeratedTypeDeclaration = new SMTEnumeratedTypeDeclarationImpl(); | ||
225 | return smtEnumeratedTypeDeclaration; | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | */ | ||
233 | public SMTSetTypeDeclaration createSMTSetTypeDeclaration() | ||
234 | { | ||
235 | SMTSetTypeDeclarationImpl smtSetTypeDeclaration = new SMTSetTypeDeclarationImpl(); | ||
236 | return smtSetTypeDeclaration; | ||
237 | } | ||
238 | |||
239 | /** | ||
240 | * <!-- begin-user-doc --> | ||
241 | * <!-- end-user-doc --> | ||
242 | * @generated | ||
243 | */ | ||
244 | public SMTTypeReference createSMTTypeReference() | ||
245 | { | ||
246 | SMTTypeReferenceImpl smtTypeReference = new SMTTypeReferenceImpl(); | ||
247 | return smtTypeReference; | ||
248 | } | ||
249 | |||
250 | /** | ||
251 | * <!-- begin-user-doc --> | ||
252 | * <!-- end-user-doc --> | ||
253 | * @generated | ||
254 | */ | ||
255 | public SMTComplexTypeReference createSMTComplexTypeReference() | ||
256 | { | ||
257 | SMTComplexTypeReferenceImpl smtComplexTypeReference = new SMTComplexTypeReferenceImpl(); | ||
258 | return smtComplexTypeReference; | ||
259 | } | ||
260 | |||
261 | /** | ||
262 | * <!-- begin-user-doc --> | ||
263 | * <!-- end-user-doc --> | ||
264 | * @generated | ||
265 | */ | ||
266 | public SMTPrimitiveTypeReference createSMTPrimitiveTypeReference() | ||
267 | { | ||
268 | SMTPrimitiveTypeReferenceImpl smtPrimitiveTypeReference = new SMTPrimitiveTypeReferenceImpl(); | ||
269 | return smtPrimitiveTypeReference; | ||
270 | } | ||
271 | |||
272 | /** | ||
273 | * <!-- begin-user-doc --> | ||
274 | * <!-- end-user-doc --> | ||
275 | * @generated | ||
276 | */ | ||
277 | public SMTIntTypeReference createSMTIntTypeReference() | ||
278 | { | ||
279 | SMTIntTypeReferenceImpl smtIntTypeReference = new SMTIntTypeReferenceImpl(); | ||
280 | return smtIntTypeReference; | ||
281 | } | ||
282 | |||
283 | /** | ||
284 | * <!-- begin-user-doc --> | ||
285 | * <!-- end-user-doc --> | ||
286 | * @generated | ||
287 | */ | ||
288 | public SMTBoolTypeReference createSMTBoolTypeReference() | ||
289 | { | ||
290 | SMTBoolTypeReferenceImpl smtBoolTypeReference = new SMTBoolTypeReferenceImpl(); | ||
291 | return smtBoolTypeReference; | ||
292 | } | ||
293 | |||
294 | /** | ||
295 | * <!-- begin-user-doc --> | ||
296 | * <!-- end-user-doc --> | ||
297 | * @generated | ||
298 | */ | ||
299 | public SMTRealTypeReference createSMTRealTypeReference() | ||
300 | { | ||
301 | SMTRealTypeReferenceImpl smtRealTypeReference = new SMTRealTypeReferenceImpl(); | ||
302 | return smtRealTypeReference; | ||
303 | } | ||
304 | |||
305 | /** | ||
306 | * <!-- begin-user-doc --> | ||
307 | * <!-- end-user-doc --> | ||
308 | * @generated | ||
309 | */ | ||
310 | public SMTFunctionDeclaration createSMTFunctionDeclaration() | ||
311 | { | ||
312 | SMTFunctionDeclarationImpl smtFunctionDeclaration = new SMTFunctionDeclarationImpl(); | ||
313 | return smtFunctionDeclaration; | ||
314 | } | ||
315 | |||
316 | /** | ||
317 | * <!-- begin-user-doc --> | ||
318 | * <!-- end-user-doc --> | ||
319 | * @generated | ||
320 | */ | ||
321 | public SMTFunctionDefinition createSMTFunctionDefinition() | ||
322 | { | ||
323 | SMTFunctionDefinitionImpl smtFunctionDefinition = new SMTFunctionDefinitionImpl(); | ||
324 | return smtFunctionDefinition; | ||
325 | } | ||
326 | |||
327 | /** | ||
328 | * <!-- begin-user-doc --> | ||
329 | * <!-- end-user-doc --> | ||
330 | * @generated | ||
331 | */ | ||
332 | public SMTTerm createSMTTerm() | ||
333 | { | ||
334 | SMTTermImpl smtTerm = new SMTTermImpl(); | ||
335 | return smtTerm; | ||
336 | } | ||
337 | |||
338 | /** | ||
339 | * <!-- begin-user-doc --> | ||
340 | * <!-- end-user-doc --> | ||
341 | * @generated | ||
342 | */ | ||
343 | public SMTSymbolicDeclaration createSMTSymbolicDeclaration() | ||
344 | { | ||
345 | SMTSymbolicDeclarationImpl smtSymbolicDeclaration = new SMTSymbolicDeclarationImpl(); | ||
346 | return smtSymbolicDeclaration; | ||
347 | } | ||
348 | |||
349 | /** | ||
350 | * <!-- begin-user-doc --> | ||
351 | * <!-- end-user-doc --> | ||
352 | * @generated | ||
353 | */ | ||
354 | public SMTSymbolicValue createSMTSymbolicValue() | ||
355 | { | ||
356 | SMTSymbolicValueImpl smtSymbolicValue = new SMTSymbolicValueImpl(); | ||
357 | return smtSymbolicValue; | ||
358 | } | ||
359 | |||
360 | /** | ||
361 | * <!-- begin-user-doc --> | ||
362 | * <!-- end-user-doc --> | ||
363 | * @generated | ||
364 | */ | ||
365 | public SMTAtomicTerm createSMTAtomicTerm() | ||
366 | { | ||
367 | SMTAtomicTermImpl smtAtomicTerm = new SMTAtomicTermImpl(); | ||
368 | return smtAtomicTerm; | ||
369 | } | ||
370 | |||
371 | /** | ||
372 | * <!-- begin-user-doc --> | ||
373 | * <!-- end-user-doc --> | ||
374 | * @generated | ||
375 | */ | ||
376 | public SMTIntLiteral createSMTIntLiteral() | ||
377 | { | ||
378 | SMTIntLiteralImpl smtIntLiteral = new SMTIntLiteralImpl(); | ||
379 | return smtIntLiteral; | ||
380 | } | ||
381 | |||
382 | /** | ||
383 | * <!-- begin-user-doc --> | ||
384 | * <!-- end-user-doc --> | ||
385 | * @generated | ||
386 | */ | ||
387 | public SMTBoolLiteral createSMTBoolLiteral() | ||
388 | { | ||
389 | SMTBoolLiteralImpl smtBoolLiteral = new SMTBoolLiteralImpl(); | ||
390 | return smtBoolLiteral; | ||
391 | } | ||
392 | |||
393 | /** | ||
394 | * <!-- begin-user-doc --> | ||
395 | * <!-- end-user-doc --> | ||
396 | * @generated | ||
397 | */ | ||
398 | public SMTRealLiteral createSMTRealLiteral() | ||
399 | { | ||
400 | SMTRealLiteralImpl smtRealLiteral = new SMTRealLiteralImpl(); | ||
401 | return smtRealLiteral; | ||
402 | } | ||
403 | |||
404 | /** | ||
405 | * <!-- begin-user-doc --> | ||
406 | * <!-- end-user-doc --> | ||
407 | * @generated | ||
408 | */ | ||
409 | public SMTSortedVariable createSMTSortedVariable() | ||
410 | { | ||
411 | SMTSortedVariableImpl smtSortedVariable = new SMTSortedVariableImpl(); | ||
412 | return smtSortedVariable; | ||
413 | } | ||
414 | |||
415 | /** | ||
416 | * <!-- begin-user-doc --> | ||
417 | * <!-- end-user-doc --> | ||
418 | * @generated | ||
419 | */ | ||
420 | public SMTQuantifiedExpression createSMTQuantifiedExpression() | ||
421 | { | ||
422 | SMTQuantifiedExpressionImpl smtQuantifiedExpression = new SMTQuantifiedExpressionImpl(); | ||
423 | return smtQuantifiedExpression; | ||
424 | } | ||
425 | |||
426 | /** | ||
427 | * <!-- begin-user-doc --> | ||
428 | * <!-- end-user-doc --> | ||
429 | * @generated | ||
430 | */ | ||
431 | public SMTExists createSMTExists() | ||
432 | { | ||
433 | SMTExistsImpl smtExists = new SMTExistsImpl(); | ||
434 | return smtExists; | ||
435 | } | ||
436 | |||
437 | /** | ||
438 | * <!-- begin-user-doc --> | ||
439 | * <!-- end-user-doc --> | ||
440 | * @generated | ||
441 | */ | ||
442 | public SMTForall createSMTForall() | ||
443 | { | ||
444 | SMTForallImpl smtForall = new SMTForallImpl(); | ||
445 | return smtForall; | ||
446 | } | ||
447 | |||
448 | /** | ||
449 | * <!-- begin-user-doc --> | ||
450 | * <!-- end-user-doc --> | ||
451 | * @generated | ||
452 | */ | ||
453 | public SMTBoolOperation createSMTBoolOperation() | ||
454 | { | ||
455 | SMTBoolOperationImpl smtBoolOperation = new SMTBoolOperationImpl(); | ||
456 | return smtBoolOperation; | ||
457 | } | ||
458 | |||
459 | /** | ||
460 | * <!-- begin-user-doc --> | ||
461 | * <!-- end-user-doc --> | ||
462 | * @generated | ||
463 | */ | ||
464 | public SMTAnd createSMTAnd() | ||
465 | { | ||
466 | SMTAndImpl smtAnd = new SMTAndImpl(); | ||
467 | return smtAnd; | ||
468 | } | ||
469 | |||
470 | /** | ||
471 | * <!-- begin-user-doc --> | ||
472 | * <!-- end-user-doc --> | ||
473 | * @generated | ||
474 | */ | ||
475 | public SMTOr createSMTOr() | ||
476 | { | ||
477 | SMTOrImpl smtOr = new SMTOrImpl(); | ||
478 | return smtOr; | ||
479 | } | ||
480 | |||
481 | /** | ||
482 | * <!-- begin-user-doc --> | ||
483 | * <!-- end-user-doc --> | ||
484 | * @generated | ||
485 | */ | ||
486 | public SMTImpl createSMTImpl() | ||
487 | { | ||
488 | SMTImplImpl smtImpl = new SMTImplImpl(); | ||
489 | return smtImpl; | ||
490 | } | ||
491 | |||
492 | /** | ||
493 | * <!-- begin-user-doc --> | ||
494 | * <!-- end-user-doc --> | ||
495 | * @generated | ||
496 | */ | ||
497 | public SMTNot createSMTNot() | ||
498 | { | ||
499 | SMTNotImpl smtNot = new SMTNotImpl(); | ||
500 | return smtNot; | ||
501 | } | ||
502 | |||
503 | /** | ||
504 | * <!-- begin-user-doc --> | ||
505 | * <!-- end-user-doc --> | ||
506 | * @generated | ||
507 | */ | ||
508 | public SMTIff createSMTIff() | ||
509 | { | ||
510 | SMTIffImpl smtIff = new SMTIffImpl(); | ||
511 | return smtIff; | ||
512 | } | ||
513 | |||
514 | /** | ||
515 | * <!-- begin-user-doc --> | ||
516 | * <!-- end-user-doc --> | ||
517 | * @generated | ||
518 | */ | ||
519 | public SMTITE createSMTITE() | ||
520 | { | ||
521 | SMTITEImpl smtite = new SMTITEImpl(); | ||
522 | return smtite; | ||
523 | } | ||
524 | |||
525 | /** | ||
526 | * <!-- begin-user-doc --> | ||
527 | * <!-- end-user-doc --> | ||
528 | * @generated | ||
529 | */ | ||
530 | public SMTLet createSMTLet() | ||
531 | { | ||
532 | SMTLetImpl smtLet = new SMTLetImpl(); | ||
533 | return smtLet; | ||
534 | } | ||
535 | |||
536 | /** | ||
537 | * <!-- begin-user-doc --> | ||
538 | * <!-- end-user-doc --> | ||
539 | * @generated | ||
540 | */ | ||
541 | public SMTInlineConstantDefinition createSMTInlineConstantDefinition() | ||
542 | { | ||
543 | SMTInlineConstantDefinitionImpl smtInlineConstantDefinition = new SMTInlineConstantDefinitionImpl(); | ||
544 | return smtInlineConstantDefinition; | ||
545 | } | ||
546 | |||
547 | /** | ||
548 | * <!-- begin-user-doc --> | ||
549 | * <!-- end-user-doc --> | ||
550 | * @generated | ||
551 | */ | ||
552 | public SMTRelation createSMTRelation() | ||
553 | { | ||
554 | SMTRelationImpl smtRelation = new SMTRelationImpl(); | ||
555 | return smtRelation; | ||
556 | } | ||
557 | |||
558 | /** | ||
559 | * <!-- begin-user-doc --> | ||
560 | * <!-- end-user-doc --> | ||
561 | * @generated | ||
562 | */ | ||
563 | public SMTEquals createSMTEquals() | ||
564 | { | ||
565 | SMTEqualsImpl smtEquals = new SMTEqualsImpl(); | ||
566 | return smtEquals; | ||
567 | } | ||
568 | |||
569 | /** | ||
570 | * <!-- begin-user-doc --> | ||
571 | * <!-- end-user-doc --> | ||
572 | * @generated | ||
573 | */ | ||
574 | public SMTDistinct createSMTDistinct() | ||
575 | { | ||
576 | SMTDistinctImpl smtDistinct = new SMTDistinctImpl(); | ||
577 | return smtDistinct; | ||
578 | } | ||
579 | |||
580 | /** | ||
581 | * <!-- begin-user-doc --> | ||
582 | * <!-- end-user-doc --> | ||
583 | * @generated | ||
584 | */ | ||
585 | public SMTLT createSMTLT() | ||
586 | { | ||
587 | SMTLTImpl smtlt = new SMTLTImpl(); | ||
588 | return smtlt; | ||
589 | } | ||
590 | |||
591 | /** | ||
592 | * <!-- begin-user-doc --> | ||
593 | * <!-- end-user-doc --> | ||
594 | * @generated | ||
595 | */ | ||
596 | public SMTMT createSMTMT() | ||
597 | { | ||
598 | SMTMTImpl smtmt = new SMTMTImpl(); | ||
599 | return smtmt; | ||
600 | } | ||
601 | |||
602 | /** | ||
603 | * <!-- begin-user-doc --> | ||
604 | * <!-- end-user-doc --> | ||
605 | * @generated | ||
606 | */ | ||
607 | public SMTLEQ createSMTLEQ() | ||
608 | { | ||
609 | SMTLEQImpl smtleq = new SMTLEQImpl(); | ||
610 | return smtleq; | ||
611 | } | ||
612 | |||
613 | /** | ||
614 | * <!-- begin-user-doc --> | ||
615 | * <!-- end-user-doc --> | ||
616 | * @generated | ||
617 | */ | ||
618 | public SMTMEQ createSMTMEQ() | ||
619 | { | ||
620 | SMTMEQImpl smtmeq = new SMTMEQImpl(); | ||
621 | return smtmeq; | ||
622 | } | ||
623 | |||
624 | /** | ||
625 | * <!-- begin-user-doc --> | ||
626 | * <!-- end-user-doc --> | ||
627 | * @generated | ||
628 | */ | ||
629 | public SMTIntOperation createSMTIntOperation() | ||
630 | { | ||
631 | SMTIntOperationImpl smtIntOperation = new SMTIntOperationImpl(); | ||
632 | return smtIntOperation; | ||
633 | } | ||
634 | |||
635 | /** | ||
636 | * <!-- begin-user-doc --> | ||
637 | * <!-- end-user-doc --> | ||
638 | * @generated | ||
639 | */ | ||
640 | public SMTPlus createSMTPlus() | ||
641 | { | ||
642 | SMTPlusImpl smtPlus = new SMTPlusImpl(); | ||
643 | return smtPlus; | ||
644 | } | ||
645 | |||
646 | /** | ||
647 | * <!-- begin-user-doc --> | ||
648 | * <!-- end-user-doc --> | ||
649 | * @generated | ||
650 | */ | ||
651 | public SMTMinus createSMTMinus() | ||
652 | { | ||
653 | SMTMinusImpl smtMinus = new SMTMinusImpl(); | ||
654 | return smtMinus; | ||
655 | } | ||
656 | |||
657 | /** | ||
658 | * <!-- begin-user-doc --> | ||
659 | * <!-- end-user-doc --> | ||
660 | * @generated | ||
661 | */ | ||
662 | public SMTMultiply createSMTMultiply() | ||
663 | { | ||
664 | SMTMultiplyImpl smtMultiply = new SMTMultiplyImpl(); | ||
665 | return smtMultiply; | ||
666 | } | ||
667 | |||
668 | /** | ||
669 | * <!-- begin-user-doc --> | ||
670 | * <!-- end-user-doc --> | ||
671 | * @generated | ||
672 | */ | ||
673 | public SMTDivison createSMTDivison() | ||
674 | { | ||
675 | SMTDivisonImpl smtDivison = new SMTDivisonImpl(); | ||
676 | return smtDivison; | ||
677 | } | ||
678 | |||
679 | /** | ||
680 | * <!-- begin-user-doc --> | ||
681 | * <!-- end-user-doc --> | ||
682 | * @generated | ||
683 | */ | ||
684 | public SMTDiv createSMTDiv() | ||
685 | { | ||
686 | SMTDivImpl smtDiv = new SMTDivImpl(); | ||
687 | return smtDiv; | ||
688 | } | ||
689 | |||
690 | /** | ||
691 | * <!-- begin-user-doc --> | ||
692 | * <!-- end-user-doc --> | ||
693 | * @generated | ||
694 | */ | ||
695 | public SMTMod createSMTMod() | ||
696 | { | ||
697 | SMTModImpl smtMod = new SMTModImpl(); | ||
698 | return smtMod; | ||
699 | } | ||
700 | |||
701 | /** | ||
702 | * <!-- begin-user-doc --> | ||
703 | * <!-- end-user-doc --> | ||
704 | * @generated | ||
705 | */ | ||
706 | public SMTAssertion createSMTAssertion() | ||
707 | { | ||
708 | SMTAssertionImpl smtAssertion = new SMTAssertionImpl(); | ||
709 | return smtAssertion; | ||
710 | } | ||
711 | |||
712 | /** | ||
713 | * <!-- begin-user-doc --> | ||
714 | * <!-- end-user-doc --> | ||
715 | * @generated | ||
716 | */ | ||
717 | public SMTCardinalityConstraint createSMTCardinalityConstraint() | ||
718 | { | ||
719 | SMTCardinalityConstraintImpl smtCardinalityConstraint = new SMTCardinalityConstraintImpl(); | ||
720 | return smtCardinalityConstraint; | ||
721 | } | ||
722 | |||
723 | /** | ||
724 | * <!-- begin-user-doc --> | ||
725 | * <!-- end-user-doc --> | ||
726 | * @generated | ||
727 | */ | ||
728 | public SMTSatCommand createSMTSatCommand() | ||
729 | { | ||
730 | SMTSatCommandImpl smtSatCommand = new SMTSatCommandImpl(); | ||
731 | return smtSatCommand; | ||
732 | } | ||
733 | |||
734 | /** | ||
735 | * <!-- begin-user-doc --> | ||
736 | * <!-- end-user-doc --> | ||
737 | * @generated | ||
738 | */ | ||
739 | public SMTSimpleSatCommand createSMTSimpleSatCommand() | ||
740 | { | ||
741 | SMTSimpleSatCommandImpl smtSimpleSatCommand = new SMTSimpleSatCommandImpl(); | ||
742 | return smtSimpleSatCommand; | ||
743 | } | ||
744 | |||
745 | /** | ||
746 | * <!-- begin-user-doc --> | ||
747 | * <!-- end-user-doc --> | ||
748 | * @generated | ||
749 | */ | ||
750 | public SMTComplexSatCommand createSMTComplexSatCommand() | ||
751 | { | ||
752 | SMTComplexSatCommandImpl smtComplexSatCommand = new SMTComplexSatCommandImpl(); | ||
753 | return smtComplexSatCommand; | ||
754 | } | ||
755 | |||
756 | /** | ||
757 | * <!-- begin-user-doc --> | ||
758 | * <!-- end-user-doc --> | ||
759 | * @generated | ||
760 | */ | ||
761 | public SMTGetModelCommand createSMTGetModelCommand() | ||
762 | { | ||
763 | SMTGetModelCommandImpl smtGetModelCommand = new SMTGetModelCommandImpl(); | ||
764 | return smtGetModelCommand; | ||
765 | } | ||
766 | |||
767 | /** | ||
768 | * <!-- begin-user-doc --> | ||
769 | * <!-- end-user-doc --> | ||
770 | * @generated | ||
771 | */ | ||
772 | public SMTReasoningTactic createSMTReasoningTactic() | ||
773 | { | ||
774 | SMTReasoningTacticImpl smtReasoningTactic = new SMTReasoningTacticImpl(); | ||
775 | return smtReasoningTactic; | ||
776 | } | ||
777 | |||
778 | /** | ||
779 | * <!-- begin-user-doc --> | ||
780 | * <!-- end-user-doc --> | ||
781 | * @generated | ||
782 | */ | ||
783 | public SMTBuiltinTactic createSMTBuiltinTactic() | ||
784 | { | ||
785 | SMTBuiltinTacticImpl smtBuiltinTactic = new SMTBuiltinTacticImpl(); | ||
786 | return smtBuiltinTactic; | ||
787 | } | ||
788 | |||
789 | /** | ||
790 | * <!-- begin-user-doc --> | ||
791 | * <!-- end-user-doc --> | ||
792 | * @generated | ||
793 | */ | ||
794 | public SMTReasoningCombinator createSMTReasoningCombinator() | ||
795 | { | ||
796 | SMTReasoningCombinatorImpl smtReasoningCombinator = new SMTReasoningCombinatorImpl(); | ||
797 | return smtReasoningCombinator; | ||
798 | } | ||
799 | |||
800 | /** | ||
801 | * <!-- begin-user-doc --> | ||
802 | * <!-- end-user-doc --> | ||
803 | * @generated | ||
804 | */ | ||
805 | public SMTAndThenCombinator createSMTAndThenCombinator() | ||
806 | { | ||
807 | SMTAndThenCombinatorImpl smtAndThenCombinator = new SMTAndThenCombinatorImpl(); | ||
808 | return smtAndThenCombinator; | ||
809 | } | ||
810 | |||
811 | /** | ||
812 | * <!-- begin-user-doc --> | ||
813 | * <!-- end-user-doc --> | ||
814 | * @generated | ||
815 | */ | ||
816 | public SMTOrElseCombinator createSMTOrElseCombinator() | ||
817 | { | ||
818 | SMTOrElseCombinatorImpl smtOrElseCombinator = new SMTOrElseCombinatorImpl(); | ||
819 | return smtOrElseCombinator; | ||
820 | } | ||
821 | |||
822 | /** | ||
823 | * <!-- begin-user-doc --> | ||
824 | * <!-- end-user-doc --> | ||
825 | * @generated | ||
826 | */ | ||
827 | public SMTParOrCombinator createSMTParOrCombinator() | ||
828 | { | ||
829 | SMTParOrCombinatorImpl smtParOrCombinator = new SMTParOrCombinatorImpl(); | ||
830 | return smtParOrCombinator; | ||
831 | } | ||
832 | |||
833 | /** | ||
834 | * <!-- begin-user-doc --> | ||
835 | * <!-- end-user-doc --> | ||
836 | * @generated | ||
837 | */ | ||
838 | public SMTParThenCombinator createSMTParThenCombinator() | ||
839 | { | ||
840 | SMTParThenCombinatorImpl smtParThenCombinator = new SMTParThenCombinatorImpl(); | ||
841 | return smtParThenCombinator; | ||
842 | } | ||
843 | |||
844 | /** | ||
845 | * <!-- begin-user-doc --> | ||
846 | * <!-- end-user-doc --> | ||
847 | * @generated | ||
848 | */ | ||
849 | public SMTTryForCombinator createSMTTryForCombinator() | ||
850 | { | ||
851 | SMTTryForCombinatorImpl smtTryForCombinator = new SMTTryForCombinatorImpl(); | ||
852 | return smtTryForCombinator; | ||
853 | } | ||
854 | |||
855 | /** | ||
856 | * <!-- begin-user-doc --> | ||
857 | * <!-- end-user-doc --> | ||
858 | * @generated | ||
859 | */ | ||
860 | public SMTIfCombinator createSMTIfCombinator() | ||
861 | { | ||
862 | SMTIfCombinatorImpl smtIfCombinator = new SMTIfCombinatorImpl(); | ||
863 | return smtIfCombinator; | ||
864 | } | ||
865 | |||
866 | /** | ||
867 | * <!-- begin-user-doc --> | ||
868 | * <!-- end-user-doc --> | ||
869 | * @generated | ||
870 | */ | ||
871 | public SMTWhenCombinator createSMTWhenCombinator() | ||
872 | { | ||
873 | SMTWhenCombinatorImpl smtWhenCombinator = new SMTWhenCombinatorImpl(); | ||
874 | return smtWhenCombinator; | ||
875 | } | ||
876 | |||
877 | /** | ||
878 | * <!-- begin-user-doc --> | ||
879 | * <!-- end-user-doc --> | ||
880 | * @generated | ||
881 | */ | ||
882 | public SMTFailIfCombinator createSMTFailIfCombinator() | ||
883 | { | ||
884 | SMTFailIfCombinatorImpl smtFailIfCombinator = new SMTFailIfCombinatorImpl(); | ||
885 | return smtFailIfCombinator; | ||
886 | } | ||
887 | |||
888 | /** | ||
889 | * <!-- begin-user-doc --> | ||
890 | * <!-- end-user-doc --> | ||
891 | * @generated | ||
892 | */ | ||
893 | public SMTUsingParamCombinator createSMTUsingParamCombinator() | ||
894 | { | ||
895 | SMTUsingParamCombinatorImpl smtUsingParamCombinator = new SMTUsingParamCombinatorImpl(); | ||
896 | return smtUsingParamCombinator; | ||
897 | } | ||
898 | |||
899 | /** | ||
900 | * <!-- begin-user-doc --> | ||
901 | * <!-- end-user-doc --> | ||
902 | * @generated | ||
903 | */ | ||
904 | public ReasoningProbe createReasoningProbe() | ||
905 | { | ||
906 | ReasoningProbeImpl reasoningProbe = new ReasoningProbeImpl(); | ||
907 | return reasoningProbe; | ||
908 | } | ||
909 | |||
910 | /** | ||
911 | * <!-- begin-user-doc --> | ||
912 | * <!-- end-user-doc --> | ||
913 | * @generated | ||
914 | */ | ||
915 | public ReasoningTacticParameter createReasoningTacticParameter() | ||
916 | { | ||
917 | ReasoningTacticParameterImpl reasoningTacticParameter = new ReasoningTacticParameterImpl(); | ||
918 | return reasoningTacticParameter; | ||
919 | } | ||
920 | |||
921 | /** | ||
922 | * <!-- begin-user-doc --> | ||
923 | * <!-- end-user-doc --> | ||
924 | * @generated | ||
925 | */ | ||
926 | public SMTResult createSMTResult() | ||
927 | { | ||
928 | SMTResultImpl smtResult = new SMTResultImpl(); | ||
929 | return smtResult; | ||
930 | } | ||
931 | |||
932 | /** | ||
933 | * <!-- begin-user-doc --> | ||
934 | * <!-- end-user-doc --> | ||
935 | * @generated | ||
936 | */ | ||
937 | public SMTErrorResult createSMTErrorResult() | ||
938 | { | ||
939 | SMTErrorResultImpl smtErrorResult = new SMTErrorResultImpl(); | ||
940 | return smtErrorResult; | ||
941 | } | ||
942 | |||
943 | /** | ||
944 | * <!-- begin-user-doc --> | ||
945 | * <!-- end-user-doc --> | ||
946 | * @generated | ||
947 | */ | ||
948 | public SMTUnsupportedResult createSMTUnsupportedResult() | ||
949 | { | ||
950 | SMTUnsupportedResultImpl smtUnsupportedResult = new SMTUnsupportedResultImpl(); | ||
951 | return smtUnsupportedResult; | ||
952 | } | ||
953 | |||
954 | /** | ||
955 | * <!-- begin-user-doc --> | ||
956 | * <!-- end-user-doc --> | ||
957 | * @generated | ||
958 | */ | ||
959 | public SMTSatResult createSMTSatResult() | ||
960 | { | ||
961 | SMTSatResultImpl smtSatResult = new SMTSatResultImpl(); | ||
962 | return smtSatResult; | ||
963 | } | ||
964 | |||
965 | /** | ||
966 | * <!-- begin-user-doc --> | ||
967 | * <!-- end-user-doc --> | ||
968 | * @generated | ||
969 | */ | ||
970 | public SMTModelResult createSMTModelResult() | ||
971 | { | ||
972 | SMTModelResultImpl smtModelResult = new SMTModelResultImpl(); | ||
973 | return smtModelResult; | ||
974 | } | ||
975 | |||
976 | /** | ||
977 | * <!-- begin-user-doc --> | ||
978 | * <!-- end-user-doc --> | ||
979 | * @generated | ||
980 | */ | ||
981 | public SMTStatisticValue createSMTStatisticValue() | ||
982 | { | ||
983 | SMTStatisticValueImpl smtStatisticValue = new SMTStatisticValueImpl(); | ||
984 | return smtStatisticValue; | ||
985 | } | ||
986 | |||
987 | /** | ||
988 | * <!-- begin-user-doc --> | ||
989 | * <!-- end-user-doc --> | ||
990 | * @generated | ||
991 | */ | ||
992 | public SMTStatisticIntValue createSMTStatisticIntValue() | ||
993 | { | ||
994 | SMTStatisticIntValueImpl smtStatisticIntValue = new SMTStatisticIntValueImpl(); | ||
995 | return smtStatisticIntValue; | ||
996 | } | ||
997 | |||
998 | /** | ||
999 | * <!-- begin-user-doc --> | ||
1000 | * <!-- end-user-doc --> | ||
1001 | * @generated | ||
1002 | */ | ||
1003 | public SMTStatisticDoubleValue createSMTStatisticDoubleValue() | ||
1004 | { | ||
1005 | SMTStatisticDoubleValueImpl smtStatisticDoubleValue = new SMTStatisticDoubleValueImpl(); | ||
1006 | return smtStatisticDoubleValue; | ||
1007 | } | ||
1008 | |||
1009 | /** | ||
1010 | * <!-- begin-user-doc --> | ||
1011 | * <!-- end-user-doc --> | ||
1012 | * @generated | ||
1013 | */ | ||
1014 | public SMTStatisticsSection createSMTStatisticsSection() | ||
1015 | { | ||
1016 | SMTStatisticsSectionImpl smtStatisticsSection = new SMTStatisticsSectionImpl(); | ||
1017 | return smtStatisticsSection; | ||
1018 | } | ||
1019 | |||
1020 | /** | ||
1021 | * <!-- begin-user-doc --> | ||
1022 | * <!-- end-user-doc --> | ||
1023 | * @generated | ||
1024 | */ | ||
1025 | public SmtLanguagePackage getSmtLanguagePackage() | ||
1026 | { | ||
1027 | return (SmtLanguagePackage)getEPackage(); | ||
1028 | } | ||
1029 | |||
1030 | /** | ||
1031 | * <!-- begin-user-doc --> | ||
1032 | * <!-- end-user-doc --> | ||
1033 | * @deprecated | ||
1034 | * @generated | ||
1035 | */ | ||
1036 | @Deprecated | ||
1037 | public static SmtLanguagePackage getPackage() | ||
1038 | { | ||
1039 | return SmtLanguagePackage.eINSTANCE; | ||
1040 | } | ||
1041 | |||
1042 | } //SmtLanguageFactoryImpl | ||
diff --git a/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SmtLanguagePackageImpl.java b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SmtLanguagePackageImpl.java new file mode 100644 index 00000000..9f1389ff --- /dev/null +++ b/Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SmtLanguagePackageImpl.java | |||
@@ -0,0 +1,3062 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.smtLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.smtLanguage.ReasoningProbe; | ||
6 | import hu.bme.mit.inf.dslreasoner.smtLanguage.ReasoningTacticParameter; | ||
7 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTAnd; | ||
8 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTAndThenCombinator; | ||
9 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTAssertion; | ||
10 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTAtomicTerm; | ||
11 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTBoolLiteral; | ||
12 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTBoolOperation; | ||
13 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTBoolTypeReference; | ||
14 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTBuiltinTactic; | ||
15 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTCardinalityConstraint; | ||
16 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTComplexSatCommand; | ||
17 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTComplexTypeReference; | ||
18 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTDistinct; | ||
19 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTDiv; | ||
20 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTDivison; | ||
21 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTDocument; | ||
22 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTEnumLiteral; | ||
23 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTEnumeratedTypeDeclaration; | ||
24 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTEquals; | ||
25 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTErrorResult; | ||
26 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTExists; | ||
27 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTFailIfCombinator; | ||
28 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTForall; | ||
29 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTFunctionDeclaration; | ||
30 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTFunctionDefinition; | ||
31 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTGetModelCommand; | ||
32 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTIfCombinator; | ||
33 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTIff; | ||
34 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTImpl; | ||
35 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTInlineConstantDefinition; | ||
36 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTInput; | ||
37 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTIntLiteral; | ||
38 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTIntOperation; | ||
39 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTIntTypeReference; | ||
40 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTLet; | ||
41 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMinus; | ||
42 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMod; | ||
43 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTModelResult; | ||
44 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMultiply; | ||
45 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTNot; | ||
46 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTOption; | ||
47 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTOr; | ||
48 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTOrElseCombinator; | ||
49 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTOutput; | ||
50 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTParOrCombinator; | ||
51 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTParThenCombinator; | ||
52 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTPlus; | ||
53 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTPrimitiveTypeReference; | ||
54 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTQuantifiedExpression; | ||
55 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTRealLiteral; | ||
56 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTRealTypeReference; | ||
57 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningCombinator; | ||
58 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTReasoningTactic; | ||
59 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTRelation; | ||
60 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTResult; | ||
61 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSatCommand; | ||
62 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSatResult; | ||
63 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSetTypeDeclaration; | ||
64 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSimpleSatCommand; | ||
65 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSortedVariable; | ||
66 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTStatisticDoubleValue; | ||
67 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTStatisticIntValue; | ||
68 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTStatisticValue; | ||
69 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTStatisticsSection; | ||
70 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSymbolicDeclaration; | ||
71 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTSymbolicValue; | ||
72 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTerm; | ||
73 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTryForCombinator; | ||
74 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTType; | ||
75 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTTypeReference; | ||
76 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTUnsupportedResult; | ||
77 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTUsingParamCombinator; | ||
78 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SMTWhenCombinator; | ||
79 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguageFactory; | ||
80 | import hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage; | ||
81 | |||
82 | import org.eclipse.emf.ecore.EAttribute; | ||
83 | import org.eclipse.emf.ecore.EClass; | ||
84 | import org.eclipse.emf.ecore.EPackage; | ||
85 | import org.eclipse.emf.ecore.EReference; | ||
86 | |||
87 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
88 | |||
89 | /** | ||
90 | * <!-- begin-user-doc --> | ||
91 | * An implementation of the model <b>Package</b>. | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public class SmtLanguagePackageImpl extends EPackageImpl implements SmtLanguagePackage | ||
96 | { | ||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | private EClass smtDocumentEClass = null; | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | private EClass smtInputEClass = null; | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | private EClass smtOutputEClass = null; | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | private EClass smtOptionEClass = null; | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | private EClass smtTypeEClass = null; | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | private EClass smtEnumLiteralEClass = null; | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | private EClass smtEnumeratedTypeDeclarationEClass = null; | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | private EClass smtSetTypeDeclarationEClass = null; | ||
152 | |||
153 | /** | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @generated | ||
157 | */ | ||
158 | private EClass smtTypeReferenceEClass = null; | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | private EClass smtComplexTypeReferenceEClass = null; | ||
166 | |||
167 | /** | ||
168 | * <!-- begin-user-doc --> | ||
169 | * <!-- end-user-doc --> | ||
170 | * @generated | ||
171 | */ | ||
172 | private EClass smtPrimitiveTypeReferenceEClass = null; | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | private EClass smtIntTypeReferenceEClass = null; | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | private EClass smtBoolTypeReferenceEClass = null; | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | private EClass smtRealTypeReferenceEClass = null; | ||
194 | |||
195 | /** | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @generated | ||
199 | */ | ||
200 | private EClass smtFunctionDeclarationEClass = null; | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | private EClass smtFunctionDefinitionEClass = null; | ||
208 | |||
209 | /** | ||
210 | * <!-- begin-user-doc --> | ||
211 | * <!-- end-user-doc --> | ||
212 | * @generated | ||
213 | */ | ||
214 | private EClass smtTermEClass = null; | ||
215 | |||
216 | /** | ||
217 | * <!-- begin-user-doc --> | ||
218 | * <!-- end-user-doc --> | ||
219 | * @generated | ||
220 | */ | ||
221 | private EClass smtSymbolicDeclarationEClass = null; | ||
222 | |||
223 | /** | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @generated | ||
227 | */ | ||
228 | private EClass smtSymbolicValueEClass = null; | ||
229 | |||
230 | /** | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @generated | ||
234 | */ | ||
235 | private EClass smtAtomicTermEClass = null; | ||
236 | |||
237 | /** | ||
238 | * <!-- begin-user-doc --> | ||
239 | * <!-- end-user-doc --> | ||
240 | * @generated | ||
241 | */ | ||
242 | private EClass smtIntLiteralEClass = null; | ||
243 | |||
244 | /** | ||
245 | * <!-- begin-user-doc --> | ||
246 | * <!-- end-user-doc --> | ||
247 | * @generated | ||
248 | */ | ||
249 | private EClass smtBoolLiteralEClass = null; | ||
250 | |||
251 | /** | ||
252 | * <!-- begin-user-doc --> | ||
253 | * <!-- end-user-doc --> | ||
254 | * @generated | ||
255 | */ | ||
256 | private EClass smtRealLiteralEClass = null; | ||
257 | |||
258 | /** | ||
259 | * <!-- begin-user-doc --> | ||
260 | * <!-- end-user-doc --> | ||
261 | * @generated | ||
262 | */ | ||
263 | private EClass smtSortedVariableEClass = null; | ||
264 | |||
265 | /** | ||
266 | * <!-- begin-user-doc --> | ||
267 | * <!-- end-user-doc --> | ||
268 | * @generated | ||
269 | */ | ||
270 | private EClass smtQuantifiedExpressionEClass = null; | ||
271 | |||
272 | /** | ||
273 | * <!-- begin-user-doc --> | ||
274 | * <!-- end-user-doc --> | ||
275 | * @generated | ||
276 | */ | ||
277 | private EClass smtExistsEClass = null; | ||
278 | |||
279 | /** | ||
280 | * <!-- begin-user-doc --> | ||
281 | * <!-- end-user-doc --> | ||
282 | * @generated | ||
283 | */ | ||
284 | private EClass smtForallEClass = null; | ||
285 | |||
286 | /** | ||
287 | * <!-- begin-user-doc --> | ||
288 | * <!-- end-user-doc --> | ||
289 | * @generated | ||
290 | */ | ||
291 | private EClass smtBoolOperationEClass = null; | ||
292 | |||
293 | /** | ||
294 | * <!-- begin-user-doc --> | ||
295 | * <!-- end-user-doc --> | ||
296 | * @generated | ||
297 | */ | ||
298 | private EClass smtAndEClass = null; | ||
299 | |||
300 | /** | ||
301 | * <!-- begin-user-doc --> | ||
302 | * <!-- end-user-doc --> | ||
303 | * @generated | ||
304 | */ | ||
305 | private EClass smtOrEClass = null; | ||
306 | |||
307 | /** | ||
308 | * <!-- begin-user-doc --> | ||
309 | * <!-- end-user-doc --> | ||
310 | * @generated | ||
311 | */ | ||
312 | private EClass smtImplEClass = null; | ||
313 | |||
314 | /** | ||
315 | * <!-- begin-user-doc --> | ||
316 | * <!-- end-user-doc --> | ||
317 | * @generated | ||
318 | */ | ||
319 | private EClass smtNotEClass = null; | ||
320 | |||
321 | /** | ||
322 | * <!-- begin-user-doc --> | ||
323 | * <!-- end-user-doc --> | ||
324 | * @generated | ||
325 | */ | ||
326 | private EClass smtIffEClass = null; | ||
327 | |||
328 | /** | ||
329 | * <!-- begin-user-doc --> | ||
330 | * <!-- end-user-doc --> | ||
331 | * @generated | ||
332 | */ | ||
333 | private EClass smtiteEClass = null; | ||
334 | |||
335 | /** | ||
336 | * <!-- begin-user-doc --> | ||
337 | * <!-- end-user-doc --> | ||
338 | * @generated | ||
339 | */ | ||
340 | private EClass smtLetEClass = null; | ||
341 | |||
342 | /** | ||
343 | * <!-- begin-user-doc --> | ||
344 | * <!-- end-user-doc --> | ||
345 | * @generated | ||
346 | */ | ||
347 | private EClass smtInlineConstantDefinitionEClass = null; | ||
348 | |||
349 | /** | ||
350 | * <!-- begin-user-doc --> | ||
351 | * <!-- end-user-doc --> | ||
352 | * @generated | ||
353 | */ | ||
354 | private EClass smtRelationEClass = null; | ||
355 | |||
356 | /** | ||
357 | * <!-- begin-user-doc --> | ||
358 | * <!-- end-user-doc --> | ||
359 | * @generated | ||
360 | */ | ||
361 | private EClass smtEqualsEClass = null; | ||
362 | |||
363 | /** | ||
364 | * <!-- begin-user-doc --> | ||
365 | * <!-- end-user-doc --> | ||
366 | * @generated | ||
367 | */ | ||
368 | private EClass smtDistinctEClass = null; | ||
369 | |||
370 | /** | ||
371 | * <!-- begin-user-doc --> | ||
372 | * <!-- end-user-doc --> | ||
373 | * @generated | ||
374 | */ | ||
375 | private EClass smtltEClass = null; | ||
376 | |||
377 | /** | ||
378 | * <!-- begin-user-doc --> | ||
379 | * <!-- end-user-doc --> | ||
380 | * @generated | ||
381 | */ | ||
382 | private EClass smtmtEClass = null; | ||
383 | |||
384 | /** | ||
385 | * <!-- begin-user-doc --> | ||
386 | * <!-- end-user-doc --> | ||
387 | * @generated | ||
388 | */ | ||
389 | private EClass smtleqEClass = null; | ||
390 | |||
391 | /** | ||
392 | * <!-- begin-user-doc --> | ||
393 | * <!-- end-user-doc --> | ||
394 | * @generated | ||
395 | */ | ||
396 | private EClass smtmeqEClass = null; | ||
397 | |||
398 | /** | ||
399 | * <!-- begin-user-doc --> | ||
400 | * <!-- end-user-doc --> | ||
401 | * @generated | ||
402 | */ | ||
403 | private EClass smtIntOperationEClass = null; | ||
404 | |||
405 | /** | ||
406 | * <!-- begin-user-doc --> | ||
407 | * <!-- end-user-doc --> | ||
408 | * @generated | ||
409 | */ | ||
410 | private EClass smtPlusEClass = null; | ||
411 | |||
412 | /** | ||
413 | * <!-- begin-user-doc --> | ||
414 | * <!-- end-user-doc --> | ||
415 | * @generated | ||
416 | */ | ||
417 | private EClass smtMinusEClass = null; | ||
418 | |||
419 | /** | ||
420 | * <!-- begin-user-doc --> | ||
421 | * <!-- end-user-doc --> | ||
422 | * @generated | ||
423 | */ | ||
424 | private EClass smtMultiplyEClass = null; | ||
425 | |||
426 | /** | ||
427 | * <!-- begin-user-doc --> | ||
428 | * <!-- end-user-doc --> | ||
429 | * @generated | ||
430 | */ | ||
431 | private EClass smtDivisonEClass = null; | ||
432 | |||
433 | /** | ||
434 | * <!-- begin-user-doc --> | ||
435 | * <!-- end-user-doc --> | ||
436 | * @generated | ||
437 | */ | ||
438 | private EClass smtDivEClass = null; | ||
439 | |||
440 | /** | ||
441 | * <!-- begin-user-doc --> | ||
442 | * <!-- end-user-doc --> | ||
443 | * @generated | ||
444 | */ | ||
445 | private EClass smtModEClass = null; | ||
446 | |||
447 | /** | ||
448 | * <!-- begin-user-doc --> | ||
449 | * <!-- end-user-doc --> | ||
450 | * @generated | ||
451 | */ | ||
452 | private EClass smtAssertionEClass = null; | ||
453 | |||
454 | /** | ||
455 | * <!-- begin-user-doc --> | ||
456 | * <!-- end-user-doc --> | ||
457 | * @generated | ||
458 | */ | ||
459 | private EClass smtCardinalityConstraintEClass = null; | ||
460 | |||
461 | /** | ||
462 | * <!-- begin-user-doc --> | ||
463 | * <!-- end-user-doc --> | ||
464 | * @generated | ||
465 | */ | ||
466 | private EClass smtSatCommandEClass = null; | ||
467 | |||
468 | /** | ||
469 | * <!-- begin-user-doc --> | ||
470 | * <!-- end-user-doc --> | ||
471 | * @generated | ||
472 | */ | ||
473 | private EClass smtSimpleSatCommandEClass = null; | ||
474 | |||
475 | /** | ||
476 | * <!-- begin-user-doc --> | ||
477 | * <!-- end-user-doc --> | ||
478 | * @generated | ||
479 | */ | ||
480 | private EClass smtComplexSatCommandEClass = null; | ||
481 | |||
482 | /** | ||
483 | * <!-- begin-user-doc --> | ||
484 | * <!-- end-user-doc --> | ||
485 | * @generated | ||
486 | */ | ||
487 | private EClass smtGetModelCommandEClass = null; | ||
488 | |||
489 | /** | ||
490 | * <!-- begin-user-doc --> | ||
491 | * <!-- end-user-doc --> | ||
492 | * @generated | ||
493 | */ | ||
494 | private EClass smtReasoningTacticEClass = null; | ||
495 | |||
496 | /** | ||
497 | * <!-- begin-user-doc --> | ||
498 | * <!-- end-user-doc --> | ||
499 | * @generated | ||
500 | */ | ||
501 | private EClass smtBuiltinTacticEClass = null; | ||
502 | |||
503 | /** | ||
504 | * <!-- begin-user-doc --> | ||
505 | * <!-- end-user-doc --> | ||
506 | * @generated | ||
507 | */ | ||
508 | private EClass smtReasoningCombinatorEClass = null; | ||
509 | |||
510 | /** | ||
511 | * <!-- begin-user-doc --> | ||
512 | * <!-- end-user-doc --> | ||
513 | * @generated | ||
514 | */ | ||
515 | private EClass smtAndThenCombinatorEClass = null; | ||
516 | |||
517 | /** | ||
518 | * <!-- begin-user-doc --> | ||
519 | * <!-- end-user-doc --> | ||
520 | * @generated | ||
521 | */ | ||
522 | private EClass smtOrElseCombinatorEClass = null; | ||
523 | |||
524 | /** | ||
525 | * <!-- begin-user-doc --> | ||
526 | * <!-- end-user-doc --> | ||
527 | * @generated | ||
528 | */ | ||
529 | private EClass smtParOrCombinatorEClass = null; | ||
530 | |||
531 | /** | ||
532 | * <!-- begin-user-doc --> | ||
533 | * <!-- end-user-doc --> | ||
534 | * @generated | ||
535 | */ | ||
536 | private EClass smtParThenCombinatorEClass = null; | ||
537 | |||
538 | /** | ||
539 | * <!-- begin-user-doc --> | ||
540 | * <!-- end-user-doc --> | ||
541 | * @generated | ||
542 | */ | ||
543 | private EClass smtTryForCombinatorEClass = null; | ||
544 | |||
545 | /** | ||
546 | * <!-- begin-user-doc --> | ||
547 | * <!-- end-user-doc --> | ||
548 | * @generated | ||
549 | */ | ||
550 | private EClass smtIfCombinatorEClass = null; | ||
551 | |||
552 | /** | ||
553 | * <!-- begin-user-doc --> | ||
554 | * <!-- end-user-doc --> | ||
555 | * @generated | ||
556 | */ | ||
557 | private EClass smtWhenCombinatorEClass = null; | ||
558 | |||
559 | /** | ||
560 | * <!-- begin-user-doc --> | ||
561 | * <!-- end-user-doc --> | ||
562 | * @generated | ||
563 | */ | ||
564 | private EClass smtFailIfCombinatorEClass = null; | ||
565 | |||
566 | /** | ||
567 | * <!-- begin-user-doc --> | ||
568 | * <!-- end-user-doc --> | ||
569 | * @generated | ||
570 | */ | ||
571 | private EClass smtUsingParamCombinatorEClass = null; | ||
572 | |||
573 | /** | ||
574 | * <!-- begin-user-doc --> | ||
575 | * <!-- end-user-doc --> | ||
576 | * @generated | ||
577 | */ | ||
578 | private EClass reasoningProbeEClass = null; | ||
579 | |||
580 | /** | ||
581 | * <!-- begin-user-doc --> | ||
582 | * <!-- end-user-doc --> | ||
583 | * @generated | ||
584 | */ | ||
585 | private EClass reasoningTacticParameterEClass = null; | ||
586 | |||
587 | /** | ||
588 | * <!-- begin-user-doc --> | ||
589 | * <!-- end-user-doc --> | ||
590 | * @generated | ||
591 | */ | ||
592 | private EClass smtResultEClass = null; | ||
593 | |||
594 | /** | ||
595 | * <!-- begin-user-doc --> | ||
596 | * <!-- end-user-doc --> | ||
597 | * @generated | ||
598 | */ | ||
599 | private EClass smtErrorResultEClass = null; | ||
600 | |||
601 | /** | ||
602 | * <!-- begin-user-doc --> | ||
603 | * <!-- end-user-doc --> | ||
604 | * @generated | ||
605 | */ | ||
606 | private EClass smtUnsupportedResultEClass = null; | ||
607 | |||
608 | /** | ||
609 | * <!-- begin-user-doc --> | ||
610 | * <!-- end-user-doc --> | ||
611 | * @generated | ||
612 | */ | ||
613 | private EClass smtSatResultEClass = null; | ||
614 | |||
615 | /** | ||
616 | * <!-- begin-user-doc --> | ||
617 | * <!-- end-user-doc --> | ||
618 | * @generated | ||
619 | */ | ||
620 | private EClass smtModelResultEClass = null; | ||
621 | |||
622 | /** | ||
623 | * <!-- begin-user-doc --> | ||
624 | * <!-- end-user-doc --> | ||
625 | * @generated | ||
626 | */ | ||
627 | private EClass smtStatisticValueEClass = null; | ||
628 | |||
629 | /** | ||
630 | * <!-- begin-user-doc --> | ||
631 | * <!-- end-user-doc --> | ||
632 | * @generated | ||
633 | */ | ||
634 | private EClass smtStatisticIntValueEClass = null; | ||
635 | |||
636 | /** | ||
637 | * <!-- begin-user-doc --> | ||
638 | * <!-- end-user-doc --> | ||
639 | * @generated | ||
640 | */ | ||
641 | private EClass smtStatisticDoubleValueEClass = null; | ||
642 | |||
643 | /** | ||
644 | * <!-- begin-user-doc --> | ||
645 | * <!-- end-user-doc --> | ||
646 | * @generated | ||
647 | */ | ||
648 | private EClass smtStatisticsSectionEClass = null; | ||
649 | |||
650 | /** | ||
651 | * Creates an instance of the model <b>Package</b>, registered with | ||
652 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
653 | * package URI value. | ||
654 | * <p>Note: the correct way to create the package is via the static | ||
655 | * factory method {@link #init init()}, which also performs | ||
656 | * initialization of the package, or returns the registered package, | ||
657 | * if one already exists. | ||
658 | * <!-- begin-user-doc --> | ||
659 | * <!-- end-user-doc --> | ||
660 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
661 | * @see hu.bme.mit.inf.dslreasoner.smtLanguage.SmtLanguagePackage#eNS_URI | ||
662 | * @see #init() | ||
663 | * @generated | ||
664 | */ | ||
665 | private SmtLanguagePackageImpl() | ||
666 | { | ||
667 | super(eNS_URI, SmtLanguageFactory.eINSTANCE); | ||
668 | } | ||
669 | |||
670 | /** | ||
671 | * <!-- begin-user-doc --> | ||
672 | * <!-- end-user-doc --> | ||
673 | * @generated | ||
674 | */ | ||
675 | private static boolean isInited = false; | ||
676 | |||
677 | /** | ||
678 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
679 | * | ||
680 | * <p>This method is used to initialize {@link SmtLanguagePackage#eINSTANCE} when that field is accessed. | ||
681 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
682 | * <!-- begin-user-doc --> | ||
683 | * <!-- end-user-doc --> | ||
684 | * @see #eNS_URI | ||
685 | * @see #createPackageContents() | ||
686 | * @see #initializePackageContents() | ||
687 | * @generated | ||
688 | */ | ||
689 | public static SmtLanguagePackage init() | ||
690 | { | ||
691 | if (isInited) return (SmtLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(SmtLanguagePackage.eNS_URI); | ||
692 | |||
693 | // Obtain or create and register package | ||
694 | SmtLanguagePackageImpl theSmtLanguagePackage = (SmtLanguagePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof SmtLanguagePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new SmtLanguagePackageImpl()); | ||
695 | |||
696 | isInited = true; | ||
697 | |||
698 | // Create package meta-data objects | ||
699 | theSmtLanguagePackage.createPackageContents(); | ||
700 | |||
701 | // Initialize created meta-data | ||
702 | theSmtLanguagePackage.initializePackageContents(); | ||
703 | |||
704 | // Mark meta-data to indicate it can't be changed | ||
705 | theSmtLanguagePackage.freeze(); | ||
706 | |||
707 | |||
708 | // Update the registry and return the package | ||
709 | EPackage.Registry.INSTANCE.put(SmtLanguagePackage.eNS_URI, theSmtLanguagePackage); | ||
710 | return theSmtLanguagePackage; | ||
711 | } | ||
712 | |||
713 | /** | ||
714 | * <!-- begin-user-doc --> | ||
715 | * <!-- end-user-doc --> | ||
716 | * @generated | ||
717 | */ | ||
718 | public EClass getSMTDocument() | ||
719 | { | ||
720 | return smtDocumentEClass; | ||
721 | } | ||
722 | |||
723 | /** | ||
724 | * <!-- begin-user-doc --> | ||
725 | * <!-- end-user-doc --> | ||
726 | * @generated | ||
727 | */ | ||
728 | public EReference getSMTDocument_Input() | ||
729 | { | ||
730 | return (EReference)smtDocumentEClass.getEStructuralFeatures().get(0); | ||
731 | } | ||
732 | |||
733 | /** | ||
734 | * <!-- begin-user-doc --> | ||
735 | * <!-- end-user-doc --> | ||
736 | * @generated | ||
737 | */ | ||
738 | public EReference getSMTDocument_Output() | ||
739 | { | ||
740 | return (EReference)smtDocumentEClass.getEStructuralFeatures().get(1); | ||
741 | } | ||
742 | |||
743 | /** | ||
744 | * <!-- begin-user-doc --> | ||
745 | * <!-- end-user-doc --> | ||
746 | * @generated | ||
747 | */ | ||
748 | public EClass getSMTInput() | ||
749 | { | ||
750 | return smtInputEClass; | ||
751 | } | ||
752 | |||
753 | /** | ||
754 | * <!-- begin-user-doc --> | ||
755 | * <!-- end-user-doc --> | ||
756 | * @generated | ||
757 | */ | ||
758 | public EReference getSMTInput_Options() | ||
759 | { | ||
760 | return (EReference)smtInputEClass.getEStructuralFeatures().get(0); | ||
761 | } | ||
762 | |||
763 | /** | ||
764 | * <!-- begin-user-doc --> | ||
765 | * <!-- end-user-doc --> | ||
766 | * @generated | ||
767 | */ | ||
768 | public EReference getSMTInput_TypeDeclarations() | ||
769 | { | ||
770 | return (EReference)smtInputEClass.getEStructuralFeatures().get(1); | ||
771 | } | ||
772 | |||
773 | /** | ||
774 | * <!-- begin-user-doc --> | ||
775 | * <!-- end-user-doc --> | ||
776 | * @generated | ||
777 | */ | ||
778 | public EReference getSMTInput_FunctionDeclarations() | ||
779 | { | ||
780 | return (EReference)smtInputEClass.getEStructuralFeatures().get(2); | ||
781 | } | ||
782 | |||
783 | /** | ||
784 | * <!-- begin-user-doc --> | ||
785 | * <!-- end-user-doc --> | ||
786 | * @generated | ||
787 | */ | ||
788 | public EReference getSMTInput_FunctionDefinition() | ||
789 | { | ||
790 | return (EReference)smtInputEClass.getEStructuralFeatures().get(3); | ||
791 | } | ||
792 | |||
793 | /** | ||
794 | * <!-- begin-user-doc --> | ||
795 | * <!-- end-user-doc --> | ||
796 | * @generated | ||
797 | */ | ||
798 | public EReference getSMTInput_Assertions() | ||
799 | { | ||
800 | return (EReference)smtInputEClass.getEStructuralFeatures().get(4); | ||
801 | } | ||
802 | |||
803 | /** | ||
804 | * <!-- begin-user-doc --> | ||
805 | * <!-- end-user-doc --> | ||
806 | * @generated | ||
807 | */ | ||
808 | public EReference getSMTInput_SatCommand() | ||
809 | { | ||
810 | return (EReference)smtInputEClass.getEStructuralFeatures().get(5); | ||
811 | } | ||
812 | |||
813 | /** | ||
814 | * <!-- begin-user-doc --> | ||
815 | * <!-- end-user-doc --> | ||
816 | * @generated | ||
817 | */ | ||
818 | public EReference getSMTInput_GetModelCommand() | ||
819 | { | ||
820 | return (EReference)smtInputEClass.getEStructuralFeatures().get(6); | ||
821 | } | ||
822 | |||
823 | /** | ||
824 | * <!-- begin-user-doc --> | ||
825 | * <!-- end-user-doc --> | ||
826 | * @generated | ||
827 | */ | ||
828 | public EClass getSMTOutput() | ||
829 | { | ||
830 | return smtOutputEClass; | ||
831 | } | ||
832 | |||
833 | /** | ||
834 | * <!-- begin-user-doc --> | ||
835 | * <!-- end-user-doc --> | ||
836 | * @generated | ||
837 | */ | ||
838 | public EReference getSMTOutput_SatResult() | ||
839 | { | ||
840 | return (EReference)smtOutputEClass.getEStructuralFeatures().get(0); | ||
841 | } | ||
842 | |||
843 | /** | ||
844 | * <!-- begin-user-doc --> | ||
845 | * <!-- end-user-doc --> | ||
846 | * @generated | ||
847 | */ | ||
848 | public EReference getSMTOutput_GetModelResult() | ||
849 | { | ||
850 | return (EReference)smtOutputEClass.getEStructuralFeatures().get(1); | ||
851 | } | ||
852 | |||
853 | /** | ||
854 | * <!-- begin-user-doc --> | ||
855 | * <!-- end-user-doc --> | ||
856 | * @generated | ||
857 | */ | ||
858 | public EReference getSMTOutput_Statistics() | ||
859 | { | ||
860 | return (EReference)smtOutputEClass.getEStructuralFeatures().get(2); | ||
861 | } | ||
862 | |||
863 | /** | ||
864 | * <!-- begin-user-doc --> | ||
865 | * <!-- end-user-doc --> | ||
866 | * @generated | ||
867 | */ | ||
868 | public EClass getSMTOption() | ||
869 | { | ||
870 | return smtOptionEClass; | ||
871 | } | ||
872 | |||
873 | /** | ||
874 | * <!-- begin-user-doc --> | ||
875 | * <!-- end-user-doc --> | ||
876 | * @generated | ||
877 | */ | ||
878 | public EAttribute getSMTOption_Name() | ||
879 | { | ||
880 | return (EAttribute)smtOptionEClass.getEStructuralFeatures().get(0); | ||
881 | } | ||
882 | |||
883 | /** | ||
884 | * <!-- begin-user-doc --> | ||
885 | * <!-- end-user-doc --> | ||
886 | * @generated | ||
887 | */ | ||
888 | public EReference getSMTOption_Value() | ||
889 | { | ||
890 | return (EReference)smtOptionEClass.getEStructuralFeatures().get(1); | ||
891 | } | ||
892 | |||
893 | /** | ||
894 | * <!-- begin-user-doc --> | ||
895 | * <!-- end-user-doc --> | ||
896 | * @generated | ||
897 | */ | ||
898 | public EClass getSMTType() | ||
899 | { | ||
900 | return smtTypeEClass; | ||
901 | } | ||
902 | |||
903 | /** | ||
904 | * <!-- begin-user-doc --> | ||
905 | * <!-- end-user-doc --> | ||
906 | * @generated | ||
907 | */ | ||
908 | public EAttribute getSMTType_Name() | ||
909 | { | ||
910 | return (EAttribute)smtTypeEClass.getEStructuralFeatures().get(0); | ||
911 | } | ||
912 | |||
913 | /** | ||
914 | * <!-- begin-user-doc --> | ||
915 | * <!-- end-user-doc --> | ||
916 | * @generated | ||
917 | */ | ||
918 | public EClass getSMTEnumLiteral() | ||
919 | { | ||
920 | return smtEnumLiteralEClass; | ||
921 | } | ||
922 | |||
923 | /** | ||
924 | * <!-- begin-user-doc --> | ||
925 | * <!-- end-user-doc --> | ||
926 | * @generated | ||
927 | */ | ||
928 | public EClass getSMTEnumeratedTypeDeclaration() | ||
929 | { | ||
930 | return smtEnumeratedTypeDeclarationEClass; | ||
931 | } | ||
932 | |||
933 | /** | ||
934 | * <!-- begin-user-doc --> | ||
935 | * <!-- end-user-doc --> | ||
936 | * @generated | ||
937 | */ | ||
938 | public EReference getSMTEnumeratedTypeDeclaration_Elements() | ||
939 | { | ||
940 | return (EReference)smtEnumeratedTypeDeclarationEClass.getEStructuralFeatures().get(0); | ||
941 | } | ||
942 | |||
943 | /** | ||
944 | * <!-- begin-user-doc --> | ||
945 | * <!-- end-user-doc --> | ||
946 | * @generated | ||
947 | */ | ||
948 | public EClass getSMTSetTypeDeclaration() | ||
949 | { | ||
950 | return smtSetTypeDeclarationEClass; | ||
951 | } | ||
952 | |||
953 | /** | ||
954 | * <!-- begin-user-doc --> | ||
955 | * <!-- end-user-doc --> | ||
956 | * @generated | ||
957 | */ | ||
958 | public EClass getSMTTypeReference() | ||
959 | { | ||
960 | return smtTypeReferenceEClass; | ||
961 | } | ||
962 | |||
963 | /** | ||
964 | * <!-- begin-user-doc --> | ||
965 | * <!-- end-user-doc --> | ||
966 | * @generated | ||
967 | */ | ||
968 | public EClass getSMTComplexTypeReference() | ||
969 | { | ||
970 | return smtComplexTypeReferenceEClass; | ||
971 | } | ||
972 | |||
973 | /** | ||
974 | * <!-- begin-user-doc --> | ||
975 | * <!-- end-user-doc --> | ||
976 | * @generated | ||
977 | */ | ||
978 | public EReference getSMTComplexTypeReference_Referred() | ||
979 | { | ||
980 | return (EReference)smtComplexTypeReferenceEClass.getEStructuralFeatures().get(0); | ||
981 | } | ||
982 | |||
983 | /** | ||
984 | * <!-- begin-user-doc --> | ||
985 | * <!-- end-user-doc --> | ||
986 | * @generated | ||
987 | */ | ||
988 | public EClass getSMTPrimitiveTypeReference() | ||
989 | { | ||
990 | return smtPrimitiveTypeReferenceEClass; | ||
991 | } | ||
992 | |||
993 | /** | ||
994 | * <!-- begin-user-doc --> | ||
995 | * <!-- end-user-doc --> | ||
996 | * @generated | ||
997 | */ | ||
998 | public EClass getSMTIntTypeReference() | ||
999 | { | ||
1000 | return smtIntTypeReferenceEClass; | ||
1001 | } | ||
1002 | |||
1003 | /** | ||
1004 | * <!-- begin-user-doc --> | ||
1005 | * <!-- end-user-doc --> | ||
1006 | * @generated | ||
1007 | */ | ||
1008 | public EClass getSMTBoolTypeReference() | ||
1009 | { | ||
1010 | return smtBoolTypeReferenceEClass; | ||
1011 | } | ||
1012 | |||
1013 | /** | ||
1014 | * <!-- begin-user-doc --> | ||
1015 | * <!-- end-user-doc --> | ||
1016 | * @generated | ||
1017 | */ | ||
1018 | public EClass getSMTRealTypeReference() | ||
1019 | { | ||
1020 | return smtRealTypeReferenceEClass; | ||
1021 | } | ||
1022 | |||
1023 | /** | ||
1024 | * <!-- begin-user-doc --> | ||
1025 | * <!-- end-user-doc --> | ||
1026 | * @generated | ||
1027 | */ | ||
1028 | public EClass getSMTFunctionDeclaration() | ||
1029 | { | ||
1030 | return smtFunctionDeclarationEClass; | ||
1031 | } | ||
1032 | |||
1033 | /** | ||
1034 | * <!-- begin-user-doc --> | ||
1035 | * <!-- end-user-doc --> | ||
1036 | * @generated | ||
1037 | */ | ||
1038 | public EReference getSMTFunctionDeclaration_Parameters() | ||
1039 | { | ||
1040 | return (EReference)smtFunctionDeclarationEClass.getEStructuralFeatures().get(0); | ||
1041 | } | ||
1042 | |||
1043 | /** | ||
1044 | * <!-- begin-user-doc --> | ||
1045 | * <!-- end-user-doc --> | ||
1046 | * @generated | ||
1047 | */ | ||
1048 | public EReference getSMTFunctionDeclaration_Range() | ||
1049 | { | ||
1050 | return (EReference)smtFunctionDeclarationEClass.getEStructuralFeatures().get(1); | ||
1051 | } | ||
1052 | |||
1053 | /** | ||
1054 | * <!-- begin-user-doc --> | ||
1055 | * <!-- end-user-doc --> | ||
1056 | * @generated | ||
1057 | */ | ||
1058 | public EClass getSMTFunctionDefinition() | ||
1059 | { | ||
1060 | return smtFunctionDefinitionEClass; | ||
1061 | } | ||
1062 | |||
1063 | /** | ||
1064 | * <!-- begin-user-doc --> | ||
1065 | * <!-- end-user-doc --> | ||
1066 | * @generated | ||
1067 | */ | ||
1068 | public EReference getSMTFunctionDefinition_Parameters() | ||
1069 | { | ||
1070 | return (EReference)smtFunctionDefinitionEClass.getEStructuralFeatures().get(0); | ||
1071 | } | ||
1072 | |||
1073 | /** | ||
1074 | * <!-- begin-user-doc --> | ||
1075 | * <!-- end-user-doc --> | ||
1076 | * @generated | ||
1077 | */ | ||
1078 | public EReference getSMTFunctionDefinition_Range() | ||
1079 | { | ||
1080 | return (EReference)smtFunctionDefinitionEClass.getEStructuralFeatures().get(1); | ||
1081 | } | ||
1082 | |||
1083 | /** | ||
1084 | * <!-- begin-user-doc --> | ||
1085 | * <!-- end-user-doc --> | ||
1086 | * @generated | ||
1087 | */ | ||
1088 | public EReference getSMTFunctionDefinition_Value() | ||
1089 | { | ||
1090 | return (EReference)smtFunctionDefinitionEClass.getEStructuralFeatures().get(2); | ||
1091 | } | ||
1092 | |||
1093 | /** | ||
1094 | * <!-- begin-user-doc --> | ||
1095 | * <!-- end-user-doc --> | ||
1096 | * @generated | ||
1097 | */ | ||
1098 | public EClass getSMTTerm() | ||
1099 | { | ||
1100 | return smtTermEClass; | ||
1101 | } | ||
1102 | |||
1103 | /** | ||
1104 | * <!-- begin-user-doc --> | ||
1105 | * <!-- end-user-doc --> | ||
1106 | * @generated | ||
1107 | */ | ||
1108 | public EClass getSMTSymbolicDeclaration() | ||
1109 | { | ||
1110 | return smtSymbolicDeclarationEClass; | ||
1111 | } | ||
1112 | |||
1113 | /** | ||
1114 | * <!-- begin-user-doc --> | ||
1115 | * <!-- end-user-doc --> | ||
1116 | * @generated | ||
1117 | */ | ||
1118 | public EAttribute getSMTSymbolicDeclaration_Name() | ||
1119 | { | ||
1120 | return (EAttribute)smtSymbolicDeclarationEClass.getEStructuralFeatures().get(0); | ||
1121 | } | ||
1122 | |||
1123 | /** | ||
1124 | * <!-- begin-user-doc --> | ||
1125 | * <!-- end-user-doc --> | ||
1126 | * @generated | ||
1127 | */ | ||
1128 | public EClass getSMTSymbolicValue() | ||
1129 | { | ||
1130 | return smtSymbolicValueEClass; | ||
1131 | } | ||
1132 | |||
1133 | /** | ||
1134 | * <!-- begin-user-doc --> | ||
1135 | * <!-- end-user-doc --> | ||
1136 | * @generated | ||
1137 | */ | ||
1138 | public EReference getSMTSymbolicValue_SymbolicReference() | ||
1139 | { | ||
1140 | return (EReference)smtSymbolicValueEClass.getEStructuralFeatures().get(0); | ||
1141 | } | ||
1142 | |||
1143 | /** | ||
1144 | * <!-- begin-user-doc --> | ||
1145 | * <!-- end-user-doc --> | ||
1146 | * @generated | ||
1147 | */ | ||
1148 | public EReference getSMTSymbolicValue_ParameterSubstitutions() | ||
1149 | { | ||
1150 | return (EReference)smtSymbolicValueEClass.getEStructuralFeatures().get(1); | ||
1151 | } | ||
1152 | |||
1153 | /** | ||
1154 | * <!-- begin-user-doc --> | ||
1155 | * <!-- end-user-doc --> | ||
1156 | * @generated | ||
1157 | */ | ||
1158 | public EClass getSMTAtomicTerm() | ||
1159 | { | ||
1160 | return smtAtomicTermEClass; | ||
1161 | } | ||
1162 | |||
1163 | /** | ||
1164 | * <!-- begin-user-doc --> | ||
1165 | * <!-- end-user-doc --> | ||
1166 | * @generated | ||
1167 | */ | ||
1168 | public EClass getSMTIntLiteral() | ||
1169 | { | ||
1170 | return smtIntLiteralEClass; | ||
1171 | } | ||
1172 | |||
1173 | /** | ||
1174 | * <!-- begin-user-doc --> | ||
1175 | * <!-- end-user-doc --> | ||
1176 | * @generated | ||
1177 | */ | ||
1178 | public EAttribute getSMTIntLiteral_Value() | ||
1179 | { | ||
1180 | return (EAttribute)smtIntLiteralEClass.getEStructuralFeatures().get(0); | ||
1181 | } | ||
1182 | |||
1183 | /** | ||
1184 | * <!-- begin-user-doc --> | ||
1185 | * <!-- end-user-doc --> | ||
1186 | * @generated | ||
1187 | */ | ||
1188 | public EClass getSMTBoolLiteral() | ||
1189 | { | ||
1190 | return smtBoolLiteralEClass; | ||
1191 | } | ||
1192 | |||
1193 | /** | ||
1194 | * <!-- begin-user-doc --> | ||
1195 | * <!-- end-user-doc --> | ||
1196 | * @generated | ||
1197 | */ | ||
1198 | public EAttribute getSMTBoolLiteral_Value() | ||
1199 | { | ||
1200 | return (EAttribute)smtBoolLiteralEClass.getEStructuralFeatures().get(0); | ||
1201 | } | ||
1202 | |||
1203 | /** | ||
1204 | * <!-- begin-user-doc --> | ||
1205 | * <!-- end-user-doc --> | ||
1206 | * @generated | ||
1207 | */ | ||
1208 | public EClass getSMTRealLiteral() | ||
1209 | { | ||
1210 | return smtRealLiteralEClass; | ||
1211 | } | ||
1212 | |||
1213 | /** | ||
1214 | * <!-- begin-user-doc --> | ||
1215 | * <!-- end-user-doc --> | ||
1216 | * @generated | ||
1217 | */ | ||
1218 | public EAttribute getSMTRealLiteral_Value() | ||
1219 | { | ||
1220 | return (EAttribute)smtRealLiteralEClass.getEStructuralFeatures().get(0); | ||
1221 | } | ||
1222 | |||
1223 | /** | ||
1224 | * <!-- begin-user-doc --> | ||
1225 | * <!-- end-user-doc --> | ||
1226 | * @generated | ||
1227 | */ | ||
1228 | public EClass getSMTSortedVariable() | ||
1229 | { | ||
1230 | return smtSortedVariableEClass; | ||
1231 | } | ||
1232 | |||
1233 | /** | ||
1234 | * <!-- begin-user-doc --> | ||
1235 | * <!-- end-user-doc --> | ||
1236 | * @generated | ||
1237 | */ | ||
1238 | public EReference getSMTSortedVariable_Range() | ||
1239 | { | ||
1240 | return (EReference)smtSortedVariableEClass.getEStructuralFeatures().get(0); | ||
1241 | } | ||
1242 | |||
1243 | /** | ||
1244 | * <!-- begin-user-doc --> | ||
1245 | * <!-- end-user-doc --> | ||
1246 | * @generated | ||
1247 | */ | ||
1248 | public EClass getSMTQuantifiedExpression() | ||
1249 | { | ||
1250 | return smtQuantifiedExpressionEClass; | ||
1251 | } | ||
1252 | |||
1253 | /** | ||
1254 | * <!-- begin-user-doc --> | ||
1255 | * <!-- end-user-doc --> | ||
1256 | * @generated | ||
1257 | */ | ||
1258 | public EReference getSMTQuantifiedExpression_QuantifiedVariables() | ||
1259 | { | ||
1260 | return (EReference)smtQuantifiedExpressionEClass.getEStructuralFeatures().get(0); | ||
1261 | } | ||
1262 | |||
1263 | /** | ||
1264 | * <!-- begin-user-doc --> | ||
1265 | * <!-- end-user-doc --> | ||
1266 | * @generated | ||
1267 | */ | ||
1268 | public EReference getSMTQuantifiedExpression_Expression() | ||
1269 | { | ||
1270 | return (EReference)smtQuantifiedExpressionEClass.getEStructuralFeatures().get(1); | ||
1271 | } | ||
1272 | |||
1273 | /** | ||
1274 | * <!-- begin-user-doc --> | ||
1275 | * <!-- end-user-doc --> | ||
1276 | * @generated | ||
1277 | */ | ||
1278 | public EReference getSMTQuantifiedExpression_Pattern() | ||
1279 | { | ||
1280 | return (EReference)smtQuantifiedExpressionEClass.getEStructuralFeatures().get(2); | ||
1281 | } | ||
1282 | |||
1283 | /** | ||
1284 | * <!-- begin-user-doc --> | ||
1285 | * <!-- end-user-doc --> | ||
1286 | * @generated | ||
1287 | */ | ||
1288 | public EClass getSMTExists() | ||
1289 | { | ||
1290 | return smtExistsEClass; | ||
1291 | } | ||
1292 | |||
1293 | /** | ||
1294 | * <!-- begin-user-doc --> | ||
1295 | * <!-- end-user-doc --> | ||
1296 | * @generated | ||
1297 | */ | ||
1298 | public EClass getSMTForall() | ||
1299 | { | ||
1300 | return smtForallEClass; | ||
1301 | } | ||
1302 | |||
1303 | /** | ||
1304 | * <!-- begin-user-doc --> | ||
1305 | * <!-- end-user-doc --> | ||
1306 | * @generated | ||
1307 | */ | ||
1308 | public EClass getSMTBoolOperation() | ||
1309 | { | ||
1310 | return smtBoolOperationEClass; | ||
1311 | } | ||
1312 | |||
1313 | /** | ||
1314 | * <!-- begin-user-doc --> | ||
1315 | * <!-- end-user-doc --> | ||
1316 | * @generated | ||
1317 | */ | ||
1318 | public EClass getSMTAnd() | ||
1319 | { | ||
1320 | return smtAndEClass; | ||
1321 | } | ||
1322 | |||
1323 | /** | ||
1324 | * <!-- begin-user-doc --> | ||
1325 | * <!-- end-user-doc --> | ||
1326 | * @generated | ||
1327 | */ | ||
1328 | public EReference getSMTAnd_Operands() | ||
1329 | { | ||
1330 | return (EReference)smtAndEClass.getEStructuralFeatures().get(0); | ||
1331 | } | ||
1332 | |||
1333 | /** | ||
1334 | * <!-- begin-user-doc --> | ||
1335 | * <!-- end-user-doc --> | ||
1336 | * @generated | ||
1337 | */ | ||
1338 | public EClass getSMTOr() | ||
1339 | { | ||
1340 | return smtOrEClass; | ||
1341 | } | ||
1342 | |||
1343 | /** | ||
1344 | * <!-- begin-user-doc --> | ||
1345 | * <!-- end-user-doc --> | ||
1346 | * @generated | ||
1347 | */ | ||
1348 | public EReference getSMTOr_Operands() | ||
1349 | { | ||
1350 | return (EReference)smtOrEClass.getEStructuralFeatures().get(0); | ||
1351 | } | ||
1352 | |||
1353 | /** | ||
1354 | * <!-- begin-user-doc --> | ||
1355 | * <!-- end-user-doc --> | ||
1356 | * @generated | ||
1357 | */ | ||
1358 | public EClass getSMTImpl() | ||
1359 | { | ||
1360 | return smtImplEClass; | ||
1361 | } | ||
1362 | |||
1363 | /** | ||
1364 | * <!-- begin-user-doc --> | ||
1365 | * <!-- end-user-doc --> | ||
1366 | * @generated | ||
1367 | */ | ||
1368 | public EReference getSMTImpl_LeftOperand() | ||
1369 | { | ||
1370 | return (EReference)smtImplEClass.getEStructuralFeatures().get(0); | ||
1371 | } | ||
1372 | |||
1373 | /** | ||
1374 | * <!-- begin-user-doc --> | ||
1375 | * <!-- end-user-doc --> | ||
1376 | * @generated | ||
1377 | */ | ||
1378 | public EReference getSMTImpl_RightOperand() | ||
1379 | { | ||
1380 | return (EReference)smtImplEClass.getEStructuralFeatures().get(1); | ||
1381 | } | ||
1382 | |||
1383 | /** | ||
1384 | * <!-- begin-user-doc --> | ||
1385 | * <!-- end-user-doc --> | ||
1386 | * @generated | ||
1387 | */ | ||
1388 | public EClass getSMTNot() | ||
1389 | { | ||
1390 | return smtNotEClass; | ||
1391 | } | ||
1392 | |||
1393 | /** | ||
1394 | * <!-- begin-user-doc --> | ||
1395 | * <!-- end-user-doc --> | ||
1396 | * @generated | ||
1397 | */ | ||
1398 | public EReference getSMTNot_Operand() | ||
1399 | { | ||
1400 | return (EReference)smtNotEClass.getEStructuralFeatures().get(0); | ||
1401 | } | ||
1402 | |||
1403 | /** | ||
1404 | * <!-- begin-user-doc --> | ||
1405 | * <!-- end-user-doc --> | ||
1406 | * @generated | ||
1407 | */ | ||
1408 | public EClass getSMTIff() | ||
1409 | { | ||
1410 | return smtIffEClass; | ||
1411 | } | ||
1412 | |||
1413 | /** | ||
1414 | * <!-- begin-user-doc --> | ||
1415 | * <!-- end-user-doc --> | ||
1416 | * @generated | ||
1417 | */ | ||
1418 | public EReference getSMTIff_LeftOperand() | ||
1419 | { | ||
1420 | return (EReference)smtIffEClass.getEStructuralFeatures().get(0); | ||
1421 | } | ||
1422 | |||
1423 | /** | ||
1424 | * <!-- begin-user-doc --> | ||
1425 | * <!-- end-user-doc --> | ||
1426 | * @generated | ||
1427 | */ | ||
1428 | public EReference getSMTIff_RightOperand() | ||
1429 | { | ||
1430 | return (EReference)smtIffEClass.getEStructuralFeatures().get(1); | ||
1431 | } | ||
1432 | |||
1433 | /** | ||
1434 | * <!-- begin-user-doc --> | ||
1435 | * <!-- end-user-doc --> | ||
1436 | * @generated | ||
1437 | */ | ||
1438 | public EClass getSMTITE() | ||
1439 | { | ||
1440 | return smtiteEClass; | ||
1441 | } | ||
1442 | |||
1443 | /** | ||
1444 | * <!-- begin-user-doc --> | ||
1445 | * <!-- end-user-doc --> | ||
1446 | * @generated | ||
1447 | */ | ||
1448 | public EReference getSMTITE_Condition() | ||
1449 | { | ||
1450 | return (EReference)smtiteEClass.getEStructuralFeatures().get(0); | ||
1451 | } | ||
1452 | |||
1453 | /** | ||
1454 | * <!-- begin-user-doc --> | ||
1455 | * <!-- end-user-doc --> | ||
1456 | * @generated | ||
1457 | */ | ||
1458 | public EReference getSMTITE_If() | ||
1459 | { | ||
1460 | return (EReference)smtiteEClass.getEStructuralFeatures().get(1); | ||
1461 | } | ||
1462 | |||
1463 | /** | ||
1464 | * <!-- begin-user-doc --> | ||
1465 | * <!-- end-user-doc --> | ||
1466 | * @generated | ||
1467 | */ | ||
1468 | public EReference getSMTITE_Else() | ||
1469 | { | ||
1470 | return (EReference)smtiteEClass.getEStructuralFeatures().get(2); | ||
1471 | } | ||
1472 | |||
1473 | /** | ||
1474 | * <!-- begin-user-doc --> | ||
1475 | * <!-- end-user-doc --> | ||
1476 | * @generated | ||
1477 | */ | ||
1478 | public EClass getSMTLet() | ||
1479 | { | ||
1480 | return smtLetEClass; | ||
1481 | } | ||
1482 | |||
1483 | /** | ||
1484 | * <!-- begin-user-doc --> | ||
1485 | * <!-- end-user-doc --> | ||
1486 | * @generated | ||
1487 | */ | ||
1488 | public EReference getSMTLet_InlineConstantDefinitions() | ||
1489 | { | ||
1490 | return (EReference)smtLetEClass.getEStructuralFeatures().get(0); | ||
1491 | } | ||
1492 | |||
1493 | /** | ||
1494 | * <!-- begin-user-doc --> | ||
1495 | * <!-- end-user-doc --> | ||
1496 | * @generated | ||
1497 | */ | ||
1498 | public EReference getSMTLet_Term() | ||
1499 | { | ||
1500 | return (EReference)smtLetEClass.getEStructuralFeatures().get(1); | ||
1501 | } | ||
1502 | |||
1503 | /** | ||
1504 | * <!-- begin-user-doc --> | ||
1505 | * <!-- end-user-doc --> | ||
1506 | * @generated | ||
1507 | */ | ||
1508 | public EClass getSMTInlineConstantDefinition() | ||
1509 | { | ||
1510 | return smtInlineConstantDefinitionEClass; | ||
1511 | } | ||
1512 | |||
1513 | /** | ||
1514 | * <!-- begin-user-doc --> | ||
1515 | * <!-- end-user-doc --> | ||
1516 | * @generated | ||
1517 | */ | ||
1518 | public EReference getSMTInlineConstantDefinition_Definition() | ||
1519 | { | ||
1520 | return (EReference)smtInlineConstantDefinitionEClass.getEStructuralFeatures().get(0); | ||
1521 | } | ||
1522 | |||
1523 | /** | ||
1524 | * <!-- begin-user-doc --> | ||
1525 | * <!-- end-user-doc --> | ||
1526 | * @generated | ||
1527 | */ | ||
1528 | public EClass getSMTRelation() | ||
1529 | { | ||
1530 | return smtRelationEClass; | ||
1531 | } | ||
1532 | |||
1533 | /** | ||
1534 | * <!-- begin-user-doc --> | ||
1535 | * <!-- end-user-doc --> | ||
1536 | * @generated | ||
1537 | */ | ||
1538 | public EClass getSMTEquals() | ||
1539 | { | ||
1540 | return smtEqualsEClass; | ||
1541 | } | ||
1542 | |||
1543 | /** | ||
1544 | * <!-- begin-user-doc --> | ||
1545 | * <!-- end-user-doc --> | ||
1546 | * @generated | ||
1547 | */ | ||
1548 | public EReference getSMTEquals_LeftOperand() | ||
1549 | { | ||
1550 | return (EReference)smtEqualsEClass.getEStructuralFeatures().get(0); | ||
1551 | } | ||
1552 | |||
1553 | /** | ||
1554 | * <!-- begin-user-doc --> | ||
1555 | * <!-- end-user-doc --> | ||
1556 | * @generated | ||
1557 | */ | ||
1558 | public EReference getSMTEquals_RightOperand() | ||
1559 | { | ||
1560 | return (EReference)smtEqualsEClass.getEStructuralFeatures().get(1); | ||
1561 | } | ||
1562 | |||
1563 | /** | ||
1564 | * <!-- begin-user-doc --> | ||
1565 | * <!-- end-user-doc --> | ||
1566 | * @generated | ||
1567 | */ | ||
1568 | public EClass getSMTDistinct() | ||
1569 | { | ||
1570 | return smtDistinctEClass; | ||
1571 | } | ||
1572 | |||
1573 | /** | ||
1574 | * <!-- begin-user-doc --> | ||
1575 | * <!-- end-user-doc --> | ||
1576 | * @generated | ||
1577 | */ | ||
1578 | public EReference getSMTDistinct_Operands() | ||
1579 | { | ||
1580 | return (EReference)smtDistinctEClass.getEStructuralFeatures().get(0); | ||
1581 | } | ||
1582 | |||
1583 | /** | ||
1584 | * <!-- begin-user-doc --> | ||
1585 | * <!-- end-user-doc --> | ||
1586 | * @generated | ||
1587 | */ | ||
1588 | public EClass getSMTLT() | ||
1589 | { | ||
1590 | return smtltEClass; | ||
1591 | } | ||
1592 | |||
1593 | /** | ||
1594 | * <!-- begin-user-doc --> | ||
1595 | * <!-- end-user-doc --> | ||
1596 | * @generated | ||
1597 | */ | ||
1598 | public EReference getSMTLT_LeftOperand() | ||
1599 | { | ||
1600 | return (EReference)smtltEClass.getEStructuralFeatures().get(0); | ||
1601 | } | ||
1602 | |||
1603 | /** | ||
1604 | * <!-- begin-user-doc --> | ||
1605 | * <!-- end-user-doc --> | ||
1606 | * @generated | ||
1607 | */ | ||
1608 | public EReference getSMTLT_RightOperand() | ||
1609 | { | ||
1610 | return (EReference)smtltEClass.getEStructuralFeatures().get(1); | ||
1611 | } | ||
1612 | |||
1613 | /** | ||
1614 | * <!-- begin-user-doc --> | ||
1615 | * <!-- end-user-doc --> | ||
1616 | * @generated | ||
1617 | */ | ||
1618 | public EClass getSMTMT() | ||
1619 | { | ||
1620 | return smtmtEClass; | ||
1621 | } | ||
1622 | |||
1623 | /** | ||
1624 | * <!-- begin-user-doc --> | ||
1625 | * <!-- end-user-doc --> | ||
1626 | * @generated | ||
1627 | */ | ||
1628 | public EReference getSMTMT_LeftOperand() | ||
1629 | { | ||
1630 | return (EReference)smtmtEClass.getEStructuralFeatures().get(0); | ||
1631 | } | ||
1632 | |||
1633 | /** | ||
1634 | * <!-- begin-user-doc --> | ||
1635 | * <!-- end-user-doc --> | ||
1636 | * @generated | ||
1637 | */ | ||
1638 | public EReference getSMTMT_RightOperand() | ||
1639 | { | ||
1640 | return (EReference)smtmtEClass.getEStructuralFeatures().get(1); | ||
1641 | } | ||
1642 | |||
1643 | /** | ||
1644 | * <!-- begin-user-doc --> | ||
1645 | * <!-- end-user-doc --> | ||
1646 | * @generated | ||
1647 | */ | ||
1648 | public EClass getSMTLEQ() | ||
1649 | { | ||
1650 | return smtleqEClass; | ||
1651 | } | ||
1652 | |||
1653 | /** | ||
1654 | * <!-- begin-user-doc --> | ||
1655 | * <!-- end-user-doc --> | ||
1656 | * @generated | ||
1657 | */ | ||
1658 | public EReference getSMTLEQ_LeftOperand() | ||
1659 | { | ||
1660 | return (EReference)smtleqEClass.getEStructuralFeatures().get(0); | ||
1661 | } | ||
1662 | |||
1663 | /** | ||
1664 | * <!-- begin-user-doc --> | ||
1665 | * <!-- end-user-doc --> | ||
1666 | * @generated | ||
1667 | */ | ||
1668 | public EReference getSMTLEQ_RightOperand() | ||
1669 | { | ||
1670 | return (EReference)smtleqEClass.getEStructuralFeatures().get(1); | ||
1671 | } | ||
1672 | |||
1673 | /** | ||
1674 | * <!-- begin-user-doc --> | ||
1675 | * <!-- end-user-doc --> | ||
1676 | * @generated | ||
1677 | */ | ||
1678 | public EClass getSMTMEQ() | ||
1679 | { | ||
1680 | return smtmeqEClass; | ||
1681 | } | ||
1682 | |||
1683 | /** | ||
1684 | * <!-- begin-user-doc --> | ||
1685 | * <!-- end-user-doc --> | ||
1686 | * @generated | ||
1687 | */ | ||
1688 | public EReference getSMTMEQ_LeftOperand() | ||
1689 | { | ||
1690 | return (EReference)smtmeqEClass.getEStructuralFeatures().get(0); | ||
1691 | } | ||
1692 | |||
1693 | /** | ||
1694 | * <!-- begin-user-doc --> | ||
1695 | * <!-- end-user-doc --> | ||
1696 | * @generated | ||
1697 | */ | ||
1698 | public EReference getSMTMEQ_RightOperand() | ||
1699 | { | ||
1700 | return (EReference)smtmeqEClass.getEStructuralFeatures().get(1); | ||
1701 | } | ||
1702 | |||
1703 | /** | ||
1704 | * <!-- begin-user-doc --> | ||
1705 | * <!-- end-user-doc --> | ||
1706 | * @generated | ||
1707 | */ | ||
1708 | public EClass getSMTIntOperation() | ||
1709 | { | ||
1710 | return smtIntOperationEClass; | ||
1711 | } | ||
1712 | |||
1713 | /** | ||
1714 | * <!-- begin-user-doc --> | ||
1715 | * <!-- end-user-doc --> | ||
1716 | * @generated | ||
1717 | */ | ||
1718 | public EReference getSMTIntOperation_LeftOperand() | ||
1719 | { | ||
1720 | return (EReference)smtIntOperationEClass.getEStructuralFeatures().get(0); | ||
1721 | } | ||
1722 | |||
1723 | /** | ||
1724 | * <!-- begin-user-doc --> | ||
1725 | * <!-- end-user-doc --> | ||
1726 | * @generated | ||
1727 | */ | ||
1728 | public EReference getSMTIntOperation_RightOperand() | ||
1729 | { | ||
1730 | return (EReference)smtIntOperationEClass.getEStructuralFeatures().get(1); | ||
1731 | } | ||
1732 | |||
1733 | /** | ||
1734 | * <!-- begin-user-doc --> | ||
1735 | * <!-- end-user-doc --> | ||
1736 | * @generated | ||
1737 | */ | ||
1738 | public EClass getSMTPlus() | ||
1739 | { | ||
1740 | return smtPlusEClass; | ||
1741 | } | ||
1742 | |||
1743 | /** | ||
1744 | * <!-- begin-user-doc --> | ||
1745 | * <!-- end-user-doc --> | ||
1746 | * @generated | ||
1747 | */ | ||
1748 | public EClass getSMTMinus() | ||
1749 | { | ||
1750 | return smtMinusEClass; | ||
1751 | } | ||
1752 | |||
1753 | /** | ||
1754 | * <!-- begin-user-doc --> | ||
1755 | * <!-- end-user-doc --> | ||
1756 | * @generated | ||
1757 | */ | ||
1758 | public EClass getSMTMultiply() | ||
1759 | { | ||
1760 | return smtMultiplyEClass; | ||
1761 | } | ||
1762 | |||
1763 | /** | ||
1764 | * <!-- begin-user-doc --> | ||
1765 | * <!-- end-user-doc --> | ||
1766 | * @generated | ||
1767 | */ | ||
1768 | public EClass getSMTDivison() | ||
1769 | { | ||
1770 | return smtDivisonEClass; | ||
1771 | } | ||
1772 | |||
1773 | /** | ||
1774 | * <!-- begin-user-doc --> | ||
1775 | * <!-- end-user-doc --> | ||
1776 | * @generated | ||
1777 | */ | ||
1778 | public EClass getSMTDiv() | ||
1779 | { | ||
1780 | return smtDivEClass; | ||
1781 | } | ||
1782 | |||
1783 | /** | ||
1784 | * <!-- begin-user-doc --> | ||
1785 | * <!-- end-user-doc --> | ||
1786 | * @generated | ||
1787 | */ | ||
1788 | public EClass getSMTMod() | ||
1789 | { | ||
1790 | return smtModEClass; | ||
1791 | } | ||
1792 | |||
1793 | /** | ||
1794 | * <!-- begin-user-doc --> | ||
1795 | * <!-- end-user-doc --> | ||
1796 | * @generated | ||
1797 | */ | ||
1798 | public EClass getSMTAssertion() | ||
1799 | { | ||
1800 | return smtAssertionEClass; | ||
1801 | } | ||
1802 | |||
1803 | /** | ||
1804 | * <!-- begin-user-doc --> | ||
1805 | * <!-- end-user-doc --> | ||
1806 | * @generated | ||
1807 | */ | ||
1808 | public EReference getSMTAssertion_Value() | ||
1809 | { | ||
1810 | return (EReference)smtAssertionEClass.getEStructuralFeatures().get(0); | ||
1811 | } | ||
1812 | |||
1813 | /** | ||
1814 | * <!-- begin-user-doc --> | ||
1815 | * <!-- end-user-doc --> | ||
1816 | * @generated | ||
1817 | */ | ||
1818 | public EClass getSMTCardinalityConstraint() | ||
1819 | { | ||
1820 | return smtCardinalityConstraintEClass; | ||
1821 | } | ||
1822 | |||
1823 | /** | ||
1824 | * <!-- begin-user-doc --> | ||
1825 | * <!-- end-user-doc --> | ||
1826 | * @generated | ||
1827 | */ | ||
1828 | public EReference getSMTCardinalityConstraint_Type() | ||
1829 | { | ||
1830 | return (EReference)smtCardinalityConstraintEClass.getEStructuralFeatures().get(0); | ||
1831 | } | ||
1832 | |||
1833 | /** | ||
1834 | * <!-- begin-user-doc --> | ||
1835 | * <!-- end-user-doc --> | ||
1836 | * @generated | ||
1837 | */ | ||
1838 | public EReference getSMTCardinalityConstraint_Elements() | ||
1839 | { | ||
1840 | return (EReference)smtCardinalityConstraintEClass.getEStructuralFeatures().get(1); | ||
1841 | } | ||
1842 | |||
1843 | /** | ||
1844 | * <!-- begin-user-doc --> | ||
1845 | * <!-- end-user-doc --> | ||
1846 | * @generated | ||
1847 | */ | ||
1848 | public EClass getSMTSatCommand() | ||
1849 | { | ||
1850 | return smtSatCommandEClass; | ||
1851 | } | ||
1852 | |||
1853 | /** | ||
1854 | * <!-- begin-user-doc --> | ||
1855 | * <!-- end-user-doc --> | ||
1856 | * @generated | ||
1857 | */ | ||
1858 | public EClass getSMTSimpleSatCommand() | ||
1859 | { | ||
1860 | return smtSimpleSatCommandEClass; | ||
1861 | } | ||
1862 | |||
1863 | /** | ||
1864 | * <!-- begin-user-doc --> | ||
1865 | * <!-- end-user-doc --> | ||
1866 | * @generated | ||
1867 | */ | ||
1868 | public EClass getSMTComplexSatCommand() | ||
1869 | { | ||
1870 | return smtComplexSatCommandEClass; | ||
1871 | } | ||
1872 | |||
1873 | /** | ||
1874 | * <!-- begin-user-doc --> | ||
1875 | * <!-- end-user-doc --> | ||
1876 | * @generated | ||
1877 | */ | ||
1878 | public EReference getSMTComplexSatCommand_Method() | ||
1879 | { | ||
1880 | return (EReference)smtComplexSatCommandEClass.getEStructuralFeatures().get(0); | ||
1881 | } | ||
1882 | |||
1883 | /** | ||
1884 | * <!-- begin-user-doc --> | ||
1885 | * <!-- end-user-doc --> | ||
1886 | * @generated | ||
1887 | */ | ||
1888 | public EClass getSMTGetModelCommand() | ||
1889 | { | ||
1890 | return smtGetModelCommandEClass; | ||
1891 | } | ||
1892 | |||
1893 | /** | ||
1894 | * <!-- begin-user-doc --> | ||
1895 | * <!-- end-user-doc --> | ||
1896 | * @generated | ||
1897 | */ | ||
1898 | public EClass getSMTReasoningTactic() | ||
1899 | { | ||
1900 | return smtReasoningTacticEClass; | ||
1901 | } | ||
1902 | |||
1903 | /** | ||
1904 | * <!-- begin-user-doc --> | ||
1905 | * <!-- end-user-doc --> | ||
1906 | * @generated | ||
1907 | */ | ||
1908 | public EClass getSMTBuiltinTactic() | ||
1909 | { | ||
1910 | return smtBuiltinTacticEClass; | ||
1911 | } | ||
1912 | |||
1913 | /** | ||
1914 | * <!-- begin-user-doc --> | ||
1915 | * <!-- end-user-doc --> | ||
1916 | * @generated | ||
1917 | */ | ||
1918 | public EAttribute getSMTBuiltinTactic_Name() | ||
1919 | { | ||
1920 | return (EAttribute)smtBuiltinTacticEClass.getEStructuralFeatures().get(0); | ||
1921 | } | ||
1922 | |||
1923 | /** | ||
1924 | * <!-- begin-user-doc --> | ||
1925 | * <!-- end-user-doc --> | ||
1926 | * @generated | ||
1927 | */ | ||
1928 | public EClass getSMTReasoningCombinator() | ||
1929 | { | ||
1930 | return smtReasoningCombinatorEClass; | ||
1931 | } | ||
1932 | |||
1933 | /** | ||
1934 | * <!-- begin-user-doc --> | ||
1935 | * <!-- end-user-doc --> | ||
1936 | * @generated | ||
1937 | */ | ||
1938 | public EClass getSMTAndThenCombinator() | ||
1939 | { | ||
1940 | return smtAndThenCombinatorEClass; | ||
1941 | } | ||
1942 | |||
1943 | /** | ||
1944 | * <!-- begin-user-doc --> | ||
1945 | * <!-- end-user-doc --> | ||
1946 | * @generated | ||
1947 | */ | ||
1948 | public EReference getSMTAndThenCombinator_Tactics() | ||
1949 | { | ||
1950 | return (EReference)smtAndThenCombinatorEClass.getEStructuralFeatures().get(0); | ||
1951 | } | ||
1952 | |||
1953 | /** | ||
1954 | * <!-- begin-user-doc --> | ||
1955 | * <!-- end-user-doc --> | ||
1956 | * @generated | ||
1957 | */ | ||
1958 | public EClass getSMTOrElseCombinator() | ||
1959 | { | ||
1960 | return smtOrElseCombinatorEClass; | ||
1961 | } | ||
1962 | |||
1963 | /** | ||
1964 | * <!-- begin-user-doc --> | ||
1965 | * <!-- end-user-doc --> | ||
1966 | * @generated | ||
1967 | */ | ||
1968 | public EReference getSMTOrElseCombinator_Tactics() | ||
1969 | { | ||
1970 | return (EReference)smtOrElseCombinatorEClass.getEStructuralFeatures().get(0); | ||
1971 | } | ||
1972 | |||
1973 | /** | ||
1974 | * <!-- begin-user-doc --> | ||
1975 | * <!-- end-user-doc --> | ||
1976 | * @generated | ||
1977 | */ | ||
1978 | public EClass getSMTParOrCombinator() | ||
1979 | { | ||
1980 | return smtParOrCombinatorEClass; | ||
1981 | } | ||
1982 | |||
1983 | /** | ||
1984 | * <!-- begin-user-doc --> | ||
1985 | * <!-- end-user-doc --> | ||
1986 | * @generated | ||
1987 | */ | ||
1988 | public EReference getSMTParOrCombinator_Tactics() | ||
1989 | { | ||
1990 | return (EReference)smtParOrCombinatorEClass.getEStructuralFeatures().get(0); | ||
1991 | } | ||
1992 | |||
1993 | /** | ||
1994 | * <!-- begin-user-doc --> | ||
1995 | * <!-- end-user-doc --> | ||
1996 | * @generated | ||
1997 | */ | ||
1998 | public EClass getSMTParThenCombinator() | ||
1999 | { | ||
2000 | return smtParThenCombinatorEClass; | ||
2001 | } | ||
2002 | |||
2003 | /** | ||
2004 | * <!-- begin-user-doc --> | ||
2005 | * <!-- end-user-doc --> | ||
2006 | * @generated | ||
2007 | */ | ||
2008 | public EReference getSMTParThenCombinator_PreProcessingTactic() | ||
2009 | { | ||
2010 | return (EReference)smtParThenCombinatorEClass.getEStructuralFeatures().get(0); | ||
2011 | } | ||
2012 | |||
2013 | /** | ||
2014 | * <!-- begin-user-doc --> | ||
2015 | * <!-- end-user-doc --> | ||
2016 | * @generated | ||
2017 | */ | ||
2018 | public EReference getSMTParThenCombinator_ParalellyPostpricessingTactic() | ||
2019 | { | ||
2020 | return (EReference)smtParThenCombinatorEClass.getEStructuralFeatures().get(1); | ||
2021 | } | ||
2022 | |||
2023 | /** | ||
2024 | * <!-- begin-user-doc --> | ||
2025 | * <!-- end-user-doc --> | ||
2026 | * @generated | ||
2027 | */ | ||
2028 | public EClass getSMTTryForCombinator() | ||
2029 | { | ||
2030 | return smtTryForCombinatorEClass; | ||
2031 | } | ||
2032 | |||
2033 | /** | ||
2034 | * <!-- begin-user-doc --> | ||
2035 | * <!-- end-user-doc --> | ||
2036 | * @generated | ||
2037 | */ | ||
2038 | public EReference getSMTTryForCombinator_Tactic() | ||
2039 | { | ||
2040 | return (EReference)smtTryForCombinatorEClass.getEStructuralFeatures().get(0); | ||
2041 | } | ||
2042 | |||
2043 | /** | ||
2044 | * <!-- begin-user-doc --> | ||
2045 | * <!-- end-user-doc --> | ||
2046 | * @generated | ||
2047 | */ | ||
2048 | public EAttribute getSMTTryForCombinator_Time() | ||
2049 | { | ||
2050 | return (EAttribute)smtTryForCombinatorEClass.getEStructuralFeatures().get(1); | ||
2051 | } | ||
2052 | |||
2053 | /** | ||
2054 | * <!-- begin-user-doc --> | ||
2055 | * <!-- end-user-doc --> | ||
2056 | * @generated | ||
2057 | */ | ||
2058 | public EClass getSMTIfCombinator() | ||
2059 | { | ||
2060 | return smtIfCombinatorEClass; | ||
2061 | } | ||
2062 | |||
2063 | /** | ||
2064 | * <!-- begin-user-doc --> | ||
2065 | * <!-- end-user-doc --> | ||
2066 | * @generated | ||
2067 | */ | ||
2068 | public EReference getSMTIfCombinator_Probe() | ||
2069 | { | ||
2070 | return (EReference)smtIfCombinatorEClass.getEStructuralFeatures().get(0); | ||
2071 | } | ||
2072 | |||
2073 | /** | ||
2074 | * <!-- begin-user-doc --> | ||
2075 | * <!-- end-user-doc --> | ||
2076 | * @generated | ||
2077 | */ | ||
2078 | public EReference getSMTIfCombinator_IfTactic() | ||
2079 | { | ||
2080 | return (EReference)smtIfCombinatorEClass.getEStructuralFeatures().get(1); | ||
2081 | } | ||
2082 | |||
2083 | /** | ||
2084 | * <!-- begin-user-doc --> | ||
2085 | * <!-- end-user-doc --> | ||
2086 | * @generated | ||
2087 | */ | ||
2088 | public EReference getSMTIfCombinator_ElseTactic() | ||
2089 | { | ||
2090 | return (EReference)smtIfCombinatorEClass.getEStructuralFeatures().get(2); | ||
2091 | } | ||
2092 | |||
2093 | /** | ||
2094 | * <!-- begin-user-doc --> | ||
2095 | * <!-- end-user-doc --> | ||
2096 | * @generated | ||
2097 | */ | ||
2098 | public EClass getSMTWhenCombinator() | ||
2099 | { | ||
2100 | return smtWhenCombinatorEClass; | ||
2101 | } | ||
2102 | |||
2103 | /** | ||
2104 | * <!-- begin-user-doc --> | ||
2105 | * <!-- end-user-doc --> | ||
2106 | * @generated | ||
2107 | */ | ||
2108 | public EReference getSMTWhenCombinator_Probe() | ||
2109 | { | ||
2110 | return (EReference)smtWhenCombinatorEClass.getEStructuralFeatures().get(0); | ||
2111 | } | ||
2112 | |||
2113 | /** | ||
2114 | * <!-- begin-user-doc --> | ||
2115 | * <!-- end-user-doc --> | ||
2116 | * @generated | ||
2117 | */ | ||
2118 | public EReference getSMTWhenCombinator_Tactic() | ||
2119 | { | ||
2120 | return (EReference)smtWhenCombinatorEClass.getEStructuralFeatures().get(1); | ||
2121 | } | ||
2122 | |||
2123 | /** | ||
2124 | * <!-- begin-user-doc --> | ||
2125 | * <!-- end-user-doc --> | ||
2126 | * @generated | ||
2127 | */ | ||
2128 | public EClass getSMTFailIfCombinator() | ||
2129 | { | ||
2130 | return smtFailIfCombinatorEClass; | ||
2131 | } | ||
2132 | |||
2133 | /** | ||
2134 | * <!-- begin-user-doc --> | ||
2135 | * <!-- end-user-doc --> | ||
2136 | * @generated | ||
2137 | */ | ||
2138 | public EReference getSMTFailIfCombinator_Probe() | ||
2139 | { | ||
2140 | return (EReference)smtFailIfCombinatorEClass.getEStructuralFeatures().get(0); | ||
2141 | } | ||
2142 | |||
2143 | /** | ||
2144 | * <!-- begin-user-doc --> | ||
2145 | * <!-- end-user-doc --> | ||
2146 | * @generated | ||
2147 | */ | ||
2148 | public EClass getSMTUsingParamCombinator() | ||
2149 | { | ||
2150 | return smtUsingParamCombinatorEClass; | ||
2151 | } | ||
2152 | |||
2153 | /** | ||
2154 | * <!-- begin-user-doc --> | ||
2155 | * <!-- end-user-doc --> | ||
2156 | * @generated | ||
2157 | */ | ||
2158 | public EReference getSMTUsingParamCombinator_Tactic() | ||
2159 | { | ||
2160 | return (EReference)smtUsingParamCombinatorEClass.getEStructuralFeatures().get(0); | ||
2161 | } | ||
2162 | |||
2163 | /** | ||
2164 | * <!-- begin-user-doc --> | ||
2165 | * <!-- end-user-doc --> | ||
2166 | * @generated | ||
2167 | */ | ||
2168 | public EReference getSMTUsingParamCombinator_Parameters() | ||
2169 | { | ||
2170 | return (EReference)smtUsingParamCombinatorEClass.getEStructuralFeatures().get(1); | ||
2171 | } | ||
2172 | |||
2173 | /** | ||
2174 | * <!-- begin-user-doc --> | ||
2175 | * <!-- end-user-doc --> | ||
2176 | * @generated | ||
2177 | */ | ||
2178 | public EClass getReasoningProbe() | ||
2179 | { | ||
2180 | return reasoningProbeEClass; | ||
2181 | } | ||
2182 | |||
2183 | /** | ||
2184 | * <!-- begin-user-doc --> | ||
2185 | * <!-- end-user-doc --> | ||
2186 | * @generated | ||
2187 | */ | ||
2188 | public EAttribute getReasoningProbe_Name() | ||
2189 | { | ||
2190 | return (EAttribute)reasoningProbeEClass.getEStructuralFeatures().get(0); | ||
2191 | } | ||
2192 | |||
2193 | /** | ||
2194 | * <!-- begin-user-doc --> | ||
2195 | * <!-- end-user-doc --> | ||
2196 | * @generated | ||
2197 | */ | ||
2198 | public EClass getReasoningTacticParameter() | ||
2199 | { | ||
2200 | return reasoningTacticParameterEClass; | ||
2201 | } | ||
2202 | |||
2203 | /** | ||
2204 | * <!-- begin-user-doc --> | ||
2205 | * <!-- end-user-doc --> | ||
2206 | * @generated | ||
2207 | */ | ||
2208 | public EAttribute getReasoningTacticParameter_Name() | ||
2209 | { | ||
2210 | return (EAttribute)reasoningTacticParameterEClass.getEStructuralFeatures().get(0); | ||
2211 | } | ||
2212 | |||
2213 | /** | ||
2214 | * <!-- begin-user-doc --> | ||
2215 | * <!-- end-user-doc --> | ||
2216 | * @generated | ||
2217 | */ | ||
2218 | public EReference getReasoningTacticParameter_Value() | ||
2219 | { | ||
2220 | return (EReference)reasoningTacticParameterEClass.getEStructuralFeatures().get(1); | ||
2221 | } | ||
2222 | |||
2223 | /** | ||
2224 | * <!-- begin-user-doc --> | ||
2225 | * <!-- end-user-doc --> | ||
2226 | * @generated | ||
2227 | */ | ||
2228 | public EClass getSMTResult() | ||
2229 | { | ||
2230 | return smtResultEClass; | ||
2231 | } | ||
2232 | |||
2233 | /** | ||
2234 | * <!-- begin-user-doc --> | ||
2235 | * <!-- end-user-doc --> | ||
2236 | * @generated | ||
2237 | */ | ||
2238 | public EClass getSMTErrorResult() | ||
2239 | { | ||
2240 | return smtErrorResultEClass; | ||
2241 | } | ||
2242 | |||
2243 | /** | ||
2244 | * <!-- begin-user-doc --> | ||
2245 | * <!-- end-user-doc --> | ||
2246 | * @generated | ||
2247 | */ | ||
2248 | public EAttribute getSMTErrorResult_Message() | ||
2249 | { | ||
2250 | return (EAttribute)smtErrorResultEClass.getEStructuralFeatures().get(0); | ||
2251 | } | ||
2252 | |||
2253 | /** | ||
2254 | * <!-- begin-user-doc --> | ||
2255 | * <!-- end-user-doc --> | ||
2256 | * @generated | ||
2257 | */ | ||
2258 | public EClass getSMTUnsupportedResult() | ||
2259 | { | ||
2260 | return smtUnsupportedResultEClass; | ||
2261 | } | ||
2262 | |||
2263 | /** | ||
2264 | * <!-- begin-user-doc --> | ||
2265 | * <!-- end-user-doc --> | ||
2266 | * @generated | ||
2267 | */ | ||
2268 | public EAttribute getSMTUnsupportedResult_Command() | ||
2269 | { | ||
2270 | return (EAttribute)smtUnsupportedResultEClass.getEStructuralFeatures().get(0); | ||
2271 | } | ||
2272 | |||
2273 | /** | ||
2274 | * <!-- begin-user-doc --> | ||
2275 | * <!-- end-user-doc --> | ||
2276 | * @generated | ||
2277 | */ | ||
2278 | public EClass getSMTSatResult() | ||
2279 | { | ||
2280 | return smtSatResultEClass; | ||
2281 | } | ||
2282 | |||
2283 | /** | ||
2284 | * <!-- begin-user-doc --> | ||
2285 | * <!-- end-user-doc --> | ||
2286 | * @generated | ||
2287 | */ | ||
2288 | public EAttribute getSMTSatResult_Sat() | ||
2289 | { | ||
2290 | return (EAttribute)smtSatResultEClass.getEStructuralFeatures().get(0); | ||
2291 | } | ||
2292 | |||
2293 | /** | ||
2294 | * <!-- begin-user-doc --> | ||
2295 | * <!-- end-user-doc --> | ||
2296 | * @generated | ||
2297 | */ | ||
2298 | public EAttribute getSMTSatResult_Unsat() | ||
2299 | { | ||
2300 | return (EAttribute)smtSatResultEClass.getEStructuralFeatures().get(1); | ||
2301 | } | ||
2302 | |||
2303 | /** | ||
2304 | * <!-- begin-user-doc --> | ||
2305 | * <!-- end-user-doc --> | ||
2306 | * @generated | ||
2307 | */ | ||
2308 | public EAttribute getSMTSatResult_Unknown() | ||
2309 | { | ||
2310 | return (EAttribute)smtSatResultEClass.getEStructuralFeatures().get(2); | ||
2311 | } | ||
2312 | |||
2313 | /** | ||
2314 | * <!-- begin-user-doc --> | ||
2315 | * <!-- end-user-doc --> | ||
2316 | * @generated | ||
2317 | */ | ||
2318 | public EClass getSMTModelResult() | ||
2319 | { | ||
2320 | return smtModelResultEClass; | ||
2321 | } | ||
2322 | |||
2323 | /** | ||
2324 | * <!-- begin-user-doc --> | ||
2325 | * <!-- end-user-doc --> | ||
2326 | * @generated | ||
2327 | */ | ||
2328 | public EReference getSMTModelResult_NewFunctionDeclarations() | ||
2329 | { | ||
2330 | return (EReference)smtModelResultEClass.getEStructuralFeatures().get(0); | ||
2331 | } | ||
2332 | |||
2333 | /** | ||
2334 | * <!-- begin-user-doc --> | ||
2335 | * <!-- end-user-doc --> | ||
2336 | * @generated | ||
2337 | */ | ||
2338 | public EReference getSMTModelResult_TypeDefinitions() | ||
2339 | { | ||
2340 | return (EReference)smtModelResultEClass.getEStructuralFeatures().get(1); | ||
2341 | } | ||
2342 | |||
2343 | /** | ||
2344 | * <!-- begin-user-doc --> | ||
2345 | * <!-- end-user-doc --> | ||
2346 | * @generated | ||
2347 | */ | ||
2348 | public EReference getSMTModelResult_NewFunctionDefinitions() | ||
2349 | { | ||
2350 | return (EReference)smtModelResultEClass.getEStructuralFeatures().get(2); | ||
2351 | } | ||
2352 | |||
2353 | /** | ||
2354 | * <!-- begin-user-doc --> | ||
2355 | * <!-- end-user-doc --> | ||
2356 | * @generated | ||
2357 | */ | ||
2358 | public EClass getSMTStatisticValue() | ||
2359 | { | ||
2360 | return smtStatisticValueEClass; | ||
2361 | } | ||
2362 | |||
2363 | /** | ||
2364 | * <!-- begin-user-doc --> | ||
2365 | * <!-- end-user-doc --> | ||
2366 | * @generated | ||
2367 | */ | ||
2368 | public EAttribute getSMTStatisticValue_Name() | ||
2369 | { | ||
2370 | return (EAttribute)smtStatisticValueEClass.getEStructuralFeatures().get(0); | ||
2371 | } | ||
2372 | |||
2373 | /** | ||
2374 | * <!-- begin-user-doc --> | ||
2375 | * <!-- end-user-doc --> | ||
2376 | * @generated | ||
2377 | */ | ||
2378 | public EClass getSMTStatisticIntValue() | ||
2379 | { | ||
2380 | return smtStatisticIntValueEClass; | ||
2381 | } | ||
2382 | |||
2383 | /** | ||
2384 | * <!-- begin-user-doc --> | ||
2385 | * <!-- end-user-doc --> | ||
2386 | * @generated | ||
2387 | */ | ||
2388 | public EAttribute getSMTStatisticIntValue_Value() | ||
2389 | { | ||
2390 | return (EAttribute)smtStatisticIntValueEClass.getEStructuralFeatures().get(0); | ||
2391 | } | ||
2392 | |||
2393 | /** | ||
2394 | * <!-- begin-user-doc --> | ||
2395 | * <!-- end-user-doc --> | ||
2396 | * @generated | ||
2397 | */ | ||
2398 | public EClass getSMTStatisticDoubleValue() | ||
2399 | { | ||
2400 | return smtStatisticDoubleValueEClass; | ||
2401 | } | ||
2402 | |||
2403 | /** | ||
2404 | * <!-- begin-user-doc --> | ||
2405 | * <!-- end-user-doc --> | ||
2406 | * @generated | ||
2407 | */ | ||
2408 | public EAttribute getSMTStatisticDoubleValue_Value() | ||
2409 | { | ||
2410 | return (EAttribute)smtStatisticDoubleValueEClass.getEStructuralFeatures().get(0); | ||
2411 | } | ||
2412 | |||
2413 | /** | ||
2414 | * <!-- begin-user-doc --> | ||
2415 | * <!-- end-user-doc --> | ||
2416 | * @generated | ||
2417 | */ | ||
2418 | public EClass getSMTStatisticsSection() | ||
2419 | { | ||
2420 | return smtStatisticsSectionEClass; | ||
2421 | } | ||
2422 | |||
2423 | /** | ||
2424 | * <!-- begin-user-doc --> | ||
2425 | * <!-- end-user-doc --> | ||
2426 | * @generated | ||
2427 | */ | ||
2428 | public EReference getSMTStatisticsSection_Values() | ||
2429 | { | ||
2430 | return (EReference)smtStatisticsSectionEClass.getEStructuralFeatures().get(0); | ||
2431 | } | ||
2432 | |||
2433 | /** | ||
2434 | * <!-- begin-user-doc --> | ||
2435 | * <!-- end-user-doc --> | ||
2436 | * @generated | ||
2437 | */ | ||
2438 | public SmtLanguageFactory getSmtLanguageFactory() | ||
2439 | { | ||
2440 | return (SmtLanguageFactory)getEFactoryInstance(); | ||
2441 | } | ||
2442 | |||
2443 | /** | ||
2444 | * <!-- begin-user-doc --> | ||
2445 | * <!-- end-user-doc --> | ||
2446 | * @generated | ||
2447 | */ | ||
2448 | private boolean isCreated = false; | ||
2449 | |||
2450 | /** | ||
2451 | * Creates the meta-model objects for the package. This method is | ||
2452 | * guarded to have no affect on any invocation but its first. | ||
2453 | * <!-- begin-user-doc --> | ||
2454 | * <!-- end-user-doc --> | ||
2455 | * @generated | ||
2456 | */ | ||
2457 | public void createPackageContents() | ||
2458 | { | ||
2459 | if (isCreated) return; | ||
2460 | isCreated = true; | ||
2461 | |||
2462 | // Create classes and their features | ||
2463 | smtDocumentEClass = createEClass(SMT_DOCUMENT); | ||
2464 | createEReference(smtDocumentEClass, SMT_DOCUMENT__INPUT); | ||
2465 | createEReference(smtDocumentEClass, SMT_DOCUMENT__OUTPUT); | ||
2466 | |||
2467 | smtInputEClass = createEClass(SMT_INPUT); | ||
2468 | createEReference(smtInputEClass, SMT_INPUT__OPTIONS); | ||
2469 | createEReference(smtInputEClass, SMT_INPUT__TYPE_DECLARATIONS); | ||
2470 | createEReference(smtInputEClass, SMT_INPUT__FUNCTION_DECLARATIONS); | ||
2471 | createEReference(smtInputEClass, SMT_INPUT__FUNCTION_DEFINITION); | ||
2472 | createEReference(smtInputEClass, SMT_INPUT__ASSERTIONS); | ||
2473 | createEReference(smtInputEClass, SMT_INPUT__SAT_COMMAND); | ||
2474 | createEReference(smtInputEClass, SMT_INPUT__GET_MODEL_COMMAND); | ||
2475 | |||
2476 | smtOutputEClass = createEClass(SMT_OUTPUT); | ||
2477 | createEReference(smtOutputEClass, SMT_OUTPUT__SAT_RESULT); | ||
2478 | createEReference(smtOutputEClass, SMT_OUTPUT__GET_MODEL_RESULT); | ||
2479 | createEReference(smtOutputEClass, SMT_OUTPUT__STATISTICS); | ||
2480 | |||
2481 | smtOptionEClass = createEClass(SMT_OPTION); | ||
2482 | createEAttribute(smtOptionEClass, SMT_OPTION__NAME); | ||
2483 | createEReference(smtOptionEClass, SMT_OPTION__VALUE); | ||
2484 | |||
2485 | smtTypeEClass = createEClass(SMT_TYPE); | ||
2486 | createEAttribute(smtTypeEClass, SMT_TYPE__NAME); | ||
2487 | |||
2488 | smtEnumLiteralEClass = createEClass(SMT_ENUM_LITERAL); | ||
2489 | |||
2490 | smtEnumeratedTypeDeclarationEClass = createEClass(SMT_ENUMERATED_TYPE_DECLARATION); | ||
2491 | createEReference(smtEnumeratedTypeDeclarationEClass, SMT_ENUMERATED_TYPE_DECLARATION__ELEMENTS); | ||
2492 | |||
2493 | smtSetTypeDeclarationEClass = createEClass(SMT_SET_TYPE_DECLARATION); | ||
2494 | |||
2495 | smtTypeReferenceEClass = createEClass(SMT_TYPE_REFERENCE); | ||
2496 | |||
2497 | smtComplexTypeReferenceEClass = createEClass(SMT_COMPLEX_TYPE_REFERENCE); | ||
2498 | createEReference(smtComplexTypeReferenceEClass, SMT_COMPLEX_TYPE_REFERENCE__REFERRED); | ||
2499 | |||
2500 | smtPrimitiveTypeReferenceEClass = createEClass(SMT_PRIMITIVE_TYPE_REFERENCE); | ||
2501 | |||
2502 | smtIntTypeReferenceEClass = createEClass(SMT_INT_TYPE_REFERENCE); | ||
2503 | |||
2504 | smtBoolTypeReferenceEClass = createEClass(SMT_BOOL_TYPE_REFERENCE); | ||
2505 | |||
2506 | smtRealTypeReferenceEClass = createEClass(SMT_REAL_TYPE_REFERENCE); | ||
2507 | |||
2508 | smtFunctionDeclarationEClass = createEClass(SMT_FUNCTION_DECLARATION); | ||
2509 | createEReference(smtFunctionDeclarationEClass, SMT_FUNCTION_DECLARATION__PARAMETERS); | ||
2510 | createEReference(smtFunctionDeclarationEClass, SMT_FUNCTION_DECLARATION__RANGE); | ||
2511 | |||
2512 | smtFunctionDefinitionEClass = createEClass(SMT_FUNCTION_DEFINITION); | ||
2513 | createEReference(smtFunctionDefinitionEClass, SMT_FUNCTION_DEFINITION__PARAMETERS); | ||
2514 | createEReference(smtFunctionDefinitionEClass, SMT_FUNCTION_DEFINITION__RANGE); | ||
2515 | createEReference(smtFunctionDefinitionEClass, SMT_FUNCTION_DEFINITION__VALUE); | ||
2516 | |||
2517 | smtTermEClass = createEClass(SMT_TERM); | ||
2518 | |||
2519 | smtSymbolicDeclarationEClass = createEClass(SMT_SYMBOLIC_DECLARATION); | ||
2520 | createEAttribute(smtSymbolicDeclarationEClass, SMT_SYMBOLIC_DECLARATION__NAME); | ||
2521 | |||
2522 | smtSymbolicValueEClass = createEClass(SMT_SYMBOLIC_VALUE); | ||
2523 | createEReference(smtSymbolicValueEClass, SMT_SYMBOLIC_VALUE__SYMBOLIC_REFERENCE); | ||
2524 | createEReference(smtSymbolicValueEClass, SMT_SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS); | ||
2525 | |||
2526 | smtAtomicTermEClass = createEClass(SMT_ATOMIC_TERM); | ||
2527 | |||
2528 | smtIntLiteralEClass = createEClass(SMT_INT_LITERAL); | ||
2529 | createEAttribute(smtIntLiteralEClass, SMT_INT_LITERAL__VALUE); | ||
2530 | |||
2531 | smtBoolLiteralEClass = createEClass(SMT_BOOL_LITERAL); | ||
2532 | createEAttribute(smtBoolLiteralEClass, SMT_BOOL_LITERAL__VALUE); | ||
2533 | |||
2534 | smtRealLiteralEClass = createEClass(SMT_REAL_LITERAL); | ||
2535 | createEAttribute(smtRealLiteralEClass, SMT_REAL_LITERAL__VALUE); | ||
2536 | |||
2537 | smtSortedVariableEClass = createEClass(SMT_SORTED_VARIABLE); | ||
2538 | createEReference(smtSortedVariableEClass, SMT_SORTED_VARIABLE__RANGE); | ||
2539 | |||
2540 | smtQuantifiedExpressionEClass = createEClass(SMT_QUANTIFIED_EXPRESSION); | ||
2541 | createEReference(smtQuantifiedExpressionEClass, SMT_QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES); | ||
2542 | createEReference(smtQuantifiedExpressionEClass, SMT_QUANTIFIED_EXPRESSION__EXPRESSION); | ||
2543 | createEReference(smtQuantifiedExpressionEClass, SMT_QUANTIFIED_EXPRESSION__PATTERN); | ||
2544 | |||
2545 | smtExistsEClass = createEClass(SMT_EXISTS); | ||
2546 | |||
2547 | smtForallEClass = createEClass(SMT_FORALL); | ||
2548 | |||
2549 | smtBoolOperationEClass = createEClass(SMT_BOOL_OPERATION); | ||
2550 | |||
2551 | smtAndEClass = createEClass(SMT_AND); | ||
2552 | createEReference(smtAndEClass, SMT_AND__OPERANDS); | ||
2553 | |||
2554 | smtOrEClass = createEClass(SMT_OR); | ||
2555 | createEReference(smtOrEClass, SMT_OR__OPERANDS); | ||
2556 | |||
2557 | smtImplEClass = createEClass(SMT_IMPL); | ||
2558 | createEReference(smtImplEClass, SMT_IMPL__LEFT_OPERAND); | ||
2559 | createEReference(smtImplEClass, SMT_IMPL__RIGHT_OPERAND); | ||
2560 | |||
2561 | smtNotEClass = createEClass(SMT_NOT); | ||
2562 | createEReference(smtNotEClass, SMT_NOT__OPERAND); | ||
2563 | |||
2564 | smtIffEClass = createEClass(SMT_IFF); | ||
2565 | createEReference(smtIffEClass, SMT_IFF__LEFT_OPERAND); | ||
2566 | createEReference(smtIffEClass, SMT_IFF__RIGHT_OPERAND); | ||
2567 | |||
2568 | smtiteEClass = createEClass(SMTITE); | ||
2569 | createEReference(smtiteEClass, SMTITE__CONDITION); | ||
2570 | createEReference(smtiteEClass, SMTITE__IF); | ||
2571 | createEReference(smtiteEClass, SMTITE__ELSE); | ||
2572 | |||
2573 | smtLetEClass = createEClass(SMT_LET); | ||
2574 | createEReference(smtLetEClass, SMT_LET__INLINE_CONSTANT_DEFINITIONS); | ||
2575 | createEReference(smtLetEClass, SMT_LET__TERM); | ||
2576 | |||
2577 | smtInlineConstantDefinitionEClass = createEClass(SMT_INLINE_CONSTANT_DEFINITION); | ||
2578 | createEReference(smtInlineConstantDefinitionEClass, SMT_INLINE_CONSTANT_DEFINITION__DEFINITION); | ||
2579 | |||
2580 | smtRelationEClass = createEClass(SMT_RELATION); | ||
2581 | |||
2582 | smtEqualsEClass = createEClass(SMT_EQUALS); | ||
2583 | createEReference(smtEqualsEClass, SMT_EQUALS__LEFT_OPERAND); | ||
2584 | createEReference(smtEqualsEClass, SMT_EQUALS__RIGHT_OPERAND); | ||
2585 | |||
2586 | smtDistinctEClass = createEClass(SMT_DISTINCT); | ||
2587 | createEReference(smtDistinctEClass, SMT_DISTINCT__OPERANDS); | ||
2588 | |||
2589 | smtltEClass = createEClass(SMTLT); | ||
2590 | createEReference(smtltEClass, SMTLT__LEFT_OPERAND); | ||
2591 | createEReference(smtltEClass, SMTLT__RIGHT_OPERAND); | ||
2592 | |||
2593 | smtmtEClass = createEClass(SMTMT); | ||
2594 | createEReference(smtmtEClass, SMTMT__LEFT_OPERAND); | ||
2595 | createEReference(smtmtEClass, SMTMT__RIGHT_OPERAND); | ||
2596 | |||
2597 | smtleqEClass = createEClass(SMTLEQ); | ||
2598 | createEReference(smtleqEClass, SMTLEQ__LEFT_OPERAND); | ||
2599 | createEReference(smtleqEClass, SMTLEQ__RIGHT_OPERAND); | ||
2600 | |||
2601 | smtmeqEClass = createEClass(SMTMEQ); | ||
2602 | createEReference(smtmeqEClass, SMTMEQ__LEFT_OPERAND); | ||
2603 | createEReference(smtmeqEClass, SMTMEQ__RIGHT_OPERAND); | ||
2604 | |||
2605 | smtIntOperationEClass = createEClass(SMT_INT_OPERATION); | ||
2606 | createEReference(smtIntOperationEClass, SMT_INT_OPERATION__LEFT_OPERAND); | ||
2607 | createEReference(smtIntOperationEClass, SMT_INT_OPERATION__RIGHT_OPERAND); | ||
2608 | |||
2609 | smtPlusEClass = createEClass(SMT_PLUS); | ||
2610 | |||
2611 | smtMinusEClass = createEClass(SMT_MINUS); | ||
2612 | |||
2613 | smtMultiplyEClass = createEClass(SMT_MULTIPLY); | ||
2614 | |||
2615 | smtDivisonEClass = createEClass(SMT_DIVISON); | ||
2616 | |||
2617 | smtDivEClass = createEClass(SMT_DIV); | ||
2618 | |||
2619 | smtModEClass = createEClass(SMT_MOD); | ||
2620 | |||
2621 | smtAssertionEClass = createEClass(SMT_ASSERTION); | ||
2622 | createEReference(smtAssertionEClass, SMT_ASSERTION__VALUE); | ||
2623 | |||
2624 | smtCardinalityConstraintEClass = createEClass(SMT_CARDINALITY_CONSTRAINT); | ||
2625 | createEReference(smtCardinalityConstraintEClass, SMT_CARDINALITY_CONSTRAINT__TYPE); | ||
2626 | createEReference(smtCardinalityConstraintEClass, SMT_CARDINALITY_CONSTRAINT__ELEMENTS); | ||
2627 | |||
2628 | smtSatCommandEClass = createEClass(SMT_SAT_COMMAND); | ||
2629 | |||
2630 | smtSimpleSatCommandEClass = createEClass(SMT_SIMPLE_SAT_COMMAND); | ||
2631 | |||
2632 | smtComplexSatCommandEClass = createEClass(SMT_COMPLEX_SAT_COMMAND); | ||
2633 | createEReference(smtComplexSatCommandEClass, SMT_COMPLEX_SAT_COMMAND__METHOD); | ||
2634 | |||
2635 | smtGetModelCommandEClass = createEClass(SMT_GET_MODEL_COMMAND); | ||
2636 | |||
2637 | smtReasoningTacticEClass = createEClass(SMT_REASONING_TACTIC); | ||
2638 | |||
2639 | smtBuiltinTacticEClass = createEClass(SMT_BUILTIN_TACTIC); | ||
2640 | createEAttribute(smtBuiltinTacticEClass, SMT_BUILTIN_TACTIC__NAME); | ||
2641 | |||
2642 | smtReasoningCombinatorEClass = createEClass(SMT_REASONING_COMBINATOR); | ||
2643 | |||
2644 | smtAndThenCombinatorEClass = createEClass(SMT_AND_THEN_COMBINATOR); | ||
2645 | createEReference(smtAndThenCombinatorEClass, SMT_AND_THEN_COMBINATOR__TACTICS); | ||
2646 | |||
2647 | smtOrElseCombinatorEClass = createEClass(SMT_OR_ELSE_COMBINATOR); | ||
2648 | createEReference(smtOrElseCombinatorEClass, SMT_OR_ELSE_COMBINATOR__TACTICS); | ||
2649 | |||
2650 | smtParOrCombinatorEClass = createEClass(SMT_PAR_OR_COMBINATOR); | ||
2651 | createEReference(smtParOrCombinatorEClass, SMT_PAR_OR_COMBINATOR__TACTICS); | ||
2652 | |||
2653 | smtParThenCombinatorEClass = createEClass(SMT_PAR_THEN_COMBINATOR); | ||
2654 | createEReference(smtParThenCombinatorEClass, SMT_PAR_THEN_COMBINATOR__PRE_PROCESSING_TACTIC); | ||
2655 | createEReference(smtParThenCombinatorEClass, SMT_PAR_THEN_COMBINATOR__PARALELLY_POSTPRICESSING_TACTIC); | ||
2656 | |||
2657 | smtTryForCombinatorEClass = createEClass(SMT_TRY_FOR_COMBINATOR); | ||
2658 | createEReference(smtTryForCombinatorEClass, SMT_TRY_FOR_COMBINATOR__TACTIC); | ||
2659 | createEAttribute(smtTryForCombinatorEClass, SMT_TRY_FOR_COMBINATOR__TIME); | ||
2660 | |||
2661 | smtIfCombinatorEClass = createEClass(SMT_IF_COMBINATOR); | ||
2662 | createEReference(smtIfCombinatorEClass, SMT_IF_COMBINATOR__PROBE); | ||
2663 | createEReference(smtIfCombinatorEClass, SMT_IF_COMBINATOR__IF_TACTIC); | ||
2664 | createEReference(smtIfCombinatorEClass, SMT_IF_COMBINATOR__ELSE_TACTIC); | ||
2665 | |||
2666 | smtWhenCombinatorEClass = createEClass(SMT_WHEN_COMBINATOR); | ||
2667 | createEReference(smtWhenCombinatorEClass, SMT_WHEN_COMBINATOR__PROBE); | ||
2668 | createEReference(smtWhenCombinatorEClass, SMT_WHEN_COMBINATOR__TACTIC); | ||
2669 | |||
2670 | smtFailIfCombinatorEClass = createEClass(SMT_FAIL_IF_COMBINATOR); | ||
2671 | createEReference(smtFailIfCombinatorEClass, SMT_FAIL_IF_COMBINATOR__PROBE); | ||
2672 | |||
2673 | smtUsingParamCombinatorEClass = createEClass(SMT_USING_PARAM_COMBINATOR); | ||
2674 | createEReference(smtUsingParamCombinatorEClass, SMT_USING_PARAM_COMBINATOR__TACTIC); | ||
2675 | createEReference(smtUsingParamCombinatorEClass, SMT_USING_PARAM_COMBINATOR__PARAMETERS); | ||
2676 | |||
2677 | reasoningProbeEClass = createEClass(REASONING_PROBE); | ||
2678 | createEAttribute(reasoningProbeEClass, REASONING_PROBE__NAME); | ||
2679 | |||
2680 | reasoningTacticParameterEClass = createEClass(REASONING_TACTIC_PARAMETER); | ||
2681 | createEAttribute(reasoningTacticParameterEClass, REASONING_TACTIC_PARAMETER__NAME); | ||
2682 | createEReference(reasoningTacticParameterEClass, REASONING_TACTIC_PARAMETER__VALUE); | ||
2683 | |||
2684 | smtResultEClass = createEClass(SMT_RESULT); | ||
2685 | |||
2686 | smtErrorResultEClass = createEClass(SMT_ERROR_RESULT); | ||
2687 | createEAttribute(smtErrorResultEClass, SMT_ERROR_RESULT__MESSAGE); | ||
2688 | |||
2689 | smtUnsupportedResultEClass = createEClass(SMT_UNSUPPORTED_RESULT); | ||
2690 | createEAttribute(smtUnsupportedResultEClass, SMT_UNSUPPORTED_RESULT__COMMAND); | ||
2691 | |||
2692 | smtSatResultEClass = createEClass(SMT_SAT_RESULT); | ||
2693 | createEAttribute(smtSatResultEClass, SMT_SAT_RESULT__SAT); | ||
2694 | createEAttribute(smtSatResultEClass, SMT_SAT_RESULT__UNSAT); | ||
2695 | createEAttribute(smtSatResultEClass, SMT_SAT_RESULT__UNKNOWN); | ||
2696 | |||
2697 | smtModelResultEClass = createEClass(SMT_MODEL_RESULT); | ||
2698 | createEReference(smtModelResultEClass, SMT_MODEL_RESULT__NEW_FUNCTION_DECLARATIONS); | ||
2699 | createEReference(smtModelResultEClass, SMT_MODEL_RESULT__TYPE_DEFINITIONS); | ||
2700 | createEReference(smtModelResultEClass, SMT_MODEL_RESULT__NEW_FUNCTION_DEFINITIONS); | ||
2701 | |||
2702 | smtStatisticValueEClass = createEClass(SMT_STATISTIC_VALUE); | ||
2703 | createEAttribute(smtStatisticValueEClass, SMT_STATISTIC_VALUE__NAME); | ||
2704 | |||
2705 | smtStatisticIntValueEClass = createEClass(SMT_STATISTIC_INT_VALUE); | ||
2706 | createEAttribute(smtStatisticIntValueEClass, SMT_STATISTIC_INT_VALUE__VALUE); | ||
2707 | |||
2708 | smtStatisticDoubleValueEClass = createEClass(SMT_STATISTIC_DOUBLE_VALUE); | ||
2709 | createEAttribute(smtStatisticDoubleValueEClass, SMT_STATISTIC_DOUBLE_VALUE__VALUE); | ||
2710 | |||
2711 | smtStatisticsSectionEClass = createEClass(SMT_STATISTICS_SECTION); | ||
2712 | createEReference(smtStatisticsSectionEClass, SMT_STATISTICS_SECTION__VALUES); | ||
2713 | } | ||
2714 | |||
2715 | /** | ||
2716 | * <!-- begin-user-doc --> | ||
2717 | * <!-- end-user-doc --> | ||
2718 | * @generated | ||
2719 | */ | ||
2720 | private boolean isInitialized = false; | ||
2721 | |||
2722 | /** | ||
2723 | * Complete the initialization of the package and its meta-model. This | ||
2724 | * method is guarded to have no affect on any invocation but its first. | ||
2725 | * <!-- begin-user-doc --> | ||
2726 | * <!-- end-user-doc --> | ||
2727 | * @generated | ||
2728 | */ | ||
2729 | public void initializePackageContents() | ||
2730 | { | ||
2731 | if (isInitialized) return; | ||
2732 | isInitialized = true; | ||
2733 | |||
2734 | // Initialize package | ||
2735 | setName(eNAME); | ||
2736 | setNsPrefix(eNS_PREFIX); | ||
2737 | setNsURI(eNS_URI); | ||
2738 | |||
2739 | // Create type parameters | ||
2740 | |||
2741 | // Set bounds for type parameters | ||
2742 | |||
2743 | // Add supertypes to classes | ||
2744 | smtEnumLiteralEClass.getESuperTypes().add(this.getSMTSymbolicDeclaration()); | ||
2745 | smtEnumeratedTypeDeclarationEClass.getESuperTypes().add(this.getSMTType()); | ||
2746 | smtSetTypeDeclarationEClass.getESuperTypes().add(this.getSMTType()); | ||
2747 | smtComplexTypeReferenceEClass.getESuperTypes().add(this.getSMTTypeReference()); | ||
2748 | smtPrimitiveTypeReferenceEClass.getESuperTypes().add(this.getSMTTypeReference()); | ||
2749 | smtIntTypeReferenceEClass.getESuperTypes().add(this.getSMTPrimitiveTypeReference()); | ||
2750 | smtBoolTypeReferenceEClass.getESuperTypes().add(this.getSMTPrimitiveTypeReference()); | ||
2751 | smtRealTypeReferenceEClass.getESuperTypes().add(this.getSMTPrimitiveTypeReference()); | ||
2752 | smtFunctionDeclarationEClass.getESuperTypes().add(this.getSMTSymbolicDeclaration()); | ||
2753 | smtFunctionDefinitionEClass.getESuperTypes().add(this.getSMTSymbolicDeclaration()); | ||
2754 | smtSymbolicValueEClass.getESuperTypes().add(this.getSMTTerm()); | ||
2755 | smtAtomicTermEClass.getESuperTypes().add(this.getSMTTerm()); | ||
2756 | smtIntLiteralEClass.getESuperTypes().add(this.getSMTAtomicTerm()); | ||
2757 | smtBoolLiteralEClass.getESuperTypes().add(this.getSMTAtomicTerm()); | ||
2758 | smtRealLiteralEClass.getESuperTypes().add(this.getSMTAtomicTerm()); | ||
2759 | smtSortedVariableEClass.getESuperTypes().add(this.getSMTSymbolicDeclaration()); | ||
2760 | smtQuantifiedExpressionEClass.getESuperTypes().add(this.getSMTTerm()); | ||
2761 | smtExistsEClass.getESuperTypes().add(this.getSMTQuantifiedExpression()); | ||
2762 | smtForallEClass.getESuperTypes().add(this.getSMTQuantifiedExpression()); | ||
2763 | smtBoolOperationEClass.getESuperTypes().add(this.getSMTTerm()); | ||
2764 | smtAndEClass.getESuperTypes().add(this.getSMTBoolOperation()); | ||
2765 | smtOrEClass.getESuperTypes().add(this.getSMTBoolOperation()); | ||
2766 | smtImplEClass.getESuperTypes().add(this.getSMTBoolOperation()); | ||
2767 | smtNotEClass.getESuperTypes().add(this.getSMTBoolOperation()); | ||
2768 | smtIffEClass.getESuperTypes().add(this.getSMTBoolOperation()); | ||
2769 | smtiteEClass.getESuperTypes().add(this.getSMTTerm()); | ||
2770 | smtLetEClass.getESuperTypes().add(this.getSMTTerm()); | ||
2771 | smtInlineConstantDefinitionEClass.getESuperTypes().add(this.getSMTSymbolicDeclaration()); | ||
2772 | smtRelationEClass.getESuperTypes().add(this.getSMTTerm()); | ||
2773 | smtEqualsEClass.getESuperTypes().add(this.getSMTRelation()); | ||
2774 | smtDistinctEClass.getESuperTypes().add(this.getSMTRelation()); | ||
2775 | smtltEClass.getESuperTypes().add(this.getSMTRelation()); | ||
2776 | smtmtEClass.getESuperTypes().add(this.getSMTRelation()); | ||
2777 | smtleqEClass.getESuperTypes().add(this.getSMTRelation()); | ||
2778 | smtmeqEClass.getESuperTypes().add(this.getSMTRelation()); | ||
2779 | smtIntOperationEClass.getESuperTypes().add(this.getSMTTerm()); | ||
2780 | smtPlusEClass.getESuperTypes().add(this.getSMTIntOperation()); | ||
2781 | smtMinusEClass.getESuperTypes().add(this.getSMTIntOperation()); | ||
2782 | smtMultiplyEClass.getESuperTypes().add(this.getSMTIntOperation()); | ||
2783 | smtDivisonEClass.getESuperTypes().add(this.getSMTIntOperation()); | ||
2784 | smtDivEClass.getESuperTypes().add(this.getSMTIntOperation()); | ||
2785 | smtModEClass.getESuperTypes().add(this.getSMTIntOperation()); | ||
2786 | smtSimpleSatCommandEClass.getESuperTypes().add(this.getSMTSatCommand()); | ||
2787 | smtComplexSatCommandEClass.getESuperTypes().add(this.getSMTSatCommand()); | ||
2788 | smtBuiltinTacticEClass.getESuperTypes().add(this.getSMTReasoningTactic()); | ||
2789 | smtReasoningCombinatorEClass.getESuperTypes().add(this.getSMTReasoningTactic()); | ||
2790 | smtAndThenCombinatorEClass.getESuperTypes().add(this.getSMTReasoningCombinator()); | ||
2791 | smtOrElseCombinatorEClass.getESuperTypes().add(this.getSMTReasoningCombinator()); | ||
2792 | smtParOrCombinatorEClass.getESuperTypes().add(this.getSMTReasoningCombinator()); | ||
2793 | smtParThenCombinatorEClass.getESuperTypes().add(this.getSMTReasoningCombinator()); | ||
2794 | smtTryForCombinatorEClass.getESuperTypes().add(this.getSMTReasoningCombinator()); | ||
2795 | smtIfCombinatorEClass.getESuperTypes().add(this.getSMTReasoningCombinator()); | ||
2796 | smtWhenCombinatorEClass.getESuperTypes().add(this.getSMTReasoningCombinator()); | ||
2797 | smtFailIfCombinatorEClass.getESuperTypes().add(this.getSMTReasoningCombinator()); | ||
2798 | smtUsingParamCombinatorEClass.getESuperTypes().add(this.getSMTReasoningCombinator()); | ||
2799 | smtErrorResultEClass.getESuperTypes().add(this.getSMTResult()); | ||
2800 | smtUnsupportedResultEClass.getESuperTypes().add(this.getSMTResult()); | ||
2801 | smtSatResultEClass.getESuperTypes().add(this.getSMTResult()); | ||
2802 | smtModelResultEClass.getESuperTypes().add(this.getSMTResult()); | ||
2803 | smtStatisticIntValueEClass.getESuperTypes().add(this.getSMTStatisticValue()); | ||
2804 | smtStatisticDoubleValueEClass.getESuperTypes().add(this.getSMTStatisticValue()); | ||
2805 | |||
2806 | // Initialize classes and features; add operations and parameters | ||
2807 | initEClass(smtDocumentEClass, SMTDocument.class, "SMTDocument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2808 | initEReference(getSMTDocument_Input(), this.getSMTInput(), null, "input", null, 0, 1, SMTDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2809 | initEReference(getSMTDocument_Output(), this.getSMTOutput(), null, "output", null, 0, 1, SMTDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2810 | |||
2811 | initEClass(smtInputEClass, SMTInput.class, "SMTInput", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2812 | initEReference(getSMTInput_Options(), this.getSMTOption(), null, "options", null, 0, -1, SMTInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2813 | initEReference(getSMTInput_TypeDeclarations(), this.getSMTType(), null, "typeDeclarations", null, 0, -1, SMTInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2814 | initEReference(getSMTInput_FunctionDeclarations(), this.getSMTFunctionDeclaration(), null, "functionDeclarations", null, 0, -1, SMTInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2815 | initEReference(getSMTInput_FunctionDefinition(), this.getSMTFunctionDefinition(), null, "functionDefinition", null, 0, -1, SMTInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2816 | initEReference(getSMTInput_Assertions(), this.getSMTAssertion(), null, "assertions", null, 0, -1, SMTInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2817 | initEReference(getSMTInput_SatCommand(), this.getSMTSatCommand(), null, "satCommand", null, 0, 1, SMTInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2818 | initEReference(getSMTInput_GetModelCommand(), this.getSMTGetModelCommand(), null, "getModelCommand", null, 0, 1, SMTInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2819 | |||
2820 | initEClass(smtOutputEClass, SMTOutput.class, "SMTOutput", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2821 | initEReference(getSMTOutput_SatResult(), this.getSMTResult(), null, "satResult", null, 0, 1, SMTOutput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2822 | initEReference(getSMTOutput_GetModelResult(), this.getSMTResult(), null, "getModelResult", null, 0, 1, SMTOutput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2823 | initEReference(getSMTOutput_Statistics(), this.getSMTStatisticsSection(), null, "statistics", null, 0, 1, SMTOutput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2824 | |||
2825 | initEClass(smtOptionEClass, SMTOption.class, "SMTOption", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2826 | initEAttribute(getSMTOption_Name(), ecorePackage.getEString(), "name", null, 0, 1, SMTOption.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2827 | initEReference(getSMTOption_Value(), this.getSMTAtomicTerm(), null, "value", null, 0, 1, SMTOption.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2828 | |||
2829 | initEClass(smtTypeEClass, SMTType.class, "SMTType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2830 | initEAttribute(getSMTType_Name(), ecorePackage.getEString(), "name", null, 0, 1, SMTType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2831 | |||
2832 | initEClass(smtEnumLiteralEClass, SMTEnumLiteral.class, "SMTEnumLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2833 | |||
2834 | initEClass(smtEnumeratedTypeDeclarationEClass, SMTEnumeratedTypeDeclaration.class, "SMTEnumeratedTypeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2835 | initEReference(getSMTEnumeratedTypeDeclaration_Elements(), this.getSMTEnumLiteral(), null, "elements", null, 0, -1, SMTEnumeratedTypeDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2836 | |||
2837 | initEClass(smtSetTypeDeclarationEClass, SMTSetTypeDeclaration.class, "SMTSetTypeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2838 | |||
2839 | initEClass(smtTypeReferenceEClass, SMTTypeReference.class, "SMTTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2840 | |||
2841 | initEClass(smtComplexTypeReferenceEClass, SMTComplexTypeReference.class, "SMTComplexTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2842 | initEReference(getSMTComplexTypeReference_Referred(), this.getSMTType(), null, "referred", null, 0, 1, SMTComplexTypeReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2843 | |||
2844 | initEClass(smtPrimitiveTypeReferenceEClass, SMTPrimitiveTypeReference.class, "SMTPrimitiveTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2845 | |||
2846 | initEClass(smtIntTypeReferenceEClass, SMTIntTypeReference.class, "SMTIntTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2847 | |||
2848 | initEClass(smtBoolTypeReferenceEClass, SMTBoolTypeReference.class, "SMTBoolTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2849 | |||
2850 | initEClass(smtRealTypeReferenceEClass, SMTRealTypeReference.class, "SMTRealTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2851 | |||
2852 | initEClass(smtFunctionDeclarationEClass, SMTFunctionDeclaration.class, "SMTFunctionDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2853 | initEReference(getSMTFunctionDeclaration_Parameters(), this.getSMTTypeReference(), null, "parameters", null, 0, -1, SMTFunctionDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2854 | initEReference(getSMTFunctionDeclaration_Range(), this.getSMTTypeReference(), null, "range", null, 0, 1, SMTFunctionDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2855 | |||
2856 | initEClass(smtFunctionDefinitionEClass, SMTFunctionDefinition.class, "SMTFunctionDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2857 | initEReference(getSMTFunctionDefinition_Parameters(), this.getSMTSortedVariable(), null, "parameters", null, 0, -1, SMTFunctionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2858 | initEReference(getSMTFunctionDefinition_Range(), this.getSMTTypeReference(), null, "range", null, 0, 1, SMTFunctionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2859 | initEReference(getSMTFunctionDefinition_Value(), this.getSMTTerm(), null, "value", null, 0, 1, SMTFunctionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2860 | |||
2861 | initEClass(smtTermEClass, SMTTerm.class, "SMTTerm", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2862 | |||
2863 | initEClass(smtSymbolicDeclarationEClass, SMTSymbolicDeclaration.class, "SMTSymbolicDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2864 | initEAttribute(getSMTSymbolicDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, SMTSymbolicDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2865 | |||
2866 | initEClass(smtSymbolicValueEClass, SMTSymbolicValue.class, "SMTSymbolicValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2867 | initEReference(getSMTSymbolicValue_SymbolicReference(), this.getSMTSymbolicDeclaration(), null, "symbolicReference", null, 0, 1, SMTSymbolicValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2868 | initEReference(getSMTSymbolicValue_ParameterSubstitutions(), this.getSMTTerm(), null, "parameterSubstitutions", null, 0, -1, SMTSymbolicValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2869 | |||
2870 | initEClass(smtAtomicTermEClass, SMTAtomicTerm.class, "SMTAtomicTerm", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2871 | |||
2872 | initEClass(smtIntLiteralEClass, SMTIntLiteral.class, "SMTIntLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2873 | initEAttribute(getSMTIntLiteral_Value(), ecorePackage.getEInt(), "value", null, 0, 1, SMTIntLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2874 | |||
2875 | initEClass(smtBoolLiteralEClass, SMTBoolLiteral.class, "SMTBoolLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2876 | initEAttribute(getSMTBoolLiteral_Value(), ecorePackage.getEBoolean(), "value", null, 0, 1, SMTBoolLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2877 | |||
2878 | initEClass(smtRealLiteralEClass, SMTRealLiteral.class, "SMTRealLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2879 | initEAttribute(getSMTRealLiteral_Value(), ecorePackage.getEBigDecimal(), "value", null, 0, 1, SMTRealLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2880 | |||
2881 | initEClass(smtSortedVariableEClass, SMTSortedVariable.class, "SMTSortedVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2882 | initEReference(getSMTSortedVariable_Range(), this.getSMTTypeReference(), null, "range", null, 0, 1, SMTSortedVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2883 | |||
2884 | initEClass(smtQuantifiedExpressionEClass, SMTQuantifiedExpression.class, "SMTQuantifiedExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2885 | initEReference(getSMTQuantifiedExpression_QuantifiedVariables(), this.getSMTSortedVariable(), null, "quantifiedVariables", null, 0, -1, SMTQuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2886 | initEReference(getSMTQuantifiedExpression_Expression(), this.getSMTTerm(), null, "expression", null, 0, 1, SMTQuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2887 | initEReference(getSMTQuantifiedExpression_Pattern(), this.getSMTTerm(), null, "pattern", null, 0, 1, SMTQuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2888 | |||
2889 | initEClass(smtExistsEClass, SMTExists.class, "SMTExists", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2890 | |||
2891 | initEClass(smtForallEClass, SMTForall.class, "SMTForall", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2892 | |||
2893 | initEClass(smtBoolOperationEClass, SMTBoolOperation.class, "SMTBoolOperation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2894 | |||
2895 | initEClass(smtAndEClass, SMTAnd.class, "SMTAnd", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2896 | initEReference(getSMTAnd_Operands(), this.getSMTTerm(), null, "operands", null, 0, -1, SMTAnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2897 | |||
2898 | initEClass(smtOrEClass, SMTOr.class, "SMTOr", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2899 | initEReference(getSMTOr_Operands(), this.getSMTTerm(), null, "operands", null, 0, -1, SMTOr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2900 | |||
2901 | initEClass(smtImplEClass, SMTImpl.class, "SMTImpl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2902 | initEReference(getSMTImpl_LeftOperand(), this.getSMTTerm(), null, "leftOperand", null, 0, 1, SMTImpl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2903 | initEReference(getSMTImpl_RightOperand(), this.getSMTTerm(), null, "rightOperand", null, 0, 1, SMTImpl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2904 | |||
2905 | initEClass(smtNotEClass, SMTNot.class, "SMTNot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2906 | initEReference(getSMTNot_Operand(), this.getSMTTerm(), null, "operand", null, 0, 1, SMTNot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2907 | |||
2908 | initEClass(smtIffEClass, SMTIff.class, "SMTIff", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2909 | initEReference(getSMTIff_LeftOperand(), this.getSMTTerm(), null, "leftOperand", null, 0, 1, SMTIff.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2910 | initEReference(getSMTIff_RightOperand(), this.getSMTTerm(), null, "rightOperand", null, 0, 1, SMTIff.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2911 | |||
2912 | initEClass(smtiteEClass, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTITE.class, "SMTITE", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2913 | initEReference(getSMTITE_Condition(), this.getSMTTerm(), null, "condition", null, 0, 1, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTITE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2914 | initEReference(getSMTITE_If(), this.getSMTTerm(), null, "if", null, 0, 1, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTITE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2915 | initEReference(getSMTITE_Else(), this.getSMTTerm(), null, "else", null, 0, 1, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTITE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2916 | |||
2917 | initEClass(smtLetEClass, SMTLet.class, "SMTLet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2918 | initEReference(getSMTLet_InlineConstantDefinitions(), this.getSMTInlineConstantDefinition(), null, "inlineConstantDefinitions", null, 0, -1, SMTLet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2919 | initEReference(getSMTLet_Term(), this.getSMTTerm(), null, "term", null, 0, 1, SMTLet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2920 | |||
2921 | initEClass(smtInlineConstantDefinitionEClass, SMTInlineConstantDefinition.class, "SMTInlineConstantDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2922 | initEReference(getSMTInlineConstantDefinition_Definition(), this.getSMTTerm(), null, "definition", null, 0, 1, SMTInlineConstantDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2923 | |||
2924 | initEClass(smtRelationEClass, SMTRelation.class, "SMTRelation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2925 | |||
2926 | initEClass(smtEqualsEClass, SMTEquals.class, "SMTEquals", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2927 | initEReference(getSMTEquals_LeftOperand(), this.getSMTTerm(), null, "leftOperand", null, 0, 1, SMTEquals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2928 | initEReference(getSMTEquals_RightOperand(), this.getSMTTerm(), null, "rightOperand", null, 0, 1, SMTEquals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2929 | |||
2930 | initEClass(smtDistinctEClass, SMTDistinct.class, "SMTDistinct", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2931 | initEReference(getSMTDistinct_Operands(), this.getSMTTerm(), null, "operands", null, 0, -1, SMTDistinct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2932 | |||
2933 | initEClass(smtltEClass, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTLT.class, "SMTLT", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2934 | initEReference(getSMTLT_LeftOperand(), this.getSMTTerm(), null, "leftOperand", null, 0, 1, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTLT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2935 | initEReference(getSMTLT_RightOperand(), this.getSMTTerm(), null, "rightOperand", null, 0, 1, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTLT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2936 | |||
2937 | initEClass(smtmtEClass, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMT.class, "SMTMT", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2938 | initEReference(getSMTMT_LeftOperand(), this.getSMTTerm(), null, "leftOperand", null, 0, 1, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2939 | initEReference(getSMTMT_RightOperand(), this.getSMTTerm(), null, "rightOperand", null, 0, 1, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2940 | |||
2941 | initEClass(smtleqEClass, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTLEQ.class, "SMTLEQ", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2942 | initEReference(getSMTLEQ_LeftOperand(), this.getSMTTerm(), null, "leftOperand", null, 0, 1, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTLEQ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2943 | initEReference(getSMTLEQ_RightOperand(), this.getSMTTerm(), null, "rightOperand", null, 0, 1, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTLEQ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2944 | |||
2945 | initEClass(smtmeqEClass, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMEQ.class, "SMTMEQ", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2946 | initEReference(getSMTMEQ_LeftOperand(), this.getSMTTerm(), null, "leftOperand", null, 0, 1, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMEQ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2947 | initEReference(getSMTMEQ_RightOperand(), this.getSMTTerm(), null, "rightOperand", null, 0, 1, hu.bme.mit.inf.dslreasoner.smtLanguage.SMTMEQ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2948 | |||
2949 | initEClass(smtIntOperationEClass, SMTIntOperation.class, "SMTIntOperation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2950 | initEReference(getSMTIntOperation_LeftOperand(), this.getSMTTerm(), null, "leftOperand", null, 0, 1, SMTIntOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2951 | initEReference(getSMTIntOperation_RightOperand(), this.getSMTTerm(), null, "rightOperand", null, 0, 1, SMTIntOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2952 | |||
2953 | initEClass(smtPlusEClass, SMTPlus.class, "SMTPlus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2954 | |||
2955 | initEClass(smtMinusEClass, SMTMinus.class, "SMTMinus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2956 | |||
2957 | initEClass(smtMultiplyEClass, SMTMultiply.class, "SMTMultiply", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2958 | |||
2959 | initEClass(smtDivisonEClass, SMTDivison.class, "SMTDivison", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2960 | |||
2961 | initEClass(smtDivEClass, SMTDiv.class, "SMTDiv", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2962 | |||
2963 | initEClass(smtModEClass, SMTMod.class, "SMTMod", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2964 | |||
2965 | initEClass(smtAssertionEClass, SMTAssertion.class, "SMTAssertion", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2966 | initEReference(getSMTAssertion_Value(), this.getSMTTerm(), null, "value", null, 0, 1, SMTAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2967 | |||
2968 | initEClass(smtCardinalityConstraintEClass, SMTCardinalityConstraint.class, "SMTCardinalityConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2969 | initEReference(getSMTCardinalityConstraint_Type(), this.getSMTTypeReference(), null, "type", null, 0, 1, SMTCardinalityConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2970 | initEReference(getSMTCardinalityConstraint_Elements(), this.getSMTSymbolicValue(), null, "elements", null, 0, -1, SMTCardinalityConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2971 | |||
2972 | initEClass(smtSatCommandEClass, SMTSatCommand.class, "SMTSatCommand", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2973 | |||
2974 | initEClass(smtSimpleSatCommandEClass, SMTSimpleSatCommand.class, "SMTSimpleSatCommand", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2975 | |||
2976 | initEClass(smtComplexSatCommandEClass, SMTComplexSatCommand.class, "SMTComplexSatCommand", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2977 | initEReference(getSMTComplexSatCommand_Method(), this.getSMTReasoningTactic(), null, "method", null, 0, 1, SMTComplexSatCommand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2978 | |||
2979 | initEClass(smtGetModelCommandEClass, SMTGetModelCommand.class, "SMTGetModelCommand", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2980 | |||
2981 | initEClass(smtReasoningTacticEClass, SMTReasoningTactic.class, "SMTReasoningTactic", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2982 | |||
2983 | initEClass(smtBuiltinTacticEClass, SMTBuiltinTactic.class, "SMTBuiltinTactic", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2984 | initEAttribute(getSMTBuiltinTactic_Name(), ecorePackage.getEString(), "name", null, 0, 1, SMTBuiltinTactic.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2985 | |||
2986 | initEClass(smtReasoningCombinatorEClass, SMTReasoningCombinator.class, "SMTReasoningCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2987 | |||
2988 | initEClass(smtAndThenCombinatorEClass, SMTAndThenCombinator.class, "SMTAndThenCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2989 | initEReference(getSMTAndThenCombinator_Tactics(), this.getSMTReasoningTactic(), null, "tactics", null, 0, -1, SMTAndThenCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2990 | |||
2991 | initEClass(smtOrElseCombinatorEClass, SMTOrElseCombinator.class, "SMTOrElseCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2992 | initEReference(getSMTOrElseCombinator_Tactics(), this.getSMTReasoningTactic(), null, "tactics", null, 0, -1, SMTOrElseCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2993 | |||
2994 | initEClass(smtParOrCombinatorEClass, SMTParOrCombinator.class, "SMTParOrCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2995 | initEReference(getSMTParOrCombinator_Tactics(), this.getSMTReasoningTactic(), null, "tactics", null, 0, -1, SMTParOrCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2996 | |||
2997 | initEClass(smtParThenCombinatorEClass, SMTParThenCombinator.class, "SMTParThenCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2998 | initEReference(getSMTParThenCombinator_PreProcessingTactic(), this.getSMTReasoningTactic(), null, "preProcessingTactic", null, 0, 1, SMTParThenCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2999 | initEReference(getSMTParThenCombinator_ParalellyPostpricessingTactic(), this.getSMTReasoningTactic(), null, "paralellyPostpricessingTactic", null, 0, 1, SMTParThenCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3000 | |||
3001 | initEClass(smtTryForCombinatorEClass, SMTTryForCombinator.class, "SMTTryForCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3002 | initEReference(getSMTTryForCombinator_Tactic(), this.getSMTReasoningTactic(), null, "tactic", null, 0, 1, SMTTryForCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3003 | initEAttribute(getSMTTryForCombinator_Time(), ecorePackage.getEInt(), "time", null, 0, 1, SMTTryForCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3004 | |||
3005 | initEClass(smtIfCombinatorEClass, SMTIfCombinator.class, "SMTIfCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3006 | initEReference(getSMTIfCombinator_Probe(), this.getReasoningProbe(), null, "probe", null, 0, 1, SMTIfCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3007 | initEReference(getSMTIfCombinator_IfTactic(), this.getSMTReasoningTactic(), null, "ifTactic", null, 0, 1, SMTIfCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3008 | initEReference(getSMTIfCombinator_ElseTactic(), this.getSMTReasoningTactic(), null, "elseTactic", null, 0, 1, SMTIfCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3009 | |||
3010 | initEClass(smtWhenCombinatorEClass, SMTWhenCombinator.class, "SMTWhenCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3011 | initEReference(getSMTWhenCombinator_Probe(), this.getReasoningProbe(), null, "probe", null, 0, 1, SMTWhenCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3012 | initEReference(getSMTWhenCombinator_Tactic(), this.getSMTReasoningTactic(), null, "tactic", null, 0, 1, SMTWhenCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3013 | |||
3014 | initEClass(smtFailIfCombinatorEClass, SMTFailIfCombinator.class, "SMTFailIfCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3015 | initEReference(getSMTFailIfCombinator_Probe(), this.getReasoningProbe(), null, "probe", null, 0, 1, SMTFailIfCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3016 | |||
3017 | initEClass(smtUsingParamCombinatorEClass, SMTUsingParamCombinator.class, "SMTUsingParamCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3018 | initEReference(getSMTUsingParamCombinator_Tactic(), this.getSMTReasoningTactic(), null, "tactic", null, 0, 1, SMTUsingParamCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3019 | initEReference(getSMTUsingParamCombinator_Parameters(), this.getReasoningTacticParameter(), null, "parameters", null, 0, -1, SMTUsingParamCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3020 | |||
3021 | initEClass(reasoningProbeEClass, ReasoningProbe.class, "ReasoningProbe", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3022 | initEAttribute(getReasoningProbe_Name(), ecorePackage.getEString(), "name", null, 0, 1, ReasoningProbe.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3023 | |||
3024 | initEClass(reasoningTacticParameterEClass, ReasoningTacticParameter.class, "ReasoningTacticParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3025 | initEAttribute(getReasoningTacticParameter_Name(), ecorePackage.getEString(), "name", null, 0, 1, ReasoningTacticParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3026 | initEReference(getReasoningTacticParameter_Value(), this.getSMTAtomicTerm(), null, "value", null, 0, 1, ReasoningTacticParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3027 | |||
3028 | initEClass(smtResultEClass, SMTResult.class, "SMTResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3029 | |||
3030 | initEClass(smtErrorResultEClass, SMTErrorResult.class, "SMTErrorResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3031 | initEAttribute(getSMTErrorResult_Message(), ecorePackage.getEString(), "message", null, 0, 1, SMTErrorResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3032 | |||
3033 | initEClass(smtUnsupportedResultEClass, SMTUnsupportedResult.class, "SMTUnsupportedResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3034 | initEAttribute(getSMTUnsupportedResult_Command(), ecorePackage.getEString(), "command", null, 0, 1, SMTUnsupportedResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3035 | |||
3036 | initEClass(smtSatResultEClass, SMTSatResult.class, "SMTSatResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3037 | initEAttribute(getSMTSatResult_Sat(), ecorePackage.getEBoolean(), "sat", null, 0, 1, SMTSatResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3038 | initEAttribute(getSMTSatResult_Unsat(), ecorePackage.getEBoolean(), "unsat", null, 0, 1, SMTSatResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3039 | initEAttribute(getSMTSatResult_Unknown(), ecorePackage.getEBoolean(), "unknown", null, 0, 1, SMTSatResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3040 | |||
3041 | initEClass(smtModelResultEClass, SMTModelResult.class, "SMTModelResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3042 | initEReference(getSMTModelResult_NewFunctionDeclarations(), this.getSMTFunctionDeclaration(), null, "newFunctionDeclarations", null, 0, -1, SMTModelResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3043 | initEReference(getSMTModelResult_TypeDefinitions(), this.getSMTCardinalityConstraint(), null, "typeDefinitions", null, 0, -1, SMTModelResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3044 | initEReference(getSMTModelResult_NewFunctionDefinitions(), this.getSMTFunctionDefinition(), null, "newFunctionDefinitions", null, 0, -1, SMTModelResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3045 | |||
3046 | initEClass(smtStatisticValueEClass, SMTStatisticValue.class, "SMTStatisticValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3047 | initEAttribute(getSMTStatisticValue_Name(), ecorePackage.getEString(), "name", null, 0, 1, SMTStatisticValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3048 | |||
3049 | initEClass(smtStatisticIntValueEClass, SMTStatisticIntValue.class, "SMTStatisticIntValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3050 | initEAttribute(getSMTStatisticIntValue_Value(), ecorePackage.getEInt(), "value", null, 0, 1, SMTStatisticIntValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3051 | |||
3052 | initEClass(smtStatisticDoubleValueEClass, SMTStatisticDoubleValue.class, "SMTStatisticDoubleValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3053 | initEAttribute(getSMTStatisticDoubleValue_Value(), ecorePackage.getEBigDecimal(), "value", null, 0, 1, SMTStatisticDoubleValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3054 | |||
3055 | initEClass(smtStatisticsSectionEClass, SMTStatisticsSection.class, "SMTStatisticsSection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3056 | initEReference(getSMTStatisticsSection_Values(), this.getSMTStatisticValue(), null, "values", null, 0, -1, SMTStatisticsSection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3057 | |||
3058 | // Create resource | ||
3059 | createResource(eNS_URI); | ||
3060 | } | ||
3061 | |||
3062 | } //SmtLanguagePackageImpl | ||