diff options
author | 2021-01-14 13:07:08 -0500 | |
---|---|---|
committer | 2021-01-14 13:07:08 -0500 | |
commit | 0de1dbfaed208ba70863abe3671f868f168bc9cd (patch) | |
tree | 24961120f0d94d4da6fd1ac03e6776e224d493b0 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java | |
parent | Add aird file for crossingScenario Ecore (diff) | |
download | VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.tar.gz VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.tar.zst VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.zip |
Adjust vsconfig xtext to consider reals as EDouble rather than EBigDecimals
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java | 474 |
1 files changed, 237 insertions, 237 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java index aa7249ae..b8fdeb0a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java | |||
@@ -1,237 +1,237 @@ | |||
1 | /** | 1 | /** |
2 | * generated by Xtext 2.21.0 | 2 | * generated by Xtext 2.21.0 |
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | 4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | 6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; |
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry; |
8 | 8 | ||
9 | import org.eclipse.emf.common.notify.Notification; | 9 | import org.eclipse.emf.common.notify.Notification; |
10 | 10 | ||
11 | import org.eclipse.emf.ecore.EClass; | 11 | import org.eclipse.emf.ecore.EClass; |
12 | 12 | ||
13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 13 | import 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>Custom Entry</b></em>'. | 17 | * An implementation of the model object '<em><b>Custom Entry</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.CustomEntryImpl#getKey <em>Key</em>}</li> | 23 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl#getKey <em>Key</em>}</li> |
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl#getValue <em>Value</em>}</li> | 24 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl#getValue <em>Value</em>}</li> |
25 | * </ul> | 25 | * </ul> |
26 | * | 26 | * |
27 | * @generated | 27 | * @generated |
28 | */ | 28 | */ |
29 | public class CustomEntryImpl extends ConfigEntryImpl implements CustomEntry | 29 | public class CustomEntryImpl extends ConfigEntryImpl implements CustomEntry |
30 | { | 30 | { |
31 | /** | 31 | /** |
32 | * The default value of the '{@link #getKey() <em>Key</em>}' attribute. | 32 | * The default value of the '{@link #getKey() <em>Key</em>}' attribute. |
33 | * <!-- begin-user-doc --> | 33 | * <!-- begin-user-doc --> |
34 | * <!-- end-user-doc --> | 34 | * <!-- end-user-doc --> |
35 | * @see #getKey() | 35 | * @see #getKey() |
36 | * @generated | 36 | * @generated |
37 | * @ordered | 37 | * @ordered |
38 | */ | 38 | */ |
39 | protected static final String KEY_EDEFAULT = null; | 39 | protected static final String KEY_EDEFAULT = null; |
40 | 40 | ||
41 | /** | 41 | /** |
42 | * The cached value of the '{@link #getKey() <em>Key</em>}' attribute. | 42 | * The cached value of the '{@link #getKey() <em>Key</em>}' attribute. |
43 | * <!-- begin-user-doc --> | 43 | * <!-- begin-user-doc --> |
44 | * <!-- end-user-doc --> | 44 | * <!-- end-user-doc --> |
45 | * @see #getKey() | 45 | * @see #getKey() |
46 | * @generated | 46 | * @generated |
47 | * @ordered | 47 | * @ordered |
48 | */ | 48 | */ |
49 | protected String key = KEY_EDEFAULT; | 49 | protected String key = KEY_EDEFAULT; |
50 | 50 | ||
51 | /** | 51 | /** |
52 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | 52 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. |
53 | * <!-- begin-user-doc --> | 53 | * <!-- begin-user-doc --> |
54 | * <!-- end-user-doc --> | 54 | * <!-- end-user-doc --> |
55 | * @see #getValue() | 55 | * @see #getValue() |
56 | * @generated | 56 | * @generated |
57 | * @ordered | 57 | * @ordered |
58 | */ | 58 | */ |
59 | protected static final String VALUE_EDEFAULT = null; | 59 | protected static final String VALUE_EDEFAULT = null; |
60 | 60 | ||
61 | /** | 61 | /** |
62 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | 62 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. |
63 | * <!-- begin-user-doc --> | 63 | * <!-- begin-user-doc --> |
64 | * <!-- end-user-doc --> | 64 | * <!-- end-user-doc --> |
65 | * @see #getValue() | 65 | * @see #getValue() |
66 | * @generated | 66 | * @generated |
67 | * @ordered | 67 | * @ordered |
68 | */ | 68 | */ |
69 | protected String value = VALUE_EDEFAULT; | 69 | protected String value = VALUE_EDEFAULT; |
70 | 70 | ||
71 | /** | 71 | /** |
72 | * <!-- begin-user-doc --> | 72 | * <!-- begin-user-doc --> |
73 | * <!-- end-user-doc --> | 73 | * <!-- end-user-doc --> |
74 | * @generated | 74 | * @generated |
75 | */ | 75 | */ |
76 | protected CustomEntryImpl() | 76 | protected CustomEntryImpl() |
77 | { | 77 | { |
78 | super(); | 78 | super(); |
79 | } | 79 | } |
80 | 80 | ||
81 | /** | 81 | /** |
82 | * <!-- begin-user-doc --> | 82 | * <!-- begin-user-doc --> |
83 | * <!-- end-user-doc --> | 83 | * <!-- end-user-doc --> |
84 | * @generated | 84 | * @generated |
85 | */ | 85 | */ |
86 | @Override | 86 | @Override |
87 | protected EClass eStaticClass() | 87 | protected EClass eStaticClass() |
88 | { | 88 | { |
89 | return ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY; | 89 | return ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY; |
90 | } | 90 | } |
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 | @Override | 97 | @Override |
98 | public String getKey() | 98 | public String getKey() |
99 | { | 99 | { |
100 | return key; | 100 | return key; |
101 | } | 101 | } |
102 | 102 | ||
103 | /** | 103 | /** |
104 | * <!-- begin-user-doc --> | 104 | * <!-- begin-user-doc --> |
105 | * <!-- end-user-doc --> | 105 | * <!-- end-user-doc --> |
106 | * @generated | 106 | * @generated |
107 | */ | 107 | */ |
108 | @Override | 108 | @Override |
109 | public void setKey(String newKey) | 109 | public void setKey(String newKey) |
110 | { | 110 | { |
111 | String oldKey = key; | 111 | String oldKey = key; |
112 | key = newKey; | 112 | key = newKey; |
113 | if (eNotificationRequired()) | 113 | if (eNotificationRequired()) |
114 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY, oldKey, key)); | 114 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY, oldKey, key)); |
115 | } | 115 | } |
116 | 116 | ||
117 | /** | 117 | /** |
118 | * <!-- begin-user-doc --> | 118 | * <!-- begin-user-doc --> |
119 | * <!-- end-user-doc --> | 119 | * <!-- end-user-doc --> |
120 | * @generated | 120 | * @generated |
121 | */ | 121 | */ |
122 | @Override | 122 | @Override |
123 | public String getValue() | 123 | public String getValue() |
124 | { | 124 | { |
125 | return value; | 125 | return value; |
126 | } | 126 | } |
127 | 127 | ||
128 | /** | 128 | /** |
129 | * <!-- begin-user-doc --> | 129 | * <!-- begin-user-doc --> |
130 | * <!-- end-user-doc --> | 130 | * <!-- end-user-doc --> |
131 | * @generated | 131 | * @generated |
132 | */ | 132 | */ |
133 | @Override | 133 | @Override |
134 | public void setValue(String newValue) | 134 | public void setValue(String newValue) |
135 | { | 135 | { |
136 | String oldValue = value; | 136 | String oldValue = value; |
137 | value = newValue; | 137 | value = newValue; |
138 | if (eNotificationRequired()) | 138 | if (eNotificationRequired()) |
139 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE, oldValue, value)); | 139 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE, oldValue, value)); |
140 | } | 140 | } |
141 | 141 | ||
142 | /** | 142 | /** |
143 | * <!-- begin-user-doc --> | 143 | * <!-- begin-user-doc --> |
144 | * <!-- end-user-doc --> | 144 | * <!-- end-user-doc --> |
145 | * @generated | 145 | * @generated |
146 | */ | 146 | */ |
147 | @Override | 147 | @Override |
148 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 148 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
149 | { | 149 | { |
150 | switch (featureID) | 150 | switch (featureID) |
151 | { | 151 | { |
152 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: | 152 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: |
153 | return getKey(); | 153 | return getKey(); |
154 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: | 154 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: |
155 | return getValue(); | 155 | return getValue(); |
156 | } | 156 | } |
157 | return super.eGet(featureID, resolve, coreType); | 157 | return super.eGet(featureID, resolve, coreType); |
158 | } | 158 | } |
159 | 159 | ||
160 | /** | 160 | /** |
161 | * <!-- begin-user-doc --> | 161 | * <!-- begin-user-doc --> |
162 | * <!-- end-user-doc --> | 162 | * <!-- end-user-doc --> |
163 | * @generated | 163 | * @generated |
164 | */ | 164 | */ |
165 | @Override | 165 | @Override |
166 | public void eSet(int featureID, Object newValue) | 166 | public void eSet(int featureID, Object newValue) |
167 | { | 167 | { |
168 | switch (featureID) | 168 | switch (featureID) |
169 | { | 169 | { |
170 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: | 170 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: |
171 | setKey((String)newValue); | 171 | setKey((String)newValue); |
172 | return; | 172 | return; |
173 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: | 173 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: |
174 | setValue((String)newValue); | 174 | setValue((String)newValue); |
175 | return; | 175 | return; |
176 | } | 176 | } |
177 | super.eSet(featureID, newValue); | 177 | super.eSet(featureID, newValue); |
178 | } | 178 | } |
179 | 179 | ||
180 | /** | 180 | /** |
181 | * <!-- begin-user-doc --> | 181 | * <!-- begin-user-doc --> |
182 | * <!-- end-user-doc --> | 182 | * <!-- end-user-doc --> |
183 | * @generated | 183 | * @generated |
184 | */ | 184 | */ |
185 | @Override | 185 | @Override |
186 | public void eUnset(int featureID) | 186 | public void eUnset(int featureID) |
187 | { | 187 | { |
188 | switch (featureID) | 188 | switch (featureID) |
189 | { | 189 | { |
190 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: | 190 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: |
191 | setKey(KEY_EDEFAULT); | 191 | setKey(KEY_EDEFAULT); |
192 | return; | 192 | return; |
193 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: | 193 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: |
194 | setValue(VALUE_EDEFAULT); | 194 | setValue(VALUE_EDEFAULT); |
195 | return; | 195 | return; |
196 | } | 196 | } |
197 | super.eUnset(featureID); | 197 | super.eUnset(featureID); |
198 | } | 198 | } |
199 | 199 | ||
200 | /** | 200 | /** |
201 | * <!-- begin-user-doc --> | 201 | * <!-- begin-user-doc --> |
202 | * <!-- end-user-doc --> | 202 | * <!-- end-user-doc --> |
203 | * @generated | 203 | * @generated |
204 | */ | 204 | */ |
205 | @Override | 205 | @Override |
206 | public boolean eIsSet(int featureID) | 206 | public boolean eIsSet(int featureID) |
207 | { | 207 | { |
208 | switch (featureID) | 208 | switch (featureID) |
209 | { | 209 | { |
210 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: | 210 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: |
211 | return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); | 211 | return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); |
212 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: | 212 | case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: |
213 | return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); | 213 | return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); |
214 | } | 214 | } |
215 | return super.eIsSet(featureID); | 215 | return super.eIsSet(featureID); |
216 | } | 216 | } |
217 | 217 | ||
218 | /** | 218 | /** |
219 | * <!-- begin-user-doc --> | 219 | * <!-- begin-user-doc --> |
220 | * <!-- end-user-doc --> | 220 | * <!-- end-user-doc --> |
221 | * @generated | 221 | * @generated |
222 | */ | 222 | */ |
223 | @Override | 223 | @Override |
224 | public String toString() | 224 | public String toString() |
225 | { | 225 | { |
226 | if (eIsProxy()) return super.toString(); | 226 | if (eIsProxy()) return super.toString(); |
227 | 227 | ||
228 | StringBuilder result = new StringBuilder(super.toString()); | 228 | StringBuilder result = new StringBuilder(super.toString()); |
229 | result.append(" (key: "); | 229 | result.append(" (key: "); |
230 | result.append(key); | 230 | result.append(key); |
231 | result.append(", value: "); | 231 | result.append(", value: "); |
232 | result.append(value); | 232 | result.append(value); |
233 | result.append(')'); | 233 | result.append(')'); |
234 | return result.toString(); | 234 | return result.toString(); |
235 | } | 235 | } |
236 | 236 | ||
237 | } //CustomEntryImpl | 237 | } //CustomEntryImpl |