aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.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/MetamodelElementImpl.java')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java486
1 files changed, 243 insertions, 243 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java
index 7f2e34ef..045814f7 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java
@@ -1,243 +1,243 @@
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.MetamodelElement; 7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement;
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;
12import org.eclipse.emf.ecore.EClassifier; 12import org.eclipse.emf.ecore.EClassifier;
13import org.eclipse.emf.ecore.ENamedElement; 13import org.eclipse.emf.ecore.ENamedElement;
14import org.eclipse.emf.ecore.InternalEObject; 14import org.eclipse.emf.ecore.InternalEObject;
15 15
16import org.eclipse.emf.ecore.impl.ENotificationImpl; 16import org.eclipse.emf.ecore.impl.ENotificationImpl;
17 17
18/** 18/**
19 * <!-- begin-user-doc --> 19 * <!-- begin-user-doc -->
20 * An implementation of the model object '<em><b>Metamodel Element</b></em>'. 20 * An implementation of the model object '<em><b>Metamodel Element</b></em>'.
21 * <!-- end-user-doc --> 21 * <!-- end-user-doc -->
22 * <p> 22 * <p>
23 * The following features are implemented: 23 * The following features are implemented:
24 * </p> 24 * </p>
25 * <ul> 25 * <ul>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl#getClassifier <em>Classifier</em>}</li> 26 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl#getClassifier <em>Classifier</em>}</li>
27 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl#getFeature <em>Feature</em>}</li> 27 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl#getFeature <em>Feature</em>}</li>
28 * </ul> 28 * </ul>
29 * 29 *
30 * @generated 30 * @generated
31 */ 31 */
32public class MetamodelElementImpl extends MetamodelEntryImpl implements MetamodelElement 32public class MetamodelElementImpl extends MetamodelEntryImpl implements MetamodelElement
33{ 33{
34 /** 34 /**
35 * The cached value of the '{@link #getClassifier() <em>Classifier</em>}' reference. 35 * The cached value of the '{@link #getClassifier() <em>Classifier</em>}' reference.
36 * <!-- begin-user-doc --> 36 * <!-- begin-user-doc -->
37 * <!-- end-user-doc --> 37 * <!-- end-user-doc -->
38 * @see #getClassifier() 38 * @see #getClassifier()
39 * @generated 39 * @generated
40 * @ordered 40 * @ordered
41 */ 41 */
42 protected EClassifier classifier; 42 protected EClassifier classifier;
43 43
44 /** 44 /**
45 * The cached value of the '{@link #getFeature() <em>Feature</em>}' reference. 45 * The cached value of the '{@link #getFeature() <em>Feature</em>}' reference.
46 * <!-- begin-user-doc --> 46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc --> 47 * <!-- end-user-doc -->
48 * @see #getFeature() 48 * @see #getFeature()
49 * @generated 49 * @generated
50 * @ordered 50 * @ordered
51 */ 51 */
52 protected ENamedElement feature; 52 protected ENamedElement feature;
53 53
54 /** 54 /**
55 * <!-- begin-user-doc --> 55 * <!-- begin-user-doc -->
56 * <!-- end-user-doc --> 56 * <!-- end-user-doc -->
57 * @generated 57 * @generated
58 */ 58 */
59 protected MetamodelElementImpl() 59 protected MetamodelElementImpl()
60 { 60 {
61 super(); 61 super();
62 } 62 }
63 63
64 /** 64 /**
65 * <!-- begin-user-doc --> 65 * <!-- begin-user-doc -->
66 * <!-- end-user-doc --> 66 * <!-- end-user-doc -->
67 * @generated 67 * @generated
68 */ 68 */
69 @Override 69 @Override
70 protected EClass eStaticClass() 70 protected EClass eStaticClass()
71 { 71 {
72 return ApplicationConfigurationPackage.Literals.METAMODEL_ELEMENT; 72 return ApplicationConfigurationPackage.Literals.METAMODEL_ELEMENT;
73 } 73 }
74 74
75 /** 75 /**
76 * <!-- begin-user-doc --> 76 * <!-- begin-user-doc -->
77 * <!-- end-user-doc --> 77 * <!-- end-user-doc -->
78 * @generated 78 * @generated
79 */ 79 */
80 @Override 80 @Override
81 public EClassifier getClassifier() 81 public EClassifier getClassifier()
82 { 82 {
83 if (classifier != null && classifier.eIsProxy()) 83 if (classifier != null && classifier.eIsProxy())
84 { 84 {
85 InternalEObject oldClassifier = (InternalEObject)classifier; 85 InternalEObject oldClassifier = (InternalEObject)classifier;
86 classifier = (EClassifier)eResolveProxy(oldClassifier); 86 classifier = (EClassifier)eResolveProxy(oldClassifier);
87 if (classifier != oldClassifier) 87 if (classifier != oldClassifier)
88 { 88 {
89 if (eNotificationRequired()) 89 if (eNotificationRequired())
90 eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER, oldClassifier, classifier)); 90 eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER, oldClassifier, classifier));
91 } 91 }
92 } 92 }
93 return classifier; 93 return classifier;
94 } 94 }
95 95
96 /** 96 /**
97 * <!-- begin-user-doc --> 97 * <!-- begin-user-doc -->
98 * <!-- end-user-doc --> 98 * <!-- end-user-doc -->
99 * @generated 99 * @generated
100 */ 100 */
101 public EClassifier basicGetClassifier() 101 public EClassifier basicGetClassifier()
102 { 102 {
103 return classifier; 103 return classifier;
104 } 104 }
105 105
106 /** 106 /**
107 * <!-- begin-user-doc --> 107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc --> 108 * <!-- end-user-doc -->
109 * @generated 109 * @generated
110 */ 110 */
111 @Override 111 @Override
112 public void setClassifier(EClassifier newClassifier) 112 public void setClassifier(EClassifier newClassifier)
113 { 113 {
114 EClassifier oldClassifier = classifier; 114 EClassifier oldClassifier = classifier;
115 classifier = newClassifier; 115 classifier = newClassifier;
116 if (eNotificationRequired()) 116 if (eNotificationRequired())
117 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER, oldClassifier, classifier)); 117 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER, oldClassifier, classifier));
118 } 118 }
119 119
120 /** 120 /**
121 * <!-- begin-user-doc --> 121 * <!-- begin-user-doc -->
122 * <!-- end-user-doc --> 122 * <!-- end-user-doc -->
123 * @generated 123 * @generated
124 */ 124 */
125 @Override 125 @Override
126 public ENamedElement getFeature() 126 public ENamedElement getFeature()
127 { 127 {
128 if (feature != null && feature.eIsProxy()) 128 if (feature != null && feature.eIsProxy())
129 { 129 {
130 InternalEObject oldFeature = (InternalEObject)feature; 130 InternalEObject oldFeature = (InternalEObject)feature;
131 feature = (ENamedElement)eResolveProxy(oldFeature); 131 feature = (ENamedElement)eResolveProxy(oldFeature);
132 if (feature != oldFeature) 132 if (feature != oldFeature)
133 { 133 {
134 if (eNotificationRequired()) 134 if (eNotificationRequired())
135 eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE, oldFeature, feature)); 135 eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE, oldFeature, feature));
136 } 136 }
137 } 137 }
138 return feature; 138 return feature;
139 } 139 }
140 140
141 /** 141 /**
142 * <!-- begin-user-doc --> 142 * <!-- begin-user-doc -->
143 * <!-- end-user-doc --> 143 * <!-- end-user-doc -->
144 * @generated 144 * @generated
145 */ 145 */
146 public ENamedElement basicGetFeature() 146 public ENamedElement basicGetFeature()
147 { 147 {
148 return feature; 148 return feature;
149 } 149 }
150 150
151 /** 151 /**
152 * <!-- begin-user-doc --> 152 * <!-- begin-user-doc -->
153 * <!-- end-user-doc --> 153 * <!-- end-user-doc -->
154 * @generated 154 * @generated
155 */ 155 */
156 @Override 156 @Override
157 public void setFeature(ENamedElement newFeature) 157 public void setFeature(ENamedElement newFeature)
158 { 158 {
159 ENamedElement oldFeature = feature; 159 ENamedElement oldFeature = feature;
160 feature = newFeature; 160 feature = newFeature;
161 if (eNotificationRequired()) 161 if (eNotificationRequired())
162 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE, oldFeature, feature)); 162 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE, oldFeature, feature));
163 } 163 }
164 164
165 /** 165 /**
166 * <!-- begin-user-doc --> 166 * <!-- begin-user-doc -->
167 * <!-- end-user-doc --> 167 * <!-- end-user-doc -->
168 * @generated 168 * @generated
169 */ 169 */
170 @Override 170 @Override
171 public Object eGet(int featureID, boolean resolve, boolean coreType) 171 public Object eGet(int featureID, boolean resolve, boolean coreType)
172 { 172 {
173 switch (featureID) 173 switch (featureID)
174 { 174 {
175 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: 175 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER:
176 if (resolve) return getClassifier(); 176 if (resolve) return getClassifier();
177 return basicGetClassifier(); 177 return basicGetClassifier();
178 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: 178 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE:
179 if (resolve) return getFeature(); 179 if (resolve) return getFeature();
180 return basicGetFeature(); 180 return basicGetFeature();
181 } 181 }
182 return super.eGet(featureID, resolve, coreType); 182 return super.eGet(featureID, resolve, coreType);
183 } 183 }
184 184
185 /** 185 /**
186 * <!-- begin-user-doc --> 186 * <!-- begin-user-doc -->
187 * <!-- end-user-doc --> 187 * <!-- end-user-doc -->
188 * @generated 188 * @generated
189 */ 189 */
190 @Override 190 @Override
191 public void eSet(int featureID, Object newValue) 191 public void eSet(int featureID, Object newValue)
192 { 192 {
193 switch (featureID) 193 switch (featureID)
194 { 194 {
195 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: 195 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER:
196 setClassifier((EClassifier)newValue); 196 setClassifier((EClassifier)newValue);
197 return; 197 return;
198 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: 198 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE:
199 setFeature((ENamedElement)newValue); 199 setFeature((ENamedElement)newValue);
200 return; 200 return;
201 } 201 }
202 super.eSet(featureID, newValue); 202 super.eSet(featureID, newValue);
203 } 203 }
204 204
205 /** 205 /**
206 * <!-- begin-user-doc --> 206 * <!-- begin-user-doc -->
207 * <!-- end-user-doc --> 207 * <!-- end-user-doc -->
208 * @generated 208 * @generated
209 */ 209 */
210 @Override 210 @Override
211 public void eUnset(int featureID) 211 public void eUnset(int featureID)
212 { 212 {
213 switch (featureID) 213 switch (featureID)
214 { 214 {
215 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: 215 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER:
216 setClassifier((EClassifier)null); 216 setClassifier((EClassifier)null);
217 return; 217 return;
218 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: 218 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE:
219 setFeature((ENamedElement)null); 219 setFeature((ENamedElement)null);
220 return; 220 return;
221 } 221 }
222 super.eUnset(featureID); 222 super.eUnset(featureID);
223 } 223 }
224 224
225 /** 225 /**
226 * <!-- begin-user-doc --> 226 * <!-- begin-user-doc -->
227 * <!-- end-user-doc --> 227 * <!-- end-user-doc -->
228 * @generated 228 * @generated
229 */ 229 */
230 @Override 230 @Override
231 public boolean eIsSet(int featureID) 231 public boolean eIsSet(int featureID)
232 { 232 {
233 switch (featureID) 233 switch (featureID)
234 { 234 {
235 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: 235 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER:
236 return classifier != null; 236 return classifier != null;
237 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: 237 case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE:
238 return feature != null; 238 return feature != null;
239 } 239 }
240 return super.eIsSet(featureID); 240 return super.eIsSet(featureID);
241 } 241 }
242 242
243} //MetamodelElementImpl 243} //MetamodelElementImpl