aboutsummaryrefslogtreecommitdiffstats
path: root/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java')
-rw-r--r--Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java264
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/ALSLeqImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java
deleted file mode 100644
index be88c9bb..00000000
--- a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java
+++ /dev/null
@@ -1,264 +0,0 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl;
4
5import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq;
6import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm;
7import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage;
8
9import org.eclipse.emf.common.notify.Notification;
10import org.eclipse.emf.common.notify.NotificationChain;
11
12import org.eclipse.emf.ecore.EClass;
13import org.eclipse.emf.ecore.InternalEObject;
14
15import org.eclipse.emf.ecore.impl.ENotificationImpl;
16
17/**
18 * <!-- begin-user-doc -->
19 * An implementation of the model object '<em><b>ALS Leq</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.ALSLeqImpl#getLeftOperand <em>Left Operand</em>}</li>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl#getRightOperand <em>Right Operand</em>}</li>
27 * </ul>
28 *
29 * @generated
30 */
31public class ALSLeqImpl extends ALSTermImpl implements ALSLeq
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 ALSTerm 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 ALSTerm rightOperand;
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 protected ALSLeqImpl()
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_LEQ;
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 public ALSTerm getLeftOperand()
80 {
81 return leftOperand;
82 }
83
84 /**
85 * <!-- begin-user-doc -->
86 * <!-- end-user-doc -->
87 * @generated
88 */
89 public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs)
90 {
91 ALSTerm oldLeftOperand = leftOperand;
92 leftOperand = newLeftOperand;
93 if (eNotificationRequired())
94 {
95 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LEQ__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(ALSTerm newLeftOperand)
107 {
108 if (newLeftOperand != leftOperand)
109 {
110 NotificationChain msgs = null;
111 if (leftOperand != null)
112 msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND, null, msgs);
113 if (newLeftOperand != null)
114 msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LEQ__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, AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND, newLeftOperand, newLeftOperand));
120 }
121
122 /**
123 * <!-- begin-user-doc -->
124 * <!-- end-user-doc -->
125 * @generated
126 */
127 public ALSTerm getRightOperand()
128 {
129 return rightOperand;
130 }
131
132 /**
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @generated
136 */
137 public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs)
138 {
139 ALSTerm oldRightOperand = rightOperand;
140 rightOperand = newRightOperand;
141 if (eNotificationRequired())
142 {
143 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LEQ__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(ALSTerm newRightOperand)
155 {
156 if (newRightOperand != rightOperand)
157 {
158 NotificationChain msgs = null;
159 if (rightOperand != null)
160 msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND, null, msgs);
161 if (newRightOperand != null)
162 msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LEQ__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, AlloyLanguagePackage.ALS_LEQ__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 AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND:
181 return basicSetLeftOperand(null, msgs);
182 case AlloyLanguagePackage.ALS_LEQ__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 AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND:
199 return getLeftOperand();
200 case AlloyLanguagePackage.ALS_LEQ__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 AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND:
217 setLeftOperand((ALSTerm)newValue);
218 return;
219 case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND:
220 setRightOperand((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_LEQ__LEFT_OPERAND:
237 setLeftOperand((ALSTerm)null);
238 return;
239 case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND:
240 setRightOperand((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_LEQ__LEFT_OPERAND:
257 return leftOperand != null;
258 case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND:
259 return rightOperand != null;
260 }
261 return super.eIsSet(featureID);
262 }
263
264} //ALSLeqImpl