aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.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/PartialModelEntryImpl.java')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.java394
1 files changed, 197 insertions, 197 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.java
index 40b7ebd1..c37b4f0e 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.java
@@ -1,197 +1,197 @@
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.File; 7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File;
8import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry; 8import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry;
9 9
10import org.eclipse.emf.common.notify.Notification; 10import org.eclipse.emf.common.notify.Notification;
11import org.eclipse.emf.common.notify.NotificationChain; 11import org.eclipse.emf.common.notify.NotificationChain;
12 12
13import org.eclipse.emf.ecore.EClass; 13import org.eclipse.emf.ecore.EClass;
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;
17import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; 17import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
18 18
19/** 19/**
20 * <!-- begin-user-doc --> 20 * <!-- begin-user-doc -->
21 * An implementation of the model object '<em><b>Partial Model Entry</b></em>'. 21 * An implementation of the model object '<em><b>Partial Model Entry</b></em>'.
22 * <!-- end-user-doc --> 22 * <!-- end-user-doc -->
23 * <p> 23 * <p>
24 * The following features are implemented: 24 * The following features are implemented:
25 * </p> 25 * </p>
26 * <ul> 26 * <ul>
27 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl#getPath <em>Path</em>}</li> 27 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl#getPath <em>Path</em>}</li>
28 * </ul> 28 * </ul>
29 * 29 *
30 * @generated 30 * @generated
31 */ 31 */
32public class PartialModelEntryImpl extends MinimalEObjectImpl.Container implements PartialModelEntry 32public class PartialModelEntryImpl extends MinimalEObjectImpl.Container implements PartialModelEntry
33{ 33{
34 /** 34 /**
35 * The cached value of the '{@link #getPath() <em>Path</em>}' containment reference. 35 * The cached value of the '{@link #getPath() <em>Path</em>}' containment reference.
36 * <!-- begin-user-doc --> 36 * <!-- begin-user-doc -->
37 * <!-- end-user-doc --> 37 * <!-- end-user-doc -->
38 * @see #getPath() 38 * @see #getPath()
39 * @generated 39 * @generated
40 * @ordered 40 * @ordered
41 */ 41 */
42 protected File path; 42 protected File path;
43 43
44 /** 44 /**
45 * <!-- begin-user-doc --> 45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc --> 46 * <!-- end-user-doc -->
47 * @generated 47 * @generated
48 */ 48 */
49 protected PartialModelEntryImpl() 49 protected PartialModelEntryImpl()
50 { 50 {
51 super(); 51 super();
52 } 52 }
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 @Override 59 @Override
60 protected EClass eStaticClass() 60 protected EClass eStaticClass()
61 { 61 {
62 return ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY; 62 return ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY;
63 } 63 }
64 64
65 /** 65 /**
66 * <!-- begin-user-doc --> 66 * <!-- begin-user-doc -->
67 * <!-- end-user-doc --> 67 * <!-- end-user-doc -->
68 * @generated 68 * @generated
69 */ 69 */
70 @Override 70 @Override
71 public File getPath() 71 public File getPath()
72 { 72 {
73 return path; 73 return path;
74 } 74 }
75 75
76 /** 76 /**
77 * <!-- begin-user-doc --> 77 * <!-- begin-user-doc -->
78 * <!-- end-user-doc --> 78 * <!-- end-user-doc -->
79 * @generated 79 * @generated
80 */ 80 */
81 public NotificationChain basicSetPath(File newPath, NotificationChain msgs) 81 public NotificationChain basicSetPath(File newPath, NotificationChain msgs)
82 { 82 {
83 File oldPath = path; 83 File oldPath = path;
84 path = newPath; 84 path = newPath;
85 if (eNotificationRequired()) 85 if (eNotificationRequired())
86 { 86 {
87 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, oldPath, newPath); 87 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, oldPath, newPath);
88 if (msgs == null) msgs = notification; else msgs.add(notification); 88 if (msgs == null) msgs = notification; else msgs.add(notification);
89 } 89 }
90 return msgs; 90 return msgs;
91 } 91 }
92 92
93 /** 93 /**
94 * <!-- begin-user-doc --> 94 * <!-- begin-user-doc -->
95 * <!-- end-user-doc --> 95 * <!-- end-user-doc -->
96 * @generated 96 * @generated
97 */ 97 */
98 @Override 98 @Override
99 public void setPath(File newPath) 99 public void setPath(File newPath)
100 { 100 {
101 if (newPath != path) 101 if (newPath != path)
102 { 102 {
103 NotificationChain msgs = null; 103 NotificationChain msgs = null;
104 if (path != null) 104 if (path != null)
105 msgs = ((InternalEObject)path).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, null, msgs); 105 msgs = ((InternalEObject)path).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, null, msgs);
106 if (newPath != null) 106 if (newPath != null)
107 msgs = ((InternalEObject)newPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, null, msgs); 107 msgs = ((InternalEObject)newPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, null, msgs);
108 msgs = basicSetPath(newPath, msgs); 108 msgs = basicSetPath(newPath, msgs);
109 if (msgs != null) msgs.dispatch(); 109 if (msgs != null) msgs.dispatch();
110 } 110 }
111 else if (eNotificationRequired()) 111 else if (eNotificationRequired())
112 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, newPath, newPath)); 112 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, newPath, newPath));
113 } 113 }
114 114
115 /** 115 /**
116 * <!-- begin-user-doc --> 116 * <!-- begin-user-doc -->
117 * <!-- end-user-doc --> 117 * <!-- end-user-doc -->
118 * @generated 118 * @generated
119 */ 119 */
120 @Override 120 @Override
121 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) 121 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
122 { 122 {
123 switch (featureID) 123 switch (featureID)
124 { 124 {
125 case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: 125 case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH:
126 return basicSetPath(null, msgs); 126 return basicSetPath(null, msgs);
127 } 127 }
128 return super.eInverseRemove(otherEnd, featureID, msgs); 128 return super.eInverseRemove(otherEnd, featureID, msgs);
129 } 129 }
130 130
131 /** 131 /**
132 * <!-- begin-user-doc --> 132 * <!-- begin-user-doc -->
133 * <!-- end-user-doc --> 133 * <!-- end-user-doc -->
134 * @generated 134 * @generated
135 */ 135 */
136 @Override 136 @Override
137 public Object eGet(int featureID, boolean resolve, boolean coreType) 137 public Object eGet(int featureID, boolean resolve, boolean coreType)
138 { 138 {
139 switch (featureID) 139 switch (featureID)
140 { 140 {
141 case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: 141 case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH:
142 return getPath(); 142 return getPath();
143 } 143 }
144 return super.eGet(featureID, resolve, coreType); 144 return super.eGet(featureID, resolve, coreType);
145 } 145 }
146 146
147 /** 147 /**
148 * <!-- begin-user-doc --> 148 * <!-- begin-user-doc -->
149 * <!-- end-user-doc --> 149 * <!-- end-user-doc -->
150 * @generated 150 * @generated
151 */ 151 */
152 @Override 152 @Override
153 public void eSet(int featureID, Object newValue) 153 public void eSet(int featureID, Object newValue)
154 { 154 {
155 switch (featureID) 155 switch (featureID)
156 { 156 {
157 case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: 157 case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH:
158 setPath((File)newValue); 158 setPath((File)newValue);
159 return; 159 return;
160 } 160 }
161 super.eSet(featureID, newValue); 161 super.eSet(featureID, newValue);
162 } 162 }
163 163
164 /** 164 /**
165 * <!-- begin-user-doc --> 165 * <!-- begin-user-doc -->
166 * <!-- end-user-doc --> 166 * <!-- end-user-doc -->
167 * @generated 167 * @generated
168 */ 168 */
169 @Override 169 @Override
170 public void eUnset(int featureID) 170 public void eUnset(int featureID)
171 { 171 {
172 switch (featureID) 172 switch (featureID)
173 { 173 {
174 case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: 174 case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH:
175 setPath((File)null); 175 setPath((File)null);
176 return; 176 return;
177 } 177 }
178 super.eUnset(featureID); 178 super.eUnset(featureID);
179 } 179 }
180 180
181 /** 181 /**
182 * <!-- begin-user-doc --> 182 * <!-- begin-user-doc -->
183 * <!-- end-user-doc --> 183 * <!-- end-user-doc -->
184 * @generated 184 * @generated
185 */ 185 */
186 @Override 186 @Override
187 public boolean eIsSet(int featureID) 187 public boolean eIsSet(int featureID)
188 { 188 {
189 switch (featureID) 189 switch (featureID)
190 { 190 {
191 case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: 191 case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH:
192 return path != null; 192 return path != null;
193 } 193 }
194 return super.eIsSet(featureID); 194 return super.eIsSet(featureID);
195 } 195 }
196 196
197} //PartialModelEntryImpl 197} //PartialModelEntryImpl