diff options
Diffstat (limited to 'Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTParThenCombinatorImpl.java')
-rw-r--r-- | Solvers/SMT-Solver/hu.bme.mit.inf.dslreasoner.smt.language/src-gen/hu/bme/mit/inf/dslreasoner/smtLanguage/impl/SMTParThenCombinatorImpl.java | 264 |
1 files changed, 264 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/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 | ||