diff options
author | OszkarSemerath <oszka@SEMERATH-LAPTOP> | 2018-01-13 19:33:26 +0100 |
---|---|---|
committer | OszkarSemerath <oszka@SEMERATH-LAPTOP> | 2018-01-13 19:33:26 +0100 |
commit | 7e50434905cbb7f5d03636033b698e17a9075e9d (patch) | |
tree | 10e0968c20ac55dae4f5dc6077f39cf9947e3cb9 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration | |
parent | Test and measurement runners (diff) | |
download | VIATRA-Generator-7e50434905cbb7f5d03636033b698e17a9075e9d.tar.gz VIATRA-Generator-7e50434905cbb7f5d03636033b698e17a9075e9d.tar.zst VIATRA-Generator-7e50434905cbb7f5d03636033b698e17a9075e9d.zip |
Initial commit of the configuration language and application
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration')
32 files changed, 5227 insertions, 0 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPackageEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPackageEntry.java new file mode 100644 index 00000000..dda28616 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPackageEntry.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>All Package Entry</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry#getExclusion <em>Exclusion</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getAllPackageEntry() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface AllPackageEntry extends MetamodelEntry | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Exclusion</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Exclusion</em>' containment reference list isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Exclusion</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getAllPackageEntry_Exclusion() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<MetamodelElement> getExclusion(); | ||
41 | |||
42 | } // AllPackageEntry | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java new file mode 100644 index 00000000..33fcd49f --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java | |||
@@ -0,0 +1,152 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EFactory; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * The <b>Factory</b> for the model. | ||
11 | * It provides a create method for each non-abstract class of the model. | ||
12 | * <!-- end-user-doc --> | ||
13 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ApplicationConfigurationFactory extends EFactory | ||
17 | { | ||
18 | /** | ||
19 | * The singleton instance of the factory. | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | ApplicationConfigurationFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationFactoryImpl.init(); | ||
25 | |||
26 | /** | ||
27 | * Returns a new object of class '<em>Configuration Script</em>'. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @return a new object of class '<em>Configuration Script</em>'. | ||
31 | * @generated | ||
32 | */ | ||
33 | ConfigurationScript createConfigurationScript(); | ||
34 | |||
35 | /** | ||
36 | * Returns a new object of class '<em>Command</em>'. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @return a new object of class '<em>Command</em>'. | ||
40 | * @generated | ||
41 | */ | ||
42 | Command createCommand(); | ||
43 | |||
44 | /** | ||
45 | * Returns a new object of class '<em>Declaration</em>'. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @return a new object of class '<em>Declaration</em>'. | ||
49 | * @generated | ||
50 | */ | ||
51 | Declaration createDeclaration(); | ||
52 | |||
53 | /** | ||
54 | * Returns a new object of class '<em>Import</em>'. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @return a new object of class '<em>Import</em>'. | ||
58 | * @generated | ||
59 | */ | ||
60 | Import createImport(); | ||
61 | |||
62 | /** | ||
63 | * Returns a new object of class '<em>EPackage Import</em>'. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @return a new object of class '<em>EPackage Import</em>'. | ||
67 | * @generated | ||
68 | */ | ||
69 | EPackageImport createEPackageImport(); | ||
70 | |||
71 | /** | ||
72 | * Returns a new object of class '<em>Viatra Import</em>'. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @return a new object of class '<em>Viatra Import</em>'. | ||
76 | * @generated | ||
77 | */ | ||
78 | ViatraImport createViatraImport(); | ||
79 | |||
80 | /** | ||
81 | * Returns a new object of class '<em>Metamodel Specification</em>'. | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @return a new object of class '<em>Metamodel Specification</em>'. | ||
85 | * @generated | ||
86 | */ | ||
87 | MetamodelSpecification createMetamodelSpecification(); | ||
88 | |||
89 | /** | ||
90 | * Returns a new object of class '<em>Metamodel Entry</em>'. | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @return a new object of class '<em>Metamodel Entry</em>'. | ||
94 | * @generated | ||
95 | */ | ||
96 | MetamodelEntry createMetamodelEntry(); | ||
97 | |||
98 | /** | ||
99 | * Returns a new object of class '<em>All Package Entry</em>'. | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @return a new object of class '<em>All Package Entry</em>'. | ||
103 | * @generated | ||
104 | */ | ||
105 | AllPackageEntry createAllPackageEntry(); | ||
106 | |||
107 | /** | ||
108 | * Returns a new object of class '<em>Metamodel Element</em>'. | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @return a new object of class '<em>Metamodel Element</em>'. | ||
112 | * @generated | ||
113 | */ | ||
114 | MetamodelElement createMetamodelElement(); | ||
115 | |||
116 | /** | ||
117 | * Returns a new object of class '<em>Metamodel Declaration</em>'. | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @return a new object of class '<em>Metamodel Declaration</em>'. | ||
121 | * @generated | ||
122 | */ | ||
123 | MetamodelDeclaration createMetamodelDeclaration(); | ||
124 | |||
125 | /** | ||
126 | * Returns a new object of class '<em>Metamodel Reference</em>'. | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @return a new object of class '<em>Metamodel Reference</em>'. | ||
130 | * @generated | ||
131 | */ | ||
132 | MetamodelReference createMetamodelReference(); | ||
133 | |||
134 | /** | ||
135 | * Returns a new object of class '<em>Metamodel</em>'. | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @return a new object of class '<em>Metamodel</em>'. | ||
139 | * @generated | ||
140 | */ | ||
141 | Metamodel createMetamodel(); | ||
142 | |||
143 | /** | ||
144 | * Returns the package supported by this factory. | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @return the package supported by this factory. | ||
148 | * @generated | ||
149 | */ | ||
150 | ApplicationConfigurationPackage getApplicationConfigurationPackage(); | ||
151 | |||
152 | } //ApplicationConfigurationFactory | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java new file mode 100644 index 00000000..55c40d38 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java | |||
@@ -0,0 +1,947 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EAttribute; | ||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | import org.eclipse.emf.ecore.EReference; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * The <b>Package</b> for the model. | ||
14 | * It contains accessors for the meta objects to represent | ||
15 | * <ul> | ||
16 | * <li>each class,</li> | ||
17 | * <li>each feature of each class,</li> | ||
18 | * <li>each enum,</li> | ||
19 | * <li>and each data type</li> | ||
20 | * </ul> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationFactory | ||
23 | * @model kind="package" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface ApplicationConfigurationPackage extends EPackage | ||
27 | { | ||
28 | /** | ||
29 | * The package name. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | String eNAME = "applicationConfiguration"; | ||
35 | |||
36 | /** | ||
37 | * The package namespace URI. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @generated | ||
41 | */ | ||
42 | String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration"; | ||
43 | |||
44 | /** | ||
45 | * The package namespace name. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @generated | ||
49 | */ | ||
50 | String eNS_PREFIX = "applicationConfiguration"; | ||
51 | |||
52 | /** | ||
53 | * The singleton instance of the package. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | ApplicationConfigurationPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl.init(); | ||
59 | |||
60 | /** | ||
61 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl <em>Configuration Script</em>}' class. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl | ||
65 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigurationScript() | ||
66 | * @generated | ||
67 | */ | ||
68 | int CONFIGURATION_SCRIPT = 0; | ||
69 | |||
70 | /** | ||
71 | * The feature id for the '<em><b>Imports</b></em>' containment reference list. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | * @ordered | ||
76 | */ | ||
77 | int CONFIGURATION_SCRIPT__IMPORTS = 0; | ||
78 | |||
79 | /** | ||
80 | * The feature id for the '<em><b>Commands</b></em>' containment reference list. | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | * @ordered | ||
85 | */ | ||
86 | int CONFIGURATION_SCRIPT__COMMANDS = 1; | ||
87 | |||
88 | /** | ||
89 | * The number of structural features of the '<em>Configuration Script</em>' class. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @generated | ||
93 | * @ordered | ||
94 | */ | ||
95 | int CONFIGURATION_SCRIPT_FEATURE_COUNT = 2; | ||
96 | |||
97 | /** | ||
98 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl <em>Command</em>}' class. | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl | ||
102 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCommand() | ||
103 | * @generated | ||
104 | */ | ||
105 | int COMMAND = 1; | ||
106 | |||
107 | /** | ||
108 | * The number of structural features of the '<em>Command</em>' class. | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | * @ordered | ||
113 | */ | ||
114 | int COMMAND_FEATURE_COUNT = 0; | ||
115 | |||
116 | /** | ||
117 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl <em>Declaration</em>}' class. | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl | ||
121 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDeclaration() | ||
122 | * @generated | ||
123 | */ | ||
124 | int DECLARATION = 2; | ||
125 | |||
126 | /** | ||
127 | * The number of structural features of the '<em>Declaration</em>' class. | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | * @ordered | ||
132 | */ | ||
133 | int DECLARATION_FEATURE_COUNT = COMMAND_FEATURE_COUNT + 0; | ||
134 | |||
135 | /** | ||
136 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl <em>Import</em>}' class. | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl | ||
140 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getImport() | ||
141 | * @generated | ||
142 | */ | ||
143 | int IMPORT = 3; | ||
144 | |||
145 | /** | ||
146 | * The number of structural features of the '<em>Import</em>' class. | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | * @ordered | ||
151 | */ | ||
152 | int IMPORT_FEATURE_COUNT = 0; | ||
153 | |||
154 | /** | ||
155 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl <em>EPackage Import</em>}' class. | ||
156 | * <!-- begin-user-doc --> | ||
157 | * <!-- end-user-doc --> | ||
158 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl | ||
159 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getEPackageImport() | ||
160 | * @generated | ||
161 | */ | ||
162 | int EPACKAGE_IMPORT = 4; | ||
163 | |||
164 | /** | ||
165 | * The feature id for the '<em><b>Imported Package</b></em>' reference. | ||
166 | * <!-- begin-user-doc --> | ||
167 | * <!-- end-user-doc --> | ||
168 | * @generated | ||
169 | * @ordered | ||
170 | */ | ||
171 | int EPACKAGE_IMPORT__IMPORTED_PACKAGE = IMPORT_FEATURE_COUNT + 0; | ||
172 | |||
173 | /** | ||
174 | * The number of structural features of the '<em>EPackage Import</em>' class. | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | * @ordered | ||
179 | */ | ||
180 | int EPACKAGE_IMPORT_FEATURE_COUNT = IMPORT_FEATURE_COUNT + 1; | ||
181 | |||
182 | /** | ||
183 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl <em>Viatra Import</em>}' class. | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl | ||
187 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getViatraImport() | ||
188 | * @generated | ||
189 | */ | ||
190 | int VIATRA_IMPORT = 5; | ||
191 | |||
192 | /** | ||
193 | * The feature id for the '<em><b>Imported Viatra</b></em>' reference. | ||
194 | * <!-- begin-user-doc --> | ||
195 | * <!-- end-user-doc --> | ||
196 | * @generated | ||
197 | * @ordered | ||
198 | */ | ||
199 | int VIATRA_IMPORT__IMPORTED_VIATRA = IMPORT_FEATURE_COUNT + 0; | ||
200 | |||
201 | /** | ||
202 | * The number of structural features of the '<em>Viatra Import</em>' class. | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | * @ordered | ||
207 | */ | ||
208 | int VIATRA_IMPORT_FEATURE_COUNT = IMPORT_FEATURE_COUNT + 1; | ||
209 | |||
210 | /** | ||
211 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl <em>Metamodel</em>}' class. | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl | ||
215 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodel() | ||
216 | * @generated | ||
217 | */ | ||
218 | int METAMODEL = 12; | ||
219 | |||
220 | /** | ||
221 | * The number of structural features of the '<em>Metamodel</em>' class. | ||
222 | * <!-- begin-user-doc --> | ||
223 | * <!-- end-user-doc --> | ||
224 | * @generated | ||
225 | * @ordered | ||
226 | */ | ||
227 | int METAMODEL_FEATURE_COUNT = 0; | ||
228 | |||
229 | /** | ||
230 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl <em>Metamodel Specification</em>}' class. | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl | ||
234 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelSpecification() | ||
235 | * @generated | ||
236 | */ | ||
237 | int METAMODEL_SPECIFICATION = 6; | ||
238 | |||
239 | /** | ||
240 | * The feature id for the '<em><b>Entries</b></em>' containment reference list. | ||
241 | * <!-- begin-user-doc --> | ||
242 | * <!-- end-user-doc --> | ||
243 | * @generated | ||
244 | * @ordered | ||
245 | */ | ||
246 | int METAMODEL_SPECIFICATION__ENTRIES = METAMODEL_FEATURE_COUNT + 0; | ||
247 | |||
248 | /** | ||
249 | * The number of structural features of the '<em>Metamodel Specification</em>' class. | ||
250 | * <!-- begin-user-doc --> | ||
251 | * <!-- end-user-doc --> | ||
252 | * @generated | ||
253 | * @ordered | ||
254 | */ | ||
255 | int METAMODEL_SPECIFICATION_FEATURE_COUNT = METAMODEL_FEATURE_COUNT + 1; | ||
256 | |||
257 | /** | ||
258 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl <em>Metamodel Entry</em>}' class. | ||
259 | * <!-- begin-user-doc --> | ||
260 | * <!-- end-user-doc --> | ||
261 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl | ||
262 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelEntry() | ||
263 | * @generated | ||
264 | */ | ||
265 | int METAMODEL_ENTRY = 7; | ||
266 | |||
267 | /** | ||
268 | * The feature id for the '<em><b>Package</b></em>' reference. | ||
269 | * <!-- begin-user-doc --> | ||
270 | * <!-- end-user-doc --> | ||
271 | * @generated | ||
272 | * @ordered | ||
273 | */ | ||
274 | int METAMODEL_ENTRY__PACKAGE = 0; | ||
275 | |||
276 | /** | ||
277 | * The number of structural features of the '<em>Metamodel Entry</em>' class. | ||
278 | * <!-- begin-user-doc --> | ||
279 | * <!-- end-user-doc --> | ||
280 | * @generated | ||
281 | * @ordered | ||
282 | */ | ||
283 | int METAMODEL_ENTRY_FEATURE_COUNT = 1; | ||
284 | |||
285 | /** | ||
286 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl <em>All Package Entry</em>}' class. | ||
287 | * <!-- begin-user-doc --> | ||
288 | * <!-- end-user-doc --> | ||
289 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl | ||
290 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPackageEntry() | ||
291 | * @generated | ||
292 | */ | ||
293 | int ALL_PACKAGE_ENTRY = 8; | ||
294 | |||
295 | /** | ||
296 | * The feature id for the '<em><b>Package</b></em>' reference. | ||
297 | * <!-- begin-user-doc --> | ||
298 | * <!-- end-user-doc --> | ||
299 | * @generated | ||
300 | * @ordered | ||
301 | */ | ||
302 | int ALL_PACKAGE_ENTRY__PACKAGE = METAMODEL_ENTRY__PACKAGE; | ||
303 | |||
304 | /** | ||
305 | * The feature id for the '<em><b>Exclusion</b></em>' containment reference list. | ||
306 | * <!-- begin-user-doc --> | ||
307 | * <!-- end-user-doc --> | ||
308 | * @generated | ||
309 | * @ordered | ||
310 | */ | ||
311 | int ALL_PACKAGE_ENTRY__EXCLUSION = METAMODEL_ENTRY_FEATURE_COUNT + 0; | ||
312 | |||
313 | /** | ||
314 | * The number of structural features of the '<em>All Package Entry</em>' class. | ||
315 | * <!-- begin-user-doc --> | ||
316 | * <!-- end-user-doc --> | ||
317 | * @generated | ||
318 | * @ordered | ||
319 | */ | ||
320 | int ALL_PACKAGE_ENTRY_FEATURE_COUNT = METAMODEL_ENTRY_FEATURE_COUNT + 1; | ||
321 | |||
322 | /** | ||
323 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl <em>Metamodel Element</em>}' class. | ||
324 | * <!-- begin-user-doc --> | ||
325 | * <!-- end-user-doc --> | ||
326 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl | ||
327 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelElement() | ||
328 | * @generated | ||
329 | */ | ||
330 | int METAMODEL_ELEMENT = 9; | ||
331 | |||
332 | /** | ||
333 | * The feature id for the '<em><b>Package</b></em>' reference. | ||
334 | * <!-- begin-user-doc --> | ||
335 | * <!-- end-user-doc --> | ||
336 | * @generated | ||
337 | * @ordered | ||
338 | */ | ||
339 | int METAMODEL_ELEMENT__PACKAGE = METAMODEL_ENTRY__PACKAGE; | ||
340 | |||
341 | /** | ||
342 | * The feature id for the '<em><b>Classifier</b></em>' reference. | ||
343 | * <!-- begin-user-doc --> | ||
344 | * <!-- end-user-doc --> | ||
345 | * @generated | ||
346 | * @ordered | ||
347 | */ | ||
348 | int METAMODEL_ELEMENT__CLASSIFIER = METAMODEL_ENTRY_FEATURE_COUNT + 0; | ||
349 | |||
350 | /** | ||
351 | * The feature id for the '<em><b>Feature</b></em>' reference. | ||
352 | * <!-- begin-user-doc --> | ||
353 | * <!-- end-user-doc --> | ||
354 | * @generated | ||
355 | * @ordered | ||
356 | */ | ||
357 | int METAMODEL_ELEMENT__FEATURE = METAMODEL_ENTRY_FEATURE_COUNT + 1; | ||
358 | |||
359 | /** | ||
360 | * The number of structural features of the '<em>Metamodel Element</em>' class. | ||
361 | * <!-- begin-user-doc --> | ||
362 | * <!-- end-user-doc --> | ||
363 | * @generated | ||
364 | * @ordered | ||
365 | */ | ||
366 | int METAMODEL_ELEMENT_FEATURE_COUNT = METAMODEL_ENTRY_FEATURE_COUNT + 2; | ||
367 | |||
368 | /** | ||
369 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl <em>Metamodel Declaration</em>}' class. | ||
370 | * <!-- begin-user-doc --> | ||
371 | * <!-- end-user-doc --> | ||
372 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl | ||
373 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelDeclaration() | ||
374 | * @generated | ||
375 | */ | ||
376 | int METAMODEL_DECLARATION = 10; | ||
377 | |||
378 | /** | ||
379 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
380 | * <!-- begin-user-doc --> | ||
381 | * <!-- end-user-doc --> | ||
382 | * @generated | ||
383 | * @ordered | ||
384 | */ | ||
385 | int METAMODEL_DECLARATION__NAME = DECLARATION_FEATURE_COUNT + 0; | ||
386 | |||
387 | /** | ||
388 | * The feature id for the '<em><b>Specification</b></em>' containment reference. | ||
389 | * <!-- begin-user-doc --> | ||
390 | * <!-- end-user-doc --> | ||
391 | * @generated | ||
392 | * @ordered | ||
393 | */ | ||
394 | int METAMODEL_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 1; | ||
395 | |||
396 | /** | ||
397 | * The number of structural features of the '<em>Metamodel Declaration</em>' class. | ||
398 | * <!-- begin-user-doc --> | ||
399 | * <!-- end-user-doc --> | ||
400 | * @generated | ||
401 | * @ordered | ||
402 | */ | ||
403 | int METAMODEL_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 2; | ||
404 | |||
405 | /** | ||
406 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl <em>Metamodel Reference</em>}' class. | ||
407 | * <!-- begin-user-doc --> | ||
408 | * <!-- end-user-doc --> | ||
409 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl | ||
410 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelReference() | ||
411 | * @generated | ||
412 | */ | ||
413 | int METAMODEL_REFERENCE = 11; | ||
414 | |||
415 | /** | ||
416 | * The feature id for the '<em><b>Referred</b></em>' reference. | ||
417 | * <!-- begin-user-doc --> | ||
418 | * <!-- end-user-doc --> | ||
419 | * @generated | ||
420 | * @ordered | ||
421 | */ | ||
422 | int METAMODEL_REFERENCE__REFERRED = METAMODEL_FEATURE_COUNT + 0; | ||
423 | |||
424 | /** | ||
425 | * The number of structural features of the '<em>Metamodel Reference</em>' class. | ||
426 | * <!-- begin-user-doc --> | ||
427 | * <!-- end-user-doc --> | ||
428 | * @generated | ||
429 | * @ordered | ||
430 | */ | ||
431 | int METAMODEL_REFERENCE_FEATURE_COUNT = METAMODEL_FEATURE_COUNT + 1; | ||
432 | |||
433 | |||
434 | /** | ||
435 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript <em>Configuration Script</em>}'. | ||
436 | * <!-- begin-user-doc --> | ||
437 | * <!-- end-user-doc --> | ||
438 | * @return the meta object for class '<em>Configuration Script</em>'. | ||
439 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript | ||
440 | * @generated | ||
441 | */ | ||
442 | EClass getConfigurationScript(); | ||
443 | |||
444 | /** | ||
445 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports <em>Imports</em>}'. | ||
446 | * <!-- begin-user-doc --> | ||
447 | * <!-- end-user-doc --> | ||
448 | * @return the meta object for the containment reference list '<em>Imports</em>'. | ||
449 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports() | ||
450 | * @see #getConfigurationScript() | ||
451 | * @generated | ||
452 | */ | ||
453 | EReference getConfigurationScript_Imports(); | ||
454 | |||
455 | /** | ||
456 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands <em>Commands</em>}'. | ||
457 | * <!-- begin-user-doc --> | ||
458 | * <!-- end-user-doc --> | ||
459 | * @return the meta object for the containment reference list '<em>Commands</em>'. | ||
460 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands() | ||
461 | * @see #getConfigurationScript() | ||
462 | * @generated | ||
463 | */ | ||
464 | EReference getConfigurationScript_Commands(); | ||
465 | |||
466 | /** | ||
467 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command <em>Command</em>}'. | ||
468 | * <!-- begin-user-doc --> | ||
469 | * <!-- end-user-doc --> | ||
470 | * @return the meta object for class '<em>Command</em>'. | ||
471 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command | ||
472 | * @generated | ||
473 | */ | ||
474 | EClass getCommand(); | ||
475 | |||
476 | /** | ||
477 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration <em>Declaration</em>}'. | ||
478 | * <!-- begin-user-doc --> | ||
479 | * <!-- end-user-doc --> | ||
480 | * @return the meta object for class '<em>Declaration</em>'. | ||
481 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration | ||
482 | * @generated | ||
483 | */ | ||
484 | EClass getDeclaration(); | ||
485 | |||
486 | /** | ||
487 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import <em>Import</em>}'. | ||
488 | * <!-- begin-user-doc --> | ||
489 | * <!-- end-user-doc --> | ||
490 | * @return the meta object for class '<em>Import</em>'. | ||
491 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import | ||
492 | * @generated | ||
493 | */ | ||
494 | EClass getImport(); | ||
495 | |||
496 | /** | ||
497 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport <em>EPackage Import</em>}'. | ||
498 | * <!-- begin-user-doc --> | ||
499 | * <!-- end-user-doc --> | ||
500 | * @return the meta object for class '<em>EPackage Import</em>'. | ||
501 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport | ||
502 | * @generated | ||
503 | */ | ||
504 | EClass getEPackageImport(); | ||
505 | |||
506 | /** | ||
507 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage <em>Imported Package</em>}'. | ||
508 | * <!-- begin-user-doc --> | ||
509 | * <!-- end-user-doc --> | ||
510 | * @return the meta object for the reference '<em>Imported Package</em>'. | ||
511 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage() | ||
512 | * @see #getEPackageImport() | ||
513 | * @generated | ||
514 | */ | ||
515 | EReference getEPackageImport_ImportedPackage(); | ||
516 | |||
517 | /** | ||
518 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport <em>Viatra Import</em>}'. | ||
519 | * <!-- begin-user-doc --> | ||
520 | * <!-- end-user-doc --> | ||
521 | * @return the meta object for class '<em>Viatra Import</em>'. | ||
522 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport | ||
523 | * @generated | ||
524 | */ | ||
525 | EClass getViatraImport(); | ||
526 | |||
527 | /** | ||
528 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra <em>Imported Viatra</em>}'. | ||
529 | * <!-- begin-user-doc --> | ||
530 | * <!-- end-user-doc --> | ||
531 | * @return the meta object for the reference '<em>Imported Viatra</em>'. | ||
532 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra() | ||
533 | * @see #getViatraImport() | ||
534 | * @generated | ||
535 | */ | ||
536 | EReference getViatraImport_ImportedViatra(); | ||
537 | |||
538 | /** | ||
539 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification <em>Metamodel Specification</em>}'. | ||
540 | * <!-- begin-user-doc --> | ||
541 | * <!-- end-user-doc --> | ||
542 | * @return the meta object for class '<em>Metamodel Specification</em>'. | ||
543 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification | ||
544 | * @generated | ||
545 | */ | ||
546 | EClass getMetamodelSpecification(); | ||
547 | |||
548 | /** | ||
549 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification#getEntries <em>Entries</em>}'. | ||
550 | * <!-- begin-user-doc --> | ||
551 | * <!-- end-user-doc --> | ||
552 | * @return the meta object for the containment reference list '<em>Entries</em>'. | ||
553 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification#getEntries() | ||
554 | * @see #getMetamodelSpecification() | ||
555 | * @generated | ||
556 | */ | ||
557 | EReference getMetamodelSpecification_Entries(); | ||
558 | |||
559 | /** | ||
560 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry <em>Metamodel Entry</em>}'. | ||
561 | * <!-- begin-user-doc --> | ||
562 | * <!-- end-user-doc --> | ||
563 | * @return the meta object for class '<em>Metamodel Entry</em>'. | ||
564 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry | ||
565 | * @generated | ||
566 | */ | ||
567 | EClass getMetamodelEntry(); | ||
568 | |||
569 | /** | ||
570 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage <em>Package</em>}'. | ||
571 | * <!-- begin-user-doc --> | ||
572 | * <!-- end-user-doc --> | ||
573 | * @return the meta object for the reference '<em>Package</em>'. | ||
574 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage() | ||
575 | * @see #getMetamodelEntry() | ||
576 | * @generated | ||
577 | */ | ||
578 | EReference getMetamodelEntry_Package(); | ||
579 | |||
580 | /** | ||
581 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry <em>All Package Entry</em>}'. | ||
582 | * <!-- begin-user-doc --> | ||
583 | * <!-- end-user-doc --> | ||
584 | * @return the meta object for class '<em>All Package Entry</em>'. | ||
585 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry | ||
586 | * @generated | ||
587 | */ | ||
588 | EClass getAllPackageEntry(); | ||
589 | |||
590 | /** | ||
591 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry#getExclusion <em>Exclusion</em>}'. | ||
592 | * <!-- begin-user-doc --> | ||
593 | * <!-- end-user-doc --> | ||
594 | * @return the meta object for the containment reference list '<em>Exclusion</em>'. | ||
595 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry#getExclusion() | ||
596 | * @see #getAllPackageEntry() | ||
597 | * @generated | ||
598 | */ | ||
599 | EReference getAllPackageEntry_Exclusion(); | ||
600 | |||
601 | /** | ||
602 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement <em>Metamodel Element</em>}'. | ||
603 | * <!-- begin-user-doc --> | ||
604 | * <!-- end-user-doc --> | ||
605 | * @return the meta object for class '<em>Metamodel Element</em>'. | ||
606 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement | ||
607 | * @generated | ||
608 | */ | ||
609 | EClass getMetamodelElement(); | ||
610 | |||
611 | /** | ||
612 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier <em>Classifier</em>}'. | ||
613 | * <!-- begin-user-doc --> | ||
614 | * <!-- end-user-doc --> | ||
615 | * @return the meta object for the reference '<em>Classifier</em>'. | ||
616 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier() | ||
617 | * @see #getMetamodelElement() | ||
618 | * @generated | ||
619 | */ | ||
620 | EReference getMetamodelElement_Classifier(); | ||
621 | |||
622 | /** | ||
623 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature <em>Feature</em>}'. | ||
624 | * <!-- begin-user-doc --> | ||
625 | * <!-- end-user-doc --> | ||
626 | * @return the meta object for the reference '<em>Feature</em>'. | ||
627 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature() | ||
628 | * @see #getMetamodelElement() | ||
629 | * @generated | ||
630 | */ | ||
631 | EReference getMetamodelElement_Feature(); | ||
632 | |||
633 | /** | ||
634 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration <em>Metamodel Declaration</em>}'. | ||
635 | * <!-- begin-user-doc --> | ||
636 | * <!-- end-user-doc --> | ||
637 | * @return the meta object for class '<em>Metamodel Declaration</em>'. | ||
638 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration | ||
639 | * @generated | ||
640 | */ | ||
641 | EClass getMetamodelDeclaration(); | ||
642 | |||
643 | /** | ||
644 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getName <em>Name</em>}'. | ||
645 | * <!-- begin-user-doc --> | ||
646 | * <!-- end-user-doc --> | ||
647 | * @return the meta object for the attribute '<em>Name</em>'. | ||
648 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getName() | ||
649 | * @see #getMetamodelDeclaration() | ||
650 | * @generated | ||
651 | */ | ||
652 | EAttribute getMetamodelDeclaration_Name(); | ||
653 | |||
654 | /** | ||
655 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification <em>Specification</em>}'. | ||
656 | * <!-- begin-user-doc --> | ||
657 | * <!-- end-user-doc --> | ||
658 | * @return the meta object for the containment reference '<em>Specification</em>'. | ||
659 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification() | ||
660 | * @see #getMetamodelDeclaration() | ||
661 | * @generated | ||
662 | */ | ||
663 | EReference getMetamodelDeclaration_Specification(); | ||
664 | |||
665 | /** | ||
666 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference <em>Metamodel Reference</em>}'. | ||
667 | * <!-- begin-user-doc --> | ||
668 | * <!-- end-user-doc --> | ||
669 | * @return the meta object for class '<em>Metamodel Reference</em>'. | ||
670 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference | ||
671 | * @generated | ||
672 | */ | ||
673 | EClass getMetamodelReference(); | ||
674 | |||
675 | /** | ||
676 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred <em>Referred</em>}'. | ||
677 | * <!-- begin-user-doc --> | ||
678 | * <!-- end-user-doc --> | ||
679 | * @return the meta object for the reference '<em>Referred</em>'. | ||
680 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred() | ||
681 | * @see #getMetamodelReference() | ||
682 | * @generated | ||
683 | */ | ||
684 | EReference getMetamodelReference_Referred(); | ||
685 | |||
686 | /** | ||
687 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel <em>Metamodel</em>}'. | ||
688 | * <!-- begin-user-doc --> | ||
689 | * <!-- end-user-doc --> | ||
690 | * @return the meta object for class '<em>Metamodel</em>'. | ||
691 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel | ||
692 | * @generated | ||
693 | */ | ||
694 | EClass getMetamodel(); | ||
695 | |||
696 | /** | ||
697 | * Returns the factory that creates the instances of the model. | ||
698 | * <!-- begin-user-doc --> | ||
699 | * <!-- end-user-doc --> | ||
700 | * @return the factory that creates the instances of the model. | ||
701 | * @generated | ||
702 | */ | ||
703 | ApplicationConfigurationFactory getApplicationConfigurationFactory(); | ||
704 | |||
705 | /** | ||
706 | * <!-- begin-user-doc --> | ||
707 | * Defines literals for the meta objects that represent | ||
708 | * <ul> | ||
709 | * <li>each class,</li> | ||
710 | * <li>each feature of each class,</li> | ||
711 | * <li>each enum,</li> | ||
712 | * <li>and each data type</li> | ||
713 | * </ul> | ||
714 | * <!-- end-user-doc --> | ||
715 | * @generated | ||
716 | */ | ||
717 | interface Literals | ||
718 | { | ||
719 | /** | ||
720 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl <em>Configuration Script</em>}' class. | ||
721 | * <!-- begin-user-doc --> | ||
722 | * <!-- end-user-doc --> | ||
723 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl | ||
724 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigurationScript() | ||
725 | * @generated | ||
726 | */ | ||
727 | EClass CONFIGURATION_SCRIPT = eINSTANCE.getConfigurationScript(); | ||
728 | |||
729 | /** | ||
730 | * The meta object literal for the '<em><b>Imports</b></em>' containment reference list feature. | ||
731 | * <!-- begin-user-doc --> | ||
732 | * <!-- end-user-doc --> | ||
733 | * @generated | ||
734 | */ | ||
735 | EReference CONFIGURATION_SCRIPT__IMPORTS = eINSTANCE.getConfigurationScript_Imports(); | ||
736 | |||
737 | /** | ||
738 | * The meta object literal for the '<em><b>Commands</b></em>' containment reference list feature. | ||
739 | * <!-- begin-user-doc --> | ||
740 | * <!-- end-user-doc --> | ||
741 | * @generated | ||
742 | */ | ||
743 | EReference CONFIGURATION_SCRIPT__COMMANDS = eINSTANCE.getConfigurationScript_Commands(); | ||
744 | |||
745 | /** | ||
746 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl <em>Command</em>}' class. | ||
747 | * <!-- begin-user-doc --> | ||
748 | * <!-- end-user-doc --> | ||
749 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl | ||
750 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCommand() | ||
751 | * @generated | ||
752 | */ | ||
753 | EClass COMMAND = eINSTANCE.getCommand(); | ||
754 | |||
755 | /** | ||
756 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl <em>Declaration</em>}' class. | ||
757 | * <!-- begin-user-doc --> | ||
758 | * <!-- end-user-doc --> | ||
759 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl | ||
760 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDeclaration() | ||
761 | * @generated | ||
762 | */ | ||
763 | EClass DECLARATION = eINSTANCE.getDeclaration(); | ||
764 | |||
765 | /** | ||
766 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl <em>Import</em>}' class. | ||
767 | * <!-- begin-user-doc --> | ||
768 | * <!-- end-user-doc --> | ||
769 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl | ||
770 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getImport() | ||
771 | * @generated | ||
772 | */ | ||
773 | EClass IMPORT = eINSTANCE.getImport(); | ||
774 | |||
775 | /** | ||
776 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl <em>EPackage Import</em>}' class. | ||
777 | * <!-- begin-user-doc --> | ||
778 | * <!-- end-user-doc --> | ||
779 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl | ||
780 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getEPackageImport() | ||
781 | * @generated | ||
782 | */ | ||
783 | EClass EPACKAGE_IMPORT = eINSTANCE.getEPackageImport(); | ||
784 | |||
785 | /** | ||
786 | * The meta object literal for the '<em><b>Imported Package</b></em>' reference feature. | ||
787 | * <!-- begin-user-doc --> | ||
788 | * <!-- end-user-doc --> | ||
789 | * @generated | ||
790 | */ | ||
791 | EReference EPACKAGE_IMPORT__IMPORTED_PACKAGE = eINSTANCE.getEPackageImport_ImportedPackage(); | ||
792 | |||
793 | /** | ||
794 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl <em>Viatra Import</em>}' class. | ||
795 | * <!-- begin-user-doc --> | ||
796 | * <!-- end-user-doc --> | ||
797 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl | ||
798 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getViatraImport() | ||
799 | * @generated | ||
800 | */ | ||
801 | EClass VIATRA_IMPORT = eINSTANCE.getViatraImport(); | ||
802 | |||
803 | /** | ||
804 | * The meta object literal for the '<em><b>Imported Viatra</b></em>' reference feature. | ||
805 | * <!-- begin-user-doc --> | ||
806 | * <!-- end-user-doc --> | ||
807 | * @generated | ||
808 | */ | ||
809 | EReference VIATRA_IMPORT__IMPORTED_VIATRA = eINSTANCE.getViatraImport_ImportedViatra(); | ||
810 | |||
811 | /** | ||
812 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl <em>Metamodel Specification</em>}' class. | ||
813 | * <!-- begin-user-doc --> | ||
814 | * <!-- end-user-doc --> | ||
815 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl | ||
816 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelSpecification() | ||
817 | * @generated | ||
818 | */ | ||
819 | EClass METAMODEL_SPECIFICATION = eINSTANCE.getMetamodelSpecification(); | ||
820 | |||
821 | /** | ||
822 | * The meta object literal for the '<em><b>Entries</b></em>' containment reference list feature. | ||
823 | * <!-- begin-user-doc --> | ||
824 | * <!-- end-user-doc --> | ||
825 | * @generated | ||
826 | */ | ||
827 | EReference METAMODEL_SPECIFICATION__ENTRIES = eINSTANCE.getMetamodelSpecification_Entries(); | ||
828 | |||
829 | /** | ||
830 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl <em>Metamodel Entry</em>}' class. | ||
831 | * <!-- begin-user-doc --> | ||
832 | * <!-- end-user-doc --> | ||
833 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl | ||
834 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelEntry() | ||
835 | * @generated | ||
836 | */ | ||
837 | EClass METAMODEL_ENTRY = eINSTANCE.getMetamodelEntry(); | ||
838 | |||
839 | /** | ||
840 | * The meta object literal for the '<em><b>Package</b></em>' reference feature. | ||
841 | * <!-- begin-user-doc --> | ||
842 | * <!-- end-user-doc --> | ||
843 | * @generated | ||
844 | */ | ||
845 | EReference METAMODEL_ENTRY__PACKAGE = eINSTANCE.getMetamodelEntry_Package(); | ||
846 | |||
847 | /** | ||
848 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl <em>All Package Entry</em>}' class. | ||
849 | * <!-- begin-user-doc --> | ||
850 | * <!-- end-user-doc --> | ||
851 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl | ||
852 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPackageEntry() | ||
853 | * @generated | ||
854 | */ | ||
855 | EClass ALL_PACKAGE_ENTRY = eINSTANCE.getAllPackageEntry(); | ||
856 | |||
857 | /** | ||
858 | * The meta object literal for the '<em><b>Exclusion</b></em>' containment reference list feature. | ||
859 | * <!-- begin-user-doc --> | ||
860 | * <!-- end-user-doc --> | ||
861 | * @generated | ||
862 | */ | ||
863 | EReference ALL_PACKAGE_ENTRY__EXCLUSION = eINSTANCE.getAllPackageEntry_Exclusion(); | ||
864 | |||
865 | /** | ||
866 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl <em>Metamodel Element</em>}' class. | ||
867 | * <!-- begin-user-doc --> | ||
868 | * <!-- end-user-doc --> | ||
869 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl | ||
870 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelElement() | ||
871 | * @generated | ||
872 | */ | ||
873 | EClass METAMODEL_ELEMENT = eINSTANCE.getMetamodelElement(); | ||
874 | |||
875 | /** | ||
876 | * The meta object literal for the '<em><b>Classifier</b></em>' reference feature. | ||
877 | * <!-- begin-user-doc --> | ||
878 | * <!-- end-user-doc --> | ||
879 | * @generated | ||
880 | */ | ||
881 | EReference METAMODEL_ELEMENT__CLASSIFIER = eINSTANCE.getMetamodelElement_Classifier(); | ||
882 | |||
883 | /** | ||
884 | * The meta object literal for the '<em><b>Feature</b></em>' reference feature. | ||
885 | * <!-- begin-user-doc --> | ||
886 | * <!-- end-user-doc --> | ||
887 | * @generated | ||
888 | */ | ||
889 | EReference METAMODEL_ELEMENT__FEATURE = eINSTANCE.getMetamodelElement_Feature(); | ||
890 | |||
891 | /** | ||
892 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl <em>Metamodel Declaration</em>}' class. | ||
893 | * <!-- begin-user-doc --> | ||
894 | * <!-- end-user-doc --> | ||
895 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl | ||
896 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelDeclaration() | ||
897 | * @generated | ||
898 | */ | ||
899 | EClass METAMODEL_DECLARATION = eINSTANCE.getMetamodelDeclaration(); | ||
900 | |||
901 | /** | ||
902 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
903 | * <!-- begin-user-doc --> | ||
904 | * <!-- end-user-doc --> | ||
905 | * @generated | ||
906 | */ | ||
907 | EAttribute METAMODEL_DECLARATION__NAME = eINSTANCE.getMetamodelDeclaration_Name(); | ||
908 | |||
909 | /** | ||
910 | * The meta object literal for the '<em><b>Specification</b></em>' containment reference feature. | ||
911 | * <!-- begin-user-doc --> | ||
912 | * <!-- end-user-doc --> | ||
913 | * @generated | ||
914 | */ | ||
915 | EReference METAMODEL_DECLARATION__SPECIFICATION = eINSTANCE.getMetamodelDeclaration_Specification(); | ||
916 | |||
917 | /** | ||
918 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl <em>Metamodel Reference</em>}' class. | ||
919 | * <!-- begin-user-doc --> | ||
920 | * <!-- end-user-doc --> | ||
921 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl | ||
922 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelReference() | ||
923 | * @generated | ||
924 | */ | ||
925 | EClass METAMODEL_REFERENCE = eINSTANCE.getMetamodelReference(); | ||
926 | |||
927 | /** | ||
928 | * The meta object literal for the '<em><b>Referred</b></em>' reference feature. | ||
929 | * <!-- begin-user-doc --> | ||
930 | * <!-- end-user-doc --> | ||
931 | * @generated | ||
932 | */ | ||
933 | EReference METAMODEL_REFERENCE__REFERRED = eINSTANCE.getMetamodelReference_Referred(); | ||
934 | |||
935 | /** | ||
936 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl <em>Metamodel</em>}' class. | ||
937 | * <!-- begin-user-doc --> | ||
938 | * <!-- end-user-doc --> | ||
939 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl | ||
940 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodel() | ||
941 | * @generated | ||
942 | */ | ||
943 | EClass METAMODEL = eINSTANCE.getMetamodel(); | ||
944 | |||
945 | } | ||
946 | |||
947 | } //ApplicationConfigurationPackage | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Command.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Command.java new file mode 100644 index 00000000..792a8217 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Command.java | |||
@@ -0,0 +1,20 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Command</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * | ||
14 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCommand() | ||
15 | * @model | ||
16 | * @generated | ||
17 | */ | ||
18 | public interface Command extends EObject | ||
19 | { | ||
20 | } // Command | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigurationScript.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigurationScript.java new file mode 100644 index 00000000..cc566f3c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigurationScript.java | |||
@@ -0,0 +1,61 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * A representation of the model object '<em><b>Configuration Script</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * <p> | ||
16 | * The following features are supported: | ||
17 | * </p> | ||
18 | * <ul> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports <em>Imports</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands <em>Commands</em>}</li> | ||
21 | * </ul> | ||
22 | * | ||
23 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigurationScript() | ||
24 | * @model | ||
25 | * @generated | ||
26 | */ | ||
27 | public interface ConfigurationScript extends EObject | ||
28 | { | ||
29 | /** | ||
30 | * Returns the value of the '<em><b>Imports</b></em>' containment reference list. | ||
31 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import}. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <p> | ||
34 | * If the meaning of the '<em>Imports</em>' containment reference list isn't clear, | ||
35 | * there really should be more of a description here... | ||
36 | * </p> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @return the value of the '<em>Imports</em>' containment reference list. | ||
39 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigurationScript_Imports() | ||
40 | * @model containment="true" | ||
41 | * @generated | ||
42 | */ | ||
43 | EList<Import> getImports(); | ||
44 | |||
45 | /** | ||
46 | * Returns the value of the '<em><b>Commands</b></em>' containment reference list. | ||
47 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command}. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <p> | ||
50 | * If the meaning of the '<em>Commands</em>' containment reference list isn't clear, | ||
51 | * there really should be more of a description here... | ||
52 | * </p> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @return the value of the '<em>Commands</em>' containment reference list. | ||
55 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigurationScript_Commands() | ||
56 | * @model containment="true" | ||
57 | * @generated | ||
58 | */ | ||
59 | EList<Command> getCommands(); | ||
60 | |||
61 | } // ConfigurationScript | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java new file mode 100644 index 00000000..b1454653 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java | |||
@@ -0,0 +1,19 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Declaration</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDeclaration() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface Declaration extends Command | ||
18 | { | ||
19 | } // Declaration | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/EPackageImport.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/EPackageImport.java new file mode 100644 index 00000000..f5b05c11 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/EPackageImport.java | |||
@@ -0,0 +1,52 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EPackage; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>EPackage Import</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage <em>Imported Package</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getEPackageImport() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface EPackageImport extends Import | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Imported Package</b></em>' reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <p> | ||
30 | * If the meaning of the '<em>Imported Package</em>' reference isn't clear, | ||
31 | * there really should be more of a description here... | ||
32 | * </p> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @return the value of the '<em>Imported Package</em>' reference. | ||
35 | * @see #setImportedPackage(EPackage) | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getEPackageImport_ImportedPackage() | ||
37 | * @model | ||
38 | * @generated | ||
39 | */ | ||
40 | EPackage getImportedPackage(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage <em>Imported Package</em>}' reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Imported Package</em>' reference. | ||
47 | * @see #getImportedPackage() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setImportedPackage(EPackage value); | ||
51 | |||
52 | } // EPackageImport | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Import.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Import.java new file mode 100644 index 00000000..66d499bc --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Import.java | |||
@@ -0,0 +1,20 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Import</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * | ||
14 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getImport() | ||
15 | * @model | ||
16 | * @generated | ||
17 | */ | ||
18 | public interface Import extends EObject | ||
19 | { | ||
20 | } // Import | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Metamodel.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Metamodel.java new file mode 100644 index 00000000..0aaaa87f --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Metamodel.java | |||
@@ -0,0 +1,20 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Metamodel</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * | ||
14 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodel() | ||
15 | * @model | ||
16 | * @generated | ||
17 | */ | ||
18 | public interface Metamodel extends EObject | ||
19 | { | ||
20 | } // Metamodel | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java new file mode 100644 index 00000000..7580d083 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java | |||
@@ -0,0 +1,78 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Metamodel Declaration</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getName <em>Name</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification <em>Specification</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelDeclaration() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface MetamodelDeclaration extends Declaration | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <p> | ||
30 | * If the meaning of the '<em>Name</em>' attribute isn't clear, | ||
31 | * there really should be more of a description here... | ||
32 | * </p> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @return the value of the '<em>Name</em>' attribute. | ||
35 | * @see #setName(String) | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelDeclaration_Name() | ||
37 | * @model | ||
38 | * @generated | ||
39 | */ | ||
40 | String getName(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getName <em>Name</em>}' attribute. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Name</em>' attribute. | ||
47 | * @see #getName() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setName(String value); | ||
51 | |||
52 | /** | ||
53 | * Returns the value of the '<em><b>Specification</b></em>' containment reference. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <p> | ||
56 | * If the meaning of the '<em>Specification</em>' containment reference isn't clear, | ||
57 | * there really should be more of a description here... | ||
58 | * </p> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @return the value of the '<em>Specification</em>' containment reference. | ||
61 | * @see #setSpecification(MetamodelSpecification) | ||
62 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelDeclaration_Specification() | ||
63 | * @model containment="true" | ||
64 | * @generated | ||
65 | */ | ||
66 | MetamodelSpecification getSpecification(); | ||
67 | |||
68 | /** | ||
69 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification <em>Specification</em>}' containment reference. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @param value the new value of the '<em>Specification</em>' containment reference. | ||
73 | * @see #getSpecification() | ||
74 | * @generated | ||
75 | */ | ||
76 | void setSpecification(MetamodelSpecification value); | ||
77 | |||
78 | } // MetamodelDeclaration | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelElement.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelElement.java new file mode 100644 index 00000000..34518c56 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelElement.java | |||
@@ -0,0 +1,80 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EClassifier; | ||
7 | import org.eclipse.emf.ecore.ENamedElement; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Metamodel Element</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier <em>Classifier</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature <em>Feature</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelElement() | ||
23 | * @model | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface MetamodelElement extends MetamodelEntry | ||
27 | { | ||
28 | /** | ||
29 | * Returns the value of the '<em><b>Classifier</b></em>' reference. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <p> | ||
32 | * If the meaning of the '<em>Classifier</em>' reference isn't clear, | ||
33 | * there really should be more of a description here... | ||
34 | * </p> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @return the value of the '<em>Classifier</em>' reference. | ||
37 | * @see #setClassifier(EClassifier) | ||
38 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelElement_Classifier() | ||
39 | * @model | ||
40 | * @generated | ||
41 | */ | ||
42 | EClassifier getClassifier(); | ||
43 | |||
44 | /** | ||
45 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier <em>Classifier</em>}' reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @param value the new value of the '<em>Classifier</em>' reference. | ||
49 | * @see #getClassifier() | ||
50 | * @generated | ||
51 | */ | ||
52 | void setClassifier(EClassifier value); | ||
53 | |||
54 | /** | ||
55 | * Returns the value of the '<em><b>Feature</b></em>' reference. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <p> | ||
58 | * If the meaning of the '<em>Feature</em>' reference isn't clear, | ||
59 | * there really should be more of a description here... | ||
60 | * </p> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @return the value of the '<em>Feature</em>' reference. | ||
63 | * @see #setFeature(ENamedElement) | ||
64 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelElement_Feature() | ||
65 | * @model | ||
66 | * @generated | ||
67 | */ | ||
68 | ENamedElement getFeature(); | ||
69 | |||
70 | /** | ||
71 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature <em>Feature</em>}' reference. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @param value the new value of the '<em>Feature</em>' reference. | ||
75 | * @see #getFeature() | ||
76 | * @generated | ||
77 | */ | ||
78 | void setFeature(ENamedElement value); | ||
79 | |||
80 | } // MetamodelElement | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelEntry.java new file mode 100644 index 00000000..9b334002 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelEntry.java | |||
@@ -0,0 +1,53 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | import org.eclipse.emf.ecore.EPackage; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Metamodel Entry</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage <em>Package</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelEntry() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface MetamodelEntry extends EObject | ||
26 | { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Package</b></em>' reference. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Package</em>' reference isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Package</em>' reference. | ||
36 | * @see #setPackage(EPackage) | ||
37 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelEntry_Package() | ||
38 | * @model | ||
39 | * @generated | ||
40 | */ | ||
41 | EPackage getPackage(); | ||
42 | |||
43 | /** | ||
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage <em>Package</em>}' reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @param value the new value of the '<em>Package</em>' reference. | ||
48 | * @see #getPackage() | ||
49 | * @generated | ||
50 | */ | ||
51 | void setPackage(EPackage value); | ||
52 | |||
53 | } // MetamodelEntry | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelReference.java new file mode 100644 index 00000000..2291021d --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelReference.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Metamodel Reference</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred <em>Referred</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelReference() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface MetamodelReference extends Metamodel | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Referred</b></em>' reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Referred</em>' reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Referred</em>' reference. | ||
34 | * @see #setReferred(MetamodelDeclaration) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelReference_Referred() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | MetamodelDeclaration getReferred(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred <em>Referred</em>}' reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Referred</em>' reference. | ||
46 | * @see #getReferred() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setReferred(MetamodelDeclaration value); | ||
50 | |||
51 | } // MetamodelReference | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelSpecification.java new file mode 100644 index 00000000..cf207301 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelSpecification.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Metamodel Specification</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification#getEntries <em>Entries</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelSpecification() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface MetamodelSpecification extends Metamodel | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Entries</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Entries</em>' containment reference list isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Entries</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelSpecification_Entries() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<MetamodelEntry> getEntries(); | ||
41 | |||
42 | } // MetamodelSpecification | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ViatraImport.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ViatraImport.java new file mode 100644 index 00000000..03aa4bb8 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ViatraImport.java | |||
@@ -0,0 +1,52 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.viatra.query.patternlanguage.patternLanguage.PatternModel; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Viatra Import</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra <em>Imported Viatra</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getViatraImport() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface ViatraImport extends Import | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Imported Viatra</b></em>' reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <p> | ||
30 | * If the meaning of the '<em>Imported Viatra</em>' reference isn't clear, | ||
31 | * there really should be more of a description here... | ||
32 | * </p> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @return the value of the '<em>Imported Viatra</em>' reference. | ||
35 | * @see #setImportedViatra(PatternModel) | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getViatraImport_ImportedViatra() | ||
37 | * @model | ||
38 | * @generated | ||
39 | */ | ||
40 | PatternModel getImportedViatra(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra <em>Imported Viatra</em>}' reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Imported Viatra</em>' reference. | ||
47 | * @see #getImportedViatra() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setImportedViatra(PatternModel value); | ||
51 | |||
52 | } // ViatraImport | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPackageEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPackageEntryImpl.java new file mode 100644 index 00000000..b94cc51b --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPackageEntryImpl.java | |||
@@ -0,0 +1,166 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.NotificationChain; | ||
13 | |||
14 | import org.eclipse.emf.common.util.EList; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
20 | import org.eclipse.emf.ecore.util.InternalEList; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>All Package Entry</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl#getExclusion <em>Exclusion</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class AllPackageEntryImpl extends MetamodelEntryImpl implements AllPackageEntry | ||
36 | { | ||
37 | /** | ||
38 | * The cached value of the '{@link #getExclusion() <em>Exclusion</em>}' containment reference list. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getExclusion() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected EList<MetamodelElement> exclusion; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | protected AllPackageEntryImpl() | ||
53 | { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() | ||
64 | { | ||
65 | return ApplicationConfigurationPackage.Literals.ALL_PACKAGE_ENTRY; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | public EList<MetamodelElement> getExclusion() | ||
74 | { | ||
75 | if (exclusion == null) | ||
76 | { | ||
77 | exclusion = new EObjectContainmentEList<MetamodelElement>(MetamodelElement.class, this, ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY__EXCLUSION); | ||
78 | } | ||
79 | return exclusion; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
89 | { | ||
90 | switch (featureID) | ||
91 | { | ||
92 | case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY__EXCLUSION: | ||
93 | return ((InternalEList<?>)getExclusion()).basicRemove(otherEnd, msgs); | ||
94 | } | ||
95 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
105 | { | ||
106 | switch (featureID) | ||
107 | { | ||
108 | case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY__EXCLUSION: | ||
109 | return getExclusion(); | ||
110 | } | ||
111 | return super.eGet(featureID, resolve, coreType); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @SuppressWarnings("unchecked") | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) | ||
122 | { | ||
123 | switch (featureID) | ||
124 | { | ||
125 | case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY__EXCLUSION: | ||
126 | getExclusion().clear(); | ||
127 | getExclusion().addAll((Collection<? extends MetamodelElement>)newValue); | ||
128 | return; | ||
129 | } | ||
130 | super.eSet(featureID, newValue); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public void eUnset(int featureID) | ||
140 | { | ||
141 | switch (featureID) | ||
142 | { | ||
143 | case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY__EXCLUSION: | ||
144 | getExclusion().clear(); | ||
145 | return; | ||
146 | } | ||
147 | super.eUnset(featureID); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public boolean eIsSet(int featureID) | ||
157 | { | ||
158 | switch (featureID) | ||
159 | { | ||
160 | case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY__EXCLUSION: | ||
161 | return exclusion != null && !exclusion.isEmpty(); | ||
162 | } | ||
163 | return super.eIsSet(featureID); | ||
164 | } | ||
165 | |||
166 | } //AllPackageEntryImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java new file mode 100644 index 00000000..4ad21065 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java | |||
@@ -0,0 +1,251 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | import org.eclipse.emf.ecore.EObject; | ||
10 | import org.eclipse.emf.ecore.EPackage; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
13 | |||
14 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model <b>Factory</b>. | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements ApplicationConfigurationFactory | ||
23 | { | ||
24 | /** | ||
25 | * Creates the default factory implementation. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @generated | ||
29 | */ | ||
30 | public static ApplicationConfigurationFactory init() | ||
31 | { | ||
32 | try | ||
33 | { | ||
34 | ApplicationConfigurationFactory theApplicationConfigurationFactory = (ApplicationConfigurationFactory)EPackage.Registry.INSTANCE.getEFactory(ApplicationConfigurationPackage.eNS_URI); | ||
35 | if (theApplicationConfigurationFactory != null) | ||
36 | { | ||
37 | return theApplicationConfigurationFactory; | ||
38 | } | ||
39 | } | ||
40 | catch (Exception exception) | ||
41 | { | ||
42 | EcorePlugin.INSTANCE.log(exception); | ||
43 | } | ||
44 | return new ApplicationConfigurationFactoryImpl(); | ||
45 | } | ||
46 | |||
47 | /** | ||
48 | * Creates an instance of the factory. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | public ApplicationConfigurationFactoryImpl() | ||
54 | { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | public EObject create(EClass eClass) | ||
65 | { | ||
66 | switch (eClass.getClassifierID()) | ||
67 | { | ||
68 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: return createConfigurationScript(); | ||
69 | case ApplicationConfigurationPackage.COMMAND: return createCommand(); | ||
70 | case ApplicationConfigurationPackage.DECLARATION: return createDeclaration(); | ||
71 | case ApplicationConfigurationPackage.IMPORT: return createImport(); | ||
72 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT: return createEPackageImport(); | ||
73 | case ApplicationConfigurationPackage.VIATRA_IMPORT: return createViatraImport(); | ||
74 | case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: return createMetamodelSpecification(); | ||
75 | case ApplicationConfigurationPackage.METAMODEL_ENTRY: return createMetamodelEntry(); | ||
76 | case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: return createAllPackageEntry(); | ||
77 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT: return createMetamodelElement(); | ||
78 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION: return createMetamodelDeclaration(); | ||
79 | case ApplicationConfigurationPackage.METAMODEL_REFERENCE: return createMetamodelReference(); | ||
80 | case ApplicationConfigurationPackage.METAMODEL: return createMetamodel(); | ||
81 | default: | ||
82 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
83 | } | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | public ConfigurationScript createConfigurationScript() | ||
92 | { | ||
93 | ConfigurationScriptImpl configurationScript = new ConfigurationScriptImpl(); | ||
94 | return configurationScript; | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | public Command createCommand() | ||
103 | { | ||
104 | CommandImpl command = new CommandImpl(); | ||
105 | return command; | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | public Declaration createDeclaration() | ||
114 | { | ||
115 | DeclarationImpl declaration = new DeclarationImpl(); | ||
116 | return declaration; | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | public Import createImport() | ||
125 | { | ||
126 | ImportImpl import_ = new ImportImpl(); | ||
127 | return import_; | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | public EPackageImport createEPackageImport() | ||
136 | { | ||
137 | EPackageImportImpl ePackageImport = new EPackageImportImpl(); | ||
138 | return ePackageImport; | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | public ViatraImport createViatraImport() | ||
147 | { | ||
148 | ViatraImportImpl viatraImport = new ViatraImportImpl(); | ||
149 | return viatraImport; | ||
150 | } | ||
151 | |||
152 | /** | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @generated | ||
156 | */ | ||
157 | public MetamodelSpecification createMetamodelSpecification() | ||
158 | { | ||
159 | MetamodelSpecificationImpl metamodelSpecification = new MetamodelSpecificationImpl(); | ||
160 | return metamodelSpecification; | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | public MetamodelEntry createMetamodelEntry() | ||
169 | { | ||
170 | MetamodelEntryImpl metamodelEntry = new MetamodelEntryImpl(); | ||
171 | return metamodelEntry; | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | public AllPackageEntry createAllPackageEntry() | ||
180 | { | ||
181 | AllPackageEntryImpl allPackageEntry = new AllPackageEntryImpl(); | ||
182 | return allPackageEntry; | ||
183 | } | ||
184 | |||
185 | /** | ||
186 | * <!-- begin-user-doc --> | ||
187 | * <!-- end-user-doc --> | ||
188 | * @generated | ||
189 | */ | ||
190 | public MetamodelElement createMetamodelElement() | ||
191 | { | ||
192 | MetamodelElementImpl metamodelElement = new MetamodelElementImpl(); | ||
193 | return metamodelElement; | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @generated | ||
200 | */ | ||
201 | public MetamodelDeclaration createMetamodelDeclaration() | ||
202 | { | ||
203 | MetamodelDeclarationImpl metamodelDeclaration = new MetamodelDeclarationImpl(); | ||
204 | return metamodelDeclaration; | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | public MetamodelReference createMetamodelReference() | ||
213 | { | ||
214 | MetamodelReferenceImpl metamodelReference = new MetamodelReferenceImpl(); | ||
215 | return metamodelReference; | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | */ | ||
223 | public Metamodel createMetamodel() | ||
224 | { | ||
225 | MetamodelImpl metamodel = new MetamodelImpl(); | ||
226 | return metamodel; | ||
227 | } | ||
228 | |||
229 | /** | ||
230 | * <!-- begin-user-doc --> | ||
231 | * <!-- end-user-doc --> | ||
232 | * @generated | ||
233 | */ | ||
234 | public ApplicationConfigurationPackage getApplicationConfigurationPackage() | ||
235 | { | ||
236 | return (ApplicationConfigurationPackage)getEPackage(); | ||
237 | } | ||
238 | |||
239 | /** | ||
240 | * <!-- begin-user-doc --> | ||
241 | * <!-- end-user-doc --> | ||
242 | * @deprecated | ||
243 | * @generated | ||
244 | */ | ||
245 | @Deprecated | ||
246 | public static ApplicationConfigurationPackage getPackage() | ||
247 | { | ||
248 | return ApplicationConfigurationPackage.eINSTANCE; | ||
249 | } | ||
250 | |||
251 | } //ApplicationConfigurationFactoryImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java new file mode 100644 index 00000000..50ad4358 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java | |||
@@ -0,0 +1,602 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationFactory; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
9 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command; | ||
10 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; | ||
11 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; | ||
12 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; | ||
13 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import; | ||
14 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; | ||
15 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; | ||
16 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; | ||
17 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry; | ||
18 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; | ||
19 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; | ||
20 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport; | ||
21 | |||
22 | import org.eclipse.emf.ecore.EAttribute; | ||
23 | import org.eclipse.emf.ecore.EClass; | ||
24 | import org.eclipse.emf.ecore.EPackage; | ||
25 | import org.eclipse.emf.ecore.EReference; | ||
26 | import org.eclipse.emf.ecore.EcorePackage; | ||
27 | |||
28 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
29 | |||
30 | import org.eclipse.viatra.query.patternlanguage.patternLanguage.PatternLanguagePackage; | ||
31 | |||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * An implementation of the model <b>Package</b>. | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | public class ApplicationConfigurationPackageImpl extends EPackageImpl implements ApplicationConfigurationPackage | ||
39 | { | ||
40 | /** | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @generated | ||
44 | */ | ||
45 | private EClass configurationScriptEClass = null; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | private EClass commandEClass = null; | ||
53 | |||
54 | /** | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | private EClass declarationEClass = null; | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | private EClass importEClass = null; | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | private EClass ePackageImportEClass = null; | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | private EClass viatraImportEClass = null; | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | private EClass metamodelSpecificationEClass = null; | ||
88 | |||
89 | /** | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @generated | ||
93 | */ | ||
94 | private EClass metamodelEntryEClass = null; | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | private EClass allPackageEntryEClass = null; | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | private EClass metamodelElementEClass = null; | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | private EClass metamodelDeclarationEClass = null; | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | private EClass metamodelReferenceEClass = null; | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | private EClass metamodelEClass = null; | ||
130 | |||
131 | /** | ||
132 | * Creates an instance of the model <b>Package</b>, registered with | ||
133 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
134 | * package URI value. | ||
135 | * <p>Note: the correct way to create the package is via the static | ||
136 | * factory method {@link #init init()}, which also performs | ||
137 | * initialization of the package, or returns the registered package, | ||
138 | * if one already exists. | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
142 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#eNS_URI | ||
143 | * @see #init() | ||
144 | * @generated | ||
145 | */ | ||
146 | private ApplicationConfigurationPackageImpl() | ||
147 | { | ||
148 | super(eNS_URI, ApplicationConfigurationFactory.eINSTANCE); | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | private static boolean isInited = false; | ||
157 | |||
158 | /** | ||
159 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
160 | * | ||
161 | * <p>This method is used to initialize {@link ApplicationConfigurationPackage#eINSTANCE} when that field is accessed. | ||
162 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @see #eNS_URI | ||
166 | * @see #createPackageContents() | ||
167 | * @see #initializePackageContents() | ||
168 | * @generated | ||
169 | */ | ||
170 | public static ApplicationConfigurationPackage init() | ||
171 | { | ||
172 | if (isInited) return (ApplicationConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(ApplicationConfigurationPackage.eNS_URI); | ||
173 | |||
174 | // Obtain or create and register package | ||
175 | ApplicationConfigurationPackageImpl theApplicationConfigurationPackage = (ApplicationConfigurationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ApplicationConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ApplicationConfigurationPackageImpl()); | ||
176 | |||
177 | isInited = true; | ||
178 | |||
179 | // Initialize simple dependencies | ||
180 | EcorePackage.eINSTANCE.eClass(); | ||
181 | PatternLanguagePackage.eINSTANCE.eClass(); | ||
182 | |||
183 | // Create package meta-data objects | ||
184 | theApplicationConfigurationPackage.createPackageContents(); | ||
185 | |||
186 | // Initialize created meta-data | ||
187 | theApplicationConfigurationPackage.initializePackageContents(); | ||
188 | |||
189 | // Mark meta-data to indicate it can't be changed | ||
190 | theApplicationConfigurationPackage.freeze(); | ||
191 | |||
192 | |||
193 | // Update the registry and return the package | ||
194 | EPackage.Registry.INSTANCE.put(ApplicationConfigurationPackage.eNS_URI, theApplicationConfigurationPackage); | ||
195 | return theApplicationConfigurationPackage; | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | public EClass getConfigurationScript() | ||
204 | { | ||
205 | return configurationScriptEClass; | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | */ | ||
213 | public EReference getConfigurationScript_Imports() | ||
214 | { | ||
215 | return (EReference)configurationScriptEClass.getEStructuralFeatures().get(0); | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | */ | ||
223 | public EReference getConfigurationScript_Commands() | ||
224 | { | ||
225 | return (EReference)configurationScriptEClass.getEStructuralFeatures().get(1); | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | */ | ||
233 | public EClass getCommand() | ||
234 | { | ||
235 | return commandEClass; | ||
236 | } | ||
237 | |||
238 | /** | ||
239 | * <!-- begin-user-doc --> | ||
240 | * <!-- end-user-doc --> | ||
241 | * @generated | ||
242 | */ | ||
243 | public EClass getDeclaration() | ||
244 | { | ||
245 | return declarationEClass; | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | public EClass getImport() | ||
254 | { | ||
255 | return importEClass; | ||
256 | } | ||
257 | |||
258 | /** | ||
259 | * <!-- begin-user-doc --> | ||
260 | * <!-- end-user-doc --> | ||
261 | * @generated | ||
262 | */ | ||
263 | public EClass getEPackageImport() | ||
264 | { | ||
265 | return ePackageImportEClass; | ||
266 | } | ||
267 | |||
268 | /** | ||
269 | * <!-- begin-user-doc --> | ||
270 | * <!-- end-user-doc --> | ||
271 | * @generated | ||
272 | */ | ||
273 | public EReference getEPackageImport_ImportedPackage() | ||
274 | { | ||
275 | return (EReference)ePackageImportEClass.getEStructuralFeatures().get(0); | ||
276 | } | ||
277 | |||
278 | /** | ||
279 | * <!-- begin-user-doc --> | ||
280 | * <!-- end-user-doc --> | ||
281 | * @generated | ||
282 | */ | ||
283 | public EClass getViatraImport() | ||
284 | { | ||
285 | return viatraImportEClass; | ||
286 | } | ||
287 | |||
288 | /** | ||
289 | * <!-- begin-user-doc --> | ||
290 | * <!-- end-user-doc --> | ||
291 | * @generated | ||
292 | */ | ||
293 | public EReference getViatraImport_ImportedViatra() | ||
294 | { | ||
295 | return (EReference)viatraImportEClass.getEStructuralFeatures().get(0); | ||
296 | } | ||
297 | |||
298 | /** | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | */ | ||
303 | public EClass getMetamodelSpecification() | ||
304 | { | ||
305 | return metamodelSpecificationEClass; | ||
306 | } | ||
307 | |||
308 | /** | ||
309 | * <!-- begin-user-doc --> | ||
310 | * <!-- end-user-doc --> | ||
311 | * @generated | ||
312 | */ | ||
313 | public EReference getMetamodelSpecification_Entries() | ||
314 | { | ||
315 | return (EReference)metamodelSpecificationEClass.getEStructuralFeatures().get(0); | ||
316 | } | ||
317 | |||
318 | /** | ||
319 | * <!-- begin-user-doc --> | ||
320 | * <!-- end-user-doc --> | ||
321 | * @generated | ||
322 | */ | ||
323 | public EClass getMetamodelEntry() | ||
324 | { | ||
325 | return metamodelEntryEClass; | ||
326 | } | ||
327 | |||
328 | /** | ||
329 | * <!-- begin-user-doc --> | ||
330 | * <!-- end-user-doc --> | ||
331 | * @generated | ||
332 | */ | ||
333 | public EReference getMetamodelEntry_Package() | ||
334 | { | ||
335 | return (EReference)metamodelEntryEClass.getEStructuralFeatures().get(0); | ||
336 | } | ||
337 | |||
338 | /** | ||
339 | * <!-- begin-user-doc --> | ||
340 | * <!-- end-user-doc --> | ||
341 | * @generated | ||
342 | */ | ||
343 | public EClass getAllPackageEntry() | ||
344 | { | ||
345 | return allPackageEntryEClass; | ||
346 | } | ||
347 | |||
348 | /** | ||
349 | * <!-- begin-user-doc --> | ||
350 | * <!-- end-user-doc --> | ||
351 | * @generated | ||
352 | */ | ||
353 | public EReference getAllPackageEntry_Exclusion() | ||
354 | { | ||
355 | return (EReference)allPackageEntryEClass.getEStructuralFeatures().get(0); | ||
356 | } | ||
357 | |||
358 | /** | ||
359 | * <!-- begin-user-doc --> | ||
360 | * <!-- end-user-doc --> | ||
361 | * @generated | ||
362 | */ | ||
363 | public EClass getMetamodelElement() | ||
364 | { | ||
365 | return metamodelElementEClass; | ||
366 | } | ||
367 | |||
368 | /** | ||
369 | * <!-- begin-user-doc --> | ||
370 | * <!-- end-user-doc --> | ||
371 | * @generated | ||
372 | */ | ||
373 | public EReference getMetamodelElement_Classifier() | ||
374 | { | ||
375 | return (EReference)metamodelElementEClass.getEStructuralFeatures().get(0); | ||
376 | } | ||
377 | |||
378 | /** | ||
379 | * <!-- begin-user-doc --> | ||
380 | * <!-- end-user-doc --> | ||
381 | * @generated | ||
382 | */ | ||
383 | public EReference getMetamodelElement_Feature() | ||
384 | { | ||
385 | return (EReference)metamodelElementEClass.getEStructuralFeatures().get(1); | ||
386 | } | ||
387 | |||
388 | /** | ||
389 | * <!-- begin-user-doc --> | ||
390 | * <!-- end-user-doc --> | ||
391 | * @generated | ||
392 | */ | ||
393 | public EClass getMetamodelDeclaration() | ||
394 | { | ||
395 | return metamodelDeclarationEClass; | ||
396 | } | ||
397 | |||
398 | /** | ||
399 | * <!-- begin-user-doc --> | ||
400 | * <!-- end-user-doc --> | ||
401 | * @generated | ||
402 | */ | ||
403 | public EAttribute getMetamodelDeclaration_Name() | ||
404 | { | ||
405 | return (EAttribute)metamodelDeclarationEClass.getEStructuralFeatures().get(0); | ||
406 | } | ||
407 | |||
408 | /** | ||
409 | * <!-- begin-user-doc --> | ||
410 | * <!-- end-user-doc --> | ||
411 | * @generated | ||
412 | */ | ||
413 | public EReference getMetamodelDeclaration_Specification() | ||
414 | { | ||
415 | return (EReference)metamodelDeclarationEClass.getEStructuralFeatures().get(1); | ||
416 | } | ||
417 | |||
418 | /** | ||
419 | * <!-- begin-user-doc --> | ||
420 | * <!-- end-user-doc --> | ||
421 | * @generated | ||
422 | */ | ||
423 | public EClass getMetamodelReference() | ||
424 | { | ||
425 | return metamodelReferenceEClass; | ||
426 | } | ||
427 | |||
428 | /** | ||
429 | * <!-- begin-user-doc --> | ||
430 | * <!-- end-user-doc --> | ||
431 | * @generated | ||
432 | */ | ||
433 | public EReference getMetamodelReference_Referred() | ||
434 | { | ||
435 | return (EReference)metamodelReferenceEClass.getEStructuralFeatures().get(0); | ||
436 | } | ||
437 | |||
438 | /** | ||
439 | * <!-- begin-user-doc --> | ||
440 | * <!-- end-user-doc --> | ||
441 | * @generated | ||
442 | */ | ||
443 | public EClass getMetamodel() | ||
444 | { | ||
445 | return metamodelEClass; | ||
446 | } | ||
447 | |||
448 | /** | ||
449 | * <!-- begin-user-doc --> | ||
450 | * <!-- end-user-doc --> | ||
451 | * @generated | ||
452 | */ | ||
453 | public ApplicationConfigurationFactory getApplicationConfigurationFactory() | ||
454 | { | ||
455 | return (ApplicationConfigurationFactory)getEFactoryInstance(); | ||
456 | } | ||
457 | |||
458 | /** | ||
459 | * <!-- begin-user-doc --> | ||
460 | * <!-- end-user-doc --> | ||
461 | * @generated | ||
462 | */ | ||
463 | private boolean isCreated = false; | ||
464 | |||
465 | /** | ||
466 | * Creates the meta-model objects for the package. This method is | ||
467 | * guarded to have no affect on any invocation but its first. | ||
468 | * <!-- begin-user-doc --> | ||
469 | * <!-- end-user-doc --> | ||
470 | * @generated | ||
471 | */ | ||
472 | public void createPackageContents() | ||
473 | { | ||
474 | if (isCreated) return; | ||
475 | isCreated = true; | ||
476 | |||
477 | // Create classes and their features | ||
478 | configurationScriptEClass = createEClass(CONFIGURATION_SCRIPT); | ||
479 | createEReference(configurationScriptEClass, CONFIGURATION_SCRIPT__IMPORTS); | ||
480 | createEReference(configurationScriptEClass, CONFIGURATION_SCRIPT__COMMANDS); | ||
481 | |||
482 | commandEClass = createEClass(COMMAND); | ||
483 | |||
484 | declarationEClass = createEClass(DECLARATION); | ||
485 | |||
486 | importEClass = createEClass(IMPORT); | ||
487 | |||
488 | ePackageImportEClass = createEClass(EPACKAGE_IMPORT); | ||
489 | createEReference(ePackageImportEClass, EPACKAGE_IMPORT__IMPORTED_PACKAGE); | ||
490 | |||
491 | viatraImportEClass = createEClass(VIATRA_IMPORT); | ||
492 | createEReference(viatraImportEClass, VIATRA_IMPORT__IMPORTED_VIATRA); | ||
493 | |||
494 | metamodelSpecificationEClass = createEClass(METAMODEL_SPECIFICATION); | ||
495 | createEReference(metamodelSpecificationEClass, METAMODEL_SPECIFICATION__ENTRIES); | ||
496 | |||
497 | metamodelEntryEClass = createEClass(METAMODEL_ENTRY); | ||
498 | createEReference(metamodelEntryEClass, METAMODEL_ENTRY__PACKAGE); | ||
499 | |||
500 | allPackageEntryEClass = createEClass(ALL_PACKAGE_ENTRY); | ||
501 | createEReference(allPackageEntryEClass, ALL_PACKAGE_ENTRY__EXCLUSION); | ||
502 | |||
503 | metamodelElementEClass = createEClass(METAMODEL_ELEMENT); | ||
504 | createEReference(metamodelElementEClass, METAMODEL_ELEMENT__CLASSIFIER); | ||
505 | createEReference(metamodelElementEClass, METAMODEL_ELEMENT__FEATURE); | ||
506 | |||
507 | metamodelDeclarationEClass = createEClass(METAMODEL_DECLARATION); | ||
508 | createEAttribute(metamodelDeclarationEClass, METAMODEL_DECLARATION__NAME); | ||
509 | createEReference(metamodelDeclarationEClass, METAMODEL_DECLARATION__SPECIFICATION); | ||
510 | |||
511 | metamodelReferenceEClass = createEClass(METAMODEL_REFERENCE); | ||
512 | createEReference(metamodelReferenceEClass, METAMODEL_REFERENCE__REFERRED); | ||
513 | |||
514 | metamodelEClass = createEClass(METAMODEL); | ||
515 | } | ||
516 | |||
517 | /** | ||
518 | * <!-- begin-user-doc --> | ||
519 | * <!-- end-user-doc --> | ||
520 | * @generated | ||
521 | */ | ||
522 | private boolean isInitialized = false; | ||
523 | |||
524 | /** | ||
525 | * Complete the initialization of the package and its meta-model. This | ||
526 | * method is guarded to have no affect on any invocation but its first. | ||
527 | * <!-- begin-user-doc --> | ||
528 | * <!-- end-user-doc --> | ||
529 | * @generated | ||
530 | */ | ||
531 | public void initializePackageContents() | ||
532 | { | ||
533 | if (isInitialized) return; | ||
534 | isInitialized = true; | ||
535 | |||
536 | // Initialize package | ||
537 | setName(eNAME); | ||
538 | setNsPrefix(eNS_PREFIX); | ||
539 | setNsURI(eNS_URI); | ||
540 | |||
541 | // Obtain other dependent packages | ||
542 | EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); | ||
543 | PatternLanguagePackage thePatternLanguagePackage = (PatternLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(PatternLanguagePackage.eNS_URI); | ||
544 | |||
545 | // Create type parameters | ||
546 | |||
547 | // Set bounds for type parameters | ||
548 | |||
549 | // Add supertypes to classes | ||
550 | declarationEClass.getESuperTypes().add(this.getCommand()); | ||
551 | ePackageImportEClass.getESuperTypes().add(this.getImport()); | ||
552 | viatraImportEClass.getESuperTypes().add(this.getImport()); | ||
553 | metamodelSpecificationEClass.getESuperTypes().add(this.getMetamodel()); | ||
554 | allPackageEntryEClass.getESuperTypes().add(this.getMetamodelEntry()); | ||
555 | metamodelElementEClass.getESuperTypes().add(this.getMetamodelEntry()); | ||
556 | metamodelDeclarationEClass.getESuperTypes().add(this.getDeclaration()); | ||
557 | metamodelReferenceEClass.getESuperTypes().add(this.getMetamodel()); | ||
558 | |||
559 | // Initialize classes and features; add operations and parameters | ||
560 | initEClass(configurationScriptEClass, ConfigurationScript.class, "ConfigurationScript", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
561 | initEReference(getConfigurationScript_Imports(), this.getImport(), null, "imports", null, 0, -1, ConfigurationScript.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
562 | initEReference(getConfigurationScript_Commands(), this.getCommand(), null, "commands", null, 0, -1, ConfigurationScript.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
563 | |||
564 | initEClass(commandEClass, Command.class, "Command", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
565 | |||
566 | initEClass(declarationEClass, Declaration.class, "Declaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
567 | |||
568 | initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
569 | |||
570 | initEClass(ePackageImportEClass, EPackageImport.class, "EPackageImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
571 | initEReference(getEPackageImport_ImportedPackage(), theEcorePackage.getEPackage(), null, "importedPackage", null, 0, 1, EPackageImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
572 | |||
573 | initEClass(viatraImportEClass, ViatraImport.class, "ViatraImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
574 | initEReference(getViatraImport_ImportedViatra(), thePatternLanguagePackage.getPatternModel(), null, "importedViatra", null, 0, 1, ViatraImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
575 | |||
576 | initEClass(metamodelSpecificationEClass, MetamodelSpecification.class, "MetamodelSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
577 | initEReference(getMetamodelSpecification_Entries(), this.getMetamodelEntry(), null, "entries", null, 0, -1, MetamodelSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
578 | |||
579 | initEClass(metamodelEntryEClass, MetamodelEntry.class, "MetamodelEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
580 | initEReference(getMetamodelEntry_Package(), theEcorePackage.getEPackage(), null, "package", null, 0, 1, MetamodelEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
581 | |||
582 | initEClass(allPackageEntryEClass, AllPackageEntry.class, "AllPackageEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
583 | initEReference(getAllPackageEntry_Exclusion(), this.getMetamodelElement(), null, "exclusion", null, 0, -1, AllPackageEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
584 | |||
585 | initEClass(metamodelElementEClass, MetamodelElement.class, "MetamodelElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
586 | initEReference(getMetamodelElement_Classifier(), theEcorePackage.getEClassifier(), null, "classifier", null, 0, 1, MetamodelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
587 | initEReference(getMetamodelElement_Feature(), theEcorePackage.getENamedElement(), null, "feature", null, 0, 1, MetamodelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
588 | |||
589 | initEClass(metamodelDeclarationEClass, MetamodelDeclaration.class, "MetamodelDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
590 | initEAttribute(getMetamodelDeclaration_Name(), theEcorePackage.getEString(), "name", null, 0, 1, MetamodelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
591 | initEReference(getMetamodelDeclaration_Specification(), this.getMetamodelSpecification(), null, "specification", null, 0, 1, MetamodelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
592 | |||
593 | initEClass(metamodelReferenceEClass, MetamodelReference.class, "MetamodelReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
594 | initEReference(getMetamodelReference_Referred(), this.getMetamodelDeclaration(), null, "referred", null, 0, 1, MetamodelReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
595 | |||
596 | initEClass(metamodelEClass, Metamodel.class, "Metamodel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
597 | |||
598 | // Create resource | ||
599 | createResource(eNS_URI); | ||
600 | } | ||
601 | |||
602 | } //ApplicationConfigurationPackageImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CommandImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CommandImpl.java new file mode 100644 index 00000000..2d4d95ba --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CommandImpl.java | |||
@@ -0,0 +1,43 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Command</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class CommandImpl extends MinimalEObjectImpl.Container implements Command | ||
21 | { | ||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @generated | ||
26 | */ | ||
27 | protected CommandImpl() | ||
28 | { | ||
29 | super(); | ||
30 | } | ||
31 | |||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | @Override | ||
38 | protected EClass eStaticClass() | ||
39 | { | ||
40 | return ApplicationConfigurationPackage.Literals.COMMAND; | ||
41 | } | ||
42 | |||
43 | } //CommandImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigurationScriptImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigurationScriptImpl.java new file mode 100644 index 00000000..fcb0790a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigurationScriptImpl.java | |||
@@ -0,0 +1,207 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; | ||
9 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
21 | |||
22 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
23 | import org.eclipse.emf.ecore.util.InternalEList; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model object '<em><b>Configuration Script</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * <p> | ||
30 | * The following features are implemented: | ||
31 | * </p> | ||
32 | * <ul> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl#getImports <em>Imports</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl#getCommands <em>Commands</em>}</li> | ||
35 | * </ul> | ||
36 | * | ||
37 | * @generated | ||
38 | */ | ||
39 | public class ConfigurationScriptImpl extends MinimalEObjectImpl.Container implements ConfigurationScript | ||
40 | { | ||
41 | /** | ||
42 | * The cached value of the '{@link #getImports() <em>Imports</em>}' containment reference list. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getImports() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected EList<Import> imports; | ||
50 | |||
51 | /** | ||
52 | * The cached value of the '{@link #getCommands() <em>Commands</em>}' containment reference list. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getCommands() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected EList<Command> commands; | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | protected ConfigurationScriptImpl() | ||
67 | { | ||
68 | super(); | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | @Override | ||
77 | protected EClass eStaticClass() | ||
78 | { | ||
79 | return ApplicationConfigurationPackage.Literals.CONFIGURATION_SCRIPT; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public EList<Import> getImports() | ||
88 | { | ||
89 | if (imports == null) | ||
90 | { | ||
91 | imports = new EObjectContainmentEList<Import>(Import.class, this, ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS); | ||
92 | } | ||
93 | return imports; | ||
94 | } | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | public EList<Command> getCommands() | ||
102 | { | ||
103 | if (commands == null) | ||
104 | { | ||
105 | commands = new EObjectContainmentEList<Command>(Command.class, this, ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS); | ||
106 | } | ||
107 | return commands; | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | @Override | ||
116 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
117 | { | ||
118 | switch (featureID) | ||
119 | { | ||
120 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: | ||
121 | return ((InternalEList<?>)getImports()).basicRemove(otherEnd, msgs); | ||
122 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: | ||
123 | return ((InternalEList<?>)getCommands()).basicRemove(otherEnd, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: | ||
139 | return getImports(); | ||
140 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: | ||
141 | return getCommands(); | ||
142 | } | ||
143 | return super.eGet(featureID, resolve, coreType); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | @SuppressWarnings("unchecked") | ||
152 | @Override | ||
153 | public void eSet(int featureID, Object newValue) | ||
154 | { | ||
155 | switch (featureID) | ||
156 | { | ||
157 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: | ||
158 | getImports().clear(); | ||
159 | getImports().addAll((Collection<? extends Import>)newValue); | ||
160 | return; | ||
161 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: | ||
162 | getCommands().clear(); | ||
163 | getCommands().addAll((Collection<? extends Command>)newValue); | ||
164 | return; | ||
165 | } | ||
166 | super.eSet(featureID, newValue); | ||
167 | } | ||
168 | |||
169 | /** | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @generated | ||
173 | */ | ||
174 | @Override | ||
175 | public void eUnset(int featureID) | ||
176 | { | ||
177 | switch (featureID) | ||
178 | { | ||
179 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: | ||
180 | getImports().clear(); | ||
181 | return; | ||
182 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: | ||
183 | getCommands().clear(); | ||
184 | return; | ||
185 | } | ||
186 | super.eUnset(featureID); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public boolean eIsSet(int featureID) | ||
196 | { | ||
197 | switch (featureID) | ||
198 | { | ||
199 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: | ||
200 | return imports != null && !imports.isEmpty(); | ||
201 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: | ||
202 | return commands != null && !commands.isEmpty(); | ||
203 | } | ||
204 | return super.eIsSet(featureID); | ||
205 | } | ||
206 | |||
207 | } //ConfigurationScriptImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java new file mode 100644 index 00000000..a2124cde --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java | |||
@@ -0,0 +1,41 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * An implementation of the model object '<em><b>Declaration</b></em>'. | ||
14 | * <!-- end-user-doc --> | ||
15 | * | ||
16 | * @generated | ||
17 | */ | ||
18 | public class DeclarationImpl extends CommandImpl implements Declaration | ||
19 | { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected DeclarationImpl() | ||
26 | { | ||
27 | super(); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | @Override | ||
36 | protected EClass eStaticClass() | ||
37 | { | ||
38 | return ApplicationConfigurationPackage.Literals.DECLARATION; | ||
39 | } | ||
40 | |||
41 | } //DeclarationImpl | ||
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 new file mode 100644 index 00000000..f54c9ac4 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java | |||
@@ -0,0 +1,173 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | import org.eclipse.emf.ecore.EPackage; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>EPackage Import</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl#getImportedPackage <em>Imported Package</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class EPackageImportImpl extends ImportImpl implements EPackageImport | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getImportedPackage() <em>Imported Package</em>}' reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getImportedPackage() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected EPackage importedPackage; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected EPackageImportImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public EPackage getImportedPackage() | ||
69 | { | ||
70 | if (importedPackage != null && importedPackage.eIsProxy()) | ||
71 | { | ||
72 | InternalEObject oldImportedPackage = (InternalEObject)importedPackage; | ||
73 | importedPackage = (EPackage)eResolveProxy(oldImportedPackage); | ||
74 | if (importedPackage != oldImportedPackage) | ||
75 | { | ||
76 | if (eNotificationRequired()) | ||
77 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE, oldImportedPackage, importedPackage)); | ||
78 | } | ||
79 | } | ||
80 | return importedPackage; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public EPackage basicGetImportedPackage() | ||
89 | { | ||
90 | return importedPackage; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public void setImportedPackage(EPackage newImportedPackage) | ||
99 | { | ||
100 | EPackage oldImportedPackage = importedPackage; | ||
101 | importedPackage = newImportedPackage; | ||
102 | if (eNotificationRequired()) | ||
103 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE, oldImportedPackage, importedPackage)); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
113 | { | ||
114 | switch (featureID) | ||
115 | { | ||
116 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: | ||
117 | if (resolve) return getImportedPackage(); | ||
118 | return basicGetImportedPackage(); | ||
119 | } | ||
120 | return super.eGet(featureID, resolve, coreType); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public void eSet(int featureID, Object newValue) | ||
130 | { | ||
131 | switch (featureID) | ||
132 | { | ||
133 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: | ||
134 | setImportedPackage((EPackage)newValue); | ||
135 | return; | ||
136 | } | ||
137 | super.eSet(featureID, newValue); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public void eUnset(int featureID) | ||
147 | { | ||
148 | switch (featureID) | ||
149 | { | ||
150 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: | ||
151 | setImportedPackage((EPackage)null); | ||
152 | return; | ||
153 | } | ||
154 | super.eUnset(featureID); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public boolean eIsSet(int featureID) | ||
164 | { | ||
165 | switch (featureID) | ||
166 | { | ||
167 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: | ||
168 | return importedPackage != null; | ||
169 | } | ||
170 | return super.eIsSet(featureID); | ||
171 | } | ||
172 | |||
173 | } //EPackageImportImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ImportImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ImportImpl.java new file mode 100644 index 00000000..feac4c1e --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ImportImpl.java | |||
@@ -0,0 +1,43 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Import</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class ImportImpl extends MinimalEObjectImpl.Container implements Import | ||
21 | { | ||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @generated | ||
26 | */ | ||
27 | protected ImportImpl() | ||
28 | { | ||
29 | super(); | ||
30 | } | ||
31 | |||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | @Override | ||
38 | protected EClass eStaticClass() | ||
39 | { | ||
40 | return ApplicationConfigurationPackage.Literals.IMPORT; | ||
41 | } | ||
42 | |||
43 | } //ImportImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java new file mode 100644 index 00000000..3458c16a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java | |||
@@ -0,0 +1,265 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Metamodel Declaration</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl#getName <em>Name</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl#getSpecification <em>Specification</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class MetamodelDeclarationImpl extends DeclarationImpl implements MetamodelDeclaration | ||
33 | { | ||
34 | /** | ||
35 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getName() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected static final String NAME_EDEFAULT = null; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getName() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected String name = NAME_EDEFAULT; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getSpecification() <em>Specification</em>}' containment reference. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getSpecification() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected MetamodelSpecification specification; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected MetamodelDeclarationImpl() | ||
70 | { | ||
71 | super(); | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | @Override | ||
80 | protected EClass eStaticClass() | ||
81 | { | ||
82 | return ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | public String getName() | ||
91 | { | ||
92 | return name; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setName(String newName) | ||
101 | { | ||
102 | String oldName = name; | ||
103 | name = newName; | ||
104 | if (eNotificationRequired()) | ||
105 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME, oldName, name)); | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | public MetamodelSpecification getSpecification() | ||
114 | { | ||
115 | return specification; | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | public NotificationChain basicSetSpecification(MetamodelSpecification newSpecification, NotificationChain msgs) | ||
124 | { | ||
125 | MetamodelSpecification oldSpecification = specification; | ||
126 | specification = newSpecification; | ||
127 | if (eNotificationRequired()) | ||
128 | { | ||
129 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); | ||
130 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
131 | } | ||
132 | return msgs; | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public void setSpecification(MetamodelSpecification newSpecification) | ||
141 | { | ||
142 | if (newSpecification != specification) | ||
143 | { | ||
144 | NotificationChain msgs = null; | ||
145 | if (specification != null) | ||
146 | msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION, null, msgs); | ||
147 | if (newSpecification != null) | ||
148 | msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION, null, msgs); | ||
149 | msgs = basicSetSpecification(newSpecification, msgs); | ||
150 | if (msgs != null) msgs.dispatch(); | ||
151 | } | ||
152 | else if (eNotificationRequired()) | ||
153 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | @Override | ||
162 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
163 | { | ||
164 | switch (featureID) | ||
165 | { | ||
166 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: | ||
167 | return basicSetSpecification(null, msgs); | ||
168 | } | ||
169 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | */ | ||
177 | @Override | ||
178 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
179 | { | ||
180 | switch (featureID) | ||
181 | { | ||
182 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME: | ||
183 | return getName(); | ||
184 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: | ||
185 | return getSpecification(); | ||
186 | } | ||
187 | return super.eGet(featureID, resolve, coreType); | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | @Override | ||
196 | public void eSet(int featureID, Object newValue) | ||
197 | { | ||
198 | switch (featureID) | ||
199 | { | ||
200 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME: | ||
201 | setName((String)newValue); | ||
202 | return; | ||
203 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: | ||
204 | setSpecification((MetamodelSpecification)newValue); | ||
205 | return; | ||
206 | } | ||
207 | super.eSet(featureID, newValue); | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @Override | ||
216 | public void eUnset(int featureID) | ||
217 | { | ||
218 | switch (featureID) | ||
219 | { | ||
220 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME: | ||
221 | setName(NAME_EDEFAULT); | ||
222 | return; | ||
223 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: | ||
224 | setSpecification((MetamodelSpecification)null); | ||
225 | return; | ||
226 | } | ||
227 | super.eUnset(featureID); | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @generated | ||
234 | */ | ||
235 | @Override | ||
236 | public boolean eIsSet(int featureID) | ||
237 | { | ||
238 | switch (featureID) | ||
239 | { | ||
240 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME: | ||
241 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
242 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: | ||
243 | return specification != null; | ||
244 | } | ||
245 | return super.eIsSet(featureID); | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | @Override | ||
254 | public String toString() | ||
255 | { | ||
256 | if (eIsProxy()) return super.toString(); | ||
257 | |||
258 | StringBuffer result = new StringBuffer(super.toString()); | ||
259 | result.append(" (name: "); | ||
260 | result.append(name); | ||
261 | result.append(')'); | ||
262 | return result.toString(); | ||
263 | } | ||
264 | |||
265 | } //MetamodelDeclarationImpl | ||
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 new file mode 100644 index 00000000..9daa07d6 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java | |||
@@ -0,0 +1,239 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | import org.eclipse.emf.ecore.EClassifier; | ||
13 | import org.eclipse.emf.ecore.ENamedElement; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Metamodel Element</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
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> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class MetamodelElementImpl extends MetamodelEntryImpl implements MetamodelElement | ||
33 | { | ||
34 | /** | ||
35 | * The cached value of the '{@link #getClassifier() <em>Classifier</em>}' reference. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getClassifier() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected EClassifier classifier; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getFeature() <em>Feature</em>}' reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getFeature() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected ENamedElement feature; | ||
53 | |||
54 | /** | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | protected MetamodelElementImpl() | ||
60 | { | ||
61 | super(); | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | @Override | ||
70 | protected EClass eStaticClass() | ||
71 | { | ||
72 | return ApplicationConfigurationPackage.Literals.METAMODEL_ELEMENT; | ||
73 | } | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | public EClassifier getClassifier() | ||
81 | { | ||
82 | if (classifier != null && classifier.eIsProxy()) | ||
83 | { | ||
84 | InternalEObject oldClassifier = (InternalEObject)classifier; | ||
85 | classifier = (EClassifier)eResolveProxy(oldClassifier); | ||
86 | if (classifier != oldClassifier) | ||
87 | { | ||
88 | if (eNotificationRequired()) | ||
89 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER, oldClassifier, classifier)); | ||
90 | } | ||
91 | } | ||
92 | return classifier; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public EClassifier basicGetClassifier() | ||
101 | { | ||
102 | return classifier; | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | public void setClassifier(EClassifier newClassifier) | ||
111 | { | ||
112 | EClassifier oldClassifier = classifier; | ||
113 | classifier = newClassifier; | ||
114 | if (eNotificationRequired()) | ||
115 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER, oldClassifier, classifier)); | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | public ENamedElement getFeature() | ||
124 | { | ||
125 | if (feature != null && feature.eIsProxy()) | ||
126 | { | ||
127 | InternalEObject oldFeature = (InternalEObject)feature; | ||
128 | feature = (ENamedElement)eResolveProxy(oldFeature); | ||
129 | if (feature != oldFeature) | ||
130 | { | ||
131 | if (eNotificationRequired()) | ||
132 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE, oldFeature, feature)); | ||
133 | } | ||
134 | } | ||
135 | return feature; | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | public ENamedElement basicGetFeature() | ||
144 | { | ||
145 | return feature; | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | public void setFeature(ENamedElement newFeature) | ||
154 | { | ||
155 | ENamedElement oldFeature = feature; | ||
156 | feature = newFeature; | ||
157 | if (eNotificationRequired()) | ||
158 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE, oldFeature, feature)); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: | ||
172 | if (resolve) return getClassifier(); | ||
173 | return basicGetClassifier(); | ||
174 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: | ||
175 | if (resolve) return getFeature(); | ||
176 | return basicGetFeature(); | ||
177 | } | ||
178 | return super.eGet(featureID, resolve, coreType); | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | @Override | ||
187 | public void eSet(int featureID, Object newValue) | ||
188 | { | ||
189 | switch (featureID) | ||
190 | { | ||
191 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: | ||
192 | setClassifier((EClassifier)newValue); | ||
193 | return; | ||
194 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: | ||
195 | setFeature((ENamedElement)newValue); | ||
196 | return; | ||
197 | } | ||
198 | super.eSet(featureID, newValue); | ||
199 | } | ||
200 | |||
201 | /** | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | */ | ||
206 | @Override | ||
207 | public void eUnset(int featureID) | ||
208 | { | ||
209 | switch (featureID) | ||
210 | { | ||
211 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: | ||
212 | setClassifier((EClassifier)null); | ||
213 | return; | ||
214 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: | ||
215 | setFeature((ENamedElement)null); | ||
216 | return; | ||
217 | } | ||
218 | super.eUnset(featureID); | ||
219 | } | ||
220 | |||
221 | /** | ||
222 | * <!-- begin-user-doc --> | ||
223 | * <!-- end-user-doc --> | ||
224 | * @generated | ||
225 | */ | ||
226 | @Override | ||
227 | public boolean eIsSet(int featureID) | ||
228 | { | ||
229 | switch (featureID) | ||
230 | { | ||
231 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: | ||
232 | return classifier != null; | ||
233 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: | ||
234 | return feature != null; | ||
235 | } | ||
236 | return super.eIsSet(featureID); | ||
237 | } | ||
238 | |||
239 | } //MetamodelElementImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java new file mode 100644 index 00000000..48a2cef3 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java | |||
@@ -0,0 +1,174 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | import org.eclipse.emf.ecore.EPackage; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Metamodel Entry</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl#getPackage <em>Package</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class MetamodelEntryImpl extends MinimalEObjectImpl.Container implements MetamodelEntry | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getPackage() <em>Package</em>}' reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getPackage() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected EPackage package_; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected MetamodelEntryImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.METAMODEL_ENTRY; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public EPackage getPackage() | ||
70 | { | ||
71 | if (package_ != null && package_.eIsProxy()) | ||
72 | { | ||
73 | InternalEObject oldPackage = (InternalEObject)package_; | ||
74 | package_ = (EPackage)eResolveProxy(oldPackage); | ||
75 | if (package_ != oldPackage) | ||
76 | { | ||
77 | if (eNotificationRequired()) | ||
78 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE, oldPackage, package_)); | ||
79 | } | ||
80 | } | ||
81 | return package_; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public EPackage basicGetPackage() | ||
90 | { | ||
91 | return package_; | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | public void setPackage(EPackage newPackage) | ||
100 | { | ||
101 | EPackage oldPackage = package_; | ||
102 | package_ = newPackage; | ||
103 | if (eNotificationRequired()) | ||
104 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE, oldPackage, package_)); | ||
105 | } | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | @Override | ||
113 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
114 | { | ||
115 | switch (featureID) | ||
116 | { | ||
117 | case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: | ||
118 | if (resolve) return getPackage(); | ||
119 | return basicGetPackage(); | ||
120 | } | ||
121 | return super.eGet(featureID, resolve, coreType); | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | @Override | ||
130 | public void eSet(int featureID, Object newValue) | ||
131 | { | ||
132 | switch (featureID) | ||
133 | { | ||
134 | case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: | ||
135 | setPackage((EPackage)newValue); | ||
136 | return; | ||
137 | } | ||
138 | super.eSet(featureID, newValue); | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | @Override | ||
147 | public void eUnset(int featureID) | ||
148 | { | ||
149 | switch (featureID) | ||
150 | { | ||
151 | case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: | ||
152 | setPackage((EPackage)null); | ||
153 | return; | ||
154 | } | ||
155 | super.eUnset(featureID); | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | @Override | ||
164 | public boolean eIsSet(int featureID) | ||
165 | { | ||
166 | switch (featureID) | ||
167 | { | ||
168 | case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: | ||
169 | return package_ != null; | ||
170 | } | ||
171 | return super.eIsSet(featureID); | ||
172 | } | ||
173 | |||
174 | } //MetamodelEntryImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelImpl.java new file mode 100644 index 00000000..40b6adc4 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelImpl.java | |||
@@ -0,0 +1,43 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Metamodel</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class MetamodelImpl extends MinimalEObjectImpl.Container implements Metamodel | ||
21 | { | ||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @generated | ||
26 | */ | ||
27 | protected MetamodelImpl() | ||
28 | { | ||
29 | super(); | ||
30 | } | ||
31 | |||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | @Override | ||
38 | protected EClass eStaticClass() | ||
39 | { | ||
40 | return ApplicationConfigurationPackage.Literals.METAMODEL; | ||
41 | } | ||
42 | |||
43 | } //MetamodelImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelReferenceImpl.java new file mode 100644 index 00000000..ea7bb0f3 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelReferenceImpl.java | |||
@@ -0,0 +1,173 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Metamodel Reference</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl#getReferred <em>Referred</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class MetamodelReferenceImpl extends MetamodelImpl implements MetamodelReference | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getReferred() <em>Referred</em>}' reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getReferred() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected MetamodelDeclaration referred; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected MetamodelReferenceImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public MetamodelDeclaration getReferred() | ||
69 | { | ||
70 | if (referred != null && referred.eIsProxy()) | ||
71 | { | ||
72 | InternalEObject oldReferred = (InternalEObject)referred; | ||
73 | referred = (MetamodelDeclaration)eResolveProxy(oldReferred); | ||
74 | if (referred != oldReferred) | ||
75 | { | ||
76 | if (eNotificationRequired()) | ||
77 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED, oldReferred, referred)); | ||
78 | } | ||
79 | } | ||
80 | return referred; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public MetamodelDeclaration basicGetReferred() | ||
89 | { | ||
90 | return referred; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public void setReferred(MetamodelDeclaration newReferred) | ||
99 | { | ||
100 | MetamodelDeclaration oldReferred = referred; | ||
101 | referred = newReferred; | ||
102 | if (eNotificationRequired()) | ||
103 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED, oldReferred, referred)); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
113 | { | ||
114 | switch (featureID) | ||
115 | { | ||
116 | case ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED: | ||
117 | if (resolve) return getReferred(); | ||
118 | return basicGetReferred(); | ||
119 | } | ||
120 | return super.eGet(featureID, resolve, coreType); | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | @Override | ||
129 | public void eSet(int featureID, Object newValue) | ||
130 | { | ||
131 | switch (featureID) | ||
132 | { | ||
133 | case ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED: | ||
134 | setReferred((MetamodelDeclaration)newValue); | ||
135 | return; | ||
136 | } | ||
137 | super.eSet(featureID, newValue); | ||
138 | } | ||
139 | |||
140 | /** | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @generated | ||
144 | */ | ||
145 | @Override | ||
146 | public void eUnset(int featureID) | ||
147 | { | ||
148 | switch (featureID) | ||
149 | { | ||
150 | case ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED: | ||
151 | setReferred((MetamodelDeclaration)null); | ||
152 | return; | ||
153 | } | ||
154 | super.eUnset(featureID); | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | @Override | ||
163 | public boolean eIsSet(int featureID) | ||
164 | { | ||
165 | switch (featureID) | ||
166 | { | ||
167 | case ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED: | ||
168 | return referred != null; | ||
169 | } | ||
170 | return super.eIsSet(featureID); | ||
171 | } | ||
172 | |||
173 | } //MetamodelReferenceImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelSpecificationImpl.java new file mode 100644 index 00000000..36a86f81 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelSpecificationImpl.java | |||
@@ -0,0 +1,166 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.NotificationChain; | ||
13 | |||
14 | import org.eclipse.emf.common.util.EList; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
20 | import org.eclipse.emf.ecore.util.InternalEList; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>Metamodel Specification</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl#getEntries <em>Entries</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class MetamodelSpecificationImpl extends MetamodelImpl implements MetamodelSpecification | ||
36 | { | ||
37 | /** | ||
38 | * The cached value of the '{@link #getEntries() <em>Entries</em>}' containment reference list. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getEntries() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected EList<MetamodelEntry> entries; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | protected MetamodelSpecificationImpl() | ||
53 | { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() | ||
64 | { | ||
65 | return ApplicationConfigurationPackage.Literals.METAMODEL_SPECIFICATION; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | public EList<MetamodelEntry> getEntries() | ||
74 | { | ||
75 | if (entries == null) | ||
76 | { | ||
77 | entries = new EObjectContainmentEList<MetamodelEntry>(MetamodelEntry.class, this, ApplicationConfigurationPackage.METAMODEL_SPECIFICATION__ENTRIES); | ||
78 | } | ||
79 | return entries; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | @Override | ||
88 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
89 | { | ||
90 | switch (featureID) | ||
91 | { | ||
92 | case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION__ENTRIES: | ||
93 | return ((InternalEList<?>)getEntries()).basicRemove(otherEnd, msgs); | ||
94 | } | ||
95 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
105 | { | ||
106 | switch (featureID) | ||
107 | { | ||
108 | case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION__ENTRIES: | ||
109 | return getEntries(); | ||
110 | } | ||
111 | return super.eGet(featureID, resolve, coreType); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @SuppressWarnings("unchecked") | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) | ||
122 | { | ||
123 | switch (featureID) | ||
124 | { | ||
125 | case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION__ENTRIES: | ||
126 | getEntries().clear(); | ||
127 | getEntries().addAll((Collection<? extends MetamodelEntry>)newValue); | ||
128 | return; | ||
129 | } | ||
130 | super.eSet(featureID, newValue); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | @Override | ||
139 | public void eUnset(int featureID) | ||
140 | { | ||
141 | switch (featureID) | ||
142 | { | ||
143 | case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION__ENTRIES: | ||
144 | getEntries().clear(); | ||
145 | return; | ||
146 | } | ||
147 | super.eUnset(featureID); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public boolean eIsSet(int featureID) | ||
157 | { | ||
158 | switch (featureID) | ||
159 | { | ||
160 | case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION__ENTRIES: | ||
161 | return entries != null && !entries.isEmpty(); | ||
162 | } | ||
163 | return super.eIsSet(featureID); | ||
164 | } | ||
165 | |||
166 | } //MetamodelSpecificationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ViatraImportImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ViatraImportImpl.java new file mode 100644 index 00000000..69f12f97 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ViatraImportImpl.java | |||
@@ -0,0 +1,174 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | import org.eclipse.emf.ecore.InternalEObject; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
15 | |||
16 | import org.eclipse.viatra.query.patternlanguage.patternLanguage.PatternModel; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Viatra Import</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl#getImportedViatra <em>Imported Viatra</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ViatraImportImpl extends ImportImpl implements ViatraImport | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getImportedViatra() <em>Imported Viatra</em>}' reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getImportedViatra() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected PatternModel importedViatra; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected ViatraImportImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.VIATRA_IMPORT; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public PatternModel getImportedViatra() | ||
70 | { | ||
71 | if (importedViatra != null && importedViatra.eIsProxy()) | ||
72 | { | ||
73 | InternalEObject oldImportedViatra = (InternalEObject)importedViatra; | ||
74 | importedViatra = (PatternModel)eResolveProxy(oldImportedViatra); | ||
75 | if (importedViatra != oldImportedViatra) | ||
76 | { | ||
77 | if (eNotificationRequired()) | ||
78 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA, oldImportedViatra, importedViatra)); | ||
79 | } | ||
80 | } | ||
81 | return importedViatra; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public PatternModel basicGetImportedViatra() | ||
90 | { | ||
91 | return importedViatra; | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | public void setImportedViatra(PatternModel newImportedViatra) | ||
100 | { | ||
101 | PatternModel oldImportedViatra = importedViatra; | ||
102 | importedViatra = newImportedViatra; | ||
103 | if (eNotificationRequired()) | ||
104 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA, oldImportedViatra, importedViatra)); | ||
105 | } | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | @Override | ||
113 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
114 | { | ||
115 | switch (featureID) | ||
116 | { | ||
117 | case ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA: | ||
118 | if (resolve) return getImportedViatra(); | ||
119 | return basicGetImportedViatra(); | ||
120 | } | ||
121 | return super.eGet(featureID, resolve, coreType); | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | @Override | ||
130 | public void eSet(int featureID, Object newValue) | ||
131 | { | ||
132 | switch (featureID) | ||
133 | { | ||
134 | case ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA: | ||
135 | setImportedViatra((PatternModel)newValue); | ||
136 | return; | ||
137 | } | ||
138 | super.eSet(featureID, newValue); | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | @Override | ||
147 | public void eUnset(int featureID) | ||
148 | { | ||
149 | switch (featureID) | ||
150 | { | ||
151 | case ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA: | ||
152 | setImportedViatra((PatternModel)null); | ||
153 | return; | ||
154 | } | ||
155 | super.eUnset(featureID); | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | @Override | ||
164 | public boolean eIsSet(int featureID) | ||
165 | { | ||
166 | switch (featureID) | ||
167 | { | ||
168 | case ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA: | ||
169 | return importedViatra != null; | ||
170 | } | ||
171 | return super.eIsSet(featureID); | ||
172 | } | ||
173 | |||
174 | } //ViatraImportImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java new file mode 100644 index 00000000..67d9c396 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java | |||
@@ -0,0 +1,373 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Adapter; | ||
9 | import org.eclipse.emf.common.notify.Notifier; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EObject; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * The <b>Adapter Factory</b> for the model. | ||
18 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
19 | * <!-- end-user-doc --> | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage | ||
21 | * @generated | ||
22 | */ | ||
23 | public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl | ||
24 | { | ||
25 | /** | ||
26 | * The cached model package. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @generated | ||
30 | */ | ||
31 | protected static ApplicationConfigurationPackage modelPackage; | ||
32 | |||
33 | /** | ||
34 | * Creates an instance of the adapter factory. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @generated | ||
38 | */ | ||
39 | public ApplicationConfigurationAdapterFactory() | ||
40 | { | ||
41 | if (modelPackage == null) | ||
42 | { | ||
43 | modelPackage = ApplicationConfigurationPackage.eINSTANCE; | ||
44 | } | ||
45 | } | ||
46 | |||
47 | /** | ||
48 | * Returns whether this factory is applicable for the type of the object. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
51 | * <!-- end-user-doc --> | ||
52 | * @return whether this factory is applicable for the type of the object. | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | public boolean isFactoryForType(Object object) | ||
57 | { | ||
58 | if (object == modelPackage) | ||
59 | { | ||
60 | return true; | ||
61 | } | ||
62 | if (object instanceof EObject) | ||
63 | { | ||
64 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
65 | } | ||
66 | return false; | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * The switch that delegates to the <code>createXXX</code> methods. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | protected ApplicationConfigurationSwitch<Adapter> modelSwitch = | ||
76 | new ApplicationConfigurationSwitch<Adapter>() | ||
77 | { | ||
78 | @Override | ||
79 | public Adapter caseConfigurationScript(ConfigurationScript object) | ||
80 | { | ||
81 | return createConfigurationScriptAdapter(); | ||
82 | } | ||
83 | @Override | ||
84 | public Adapter caseCommand(Command object) | ||
85 | { | ||
86 | return createCommandAdapter(); | ||
87 | } | ||
88 | @Override | ||
89 | public Adapter caseDeclaration(Declaration object) | ||
90 | { | ||
91 | return createDeclarationAdapter(); | ||
92 | } | ||
93 | @Override | ||
94 | public Adapter caseImport(Import object) | ||
95 | { | ||
96 | return createImportAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseEPackageImport(EPackageImport object) | ||
100 | { | ||
101 | return createEPackageImportAdapter(); | ||
102 | } | ||
103 | @Override | ||
104 | public Adapter caseViatraImport(ViatraImport object) | ||
105 | { | ||
106 | return createViatraImportAdapter(); | ||
107 | } | ||
108 | @Override | ||
109 | public Adapter caseMetamodelSpecification(MetamodelSpecification object) | ||
110 | { | ||
111 | return createMetamodelSpecificationAdapter(); | ||
112 | } | ||
113 | @Override | ||
114 | public Adapter caseMetamodelEntry(MetamodelEntry object) | ||
115 | { | ||
116 | return createMetamodelEntryAdapter(); | ||
117 | } | ||
118 | @Override | ||
119 | public Adapter caseAllPackageEntry(AllPackageEntry object) | ||
120 | { | ||
121 | return createAllPackageEntryAdapter(); | ||
122 | } | ||
123 | @Override | ||
124 | public Adapter caseMetamodelElement(MetamodelElement object) | ||
125 | { | ||
126 | return createMetamodelElementAdapter(); | ||
127 | } | ||
128 | @Override | ||
129 | public Adapter caseMetamodelDeclaration(MetamodelDeclaration object) | ||
130 | { | ||
131 | return createMetamodelDeclarationAdapter(); | ||
132 | } | ||
133 | @Override | ||
134 | public Adapter caseMetamodelReference(MetamodelReference object) | ||
135 | { | ||
136 | return createMetamodelReferenceAdapter(); | ||
137 | } | ||
138 | @Override | ||
139 | public Adapter caseMetamodel(Metamodel object) | ||
140 | { | ||
141 | return createMetamodelAdapter(); | ||
142 | } | ||
143 | @Override | ||
144 | public Adapter defaultCase(EObject object) | ||
145 | { | ||
146 | return createEObjectAdapter(); | ||
147 | } | ||
148 | }; | ||
149 | |||
150 | /** | ||
151 | * Creates an adapter for the <code>target</code>. | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @param target the object to adapt. | ||
155 | * @return the adapter for the <code>target</code>. | ||
156 | * @generated | ||
157 | */ | ||
158 | @Override | ||
159 | public Adapter createAdapter(Notifier target) | ||
160 | { | ||
161 | return modelSwitch.doSwitch((EObject)target); | ||
162 | } | ||
163 | |||
164 | |||
165 | /** | ||
166 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript <em>Configuration Script</em>}'. | ||
167 | * <!-- begin-user-doc --> | ||
168 | * This default implementation returns null so that we can easily ignore cases; | ||
169 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
170 | * <!-- end-user-doc --> | ||
171 | * @return the new adapter. | ||
172 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript | ||
173 | * @generated | ||
174 | */ | ||
175 | public Adapter createConfigurationScriptAdapter() | ||
176 | { | ||
177 | return null; | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command <em>Command</em>}'. | ||
182 | * <!-- begin-user-doc --> | ||
183 | * This default implementation returns null so that we can easily ignore cases; | ||
184 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
185 | * <!-- end-user-doc --> | ||
186 | * @return the new adapter. | ||
187 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command | ||
188 | * @generated | ||
189 | */ | ||
190 | public Adapter createCommandAdapter() | ||
191 | { | ||
192 | return null; | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration <em>Declaration</em>}'. | ||
197 | * <!-- begin-user-doc --> | ||
198 | * This default implementation returns null so that we can easily ignore cases; | ||
199 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
200 | * <!-- end-user-doc --> | ||
201 | * @return the new adapter. | ||
202 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration | ||
203 | * @generated | ||
204 | */ | ||
205 | public Adapter createDeclarationAdapter() | ||
206 | { | ||
207 | return null; | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import <em>Import</em>}'. | ||
212 | * <!-- begin-user-doc --> | ||
213 | * This default implementation returns null so that we can easily ignore cases; | ||
214 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
215 | * <!-- end-user-doc --> | ||
216 | * @return the new adapter. | ||
217 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import | ||
218 | * @generated | ||
219 | */ | ||
220 | public Adapter createImportAdapter() | ||
221 | { | ||
222 | return null; | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport <em>EPackage Import</em>}'. | ||
227 | * <!-- begin-user-doc --> | ||
228 | * This default implementation returns null so that we can easily ignore cases; | ||
229 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
230 | * <!-- end-user-doc --> | ||
231 | * @return the new adapter. | ||
232 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport | ||
233 | * @generated | ||
234 | */ | ||
235 | public Adapter createEPackageImportAdapter() | ||
236 | { | ||
237 | return null; | ||
238 | } | ||
239 | |||
240 | /** | ||
241 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport <em>Viatra Import</em>}'. | ||
242 | * <!-- begin-user-doc --> | ||
243 | * This default implementation returns null so that we can easily ignore cases; | ||
244 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
245 | * <!-- end-user-doc --> | ||
246 | * @return the new adapter. | ||
247 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport | ||
248 | * @generated | ||
249 | */ | ||
250 | public Adapter createViatraImportAdapter() | ||
251 | { | ||
252 | return null; | ||
253 | } | ||
254 | |||
255 | /** | ||
256 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification <em>Metamodel Specification</em>}'. | ||
257 | * <!-- begin-user-doc --> | ||
258 | * This default implementation returns null so that we can easily ignore cases; | ||
259 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
260 | * <!-- end-user-doc --> | ||
261 | * @return the new adapter. | ||
262 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification | ||
263 | * @generated | ||
264 | */ | ||
265 | public Adapter createMetamodelSpecificationAdapter() | ||
266 | { | ||
267 | return null; | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry <em>Metamodel Entry</em>}'. | ||
272 | * <!-- begin-user-doc --> | ||
273 | * This default implementation returns null so that we can easily ignore cases; | ||
274 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
275 | * <!-- end-user-doc --> | ||
276 | * @return the new adapter. | ||
277 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry | ||
278 | * @generated | ||
279 | */ | ||
280 | public Adapter createMetamodelEntryAdapter() | ||
281 | { | ||
282 | return null; | ||
283 | } | ||
284 | |||
285 | /** | ||
286 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry <em>All Package Entry</em>}'. | ||
287 | * <!-- begin-user-doc --> | ||
288 | * This default implementation returns null so that we can easily ignore cases; | ||
289 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
290 | * <!-- end-user-doc --> | ||
291 | * @return the new adapter. | ||
292 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry | ||
293 | * @generated | ||
294 | */ | ||
295 | public Adapter createAllPackageEntryAdapter() | ||
296 | { | ||
297 | return null; | ||
298 | } | ||
299 | |||
300 | /** | ||
301 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement <em>Metamodel Element</em>}'. | ||
302 | * <!-- begin-user-doc --> | ||
303 | * This default implementation returns null so that we can easily ignore cases; | ||
304 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
305 | * <!-- end-user-doc --> | ||
306 | * @return the new adapter. | ||
307 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement | ||
308 | * @generated | ||
309 | */ | ||
310 | public Adapter createMetamodelElementAdapter() | ||
311 | { | ||
312 | return null; | ||
313 | } | ||
314 | |||
315 | /** | ||
316 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration <em>Metamodel Declaration</em>}'. | ||
317 | * <!-- begin-user-doc --> | ||
318 | * This default implementation returns null so that we can easily ignore cases; | ||
319 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
320 | * <!-- end-user-doc --> | ||
321 | * @return the new adapter. | ||
322 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration | ||
323 | * @generated | ||
324 | */ | ||
325 | public Adapter createMetamodelDeclarationAdapter() | ||
326 | { | ||
327 | return null; | ||
328 | } | ||
329 | |||
330 | /** | ||
331 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference <em>Metamodel Reference</em>}'. | ||
332 | * <!-- begin-user-doc --> | ||
333 | * This default implementation returns null so that we can easily ignore cases; | ||
334 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
335 | * <!-- end-user-doc --> | ||
336 | * @return the new adapter. | ||
337 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference | ||
338 | * @generated | ||
339 | */ | ||
340 | public Adapter createMetamodelReferenceAdapter() | ||
341 | { | ||
342 | return null; | ||
343 | } | ||
344 | |||
345 | /** | ||
346 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel <em>Metamodel</em>}'. | ||
347 | * <!-- begin-user-doc --> | ||
348 | * This default implementation returns null so that we can easily ignore cases; | ||
349 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
350 | * <!-- end-user-doc --> | ||
351 | * @return the new adapter. | ||
352 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel | ||
353 | * @generated | ||
354 | */ | ||
355 | public Adapter createMetamodelAdapter() | ||
356 | { | ||
357 | return null; | ||
358 | } | ||
359 | |||
360 | /** | ||
361 | * Creates a new adapter for the default case. | ||
362 | * <!-- begin-user-doc --> | ||
363 | * This default implementation returns null. | ||
364 | * <!-- end-user-doc --> | ||
365 | * @return the new adapter. | ||
366 | * @generated | ||
367 | */ | ||
368 | public Adapter createEObjectAdapter() | ||
369 | { | ||
370 | return null; | ||
371 | } | ||
372 | |||
373 | } //ApplicationConfigurationAdapterFactory | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java new file mode 100644 index 00000000..673ffe08 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java | |||
@@ -0,0 +1,405 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | |||
11 | import org.eclipse.emf.ecore.util.Switch; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
16 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
17 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
18 | * starting with the actual class of the object | ||
19 | * and proceeding up the inheritance hierarchy | ||
20 | * until a non-null result is returned, | ||
21 | * which is the result of the switch. | ||
22 | * <!-- end-user-doc --> | ||
23 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage | ||
24 | * @generated | ||
25 | */ | ||
26 | public class ApplicationConfigurationSwitch<T> extends Switch<T> | ||
27 | { | ||
28 | /** | ||
29 | * The cached model package | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | protected static ApplicationConfigurationPackage modelPackage; | ||
35 | |||
36 | /** | ||
37 | * Creates an instance of the switch. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @generated | ||
41 | */ | ||
42 | public ApplicationConfigurationSwitch() | ||
43 | { | ||
44 | if (modelPackage == null) | ||
45 | { | ||
46 | modelPackage = ApplicationConfigurationPackage.eINSTANCE; | ||
47 | } | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * Checks whether this is a switch for the given package. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @param ePackage the package in question. | ||
55 | * @return whether this is a switch for the given package. | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected boolean isSwitchFor(EPackage ePackage) | ||
60 | { | ||
61 | return ePackage == modelPackage; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
69 | * @generated | ||
70 | */ | ||
71 | @Override | ||
72 | protected T doSwitch(int classifierID, EObject theEObject) | ||
73 | { | ||
74 | switch (classifierID) | ||
75 | { | ||
76 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: | ||
77 | { | ||
78 | ConfigurationScript configurationScript = (ConfigurationScript)theEObject; | ||
79 | T result = caseConfigurationScript(configurationScript); | ||
80 | if (result == null) result = defaultCase(theEObject); | ||
81 | return result; | ||
82 | } | ||
83 | case ApplicationConfigurationPackage.COMMAND: | ||
84 | { | ||
85 | Command command = (Command)theEObject; | ||
86 | T result = caseCommand(command); | ||
87 | if (result == null) result = defaultCase(theEObject); | ||
88 | return result; | ||
89 | } | ||
90 | case ApplicationConfigurationPackage.DECLARATION: | ||
91 | { | ||
92 | Declaration declaration = (Declaration)theEObject; | ||
93 | T result = caseDeclaration(declaration); | ||
94 | if (result == null) result = caseCommand(declaration); | ||
95 | if (result == null) result = defaultCase(theEObject); | ||
96 | return result; | ||
97 | } | ||
98 | case ApplicationConfigurationPackage.IMPORT: | ||
99 | { | ||
100 | Import import_ = (Import)theEObject; | ||
101 | T result = caseImport(import_); | ||
102 | if (result == null) result = defaultCase(theEObject); | ||
103 | return result; | ||
104 | } | ||
105 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT: | ||
106 | { | ||
107 | EPackageImport ePackageImport = (EPackageImport)theEObject; | ||
108 | T result = caseEPackageImport(ePackageImport); | ||
109 | if (result == null) result = caseImport(ePackageImport); | ||
110 | if (result == null) result = defaultCase(theEObject); | ||
111 | return result; | ||
112 | } | ||
113 | case ApplicationConfigurationPackage.VIATRA_IMPORT: | ||
114 | { | ||
115 | ViatraImport viatraImport = (ViatraImport)theEObject; | ||
116 | T result = caseViatraImport(viatraImport); | ||
117 | if (result == null) result = caseImport(viatraImport); | ||
118 | if (result == null) result = defaultCase(theEObject); | ||
119 | return result; | ||
120 | } | ||
121 | case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: | ||
122 | { | ||
123 | MetamodelSpecification metamodelSpecification = (MetamodelSpecification)theEObject; | ||
124 | T result = caseMetamodelSpecification(metamodelSpecification); | ||
125 | if (result == null) result = caseMetamodel(metamodelSpecification); | ||
126 | if (result == null) result = defaultCase(theEObject); | ||
127 | return result; | ||
128 | } | ||
129 | case ApplicationConfigurationPackage.METAMODEL_ENTRY: | ||
130 | { | ||
131 | MetamodelEntry metamodelEntry = (MetamodelEntry)theEObject; | ||
132 | T result = caseMetamodelEntry(metamodelEntry); | ||
133 | if (result == null) result = defaultCase(theEObject); | ||
134 | return result; | ||
135 | } | ||
136 | case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: | ||
137 | { | ||
138 | AllPackageEntry allPackageEntry = (AllPackageEntry)theEObject; | ||
139 | T result = caseAllPackageEntry(allPackageEntry); | ||
140 | if (result == null) result = caseMetamodelEntry(allPackageEntry); | ||
141 | if (result == null) result = defaultCase(theEObject); | ||
142 | return result; | ||
143 | } | ||
144 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT: | ||
145 | { | ||
146 | MetamodelElement metamodelElement = (MetamodelElement)theEObject; | ||
147 | T result = caseMetamodelElement(metamodelElement); | ||
148 | if (result == null) result = caseMetamodelEntry(metamodelElement); | ||
149 | if (result == null) result = defaultCase(theEObject); | ||
150 | return result; | ||
151 | } | ||
152 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION: | ||
153 | { | ||
154 | MetamodelDeclaration metamodelDeclaration = (MetamodelDeclaration)theEObject; | ||
155 | T result = caseMetamodelDeclaration(metamodelDeclaration); | ||
156 | if (result == null) result = caseDeclaration(metamodelDeclaration); | ||
157 | if (result == null) result = caseCommand(metamodelDeclaration); | ||
158 | if (result == null) result = defaultCase(theEObject); | ||
159 | return result; | ||
160 | } | ||
161 | case ApplicationConfigurationPackage.METAMODEL_REFERENCE: | ||
162 | { | ||
163 | MetamodelReference metamodelReference = (MetamodelReference)theEObject; | ||
164 | T result = caseMetamodelReference(metamodelReference); | ||
165 | if (result == null) result = caseMetamodel(metamodelReference); | ||
166 | if (result == null) result = defaultCase(theEObject); | ||
167 | return result; | ||
168 | } | ||
169 | case ApplicationConfigurationPackage.METAMODEL: | ||
170 | { | ||
171 | Metamodel metamodel = (Metamodel)theEObject; | ||
172 | T result = caseMetamodel(metamodel); | ||
173 | if (result == null) result = defaultCase(theEObject); | ||
174 | return result; | ||
175 | } | ||
176 | default: return defaultCase(theEObject); | ||
177 | } | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * Returns the result of interpreting the object as an instance of '<em>Configuration Script</em>'. | ||
182 | * <!-- begin-user-doc --> | ||
183 | * This implementation returns null; | ||
184 | * returning a non-null result will terminate the switch. | ||
185 | * <!-- end-user-doc --> | ||
186 | * @param object the target of the switch. | ||
187 | * @return the result of interpreting the object as an instance of '<em>Configuration Script</em>'. | ||
188 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
189 | * @generated | ||
190 | */ | ||
191 | public T caseConfigurationScript(ConfigurationScript object) | ||
192 | { | ||
193 | return null; | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * Returns the result of interpreting the object as an instance of '<em>Command</em>'. | ||
198 | * <!-- begin-user-doc --> | ||
199 | * This implementation returns null; | ||
200 | * returning a non-null result will terminate the switch. | ||
201 | * <!-- end-user-doc --> | ||
202 | * @param object the target of the switch. | ||
203 | * @return the result of interpreting the object as an instance of '<em>Command</em>'. | ||
204 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
205 | * @generated | ||
206 | */ | ||
207 | public T caseCommand(Command object) | ||
208 | { | ||
209 | return null; | ||
210 | } | ||
211 | |||
212 | /** | ||
213 | * Returns the result of interpreting the object as an instance of '<em>Declaration</em>'. | ||
214 | * <!-- begin-user-doc --> | ||
215 | * This implementation returns null; | ||
216 | * returning a non-null result will terminate the switch. | ||
217 | * <!-- end-user-doc --> | ||
218 | * @param object the target of the switch. | ||
219 | * @return the result of interpreting the object as an instance of '<em>Declaration</em>'. | ||
220 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
221 | * @generated | ||
222 | */ | ||
223 | public T caseDeclaration(Declaration object) | ||
224 | { | ||
225 | return null; | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * Returns the result of interpreting the object as an instance of '<em>Import</em>'. | ||
230 | * <!-- begin-user-doc --> | ||
231 | * This implementation returns null; | ||
232 | * returning a non-null result will terminate the switch. | ||
233 | * <!-- end-user-doc --> | ||
234 | * @param object the target of the switch. | ||
235 | * @return the result of interpreting the object as an instance of '<em>Import</em>'. | ||
236 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
237 | * @generated | ||
238 | */ | ||
239 | public T caseImport(Import object) | ||
240 | { | ||
241 | return null; | ||
242 | } | ||
243 | |||
244 | /** | ||
245 | * Returns the result of interpreting the object as an instance of '<em>EPackage Import</em>'. | ||
246 | * <!-- begin-user-doc --> | ||
247 | * This implementation returns null; | ||
248 | * returning a non-null result will terminate the switch. | ||
249 | * <!-- end-user-doc --> | ||
250 | * @param object the target of the switch. | ||
251 | * @return the result of interpreting the object as an instance of '<em>EPackage Import</em>'. | ||
252 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
253 | * @generated | ||
254 | */ | ||
255 | public T caseEPackageImport(EPackageImport object) | ||
256 | { | ||
257 | return null; | ||
258 | } | ||
259 | |||
260 | /** | ||
261 | * Returns the result of interpreting the object as an instance of '<em>Viatra Import</em>'. | ||
262 | * <!-- begin-user-doc --> | ||
263 | * This implementation returns null; | ||
264 | * returning a non-null result will terminate the switch. | ||
265 | * <!-- end-user-doc --> | ||
266 | * @param object the target of the switch. | ||
267 | * @return the result of interpreting the object as an instance of '<em>Viatra Import</em>'. | ||
268 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
269 | * @generated | ||
270 | */ | ||
271 | public T caseViatraImport(ViatraImport object) | ||
272 | { | ||
273 | return null; | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * Returns the result of interpreting the object as an instance of '<em>Metamodel Specification</em>'. | ||
278 | * <!-- begin-user-doc --> | ||
279 | * This implementation returns null; | ||
280 | * returning a non-null result will terminate the switch. | ||
281 | * <!-- end-user-doc --> | ||
282 | * @param object the target of the switch. | ||
283 | * @return the result of interpreting the object as an instance of '<em>Metamodel Specification</em>'. | ||
284 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
285 | * @generated | ||
286 | */ | ||
287 | public T caseMetamodelSpecification(MetamodelSpecification object) | ||
288 | { | ||
289 | return null; | ||
290 | } | ||
291 | |||
292 | /** | ||
293 | * Returns the result of interpreting the object as an instance of '<em>Metamodel Entry</em>'. | ||
294 | * <!-- begin-user-doc --> | ||
295 | * This implementation returns null; | ||
296 | * returning a non-null result will terminate the switch. | ||
297 | * <!-- end-user-doc --> | ||
298 | * @param object the target of the switch. | ||
299 | * @return the result of interpreting the object as an instance of '<em>Metamodel Entry</em>'. | ||
300 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
301 | * @generated | ||
302 | */ | ||
303 | public T caseMetamodelEntry(MetamodelEntry object) | ||
304 | { | ||
305 | return null; | ||
306 | } | ||
307 | |||
308 | /** | ||
309 | * Returns the result of interpreting the object as an instance of '<em>All Package Entry</em>'. | ||
310 | * <!-- begin-user-doc --> | ||
311 | * This implementation returns null; | ||
312 | * returning a non-null result will terminate the switch. | ||
313 | * <!-- end-user-doc --> | ||
314 | * @param object the target of the switch. | ||
315 | * @return the result of interpreting the object as an instance of '<em>All Package Entry</em>'. | ||
316 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
317 | * @generated | ||
318 | */ | ||
319 | public T caseAllPackageEntry(AllPackageEntry object) | ||
320 | { | ||
321 | return null; | ||
322 | } | ||
323 | |||
324 | /** | ||
325 | * Returns the result of interpreting the object as an instance of '<em>Metamodel Element</em>'. | ||
326 | * <!-- begin-user-doc --> | ||
327 | * This implementation returns null; | ||
328 | * returning a non-null result will terminate the switch. | ||
329 | * <!-- end-user-doc --> | ||
330 | * @param object the target of the switch. | ||
331 | * @return the result of interpreting the object as an instance of '<em>Metamodel Element</em>'. | ||
332 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
333 | * @generated | ||
334 | */ | ||
335 | public T caseMetamodelElement(MetamodelElement object) | ||
336 | { | ||
337 | return null; | ||
338 | } | ||
339 | |||
340 | /** | ||
341 | * Returns the result of interpreting the object as an instance of '<em>Metamodel Declaration</em>'. | ||
342 | * <!-- begin-user-doc --> | ||
343 | * This implementation returns null; | ||
344 | * returning a non-null result will terminate the switch. | ||
345 | * <!-- end-user-doc --> | ||
346 | * @param object the target of the switch. | ||
347 | * @return the result of interpreting the object as an instance of '<em>Metamodel Declaration</em>'. | ||
348 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
349 | * @generated | ||
350 | */ | ||
351 | public T caseMetamodelDeclaration(MetamodelDeclaration object) | ||
352 | { | ||
353 | return null; | ||
354 | } | ||
355 | |||
356 | /** | ||
357 | * Returns the result of interpreting the object as an instance of '<em>Metamodel Reference</em>'. | ||
358 | * <!-- begin-user-doc --> | ||
359 | * This implementation returns null; | ||
360 | * returning a non-null result will terminate the switch. | ||
361 | * <!-- end-user-doc --> | ||
362 | * @param object the target of the switch. | ||
363 | * @return the result of interpreting the object as an instance of '<em>Metamodel Reference</em>'. | ||
364 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
365 | * @generated | ||
366 | */ | ||
367 | public T caseMetamodelReference(MetamodelReference object) | ||
368 | { | ||
369 | return null; | ||
370 | } | ||
371 | |||
372 | /** | ||
373 | * Returns the result of interpreting the object as an instance of '<em>Metamodel</em>'. | ||
374 | * <!-- begin-user-doc --> | ||
375 | * This implementation returns null; | ||
376 | * returning a non-null result will terminate the switch. | ||
377 | * <!-- end-user-doc --> | ||
378 | * @param object the target of the switch. | ||
379 | * @return the result of interpreting the object as an instance of '<em>Metamodel</em>'. | ||
380 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
381 | * @generated | ||
382 | */ | ||
383 | public T caseMetamodel(Metamodel object) | ||
384 | { | ||
385 | return null; | ||
386 | } | ||
387 | |||
388 | /** | ||
389 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
390 | * <!-- begin-user-doc --> | ||
391 | * This implementation returns null; | ||
392 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
393 | * <!-- end-user-doc --> | ||
394 | * @param object the target of the switch. | ||
395 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
396 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
397 | * @generated | ||
398 | */ | ||
399 | @Override | ||
400 | public T defaultCase(EObject object) | ||
401 | { | ||
402 | return null; | ||
403 | } | ||
404 | |||
405 | } //ApplicationConfigurationSwitch | ||