diff options
author | 2020-06-13 19:24:25 -0400 | |
---|---|---|
committer | 2020-06-13 19:24:25 -0400 | |
commit | 022a1e52e0cf20f64d9cd6685c65d945c04eaecc (patch) | |
tree | c281cd871d008ae63640fbdd9ff5739e273cb224 /Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java | |
parent | Merge branch 'Vampire-New' into Vampire-New (diff) | |
download | VIATRA-Generator-022a1e52e0cf20f64d9cd6685c65d945c04eaecc.tar.gz VIATRA-Generator-022a1e52e0cf20f64d9cd6685c65d945c04eaecc.tar.zst VIATRA-Generator-022a1e52e0cf20f64d9cd6685c65d945c04eaecc.zip |
remove Alloy solver copy
Diffstat (limited to 'Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java')
-rw-r--r-- | Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java | 264 |
1 files changed, 0 insertions, 264 deletions
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java deleted file mode 100644 index f29d5f07..00000000 --- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java +++ /dev/null | |||
@@ -1,264 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
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>ALS Range Restriction Left</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl#getFilter <em>Filter</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl#getRelation <em>Relation</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSRangeRestrictionLeftImpl extends ALSTermImpl implements ALSRangeRestrictionLeft | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getFilter() <em>Filter</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getFilter() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm filter; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRelation() <em>Relation</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRelation() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm relation; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSRangeRestrictionLeftImpl() | ||
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 AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getFilter() | ||
80 | { | ||
81 | return filter; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetFilter(ALSTerm newFilter, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldFilter = filter; | ||
92 | filter = newFilter; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER, oldFilter, newFilter); | ||
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 setFilter(ALSTerm newFilter) | ||
107 | { | ||
108 | if (newFilter != filter) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (filter != null) | ||
112 | msgs = ((InternalEObject)filter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER, null, msgs); | ||
113 | if (newFilter != null) | ||
114 | msgs = ((InternalEObject)newFilter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER, null, msgs); | ||
115 | msgs = basicSetFilter(newFilter, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER, newFilter, newFilter)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRelation() | ||
128 | { | ||
129 | return relation; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRelation(ALSTerm newRelation, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRelation = relation; | ||
140 | relation = newRelation; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION, oldRelation, newRelation); | ||
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 setRelation(ALSTerm newRelation) | ||
155 | { | ||
156 | if (newRelation != relation) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (relation != null) | ||
160 | msgs = ((InternalEObject)relation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION, null, msgs); | ||
161 | if (newRelation != null) | ||
162 | msgs = ((InternalEObject)newRelation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION, null, msgs); | ||
163 | msgs = basicSetRelation(newRelation, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION, newRelation, newRelation)); | ||
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 AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER: | ||
181 | return basicSetFilter(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION: | ||
183 | return basicSetRelation(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 AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER: | ||
199 | return getFilter(); | ||
200 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION: | ||
201 | return getRelation(); | ||
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 AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER: | ||
217 | setFilter((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION: | ||
220 | setRelation((ALSTerm)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 AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER: | ||
237 | setFilter((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION: | ||
240 | setRelation((ALSTerm)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 AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER: | ||
257 | return filter != null; | ||
258 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION: | ||
259 | return relation != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSRangeRestrictionLeftImpl | ||