diff options
author | 2020-06-25 19:55:10 +0200 | |
---|---|---|
committer | 2020-06-25 19:55:10 +0200 | |
commit | c3a6d4b9cf3657070d180aa65ddbf0459e880329 (patch) | |
tree | 780c4fc61578dcb309af53fb0c164c7627e51676 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java | |
parent | New configuration language parser WIP (diff) | |
parent | Scope unsat benchmarks (diff) | |
download | VIATRA-Generator-c3a6d4b9cf3657070d180aa65ddbf0459e880329.tar.gz VIATRA-Generator-c3a6d4b9cf3657070d180aa65ddbf0459e880329.tar.zst VIATRA-Generator-c3a6d4b9cf3657070d180aa65ddbf0459e880329.zip |
Merge branch 'kris'
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java | 348 |
1 files changed, 175 insertions, 173 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java index 1496e005..29b28ec8 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java | |||
@@ -1,173 +1,175 @@ | |||
1 | /** | 1 | /** |
2 | * generated by Xtext 2.12.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.EPackageImport; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; |
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 | import org.eclipse.emf.ecore.EPackage; | 12 | import org.eclipse.emf.ecore.EPackage; |
13 | import org.eclipse.emf.ecore.InternalEObject; | 13 | import org.eclipse.emf.ecore.InternalEObject; |
14 | 14 | ||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
16 | 16 | ||
17 | /** | 17 | /** |
18 | * <!-- begin-user-doc --> | 18 | * <!-- begin-user-doc --> |
19 | * An implementation of the model object '<em><b>EPackage Import</b></em>'. | 19 | * An implementation of the model object '<em><b>EPackage Import</b></em>'. |
20 | * <!-- end-user-doc --> | 20 | * <!-- end-user-doc --> |
21 | * <p> | 21 | * <p> |
22 | * The following features are implemented: | 22 | * The following features are implemented: |
23 | * </p> | 23 | * </p> |
24 | * <ul> | 24 | * <ul> |
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl#getImportedPackage <em>Imported Package</em>}</li> | 25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl#getImportedPackage <em>Imported Package</em>}</li> |
26 | * </ul> | 26 | * </ul> |
27 | * | 27 | * |
28 | * @generated | 28 | * @generated |
29 | */ | 29 | */ |
30 | public class EPackageImportImpl extends ImportImpl implements EPackageImport | 30 | public class EPackageImportImpl extends ImportImpl implements EPackageImport |
31 | { | 31 | { |
32 | /** | 32 | /** |
33 | * The cached value of the '{@link #getImportedPackage() <em>Imported Package</em>}' reference. | 33 | * The cached value of the '{@link #getImportedPackage() <em>Imported Package</em>}' reference. |
34 | * <!-- begin-user-doc --> | 34 | * <!-- begin-user-doc --> |
35 | * <!-- end-user-doc --> | 35 | * <!-- end-user-doc --> |
36 | * @see #getImportedPackage() | 36 | * @see #getImportedPackage() |
37 | * @generated | 37 | * @generated |
38 | * @ordered | 38 | * @ordered |
39 | */ | 39 | */ |
40 | protected EPackage importedPackage; | 40 | protected EPackage importedPackage; |
41 | 41 | ||
42 | /** | 42 | /** |
43 | * <!-- begin-user-doc --> | 43 | * <!-- begin-user-doc --> |
44 | * <!-- end-user-doc --> | 44 | * <!-- end-user-doc --> |
45 | * @generated | 45 | * @generated |
46 | */ | 46 | */ |
47 | protected EPackageImportImpl() | 47 | protected EPackageImportImpl() |
48 | { | 48 | { |
49 | super(); | 49 | super(); |
50 | } | 50 | } |
51 | 51 | ||
52 | /** | 52 | /** |
53 | * <!-- begin-user-doc --> | 53 | * <!-- begin-user-doc --> |
54 | * <!-- end-user-doc --> | 54 | * <!-- end-user-doc --> |
55 | * @generated | 55 | * @generated |
56 | */ | 56 | */ |
57 | @Override | 57 | @Override |
58 | protected EClass eStaticClass() | 58 | protected EClass eStaticClass() |
59 | { | 59 | { |
60 | return ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT; | 60 | return ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT; |
61 | } | 61 | } |
62 | 62 | ||
63 | /** | 63 | /** |
64 | * <!-- begin-user-doc --> | 64 | * <!-- begin-user-doc --> |
65 | * <!-- end-user-doc --> | 65 | * <!-- end-user-doc --> |
66 | * @generated | 66 | * @generated |
67 | */ | 67 | */ |
68 | public EPackage getImportedPackage() | 68 | @Override |
69 | { | 69 | public EPackage getImportedPackage() |
70 | if (importedPackage != null && importedPackage.eIsProxy()) | 70 | { |
71 | { | 71 | if (importedPackage != null && importedPackage.eIsProxy()) |
72 | InternalEObject oldImportedPackage = (InternalEObject)importedPackage; | 72 | { |
73 | importedPackage = (EPackage)eResolveProxy(oldImportedPackage); | 73 | InternalEObject oldImportedPackage = (InternalEObject)importedPackage; |
74 | if (importedPackage != oldImportedPackage) | 74 | importedPackage = (EPackage)eResolveProxy(oldImportedPackage); |
75 | { | 75 | if (importedPackage != oldImportedPackage) |
76 | if (eNotificationRequired()) | 76 | { |
77 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE, oldImportedPackage, importedPackage)); | 77 | if (eNotificationRequired()) |
78 | } | 78 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE, oldImportedPackage, importedPackage)); |
79 | } | 79 | } |
80 | return importedPackage; | 80 | } |
81 | } | 81 | return importedPackage; |
82 | 82 | } | |
83 | /** | 83 | |
84 | * <!-- begin-user-doc --> | 84 | /** |
85 | * <!-- end-user-doc --> | 85 | * <!-- begin-user-doc --> |
86 | * @generated | 86 | * <!-- end-user-doc --> |
87 | */ | 87 | * @generated |
88 | public EPackage basicGetImportedPackage() | 88 | */ |
89 | { | 89 | public EPackage basicGetImportedPackage() |
90 | return importedPackage; | 90 | { |
91 | } | 91 | return importedPackage; |
92 | 92 | } | |
93 | /** | 93 | |
94 | * <!-- begin-user-doc --> | 94 | /** |
95 | * <!-- end-user-doc --> | 95 | * <!-- begin-user-doc --> |
96 | * @generated | 96 | * <!-- end-user-doc --> |
97 | */ | 97 | * @generated |
98 | public void setImportedPackage(EPackage newImportedPackage) | 98 | */ |
99 | { | 99 | @Override |
100 | EPackage oldImportedPackage = importedPackage; | 100 | public void setImportedPackage(EPackage newImportedPackage) |
101 | importedPackage = newImportedPackage; | 101 | { |
102 | if (eNotificationRequired()) | 102 | EPackage oldImportedPackage = importedPackage; |
103 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE, oldImportedPackage, importedPackage)); | 103 | importedPackage = newImportedPackage; |
104 | } | 104 | if (eNotificationRequired()) |
105 | 105 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE, oldImportedPackage, importedPackage)); | |
106 | /** | 106 | } |
107 | * <!-- begin-user-doc --> | 107 | |
108 | * <!-- end-user-doc --> | 108 | /** |
109 | * @generated | 109 | * <!-- begin-user-doc --> |
110 | */ | 110 | * <!-- end-user-doc --> |
111 | @Override | 111 | * @generated |
112 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 112 | */ |
113 | { | 113 | @Override |
114 | switch (featureID) | 114 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
115 | { | 115 | { |
116 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: | 116 | switch (featureID) |
117 | if (resolve) return getImportedPackage(); | 117 | { |
118 | return basicGetImportedPackage(); | 118 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: |
119 | } | 119 | if (resolve) return getImportedPackage(); |
120 | return super.eGet(featureID, resolve, coreType); | 120 | return basicGetImportedPackage(); |
121 | } | 121 | } |
122 | 122 | return super.eGet(featureID, resolve, coreType); | |
123 | /** | 123 | } |
124 | * <!-- begin-user-doc --> | 124 | |
125 | * <!-- end-user-doc --> | 125 | /** |
126 | * @generated | 126 | * <!-- begin-user-doc --> |
127 | */ | 127 | * <!-- end-user-doc --> |
128 | @Override | 128 | * @generated |
129 | public void eSet(int featureID, Object newValue) | 129 | */ |
130 | { | 130 | @Override |
131 | switch (featureID) | 131 | public void eSet(int featureID, Object newValue) |
132 | { | 132 | { |
133 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: | 133 | switch (featureID) |
134 | setImportedPackage((EPackage)newValue); | 134 | { |
135 | return; | 135 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: |
136 | } | 136 | setImportedPackage((EPackage)newValue); |
137 | super.eSet(featureID, newValue); | 137 | return; |
138 | } | 138 | } |
139 | 139 | super.eSet(featureID, newValue); | |
140 | /** | 140 | } |
141 | * <!-- begin-user-doc --> | 141 | |
142 | * <!-- end-user-doc --> | 142 | /** |
143 | * @generated | 143 | * <!-- begin-user-doc --> |
144 | */ | 144 | * <!-- end-user-doc --> |
145 | @Override | 145 | * @generated |
146 | public void eUnset(int featureID) | 146 | */ |
147 | { | 147 | @Override |
148 | switch (featureID) | 148 | public void eUnset(int featureID) |
149 | { | 149 | { |
150 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: | 150 | switch (featureID) |
151 | setImportedPackage((EPackage)null); | 151 | { |
152 | return; | 152 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: |
153 | } | 153 | setImportedPackage((EPackage)null); |
154 | super.eUnset(featureID); | 154 | return; |
155 | } | 155 | } |
156 | 156 | super.eUnset(featureID); | |
157 | /** | 157 | } |
158 | * <!-- begin-user-doc --> | 158 | |
159 | * <!-- end-user-doc --> | 159 | /** |
160 | * @generated | 160 | * <!-- begin-user-doc --> |
161 | */ | 161 | * <!-- end-user-doc --> |
162 | @Override | 162 | * @generated |
163 | public boolean eIsSet(int featureID) | 163 | */ |
164 | { | 164 | @Override |
165 | switch (featureID) | 165 | public boolean eIsSet(int featureID) |
166 | { | 166 | { |
167 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: | 167 | switch (featureID) |
168 | return importedPackage != null; | 168 | { |
169 | } | 169 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: |
170 | return super.eIsSet(featureID); | 170 | return importedPackage != null; |
171 | } | 171 | } |
172 | 172 | return super.eIsSet(featureID); | |
173 | } //EPackageImportImpl | 173 | } |
174 | |||
175 | } //EPackageImportImpl | ||