diff options
author | 2018-03-24 22:16:37 -0400 | |
---|---|---|
committer | 2018-03-24 22:16:37 -0400 | |
commit | 4236f6735c91e8db3e4eb5641f5625f83024f434 (patch) | |
tree | 4daa916edd6d7f2e6d8908fe6582d166770193de /Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitecturePackageImpl.java | |
parent | example projects added (diff) | |
download | VIATRA-Generator-4236f6735c91e8db3e4eb5641f5625f83024f434.tar.gz VIATRA-Generator-4236f6735c91e8db3e4eb5641f5625f83024f434.tar.zst VIATRA-Generator-4236f6735c91e8db3e4eb5641f5625f83024f434.zip |
Removed unused projects
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitecturePackageImpl.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitecturePackageImpl.java | 574 |
1 files changed, 0 insertions, 574 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitecturePackageImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitecturePackageImpl.java deleted file mode 100644 index 564e54c0..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitecturePackageImpl.java +++ /dev/null | |||
@@ -1,574 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator; | ||
6 | import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function; | ||
7 | import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionType; | ||
8 | import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureFactory; | ||
9 | import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureModel; | ||
10 | import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage; | ||
11 | import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData; | ||
12 | import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement; | ||
13 | import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput; | ||
14 | import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface; | ||
15 | import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput; | ||
16 | import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink; | ||
17 | |||
18 | import org.eclipse.emf.ecore.EAttribute; | ||
19 | import org.eclipse.emf.ecore.EClass; | ||
20 | import org.eclipse.emf.ecore.EEnum; | ||
21 | import org.eclipse.emf.ecore.EPackage; | ||
22 | import org.eclipse.emf.ecore.EReference; | ||
23 | |||
24 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
25 | |||
26 | /** | ||
27 | * <!-- begin-user-doc --> | ||
28 | * An implementation of the model <b>Package</b>. | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | public class FunctionalArchitecturePackageImpl extends EPackageImpl implements FunctionalArchitecturePackage { | ||
33 | /** | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | private EClass functionalElementEClass = null; | ||
39 | |||
40 | /** | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @generated | ||
44 | */ | ||
45 | private EClass functionalArchitectureModelEClass = null; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | private EClass functionEClass = null; | ||
53 | |||
54 | /** | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @generated | ||
58 | */ | ||
59 | private EClass famTerminatorEClass = null; | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | private EClass informationLinkEClass = null; | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | private EClass functionalInterfaceEClass = null; | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | private EClass functionalInputEClass = null; | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | private EClass functionalOutputEClass = null; | ||
88 | |||
89 | /** | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @generated | ||
93 | */ | ||
94 | private EClass functionalDataEClass = null; | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | private EEnum functionTypeEEnum = null; | ||
102 | |||
103 | /** | ||
104 | * Creates an instance of the model <b>Package</b>, registered with | ||
105 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
106 | * package URI value. | ||
107 | * <p>Note: the correct way to create the package is via the static | ||
108 | * factory method {@link #init init()}, which also performs | ||
109 | * initialization of the package, or returns the registered package, | ||
110 | * if one already exists. | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
114 | * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#eNS_URI | ||
115 | * @see #init() | ||
116 | * @generated | ||
117 | */ | ||
118 | private FunctionalArchitecturePackageImpl() { | ||
119 | super(eNS_URI, FunctionalArchitectureFactory.eINSTANCE); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | private static boolean isInited = false; | ||
128 | |||
129 | /** | ||
130 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
131 | * | ||
132 | * <p>This method is used to initialize {@link FunctionalArchitecturePackage#eINSTANCE} when that field is accessed. | ||
133 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @see #eNS_URI | ||
137 | * @see #createPackageContents() | ||
138 | * @see #initializePackageContents() | ||
139 | * @generated | ||
140 | */ | ||
141 | public static FunctionalArchitecturePackage init() { | ||
142 | if (isInited) return (FunctionalArchitecturePackage)EPackage.Registry.INSTANCE.getEPackage(FunctionalArchitecturePackage.eNS_URI); | ||
143 | |||
144 | // Obtain or create and register package | ||
145 | FunctionalArchitecturePackageImpl theFunctionalArchitecturePackage = (FunctionalArchitecturePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof FunctionalArchitecturePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FunctionalArchitecturePackageImpl()); | ||
146 | |||
147 | isInited = true; | ||
148 | |||
149 | // Create package meta-data objects | ||
150 | theFunctionalArchitecturePackage.createPackageContents(); | ||
151 | |||
152 | // Initialize created meta-data | ||
153 | theFunctionalArchitecturePackage.initializePackageContents(); | ||
154 | |||
155 | // Mark meta-data to indicate it can't be changed | ||
156 | theFunctionalArchitecturePackage.freeze(); | ||
157 | |||
158 | |||
159 | // Update the registry and return the package | ||
160 | EPackage.Registry.INSTANCE.put(FunctionalArchitecturePackage.eNS_URI, theFunctionalArchitecturePackage); | ||
161 | return theFunctionalArchitecturePackage; | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | public EClass getFunctionalElement() { | ||
170 | return functionalElementEClass; | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | public EReference getFunctionalElement_Interface() { | ||
179 | return (EReference)functionalElementEClass.getEStructuralFeatures().get(0); | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | public EReference getFunctionalElement_Model() { | ||
188 | return (EReference)functionalElementEClass.getEStructuralFeatures().get(1); | ||
189 | } | ||
190 | |||
191 | /** | ||
192 | * <!-- begin-user-doc --> | ||
193 | * <!-- end-user-doc --> | ||
194 | * @generated | ||
195 | */ | ||
196 | public EReference getFunctionalElement_Parent() { | ||
197 | return (EReference)functionalElementEClass.getEStructuralFeatures().get(2); | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @generated | ||
204 | */ | ||
205 | public EClass getFunctionalArchitectureModel() { | ||
206 | return functionalArchitectureModelEClass; | ||
207 | } | ||
208 | |||
209 | /** | ||
210 | * <!-- begin-user-doc --> | ||
211 | * <!-- end-user-doc --> | ||
212 | * @generated | ||
213 | */ | ||
214 | public EReference getFunctionalArchitectureModel_RootElements() { | ||
215 | return (EReference)functionalArchitectureModelEClass.getEStructuralFeatures().get(0); | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | */ | ||
223 | public EClass getFunction() { | ||
224 | return functionEClass; | ||
225 | } | ||
226 | |||
227 | /** | ||
228 | * <!-- begin-user-doc --> | ||
229 | * <!-- end-user-doc --> | ||
230 | * @generated | ||
231 | */ | ||
232 | public EReference getFunction_SubElements() { | ||
233 | return (EReference)functionEClass.getEStructuralFeatures().get(0); | ||
234 | } | ||
235 | |||
236 | /** | ||
237 | * <!-- begin-user-doc --> | ||
238 | * <!-- end-user-doc --> | ||
239 | * @generated | ||
240 | */ | ||
241 | public EAttribute getFunction_Type() { | ||
242 | return (EAttribute)functionEClass.getEStructuralFeatures().get(1); | ||
243 | } | ||
244 | |||
245 | /** | ||
246 | * <!-- begin-user-doc --> | ||
247 | * <!-- end-user-doc --> | ||
248 | * @generated | ||
249 | */ | ||
250 | public EClass getFAMTerminator() { | ||
251 | return famTerminatorEClass; | ||
252 | } | ||
253 | |||
254 | /** | ||
255 | * <!-- begin-user-doc --> | ||
256 | * <!-- end-user-doc --> | ||
257 | * @generated | ||
258 | */ | ||
259 | public EReference getFAMTerminator_Data() { | ||
260 | return (EReference)famTerminatorEClass.getEStructuralFeatures().get(0); | ||
261 | } | ||
262 | |||
263 | /** | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @generated | ||
267 | */ | ||
268 | public EClass getInformationLink() { | ||
269 | return informationLinkEClass; | ||
270 | } | ||
271 | |||
272 | /** | ||
273 | * <!-- begin-user-doc --> | ||
274 | * <!-- end-user-doc --> | ||
275 | * @generated | ||
276 | */ | ||
277 | public EReference getInformationLink_From() { | ||
278 | return (EReference)informationLinkEClass.getEStructuralFeatures().get(0); | ||
279 | } | ||
280 | |||
281 | /** | ||
282 | * <!-- begin-user-doc --> | ||
283 | * <!-- end-user-doc --> | ||
284 | * @generated | ||
285 | */ | ||
286 | public EReference getInformationLink_To() { | ||
287 | return (EReference)informationLinkEClass.getEStructuralFeatures().get(1); | ||
288 | } | ||
289 | |||
290 | /** | ||
291 | * <!-- begin-user-doc --> | ||
292 | * <!-- end-user-doc --> | ||
293 | * @generated | ||
294 | */ | ||
295 | public EClass getFunctionalInterface() { | ||
296 | return functionalInterfaceEClass; | ||
297 | } | ||
298 | |||
299 | /** | ||
300 | * <!-- begin-user-doc --> | ||
301 | * <!-- end-user-doc --> | ||
302 | * @generated | ||
303 | */ | ||
304 | public EReference getFunctionalInterface_Data() { | ||
305 | return (EReference)functionalInterfaceEClass.getEStructuralFeatures().get(0); | ||
306 | } | ||
307 | |||
308 | /** | ||
309 | * <!-- begin-user-doc --> | ||
310 | * <!-- end-user-doc --> | ||
311 | * @generated | ||
312 | */ | ||
313 | public EReference getFunctionalInterface_Element() { | ||
314 | return (EReference)functionalInterfaceEClass.getEStructuralFeatures().get(1); | ||
315 | } | ||
316 | |||
317 | /** | ||
318 | * <!-- begin-user-doc --> | ||
319 | * <!-- end-user-doc --> | ||
320 | * @generated | ||
321 | */ | ||
322 | public EClass getFunctionalInput() { | ||
323 | return functionalInputEClass; | ||
324 | } | ||
325 | |||
326 | /** | ||
327 | * <!-- begin-user-doc --> | ||
328 | * <!-- end-user-doc --> | ||
329 | * @generated | ||
330 | */ | ||
331 | public EReference getFunctionalInput_IncomingLinks() { | ||
332 | return (EReference)functionalInputEClass.getEStructuralFeatures().get(0); | ||
333 | } | ||
334 | |||
335 | /** | ||
336 | * <!-- begin-user-doc --> | ||
337 | * <!-- end-user-doc --> | ||
338 | * @generated | ||
339 | */ | ||
340 | public EClass getFunctionalOutput() { | ||
341 | return functionalOutputEClass; | ||
342 | } | ||
343 | |||
344 | /** | ||
345 | * <!-- begin-user-doc --> | ||
346 | * <!-- end-user-doc --> | ||
347 | * @generated | ||
348 | */ | ||
349 | public EReference getFunctionalOutput_OutgoingLinks() { | ||
350 | return (EReference)functionalOutputEClass.getEStructuralFeatures().get(0); | ||
351 | } | ||
352 | |||
353 | /** | ||
354 | * <!-- begin-user-doc --> | ||
355 | * <!-- end-user-doc --> | ||
356 | * @generated | ||
357 | */ | ||
358 | public EClass getFunctionalData() { | ||
359 | return functionalDataEClass; | ||
360 | } | ||
361 | |||
362 | /** | ||
363 | * <!-- begin-user-doc --> | ||
364 | * <!-- end-user-doc --> | ||
365 | * @generated | ||
366 | */ | ||
367 | public EReference getFunctionalData_Terminator() { | ||
368 | return (EReference)functionalDataEClass.getEStructuralFeatures().get(0); | ||
369 | } | ||
370 | |||
371 | /** | ||
372 | * <!-- begin-user-doc --> | ||
373 | * <!-- end-user-doc --> | ||
374 | * @generated | ||
375 | */ | ||
376 | public EReference getFunctionalData_Interface() { | ||
377 | return (EReference)functionalDataEClass.getEStructuralFeatures().get(1); | ||
378 | } | ||
379 | |||
380 | /** | ||
381 | * <!-- begin-user-doc --> | ||
382 | * <!-- end-user-doc --> | ||
383 | * @generated | ||
384 | */ | ||
385 | public EEnum getFunctionType() { | ||
386 | return functionTypeEEnum; | ||
387 | } | ||
388 | |||
389 | /** | ||
390 | * <!-- begin-user-doc --> | ||
391 | * <!-- end-user-doc --> | ||
392 | * @generated | ||
393 | */ | ||
394 | public FunctionalArchitectureFactory getFunctionalArchitectureFactory() { | ||
395 | return (FunctionalArchitectureFactory)getEFactoryInstance(); | ||
396 | } | ||
397 | |||
398 | /** | ||
399 | * <!-- begin-user-doc --> | ||
400 | * <!-- end-user-doc --> | ||
401 | * @generated | ||
402 | */ | ||
403 | private boolean isCreated = false; | ||
404 | |||
405 | /** | ||
406 | * Creates the meta-model objects for the package. This method is | ||
407 | * guarded to have no affect on any invocation but its first. | ||
408 | * <!-- begin-user-doc --> | ||
409 | * <!-- end-user-doc --> | ||
410 | * @generated | ||
411 | */ | ||
412 | public void createPackageContents() { | ||
413 | if (isCreated) return; | ||
414 | isCreated = true; | ||
415 | |||
416 | // Create classes and their features | ||
417 | functionalElementEClass = createEClass(FUNCTIONAL_ELEMENT); | ||
418 | createEReference(functionalElementEClass, FUNCTIONAL_ELEMENT__INTERFACE); | ||
419 | createEReference(functionalElementEClass, FUNCTIONAL_ELEMENT__MODEL); | ||
420 | createEReference(functionalElementEClass, FUNCTIONAL_ELEMENT__PARENT); | ||
421 | |||
422 | functionalArchitectureModelEClass = createEClass(FUNCTIONAL_ARCHITECTURE_MODEL); | ||
423 | createEReference(functionalArchitectureModelEClass, FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS); | ||
424 | |||
425 | functionEClass = createEClass(FUNCTION); | ||
426 | createEReference(functionEClass, FUNCTION__SUB_ELEMENTS); | ||
427 | createEAttribute(functionEClass, FUNCTION__TYPE); | ||
428 | |||
429 | famTerminatorEClass = createEClass(FAM_TERMINATOR); | ||
430 | createEReference(famTerminatorEClass, FAM_TERMINATOR__DATA); | ||
431 | |||
432 | informationLinkEClass = createEClass(INFORMATION_LINK); | ||
433 | createEReference(informationLinkEClass, INFORMATION_LINK__FROM); | ||
434 | createEReference(informationLinkEClass, INFORMATION_LINK__TO); | ||
435 | |||
436 | functionalInterfaceEClass = createEClass(FUNCTIONAL_INTERFACE); | ||
437 | createEReference(functionalInterfaceEClass, FUNCTIONAL_INTERFACE__DATA); | ||
438 | createEReference(functionalInterfaceEClass, FUNCTIONAL_INTERFACE__ELEMENT); | ||
439 | |||
440 | functionalInputEClass = createEClass(FUNCTIONAL_INPUT); | ||
441 | createEReference(functionalInputEClass, FUNCTIONAL_INPUT__INCOMING_LINKS); | ||
442 | |||
443 | functionalOutputEClass = createEClass(FUNCTIONAL_OUTPUT); | ||
444 | createEReference(functionalOutputEClass, FUNCTIONAL_OUTPUT__OUTGOING_LINKS); | ||
445 | |||
446 | functionalDataEClass = createEClass(FUNCTIONAL_DATA); | ||
447 | createEReference(functionalDataEClass, FUNCTIONAL_DATA__TERMINATOR); | ||
448 | createEReference(functionalDataEClass, FUNCTIONAL_DATA__INTERFACE); | ||
449 | |||
450 | // Create enums | ||
451 | functionTypeEEnum = createEEnum(FUNCTION_TYPE); | ||
452 | } | ||
453 | |||
454 | /** | ||
455 | * <!-- begin-user-doc --> | ||
456 | * <!-- end-user-doc --> | ||
457 | * @generated | ||
458 | */ | ||
459 | private boolean isInitialized = false; | ||
460 | |||
461 | /** | ||
462 | * Complete the initialization of the package and its meta-model. This | ||
463 | * method is guarded to have no affect on any invocation but its first. | ||
464 | * <!-- begin-user-doc --> | ||
465 | * <!-- end-user-doc --> | ||
466 | * @generated | ||
467 | */ | ||
468 | public void initializePackageContents() { | ||
469 | if (isInitialized) return; | ||
470 | isInitialized = true; | ||
471 | |||
472 | // Initialize package | ||
473 | setName(eNAME); | ||
474 | setNsPrefix(eNS_PREFIX); | ||
475 | setNsURI(eNS_URI); | ||
476 | |||
477 | // Create type parameters | ||
478 | |||
479 | // Set bounds for type parameters | ||
480 | |||
481 | // Add supertypes to classes | ||
482 | functionEClass.getESuperTypes().add(this.getFunctionalElement()); | ||
483 | functionalInputEClass.getESuperTypes().add(this.getFunctionalData()); | ||
484 | functionalOutputEClass.getESuperTypes().add(this.getFunctionalData()); | ||
485 | |||
486 | // Initialize classes and features; add operations and parameters | ||
487 | initEClass(functionalElementEClass, FunctionalElement.class, "FunctionalElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
488 | initEReference(getFunctionalElement_Interface(), this.getFunctionalInterface(), this.getFunctionalInterface_Element(), "interface", null, 0, 1, FunctionalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
489 | initEReference(getFunctionalElement_Model(), this.getFunctionalArchitectureModel(), null, "model", null, 1, 1, FunctionalElement.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); | ||
490 | initEReference(getFunctionalElement_Parent(), this.getFunction(), this.getFunction_SubElements(), "parent", null, 0, 1, FunctionalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
491 | |||
492 | initEClass(functionalArchitectureModelEClass, FunctionalArchitectureModel.class, "FunctionalArchitectureModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
493 | initEReference(getFunctionalArchitectureModel_RootElements(), this.getFunctionalElement(), null, "rootElements", null, 0, -1, FunctionalArchitectureModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
494 | |||
495 | initEClass(functionEClass, Function.class, "Function", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
496 | initEReference(getFunction_SubElements(), this.getFunctionalElement(), this.getFunctionalElement_Parent(), "subElements", null, 0, -1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
497 | initEAttribute(getFunction_Type(), this.getFunctionType(), "type", null, 1, 1, Function.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); | ||
498 | |||
499 | initEClass(famTerminatorEClass, FAMTerminator.class, "FAMTerminator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
500 | initEReference(getFAMTerminator_Data(), this.getFunctionalData(), this.getFunctionalData_Terminator(), "data", null, 0, 1, FAMTerminator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
501 | |||
502 | initEClass(informationLinkEClass, InformationLink.class, "InformationLink", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
503 | initEReference(getInformationLink_From(), this.getFunctionalOutput(), this.getFunctionalOutput_OutgoingLinks(), "from", null, 0, 1, InformationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
504 | initEReference(getInformationLink_To(), this.getFunctionalInput(), this.getFunctionalInput_IncomingLinks(), "to", null, 1, 1, InformationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
505 | |||
506 | initEClass(functionalInterfaceEClass, FunctionalInterface.class, "FunctionalInterface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
507 | initEReference(getFunctionalInterface_Data(), this.getFunctionalData(), this.getFunctionalData_Interface(), "data", null, 0, -1, FunctionalInterface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
508 | initEReference(getFunctionalInterface_Element(), this.getFunctionalElement(), this.getFunctionalElement_Interface(), "element", null, 0, 1, FunctionalInterface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
509 | |||
510 | initEClass(functionalInputEClass, FunctionalInput.class, "FunctionalInput", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
511 | initEReference(getFunctionalInput_IncomingLinks(), this.getInformationLink(), this.getInformationLink_To(), "IncomingLinks", null, 0, -1, FunctionalInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
512 | |||
513 | initEClass(functionalOutputEClass, FunctionalOutput.class, "FunctionalOutput", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
514 | initEReference(getFunctionalOutput_OutgoingLinks(), this.getInformationLink(), this.getInformationLink_From(), "outgoingLinks", null, 0, -1, FunctionalOutput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
515 | |||
516 | initEClass(functionalDataEClass, FunctionalData.class, "FunctionalData", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
517 | initEReference(getFunctionalData_Terminator(), this.getFAMTerminator(), this.getFAMTerminator_Data(), "terminator", null, 0, 1, FunctionalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
518 | initEReference(getFunctionalData_Interface(), this.getFunctionalInterface(), this.getFunctionalInterface_Data(), "interface", null, 0, 1, FunctionalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
519 | |||
520 | // Initialize enums and add enum literals | ||
521 | initEEnum(functionTypeEEnum, FunctionType.class, "FunctionType"); | ||
522 | addEEnumLiteral(functionTypeEEnum, FunctionType.ROOT); | ||
523 | addEEnumLiteral(functionTypeEEnum, FunctionType.INTERMEDIATE); | ||
524 | addEEnumLiteral(functionTypeEEnum, FunctionType.LEAF); | ||
525 | |||
526 | // Create resource | ||
527 | createResource(eNS_URI); | ||
528 | |||
529 | // Create annotations | ||
530 | // http://www.eclipse.org/emf/2002/Ecore | ||
531 | createEcoreAnnotations(); | ||
532 | // org.eclipse.viatra.query.querybasedfeature | ||
533 | createOrgAnnotations(); | ||
534 | } | ||
535 | |||
536 | /** | ||
537 | * Initializes the annotations for <b>http://www.eclipse.org/emf/2002/Ecore</b>. | ||
538 | * <!-- begin-user-doc --> | ||
539 | * <!-- end-user-doc --> | ||
540 | * @generated | ||
541 | */ | ||
542 | protected void createEcoreAnnotations() { | ||
543 | String source = "http://www.eclipse.org/emf/2002/Ecore"; | ||
544 | addAnnotation | ||
545 | (this, | ||
546 | source, | ||
547 | new String[] { | ||
548 | "settingDelegates", "org.eclipse.viatra.query.querybasedfeature" | ||
549 | }); | ||
550 | } | ||
551 | |||
552 | /** | ||
553 | * Initializes the annotations for <b>org.eclipse.viatra.query.querybasedfeature</b>. | ||
554 | * <!-- begin-user-doc --> | ||
555 | * <!-- end-user-doc --> | ||
556 | * @generated | ||
557 | */ | ||
558 | protected void createOrgAnnotations() { | ||
559 | String source = "org.eclipse.viatra.query.querybasedfeature"; | ||
560 | addAnnotation | ||
561 | (getFunctionalElement_Model(), | ||
562 | source, | ||
563 | new String[] { | ||
564 | "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.transima.fam.patterns.model" | ||
565 | }); | ||
566 | addAnnotation | ||
567 | (getFunction_Type(), | ||
568 | source, | ||
569 | new String[] { | ||
570 | "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.transima.fam.patterns.type" | ||
571 | }); | ||
572 | } | ||
573 | |||
574 | } //FunctionalArchitecturePackageImpl | ||