diff options
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.java | 392 |
1 files changed, 197 insertions, 195 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 23571a76..c481e1b7 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,195 +1,197 @@ | |||
1 | /** | 1 | /** |
2 | * generated by Xtext 2.12.0 | 2 | * generated by Xtext 2.17.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.File; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; |
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry; | 8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry; |
9 | 9 | ||
10 | import org.eclipse.emf.common.notify.Notification; | 10 | import org.eclipse.emf.common.notify.Notification; |
11 | import org.eclipse.emf.common.notify.NotificationChain; | 11 | import org.eclipse.emf.common.notify.NotificationChain; |
12 | 12 | ||
13 | import org.eclipse.emf.ecore.EClass; | 13 | import org.eclipse.emf.ecore.EClass; |
14 | import org.eclipse.emf.ecore.InternalEObject; | 14 | import org.eclipse.emf.ecore.InternalEObject; |
15 | 15 | ||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
17 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | 17 | import 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 | */ |
32 | public class PartialModelEntryImpl extends MinimalEObjectImpl.Container implements PartialModelEntry | 32 | public 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 | public File getPath() | 70 | @Override |
71 | { | 71 | public File getPath() |
72 | return path; | 72 | { |
73 | } | 73 | return path; |
74 | 74 | } | |
75 | /** | 75 | |
76 | * <!-- begin-user-doc --> | 76 | /** |
77 | * <!-- end-user-doc --> | 77 | * <!-- begin-user-doc --> |
78 | * @generated | 78 | * <!-- end-user-doc --> |
79 | */ | 79 | * @generated |
80 | public NotificationChain basicSetPath(File newPath, NotificationChain msgs) | 80 | */ |
81 | { | 81 | public NotificationChain basicSetPath(File newPath, NotificationChain msgs) |
82 | File oldPath = path; | 82 | { |
83 | path = newPath; | 83 | File oldPath = path; |
84 | if (eNotificationRequired()) | 84 | path = newPath; |
85 | { | 85 | if (eNotificationRequired()) |
86 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, oldPath, newPath); | 86 | { |
87 | if (msgs == null) msgs = notification; else msgs.add(notification); | 87 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, oldPath, newPath); |
88 | } | 88 | if (msgs == null) msgs = notification; else msgs.add(notification); |
89 | return msgs; | 89 | } |
90 | } | 90 | return msgs; |
91 | 91 | } | |
92 | /** | 92 | |
93 | * <!-- begin-user-doc --> | 93 | /** |
94 | * <!-- end-user-doc --> | 94 | * <!-- begin-user-doc --> |
95 | * @generated | 95 | * <!-- end-user-doc --> |
96 | */ | 96 | * @generated |
97 | public void setPath(File newPath) | 97 | */ |
98 | { | 98 | @Override |
99 | if (newPath != path) | 99 | public void setPath(File newPath) |
100 | { | 100 | { |
101 | NotificationChain msgs = null; | 101 | if (newPath != path) |
102 | if (path != null) | 102 | { |
103 | msgs = ((InternalEObject)path).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, null, msgs); | 103 | NotificationChain msgs = null; |
104 | if (newPath != null) | 104 | if (path != null) |
105 | msgs = ((InternalEObject)newPath).eInverseAdd(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 | msgs = basicSetPath(newPath, msgs); | 106 | if (newPath != null) |
107 | if (msgs != null) msgs.dispatch(); | 107 | msgs = ((InternalEObject)newPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, null, msgs); |
108 | } | 108 | msgs = basicSetPath(newPath, msgs); |
109 | else if (eNotificationRequired()) | 109 | if (msgs != null) msgs.dispatch(); |
110 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, newPath, newPath)); | 110 | } |
111 | } | 111 | else if (eNotificationRequired()) |
112 | 112 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, newPath, newPath)); | |
113 | /** | 113 | } |
114 | * <!-- begin-user-doc --> | 114 | |
115 | * <!-- end-user-doc --> | 115 | /** |
116 | * @generated | 116 | * <!-- begin-user-doc --> |
117 | */ | 117 | * <!-- end-user-doc --> |
118 | @Override | 118 | * @generated |
119 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | 119 | */ |
120 | { | 120 | @Override |
121 | switch (featureID) | 121 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) |
122 | { | 122 | { |
123 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: | 123 | switch (featureID) |
124 | return basicSetPath(null, msgs); | 124 | { |
125 | } | 125 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: |
126 | return super.eInverseRemove(otherEnd, featureID, msgs); | 126 | return basicSetPath(null, msgs); |
127 | } | 127 | } |
128 | 128 | return super.eInverseRemove(otherEnd, featureID, msgs); | |
129 | /** | 129 | } |
130 | * <!-- begin-user-doc --> | 130 | |
131 | * <!-- end-user-doc --> | 131 | /** |
132 | * @generated | 132 | * <!-- begin-user-doc --> |
133 | */ | 133 | * <!-- end-user-doc --> |
134 | @Override | 134 | * @generated |
135 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 135 | */ |
136 | { | 136 | @Override |
137 | switch (featureID) | 137 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
138 | { | 138 | { |
139 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: | 139 | switch (featureID) |
140 | return getPath(); | 140 | { |
141 | } | 141 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: |
142 | return super.eGet(featureID, resolve, coreType); | 142 | return getPath(); |
143 | } | 143 | } |
144 | 144 | return super.eGet(featureID, resolve, coreType); | |
145 | /** | 145 | } |
146 | * <!-- begin-user-doc --> | 146 | |
147 | * <!-- end-user-doc --> | 147 | /** |
148 | * @generated | 148 | * <!-- begin-user-doc --> |
149 | */ | 149 | * <!-- end-user-doc --> |
150 | @Override | 150 | * @generated |
151 | public void eSet(int featureID, Object newValue) | 151 | */ |
152 | { | 152 | @Override |
153 | switch (featureID) | 153 | public void eSet(int featureID, Object newValue) |
154 | { | 154 | { |
155 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: | 155 | switch (featureID) |
156 | setPath((File)newValue); | 156 | { |
157 | return; | 157 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: |
158 | } | 158 | setPath((File)newValue); |
159 | super.eSet(featureID, newValue); | 159 | return; |
160 | } | 160 | } |
161 | 161 | super.eSet(featureID, newValue); | |
162 | /** | 162 | } |
163 | * <!-- begin-user-doc --> | 163 | |
164 | * <!-- end-user-doc --> | 164 | /** |
165 | * @generated | 165 | * <!-- begin-user-doc --> |
166 | */ | 166 | * <!-- end-user-doc --> |
167 | @Override | 167 | * @generated |
168 | public void eUnset(int featureID) | 168 | */ |
169 | { | 169 | @Override |
170 | switch (featureID) | 170 | public void eUnset(int featureID) |
171 | { | 171 | { |
172 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: | 172 | switch (featureID) |
173 | setPath((File)null); | 173 | { |
174 | return; | 174 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: |
175 | } | 175 | setPath((File)null); |
176 | super.eUnset(featureID); | 176 | return; |
177 | } | 177 | } |
178 | 178 | super.eUnset(featureID); | |
179 | /** | 179 | } |
180 | * <!-- begin-user-doc --> | 180 | |
181 | * <!-- end-user-doc --> | 181 | /** |
182 | * @generated | 182 | * <!-- begin-user-doc --> |
183 | */ | 183 | * <!-- end-user-doc --> |
184 | @Override | 184 | * @generated |
185 | public boolean eIsSet(int featureID) | 185 | */ |
186 | { | 186 | @Override |
187 | switch (featureID) | 187 | public boolean eIsSet(int featureID) |
188 | { | 188 | { |
189 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: | 189 | switch (featureID) |
190 | return path != null; | 190 | { |
191 | } | 191 | case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: |
192 | return super.eIsSet(featureID); | 192 | return path != null; |
193 | } | 193 | } |
194 | 194 | return super.eIsSet(featureID); | |
195 | } //PartialModelEntryImpl | 195 | } |
196 | |||
197 | } //PartialModelEntryImpl | ||