aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.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/CustomEntryImpl.java')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java470
1 files changed, 237 insertions, 233 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 b6a38700..aa7249ae 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,233 +1,237 @@
1/** 1/**
2 * generated by Xtext 2.12.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.CustomEntry; 7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry;
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>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 */
29public class CustomEntryImpl extends ConfigEntryImpl implements CustomEntry 29public 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 public String getKey() 97 @Override
98 { 98 public String getKey()
99 return key; 99 {
100 } 100 return key;
101 101 }
102 /** 102
103 * <!-- begin-user-doc --> 103 /**
104 * <!-- end-user-doc --> 104 * <!-- begin-user-doc -->
105 * @generated 105 * <!-- end-user-doc -->
106 */ 106 * @generated
107 public void setKey(String newKey) 107 */
108 { 108 @Override
109 String oldKey = key; 109 public void setKey(String newKey)
110 key = newKey; 110 {
111 if (eNotificationRequired()) 111 String oldKey = key;
112 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY, oldKey, key)); 112 key = newKey;
113 } 113 if (eNotificationRequired())
114 114 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY, oldKey, key));
115 /** 115 }
116 * <!-- begin-user-doc --> 116
117 * <!-- end-user-doc --> 117 /**
118 * @generated 118 * <!-- begin-user-doc -->
119 */ 119 * <!-- end-user-doc -->
120 public String getValue() 120 * @generated
121 { 121 */
122 return value; 122 @Override
123 } 123 public String getValue()
124 124 {
125 /** 125 return value;
126 * <!-- begin-user-doc --> 126 }
127 * <!-- end-user-doc --> 127
128 * @generated 128 /**
129 */ 129 * <!-- begin-user-doc -->
130 public void setValue(String newValue) 130 * <!-- end-user-doc -->
131 { 131 * @generated
132 String oldValue = value; 132 */
133 value = newValue; 133 @Override
134 if (eNotificationRequired()) 134 public void setValue(String newValue)
135 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE, oldValue, value)); 135 {
136 } 136 String oldValue = value;
137 137 value = newValue;
138 /** 138 if (eNotificationRequired())
139 * <!-- begin-user-doc --> 139 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE, oldValue, value));
140 * <!-- end-user-doc --> 140 }
141 * @generated 141
142 */ 142 /**
143 @Override 143 * <!-- begin-user-doc -->
144 public Object eGet(int featureID, boolean resolve, boolean coreType) 144 * <!-- end-user-doc -->
145 { 145 * @generated
146 switch (featureID) 146 */
147 { 147 @Override
148 case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: 148 public Object eGet(int featureID, boolean resolve, boolean coreType)
149 return getKey(); 149 {
150 case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: 150 switch (featureID)
151 return getValue(); 151 {
152 } 152 case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY:
153 return super.eGet(featureID, resolve, coreType); 153 return getKey();
154 } 154 case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE:
155 155 return getValue();
156 /** 156 }
157 * <!-- begin-user-doc --> 157 return super.eGet(featureID, resolve, coreType);
158 * <!-- end-user-doc --> 158 }
159 * @generated 159
160 */ 160 /**
161 @Override 161 * <!-- begin-user-doc -->
162 public void eSet(int featureID, Object newValue) 162 * <!-- end-user-doc -->
163 { 163 * @generated
164 switch (featureID) 164 */
165 { 165 @Override
166 case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: 166 public void eSet(int featureID, Object newValue)
167 setKey((String)newValue); 167 {
168 return; 168 switch (featureID)
169 case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: 169 {
170 setValue((String)newValue); 170 case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY:
171 return; 171 setKey((String)newValue);
172 } 172 return;
173 super.eSet(featureID, newValue); 173 case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE:
174 } 174 setValue((String)newValue);
175 175 return;
176 /** 176 }
177 * <!-- begin-user-doc --> 177 super.eSet(featureID, newValue);
178 * <!-- end-user-doc --> 178 }
179 * @generated 179
180 */ 180 /**
181 @Override 181 * <!-- begin-user-doc -->
182 public void eUnset(int featureID) 182 * <!-- end-user-doc -->
183 { 183 * @generated
184 switch (featureID) 184 */
185 { 185 @Override
186 case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: 186 public void eUnset(int featureID)
187 setKey(KEY_EDEFAULT); 187 {
188 return; 188 switch (featureID)
189 case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: 189 {
190 setValue(VALUE_EDEFAULT); 190 case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY:
191 return; 191 setKey(KEY_EDEFAULT);
192 } 192 return;
193 super.eUnset(featureID); 193 case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE:
194 } 194 setValue(VALUE_EDEFAULT);
195 195 return;
196 /** 196 }
197 * <!-- begin-user-doc --> 197 super.eUnset(featureID);
198 * <!-- end-user-doc --> 198 }
199 * @generated 199
200 */ 200 /**
201 @Override 201 * <!-- begin-user-doc -->
202 public boolean eIsSet(int featureID) 202 * <!-- end-user-doc -->
203 { 203 * @generated
204 switch (featureID) 204 */
205 { 205 @Override
206 case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: 206 public boolean eIsSet(int featureID)
207 return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); 207 {
208 case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: 208 switch (featureID)
209 return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); 209 {
210 } 210 case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY:
211 return super.eIsSet(featureID); 211 return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key);
212 } 212 case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE:
213 213 return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
214 /** 214 }
215 * <!-- begin-user-doc --> 215 return super.eIsSet(featureID);
216 * <!-- end-user-doc --> 216 }
217 * @generated 217
218 */ 218 /**
219 @Override 219 * <!-- begin-user-doc -->
220 public String toString() 220 * <!-- end-user-doc -->
221 { 221 * @generated
222 if (eIsProxy()) return super.toString(); 222 */
223 223 @Override
224 StringBuffer result = new StringBuffer(super.toString()); 224 public String toString()
225 result.append(" (key: "); 225 {
226 result.append(key); 226 if (eIsProxy()) return super.toString();
227 result.append(", value: "); 227
228 result.append(value); 228 StringBuilder result = new StringBuilder(super.toString());
229 result.append(')'); 229 result.append(" (key: ");
230 return result.toString(); 230 result.append(key);
231 } 231 result.append(", value: ");
232 232 result.append(value);
233} //CustomEntryImpl 233 result.append(')');
234 return result.toString();
235 }
236
237} //CustomEntryImpl