aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java590
1 files changed, 295 insertions, 295 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java
index f3956c2e..dcbaed1d 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java
@@ -1,295 +1,295 @@
1/** 1/**
2 * generated by Xtext 2.21.0 2 * generated by Xtext 2.21.0
3 */ 3 */
4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl;
5 5
6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; 6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage;
7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber; 7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber;
8 8
9import org.eclipse.emf.common.notify.Notification; 9import org.eclipse.emf.common.notify.Notification;
10 10
11import org.eclipse.emf.ecore.EClass; 11import org.eclipse.emf.ecore.EClass;
12 12
13import org.eclipse.emf.ecore.impl.ENotificationImpl; 13import org.eclipse.emf.ecore.impl.ENotificationImpl;
14 14
15/** 15/**
16 * <!-- begin-user-doc --> 16 * <!-- begin-user-doc -->
17 * An implementation of the model object '<em><b>Intervall Number</b></em>'. 17 * An implementation of the model object '<em><b>Intervall Number</b></em>'.
18 * <!-- end-user-doc --> 18 * <!-- end-user-doc -->
19 * <p> 19 * <p>
20 * The following features are implemented: 20 * The following features are implemented:
21 * </p> 21 * </p>
22 * <ul> 22 * <ul>
23 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#getMin <em>Min</em>}</li> 23 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#getMin <em>Min</em>}</li>
24 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#getMaxNumber <em>Max Number</em>}</li> 24 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#getMaxNumber <em>Max Number</em>}</li>
25 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#isMaxUnlimited <em>Max Unlimited</em>}</li> 25 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#isMaxUnlimited <em>Max Unlimited</em>}</li>
26 * </ul> 26 * </ul>
27 * 27 *
28 * @generated 28 * @generated
29 */ 29 */
30public class IntervallNumberImpl extends NumberSpecificationImpl implements IntervallNumber 30public class IntervallNumberImpl extends NumberSpecificationImpl implements IntervallNumber
31{ 31{
32 /** 32 /**
33 * The default value of the '{@link #getMin() <em>Min</em>}' attribute. 33 * The default value of the '{@link #getMin() <em>Min</em>}' attribute.
34 * <!-- begin-user-doc --> 34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc --> 35 * <!-- end-user-doc -->
36 * @see #getMin() 36 * @see #getMin()
37 * @generated 37 * @generated
38 * @ordered 38 * @ordered
39 */ 39 */
40 protected static final int MIN_EDEFAULT = 0; 40 protected static final int MIN_EDEFAULT = 0;
41 41
42 /** 42 /**
43 * The cached value of the '{@link #getMin() <em>Min</em>}' attribute. 43 * The cached value of the '{@link #getMin() <em>Min</em>}' attribute.
44 * <!-- begin-user-doc --> 44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc --> 45 * <!-- end-user-doc -->
46 * @see #getMin() 46 * @see #getMin()
47 * @generated 47 * @generated
48 * @ordered 48 * @ordered
49 */ 49 */
50 protected int min = MIN_EDEFAULT; 50 protected int min = MIN_EDEFAULT;
51 51
52 /** 52 /**
53 * The default value of the '{@link #getMaxNumber() <em>Max Number</em>}' attribute. 53 * The default value of the '{@link #getMaxNumber() <em>Max Number</em>}' attribute.
54 * <!-- begin-user-doc --> 54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc --> 55 * <!-- end-user-doc -->
56 * @see #getMaxNumber() 56 * @see #getMaxNumber()
57 * @generated 57 * @generated
58 * @ordered 58 * @ordered
59 */ 59 */
60 protected static final int MAX_NUMBER_EDEFAULT = 0; 60 protected static final int MAX_NUMBER_EDEFAULT = 0;
61 61
62 /** 62 /**
63 * The cached value of the '{@link #getMaxNumber() <em>Max Number</em>}' attribute. 63 * The cached value of the '{@link #getMaxNumber() <em>Max Number</em>}' attribute.
64 * <!-- begin-user-doc --> 64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc --> 65 * <!-- end-user-doc -->
66 * @see #getMaxNumber() 66 * @see #getMaxNumber()
67 * @generated 67 * @generated
68 * @ordered 68 * @ordered
69 */ 69 */
70 protected int maxNumber = MAX_NUMBER_EDEFAULT; 70 protected int maxNumber = MAX_NUMBER_EDEFAULT;
71 71
72 /** 72 /**
73 * The default value of the '{@link #isMaxUnlimited() <em>Max Unlimited</em>}' attribute. 73 * The default value of the '{@link #isMaxUnlimited() <em>Max Unlimited</em>}' attribute.
74 * <!-- begin-user-doc --> 74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc --> 75 * <!-- end-user-doc -->
76 * @see #isMaxUnlimited() 76 * @see #isMaxUnlimited()
77 * @generated 77 * @generated
78 * @ordered 78 * @ordered
79 */ 79 */
80 protected static final boolean MAX_UNLIMITED_EDEFAULT = false; 80 protected static final boolean MAX_UNLIMITED_EDEFAULT = false;
81 81
82 /** 82 /**
83 * The cached value of the '{@link #isMaxUnlimited() <em>Max Unlimited</em>}' attribute. 83 * The cached value of the '{@link #isMaxUnlimited() <em>Max Unlimited</em>}' attribute.
84 * <!-- begin-user-doc --> 84 * <!-- begin-user-doc -->
85 * <!-- end-user-doc --> 85 * <!-- end-user-doc -->
86 * @see #isMaxUnlimited() 86 * @see #isMaxUnlimited()
87 * @generated 87 * @generated
88 * @ordered 88 * @ordered
89 */ 89 */
90 protected boolean maxUnlimited = MAX_UNLIMITED_EDEFAULT; 90 protected boolean maxUnlimited = MAX_UNLIMITED_EDEFAULT;
91 91
92 /** 92 /**
93 * <!-- begin-user-doc --> 93 * <!-- begin-user-doc -->
94 * <!-- end-user-doc --> 94 * <!-- end-user-doc -->
95 * @generated 95 * @generated
96 */ 96 */
97 protected IntervallNumberImpl() 97 protected IntervallNumberImpl()
98 { 98 {
99 super(); 99 super();
100 } 100 }
101 101
102 /** 102 /**
103 * <!-- begin-user-doc --> 103 * <!-- begin-user-doc -->
104 * <!-- end-user-doc --> 104 * <!-- end-user-doc -->
105 * @generated 105 * @generated
106 */ 106 */
107 @Override 107 @Override
108 protected EClass eStaticClass() 108 protected EClass eStaticClass()
109 { 109 {
110 return ApplicationConfigurationPackage.Literals.INTERVALL_NUMBER; 110 return ApplicationConfigurationPackage.Literals.INTERVALL_NUMBER;
111 } 111 }
112 112
113 /** 113 /**
114 * <!-- begin-user-doc --> 114 * <!-- begin-user-doc -->
115 * <!-- end-user-doc --> 115 * <!-- end-user-doc -->
116 * @generated 116 * @generated
117 */ 117 */
118 @Override 118 @Override
119 public int getMin() 119 public int getMin()
120 { 120 {
121 return min; 121 return min;
122 } 122 }
123 123
124 /** 124 /**
125 * <!-- begin-user-doc --> 125 * <!-- begin-user-doc -->
126 * <!-- end-user-doc --> 126 * <!-- end-user-doc -->
127 * @generated 127 * @generated
128 */ 128 */
129 @Override 129 @Override
130 public void setMin(int newMin) 130 public void setMin(int newMin)
131 { 131 {
132 int oldMin = min; 132 int oldMin = min;
133 min = newMin; 133 min = newMin;
134 if (eNotificationRequired()) 134 if (eNotificationRequired())
135 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN, oldMin, min)); 135 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN, oldMin, min));
136 } 136 }
137 137
138 /** 138 /**
139 * <!-- begin-user-doc --> 139 * <!-- begin-user-doc -->
140 * <!-- end-user-doc --> 140 * <!-- end-user-doc -->
141 * @generated 141 * @generated
142 */ 142 */
143 @Override 143 @Override
144 public int getMaxNumber() 144 public int getMaxNumber()
145 { 145 {
146 return maxNumber; 146 return maxNumber;
147 } 147 }
148 148
149 /** 149 /**
150 * <!-- begin-user-doc --> 150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc --> 151 * <!-- end-user-doc -->
152 * @generated 152 * @generated
153 */ 153 */
154 @Override 154 @Override
155 public void setMaxNumber(int newMaxNumber) 155 public void setMaxNumber(int newMaxNumber)
156 { 156 {
157 int oldMaxNumber = maxNumber; 157 int oldMaxNumber = maxNumber;
158 maxNumber = newMaxNumber; 158 maxNumber = newMaxNumber;
159 if (eNotificationRequired()) 159 if (eNotificationRequired())
160 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER, oldMaxNumber, maxNumber)); 160 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER, oldMaxNumber, maxNumber));
161 } 161 }
162 162
163 /** 163 /**
164 * <!-- begin-user-doc --> 164 * <!-- begin-user-doc -->
165 * <!-- end-user-doc --> 165 * <!-- end-user-doc -->
166 * @generated 166 * @generated
167 */ 167 */
168 @Override 168 @Override
169 public boolean isMaxUnlimited() 169 public boolean isMaxUnlimited()
170 { 170 {
171 return maxUnlimited; 171 return maxUnlimited;
172 } 172 }
173 173
174 /** 174 /**
175 * <!-- begin-user-doc --> 175 * <!-- begin-user-doc -->
176 * <!-- end-user-doc --> 176 * <!-- end-user-doc -->
177 * @generated 177 * @generated
178 */ 178 */
179 @Override 179 @Override
180 public void setMaxUnlimited(boolean newMaxUnlimited) 180 public void setMaxUnlimited(boolean newMaxUnlimited)
181 { 181 {
182 boolean oldMaxUnlimited = maxUnlimited; 182 boolean oldMaxUnlimited = maxUnlimited;
183 maxUnlimited = newMaxUnlimited; 183 maxUnlimited = newMaxUnlimited;
184 if (eNotificationRequired()) 184 if (eNotificationRequired())
185 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED, oldMaxUnlimited, maxUnlimited)); 185 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED, oldMaxUnlimited, maxUnlimited));
186 } 186 }
187 187
188 /** 188 /**
189 * <!-- begin-user-doc --> 189 * <!-- begin-user-doc -->
190 * <!-- end-user-doc --> 190 * <!-- end-user-doc -->
191 * @generated 191 * @generated
192 */ 192 */
193 @Override 193 @Override
194 public Object eGet(int featureID, boolean resolve, boolean coreType) 194 public Object eGet(int featureID, boolean resolve, boolean coreType)
195 { 195 {
196 switch (featureID) 196 switch (featureID)
197 { 197 {
198 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: 198 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN:
199 return getMin(); 199 return getMin();
200 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: 200 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER:
201 return getMaxNumber(); 201 return getMaxNumber();
202 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: 202 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED:
203 return isMaxUnlimited(); 203 return isMaxUnlimited();
204 } 204 }
205 return super.eGet(featureID, resolve, coreType); 205 return super.eGet(featureID, resolve, coreType);
206 } 206 }
207 207
208 /** 208 /**
209 * <!-- begin-user-doc --> 209 * <!-- begin-user-doc -->
210 * <!-- end-user-doc --> 210 * <!-- end-user-doc -->
211 * @generated 211 * @generated
212 */ 212 */
213 @Override 213 @Override
214 public void eSet(int featureID, Object newValue) 214 public void eSet(int featureID, Object newValue)
215 { 215 {
216 switch (featureID) 216 switch (featureID)
217 { 217 {
218 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: 218 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN:
219 setMin((Integer)newValue); 219 setMin((Integer)newValue);
220 return; 220 return;
221 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: 221 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER:
222 setMaxNumber((Integer)newValue); 222 setMaxNumber((Integer)newValue);
223 return; 223 return;
224 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: 224 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED:
225 setMaxUnlimited((Boolean)newValue); 225 setMaxUnlimited((Boolean)newValue);
226 return; 226 return;
227 } 227 }
228 super.eSet(featureID, newValue); 228 super.eSet(featureID, newValue);
229 } 229 }
230 230
231 /** 231 /**
232 * <!-- begin-user-doc --> 232 * <!-- begin-user-doc -->
233 * <!-- end-user-doc --> 233 * <!-- end-user-doc -->
234 * @generated 234 * @generated
235 */ 235 */
236 @Override 236 @Override
237 public void eUnset(int featureID) 237 public void eUnset(int featureID)
238 { 238 {
239 switch (featureID) 239 switch (featureID)
240 { 240 {
241 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: 241 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN:
242 setMin(MIN_EDEFAULT); 242 setMin(MIN_EDEFAULT);
243 return; 243 return;
244 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: 244 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER:
245 setMaxNumber(MAX_NUMBER_EDEFAULT); 245 setMaxNumber(MAX_NUMBER_EDEFAULT);
246 return; 246 return;
247 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: 247 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED:
248 setMaxUnlimited(MAX_UNLIMITED_EDEFAULT); 248 setMaxUnlimited(MAX_UNLIMITED_EDEFAULT);
249 return; 249 return;
250 } 250 }
251 super.eUnset(featureID); 251 super.eUnset(featureID);
252 } 252 }
253 253
254 /** 254 /**
255 * <!-- begin-user-doc --> 255 * <!-- begin-user-doc -->
256 * <!-- end-user-doc --> 256 * <!-- end-user-doc -->
257 * @generated 257 * @generated
258 */ 258 */
259 @Override 259 @Override
260 public boolean eIsSet(int featureID) 260 public boolean eIsSet(int featureID)
261 { 261 {
262 switch (featureID) 262 switch (featureID)
263 { 263 {
264 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: 264 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN:
265 return min != MIN_EDEFAULT; 265 return min != MIN_EDEFAULT;
266 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: 266 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER:
267 return maxNumber != MAX_NUMBER_EDEFAULT; 267 return maxNumber != MAX_NUMBER_EDEFAULT;
268 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: 268 case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED:
269 return maxUnlimited != MAX_UNLIMITED_EDEFAULT; 269 return maxUnlimited != MAX_UNLIMITED_EDEFAULT;
270 } 270 }
271 return super.eIsSet(featureID); 271 return super.eIsSet(featureID);
272 } 272 }
273 273
274 /** 274 /**
275 * <!-- begin-user-doc --> 275 * <!-- begin-user-doc -->
276 * <!-- end-user-doc --> 276 * <!-- end-user-doc -->
277 * @generated 277 * @generated
278 */ 278 */
279 @Override 279 @Override
280 public String toString() 280 public String toString()
281 { 281 {
282 if (eIsProxy()) return super.toString(); 282 if (eIsProxy()) return super.toString();
283 283
284 StringBuilder result = new StringBuilder(super.toString()); 284 StringBuilder result = new StringBuilder(super.toString());
285 result.append(" (min: "); 285 result.append(" (min: ");
286 result.append(min); 286 result.append(min);
287 result.append(", maxNumber: "); 287 result.append(", maxNumber: ");
288 result.append(maxNumber); 288 result.append(maxNumber);
289 result.append(", maxUnlimited: "); 289 result.append(", maxUnlimited: ");
290 result.append(maxUnlimited); 290 result.append(maxUnlimited);
291 result.append(')'); 291 result.append(')');
292 return result.toString(); 292 return result.toString();
293 } 293 }
294 294
295} //IntervallNumberImpl 295} //IntervallNumberImpl