diff options
Diffstat (limited to 'Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture')
12 files changed, 258 insertions, 66 deletions
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/Function.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/Function.java index 5b484066..0a4e6361 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/Function.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/Function.java | |||
@@ -51,11 +51,23 @@ public interface Function extends FunctionalElement { | |||
51 | * <!-- end-user-doc --> | 51 | * <!-- end-user-doc --> |
52 | * @return the value of the '<em>Type</em>' attribute. | 52 | * @return the value of the '<em>Type</em>' attribute. |
53 | * @see functionalarchitecture.FunctionType | 53 | * @see functionalarchitecture.FunctionType |
54 | * @see #setType(FunctionType) | ||
54 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunction_Type() | 55 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunction_Type() |
55 | * @model required="true" transient="true" changeable="false" volatile="true" derived="true" | 56 | * @model required="true" transient="true" volatile="true" |
56 | * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.transima.fam.type'" | 57 | * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.transima.fam.type'" |
57 | * @generated | 58 | * @generated |
58 | */ | 59 | */ |
59 | FunctionType getType(); | 60 | FunctionType getType(); |
60 | 61 | ||
62 | /** | ||
63 | * Sets the value of the '{@link functionalarchitecture.Function#getType <em>Type</em>}' attribute. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @param value the new value of the '<em>Type</em>' attribute. | ||
67 | * @see functionalarchitecture.FunctionType | ||
68 | * @see #getType() | ||
69 | * @generated | ||
70 | */ | ||
71 | void setType(FunctionType value); | ||
72 | |||
61 | } // Function | 73 | } // Function |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalData.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalData.java index 39639f99..23b7b9a0 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalData.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalData.java | |||
@@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EObject; | |||
15 | * <ul> | 15 | * <ul> |
16 | * <li>{@link functionalarchitecture.FunctionalData#getTerminator <em>Terminator</em>}</li> | 16 | * <li>{@link functionalarchitecture.FunctionalData#getTerminator <em>Terminator</em>}</li> |
17 | * <li>{@link functionalarchitecture.FunctionalData#getInterface <em>Interface</em>}</li> | 17 | * <li>{@link functionalarchitecture.FunctionalData#getInterface <em>Interface</em>}</li> |
18 | * <li>{@link functionalarchitecture.FunctionalData#getValue <em>Value</em>}</li> | ||
18 | * </ul> | 19 | * </ul> |
19 | * | 20 | * |
20 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunctionalData() | 21 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunctionalData() |
@@ -60,13 +61,13 @@ public interface FunctionalData extends EObject { | |||
60 | * </p> | 61 | * </p> |
61 | * <!-- end-user-doc --> | 62 | * <!-- end-user-doc --> |
62 | * @return the value of the '<em>Interface</em>' container reference. | 63 | * @return the value of the '<em>Interface</em>' container reference. |
63 | * @see #setInterface(FunctionalInterface) | 64 | * @see #setInterface(functionalarchitecture.FunctionalInterface) |
64 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunctionalData_Interface() | 65 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunctionalData_Interface() |
65 | * @see functionalarchitecture.FunctionalInterface#getData | 66 | * @see functionalarchitecture.FunctionalInterface#getData |
66 | * @model opposite="data" transient="false" | 67 | * @model opposite="data" transient="false" |
67 | * @generated | 68 | * @generated |
68 | */ | 69 | */ |
69 | FunctionalInterface getInterface(); | 70 | functionalarchitecture.FunctionalInterface getInterface(); |
70 | 71 | ||
71 | /** | 72 | /** |
72 | * Sets the value of the '{@link functionalarchitecture.FunctionalData#getInterface <em>Interface</em>}' container reference. | 73 | * Sets the value of the '{@link functionalarchitecture.FunctionalData#getInterface <em>Interface</em>}' container reference. |
@@ -76,6 +77,32 @@ public interface FunctionalData extends EObject { | |||
76 | * @see #getInterface() | 77 | * @see #getInterface() |
77 | * @generated | 78 | * @generated |
78 | */ | 79 | */ |
79 | void setInterface(FunctionalInterface value); | 80 | void setInterface(functionalarchitecture.FunctionalInterface value); |
81 | |||
82 | /** | ||
83 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <p> | ||
86 | * If the meaning of the '<em>Value</em>' attribute isn't clear, | ||
87 | * there really should be more of a description here... | ||
88 | * </p> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @return the value of the '<em>Value</em>' attribute. | ||
91 | * @see #setValue(int) | ||
92 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunctionalData_Value() | ||
93 | * @model required="true" | ||
94 | * @generated | ||
95 | */ | ||
96 | int getValue(); | ||
97 | |||
98 | /** | ||
99 | * Sets the value of the '{@link functionalarchitecture.FunctionalData#getValue <em>Value</em>}' attribute. | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @param value the new value of the '<em>Value</em>' attribute. | ||
103 | * @see #getValue() | ||
104 | * @generated | ||
105 | */ | ||
106 | void setValue(int value); | ||
80 | 107 | ||
81 | } // FunctionalData | 108 | } // FunctionalData |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalElement.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalElement.java index f5a2ff19..1fb9b9b8 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalElement.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalElement.java | |||
@@ -33,13 +33,13 @@ public interface FunctionalElement extends EObject { | |||
33 | * </p> | 33 | * </p> |
34 | * <!-- end-user-doc --> | 34 | * <!-- end-user-doc --> |
35 | * @return the value of the '<em>Interface</em>' containment reference. | 35 | * @return the value of the '<em>Interface</em>' containment reference. |
36 | * @see #setInterface(FunctionalInterface) | 36 | * @see #setInterface(functionalarchitecture.FunctionalInterface) |
37 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunctionalElement_Interface() | 37 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunctionalElement_Interface() |
38 | * @see functionalarchitecture.FunctionalInterface#getElement | 38 | * @see functionalarchitecture.FunctionalInterface#getElement |
39 | * @model opposite="element" containment="true" | 39 | * @model opposite="element" containment="true" |
40 | * @generated | 40 | * @generated |
41 | */ | 41 | */ |
42 | FunctionalInterface getInterface(); | 42 | functionalarchitecture.FunctionalInterface getInterface(); |
43 | 43 | ||
44 | /** | 44 | /** |
45 | * Sets the value of the '{@link functionalarchitecture.FunctionalElement#getInterface <em>Interface</em>}' containment reference. | 45 | * Sets the value of the '{@link functionalarchitecture.FunctionalElement#getInterface <em>Interface</em>}' containment reference. |
@@ -49,7 +49,7 @@ public interface FunctionalElement extends EObject { | |||
49 | * @see #getInterface() | 49 | * @see #getInterface() |
50 | * @generated | 50 | * @generated |
51 | */ | 51 | */ |
52 | void setInterface(FunctionalInterface value); | 52 | void setInterface(functionalarchitecture.FunctionalInterface value); |
53 | 53 | ||
54 | /** | 54 | /** |
55 | * Returns the value of the '<em><b>Model</b></em>' reference. | 55 | * Returns the value of the '<em><b>Model</b></em>' reference. |
@@ -62,7 +62,7 @@ public interface FunctionalElement extends EObject { | |||
62 | * @return the value of the '<em>Model</em>' reference. | 62 | * @return the value of the '<em>Model</em>' reference. |
63 | * @see #setModel(FunctionalArchitectureModel) | 63 | * @see #setModel(FunctionalArchitectureModel) |
64 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunctionalElement_Model() | 64 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunctionalElement_Model() |
65 | * @model required="true" transient="true" volatile="true" derived="true" | 65 | * @model required="true" transient="true" volatile="true" |
66 | * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.transima.fam.model'" | 66 | * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.transima.fam.model'" |
67 | * @generated | 67 | * @generated |
68 | */ | 68 | */ |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalarchitecturePackage.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalarchitecturePackage.java index ac0d910e..dee2cc59 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalarchitecturePackage.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalarchitecturePackage.java | |||
@@ -381,13 +381,22 @@ public interface FunctionalarchitecturePackage extends EPackage { | |||
381 | int FUNCTIONAL_DATA__INTERFACE = 1; | 381 | int FUNCTIONAL_DATA__INTERFACE = 1; |
382 | 382 | ||
383 | /** | 383 | /** |
384 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
385 | * <!-- begin-user-doc --> | ||
386 | * <!-- end-user-doc --> | ||
387 | * @generated | ||
388 | * @ordered | ||
389 | */ | ||
390 | int FUNCTIONAL_DATA__VALUE = 2; | ||
391 | |||
392 | /** | ||
384 | * The number of structural features of the '<em>Functional Data</em>' class. | 393 | * The number of structural features of the '<em>Functional Data</em>' class. |
385 | * <!-- begin-user-doc --> | 394 | * <!-- begin-user-doc --> |
386 | * <!-- end-user-doc --> | 395 | * <!-- end-user-doc --> |
387 | * @generated | 396 | * @generated |
388 | * @ordered | 397 | * @ordered |
389 | */ | 398 | */ |
390 | int FUNCTIONAL_DATA_FEATURE_COUNT = 2; | 399 | int FUNCTIONAL_DATA_FEATURE_COUNT = 3; |
391 | 400 | ||
392 | /** | 401 | /** |
393 | * The number of operations of the '<em>Functional Data</em>' class. | 402 | * The number of operations of the '<em>Functional Data</em>' class. |
@@ -427,6 +436,15 @@ public interface FunctionalarchitecturePackage extends EPackage { | |||
427 | int FUNCTIONAL_INPUT__INTERFACE = FUNCTIONAL_DATA__INTERFACE; | 436 | int FUNCTIONAL_INPUT__INTERFACE = FUNCTIONAL_DATA__INTERFACE; |
428 | 437 | ||
429 | /** | 438 | /** |
439 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
440 | * <!-- begin-user-doc --> | ||
441 | * <!-- end-user-doc --> | ||
442 | * @generated | ||
443 | * @ordered | ||
444 | */ | ||
445 | int FUNCTIONAL_INPUT__VALUE = FUNCTIONAL_DATA__VALUE; | ||
446 | |||
447 | /** | ||
430 | * The feature id for the '<em><b>Incoming Links</b></em>' reference list. | 448 | * The feature id for the '<em><b>Incoming Links</b></em>' reference list. |
431 | * <!-- begin-user-doc --> | 449 | * <!-- begin-user-doc --> |
432 | * <!-- end-user-doc --> | 450 | * <!-- end-user-doc --> |
@@ -482,6 +500,15 @@ public interface FunctionalarchitecturePackage extends EPackage { | |||
482 | int FUNCTIONAL_OUTPUT__INTERFACE = FUNCTIONAL_DATA__INTERFACE; | 500 | int FUNCTIONAL_OUTPUT__INTERFACE = FUNCTIONAL_DATA__INTERFACE; |
483 | 501 | ||
484 | /** | 502 | /** |
503 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
504 | * <!-- begin-user-doc --> | ||
505 | * <!-- end-user-doc --> | ||
506 | * @generated | ||
507 | * @ordered | ||
508 | */ | ||
509 | int FUNCTIONAL_OUTPUT__VALUE = FUNCTIONAL_DATA__VALUE; | ||
510 | |||
511 | /** | ||
485 | * The feature id for the '<em><b>Outgoing Links</b></em>' containment reference list. | 512 | * The feature id for the '<em><b>Outgoing Links</b></em>' containment reference list. |
486 | * <!-- begin-user-doc --> | 513 | * <!-- begin-user-doc --> |
487 | * <!-- end-user-doc --> | 514 | * <!-- end-user-doc --> |
@@ -775,6 +802,17 @@ public interface FunctionalarchitecturePackage extends EPackage { | |||
775 | EReference getFunctionalData_Interface(); | 802 | EReference getFunctionalData_Interface(); |
776 | 803 | ||
777 | /** | 804 | /** |
805 | * Returns the meta object for the attribute '{@link functionalarchitecture.FunctionalData#getValue <em>Value</em>}'. | ||
806 | * <!-- begin-user-doc --> | ||
807 | * <!-- end-user-doc --> | ||
808 | * @return the meta object for the attribute '<em>Value</em>'. | ||
809 | * @see functionalarchitecture.FunctionalData#getValue() | ||
810 | * @see #getFunctionalData() | ||
811 | * @generated | ||
812 | */ | ||
813 | EAttribute getFunctionalData_Value(); | ||
814 | |||
815 | /** | ||
778 | * Returns the meta object for enum '{@link functionalarchitecture.FunctionType <em>Function Type</em>}'. | 816 | * Returns the meta object for enum '{@link functionalarchitecture.FunctionType <em>Function Type</em>}'. |
779 | * <!-- begin-user-doc --> | 817 | * <!-- begin-user-doc --> |
780 | * <!-- end-user-doc --> | 818 | * <!-- end-user-doc --> |
@@ -1018,6 +1056,14 @@ public interface FunctionalarchitecturePackage extends EPackage { | |||
1018 | EReference FUNCTIONAL_DATA__INTERFACE = eINSTANCE.getFunctionalData_Interface(); | 1056 | EReference FUNCTIONAL_DATA__INTERFACE = eINSTANCE.getFunctionalData_Interface(); |
1019 | 1057 | ||
1020 | /** | 1058 | /** |
1059 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
1060 | * <!-- begin-user-doc --> | ||
1061 | * <!-- end-user-doc --> | ||
1062 | * @generated | ||
1063 | */ | ||
1064 | EAttribute FUNCTIONAL_DATA__VALUE = eINSTANCE.getFunctionalData_Value(); | ||
1065 | |||
1066 | /** | ||
1021 | * The meta object literal for the '{@link functionalarchitecture.FunctionType <em>Function Type</em>}' enum. | 1067 | * The meta object literal for the '{@link functionalarchitecture.FunctionType <em>Function Type</em>}' enum. |
1022 | * <!-- begin-user-doc --> | 1068 | * <!-- begin-user-doc --> |
1023 | * <!-- end-user-doc --> | 1069 | * <!-- end-user-doc --> |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionImpl.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionImpl.java index 46736c8c..2262094e 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionImpl.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionImpl.java | |||
@@ -100,6 +100,15 @@ public class FunctionImpl extends FunctionalElementImpl implements Function { | |||
100 | * <!-- end-user-doc --> | 100 | * <!-- end-user-doc --> |
101 | * @generated | 101 | * @generated |
102 | */ | 102 | */ |
103 | public void setType(FunctionType newType) { | ||
104 | TYPE__ESETTING_DELEGATE.dynamicSet(this, null, 0, newType); | ||
105 | } | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
103 | @SuppressWarnings("unchecked") | 112 | @SuppressWarnings("unchecked") |
104 | @Override | 113 | @Override |
105 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | 114 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
@@ -153,6 +162,9 @@ public class FunctionImpl extends FunctionalElementImpl implements Function { | |||
153 | getSubElements().clear(); | 162 | getSubElements().clear(); |
154 | getSubElements().addAll((Collection<? extends FunctionalElement>)newValue); | 163 | getSubElements().addAll((Collection<? extends FunctionalElement>)newValue); |
155 | return; | 164 | return; |
165 | case FunctionalarchitecturePackage.FUNCTION__TYPE: | ||
166 | setType((FunctionType)newValue); | ||
167 | return; | ||
156 | } | 168 | } |
157 | super.eSet(featureID, newValue); | 169 | super.eSet(featureID, newValue); |
158 | } | 170 | } |
@@ -168,6 +180,9 @@ public class FunctionImpl extends FunctionalElementImpl implements Function { | |||
168 | case FunctionalarchitecturePackage.FUNCTION__SUB_ELEMENTS: | 180 | case FunctionalarchitecturePackage.FUNCTION__SUB_ELEMENTS: |
169 | getSubElements().clear(); | 181 | getSubElements().clear(); |
170 | return; | 182 | return; |
183 | case FunctionalarchitecturePackage.FUNCTION__TYPE: | ||
184 | TYPE__ESETTING_DELEGATE.dynamicUnset(this, null, 0); | ||
185 | return; | ||
171 | } | 186 | } |
172 | super.eUnset(featureID); | 187 | super.eUnset(featureID); |
173 | } | 188 | } |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalDataImpl.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalDataImpl.java index 10937e8d..ecab54af 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalDataImpl.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalDataImpl.java | |||
@@ -4,7 +4,6 @@ package functionalarchitecture.impl; | |||
4 | 4 | ||
5 | import functionalarchitecture.FAMTerminator; | 5 | import functionalarchitecture.FAMTerminator; |
6 | import functionalarchitecture.FunctionalData; | 6 | import functionalarchitecture.FunctionalData; |
7 | import functionalarchitecture.FunctionalInterface; | ||
8 | import functionalarchitecture.FunctionalarchitecturePackage; | 7 | import functionalarchitecture.FunctionalarchitecturePackage; |
9 | 8 | ||
10 | import org.eclipse.emf.common.notify.Notification; | 9 | import org.eclipse.emf.common.notify.Notification; |
@@ -28,6 +27,7 @@ import org.eclipse.emf.ecore.util.EcoreUtil; | |||
28 | * <ul> | 27 | * <ul> |
29 | * <li>{@link functionalarchitecture.impl.FunctionalDataImpl#getTerminator <em>Terminator</em>}</li> | 28 | * <li>{@link functionalarchitecture.impl.FunctionalDataImpl#getTerminator <em>Terminator</em>}</li> |
30 | * <li>{@link functionalarchitecture.impl.FunctionalDataImpl#getInterface <em>Interface</em>}</li> | 29 | * <li>{@link functionalarchitecture.impl.FunctionalDataImpl#getInterface <em>Interface</em>}</li> |
30 | * <li>{@link functionalarchitecture.impl.FunctionalDataImpl#getValue <em>Value</em>}</li> | ||
31 | * </ul> | 31 | * </ul> |
32 | * | 32 | * |
33 | * @generated | 33 | * @generated |
@@ -44,6 +44,25 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
44 | protected FAMTerminator terminator; | 44 | protected FAMTerminator terminator; |
45 | 45 | ||
46 | /** | 46 | /** |
47 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @see #getValue() | ||
51 | * @generated | ||
52 | * @ordered | ||
53 | */ | ||
54 | protected static final int VALUE_EDEFAULT = 0; | ||
55 | /** | ||
56 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @see #getValue() | ||
60 | * @generated | ||
61 | * @ordered | ||
62 | */ | ||
63 | protected int value = VALUE_EDEFAULT; | ||
64 | |||
65 | /** | ||
47 | * <!-- begin-user-doc --> | 66 | * <!-- begin-user-doc --> |
48 | * <!-- end-user-doc --> | 67 | * <!-- end-user-doc --> |
49 | * @generated | 68 | * @generated |
@@ -110,9 +129,9 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
110 | * <!-- end-user-doc --> | 129 | * <!-- end-user-doc --> |
111 | * @generated | 130 | * @generated |
112 | */ | 131 | */ |
113 | public FunctionalInterface getInterface() { | 132 | public functionalarchitecture.FunctionalInterface getInterface() { |
114 | if (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE) return null; | 133 | if (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE) return null; |
115 | return (FunctionalInterface)eInternalContainer(); | 134 | return (functionalarchitecture.FunctionalInterface)eInternalContainer(); |
116 | } | 135 | } |
117 | 136 | ||
118 | /** | 137 | /** |
@@ -120,7 +139,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
120 | * <!-- end-user-doc --> | 139 | * <!-- end-user-doc --> |
121 | * @generated | 140 | * @generated |
122 | */ | 141 | */ |
123 | public NotificationChain basicSetInterface(FunctionalInterface newInterface, NotificationChain msgs) { | 142 | public NotificationChain basicSetInterface(functionalarchitecture.FunctionalInterface newInterface, NotificationChain msgs) { |
124 | msgs = eBasicSetContainer((InternalEObject)newInterface, FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE, msgs); | 143 | msgs = eBasicSetContainer((InternalEObject)newInterface, FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE, msgs); |
125 | return msgs; | 144 | return msgs; |
126 | } | 145 | } |
@@ -130,7 +149,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
130 | * <!-- end-user-doc --> | 149 | * <!-- end-user-doc --> |
131 | * @generated | 150 | * @generated |
132 | */ | 151 | */ |
133 | public void setInterface(FunctionalInterface newInterface) { | 152 | public void setInterface(functionalarchitecture.FunctionalInterface newInterface) { |
134 | if (newInterface != eInternalContainer() || (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE && newInterface != null)) { | 153 | if (newInterface != eInternalContainer() || (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE && newInterface != null)) { |
135 | if (EcoreUtil.isAncestor(this, newInterface)) | 154 | if (EcoreUtil.isAncestor(this, newInterface)) |
136 | throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); | 155 | throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); |
@@ -138,7 +157,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
138 | if (eInternalContainer() != null) | 157 | if (eInternalContainer() != null) |
139 | msgs = eBasicRemoveFromContainer(msgs); | 158 | msgs = eBasicRemoveFromContainer(msgs); |
140 | if (newInterface != null) | 159 | if (newInterface != null) |
141 | msgs = ((InternalEObject)newInterface).eInverseAdd(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__DATA, FunctionalInterface.class, msgs); | 160 | msgs = ((InternalEObject)newInterface).eInverseAdd(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__DATA, functionalarchitecture.FunctionalInterface.class, msgs); |
142 | msgs = basicSetInterface(newInterface, msgs); | 161 | msgs = basicSetInterface(newInterface, msgs); |
143 | if (msgs != null) msgs.dispatch(); | 162 | if (msgs != null) msgs.dispatch(); |
144 | } | 163 | } |
@@ -151,6 +170,27 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
151 | * <!-- end-user-doc --> | 170 | * <!-- end-user-doc --> |
152 | * @generated | 171 | * @generated |
153 | */ | 172 | */ |
173 | public int getValue() { | ||
174 | return value; | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | public void setValue(int newValue) { | ||
183 | int oldValue = value; | ||
184 | value = newValue; | ||
185 | if (eNotificationRequired()) | ||
186 | eNotify(new ENotificationImpl(this, Notification.SET, FunctionalarchitecturePackage.FUNCTIONAL_DATA__VALUE, oldValue, value)); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
154 | @Override | 194 | @Override |
155 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | 195 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
156 | switch (featureID) { | 196 | switch (featureID) { |
@@ -161,7 +201,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
161 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: | 201 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: |
162 | if (eInternalContainer() != null) | 202 | if (eInternalContainer() != null) |
163 | msgs = eBasicRemoveFromContainer(msgs); | 203 | msgs = eBasicRemoveFromContainer(msgs); |
164 | return basicSetInterface((FunctionalInterface)otherEnd, msgs); | 204 | return basicSetInterface((functionalarchitecture.FunctionalInterface)otherEnd, msgs); |
165 | } | 205 | } |
166 | return super.eInverseAdd(otherEnd, featureID, msgs); | 206 | return super.eInverseAdd(otherEnd, featureID, msgs); |
167 | } | 207 | } |
@@ -191,7 +231,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
191 | public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { | 231 | public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { |
192 | switch (eContainerFeatureID()) { | 232 | switch (eContainerFeatureID()) { |
193 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: | 233 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: |
194 | return eInternalContainer().eInverseRemove(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__DATA, FunctionalInterface.class, msgs); | 234 | return eInternalContainer().eInverseRemove(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__DATA, functionalarchitecture.FunctionalInterface.class, msgs); |
195 | } | 235 | } |
196 | return super.eBasicRemoveFromContainerFeature(msgs); | 236 | return super.eBasicRemoveFromContainerFeature(msgs); |
197 | } | 237 | } |
@@ -208,6 +248,8 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
208 | return getTerminator(); | 248 | return getTerminator(); |
209 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: | 249 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: |
210 | return getInterface(); | 250 | return getInterface(); |
251 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__VALUE: | ||
252 | return getValue(); | ||
211 | } | 253 | } |
212 | return super.eGet(featureID, resolve, coreType); | 254 | return super.eGet(featureID, resolve, coreType); |
213 | } | 255 | } |
@@ -224,7 +266,10 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
224 | setTerminator((FAMTerminator)newValue); | 266 | setTerminator((FAMTerminator)newValue); |
225 | return; | 267 | return; |
226 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: | 268 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: |
227 | setInterface((FunctionalInterface)newValue); | 269 | setInterface((functionalarchitecture.FunctionalInterface)newValue); |
270 | return; | ||
271 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__VALUE: | ||
272 | setValue((Integer)newValue); | ||
228 | return; | 273 | return; |
229 | } | 274 | } |
230 | super.eSet(featureID, newValue); | 275 | super.eSet(featureID, newValue); |
@@ -242,7 +287,10 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
242 | setTerminator((FAMTerminator)null); | 287 | setTerminator((FAMTerminator)null); |
243 | return; | 288 | return; |
244 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: | 289 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: |
245 | setInterface((FunctionalInterface)null); | 290 | setInterface((functionalarchitecture.FunctionalInterface)null); |
291 | return; | ||
292 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__VALUE: | ||
293 | setValue(VALUE_EDEFAULT); | ||
246 | return; | 294 | return; |
247 | } | 295 | } |
248 | super.eUnset(featureID); | 296 | super.eUnset(featureID); |
@@ -260,8 +308,26 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
260 | return terminator != null; | 308 | return terminator != null; |
261 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: | 309 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: |
262 | return getInterface() != null; | 310 | return getInterface() != null; |
311 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__VALUE: | ||
312 | return value != VALUE_EDEFAULT; | ||
263 | } | 313 | } |
264 | return super.eIsSet(featureID); | 314 | return super.eIsSet(featureID); |
265 | } | 315 | } |
266 | 316 | ||
317 | /** | ||
318 | * <!-- begin-user-doc --> | ||
319 | * <!-- end-user-doc --> | ||
320 | * @generated | ||
321 | */ | ||
322 | @Override | ||
323 | public String toString() { | ||
324 | if (eIsProxy()) return super.toString(); | ||
325 | |||
326 | StringBuilder result = new StringBuilder(super.toString()); | ||
327 | result.append(" (value: "); | ||
328 | result.append(value); | ||
329 | result.append(')'); | ||
330 | return result.toString(); | ||
331 | } | ||
332 | |||
267 | } //FunctionalDataImpl | 333 | } //FunctionalDataImpl |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalElementImpl.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalElementImpl.java index 809e9ed5..090ccd32 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalElementImpl.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalElementImpl.java | |||
@@ -5,7 +5,6 @@ package functionalarchitecture.impl; | |||
5 | import functionalarchitecture.Function; | 5 | import functionalarchitecture.Function; |
6 | import functionalarchitecture.FunctionalArchitectureModel; | 6 | import functionalarchitecture.FunctionalArchitectureModel; |
7 | import functionalarchitecture.FunctionalElement; | 7 | import functionalarchitecture.FunctionalElement; |
8 | import functionalarchitecture.FunctionalInterface; | ||
9 | import functionalarchitecture.FunctionalarchitecturePackage; | 8 | import functionalarchitecture.FunctionalarchitecturePackage; |
10 | 9 | ||
11 | import org.eclipse.emf.common.notify.Notification; | 10 | import org.eclipse.emf.common.notify.Notification; |
@@ -44,7 +43,7 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
44 | * @generated | 43 | * @generated |
45 | * @ordered | 44 | * @ordered |
46 | */ | 45 | */ |
47 | protected FunctionalInterface interface_; | 46 | protected functionalarchitecture.FunctionalInterface interface_; |
48 | 47 | ||
49 | /** | 48 | /** |
50 | * The cached setting delegate for the '{@link #getModel() <em>Model</em>}' reference. | 49 | * The cached setting delegate for the '{@link #getModel() <em>Model</em>}' reference. |
@@ -80,7 +79,7 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
80 | * <!-- end-user-doc --> | 79 | * <!-- end-user-doc --> |
81 | * @generated | 80 | * @generated |
82 | */ | 81 | */ |
83 | public FunctionalInterface getInterface() { | 82 | public functionalarchitecture.FunctionalInterface getInterface() { |
84 | return interface_; | 83 | return interface_; |
85 | } | 84 | } |
86 | 85 | ||
@@ -89,8 +88,8 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
89 | * <!-- end-user-doc --> | 88 | * <!-- end-user-doc --> |
90 | * @generated | 89 | * @generated |
91 | */ | 90 | */ |
92 | public NotificationChain basicSetInterface(FunctionalInterface newInterface, NotificationChain msgs) { | 91 | public NotificationChain basicSetInterface(functionalarchitecture.FunctionalInterface newInterface, NotificationChain msgs) { |
93 | FunctionalInterface oldInterface = interface_; | 92 | functionalarchitecture.FunctionalInterface oldInterface = interface_; |
94 | interface_ = newInterface; | 93 | interface_ = newInterface; |
95 | if (eNotificationRequired()) { | 94 | if (eNotificationRequired()) { |
96 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, oldInterface, newInterface); | 95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, oldInterface, newInterface); |
@@ -104,13 +103,13 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
104 | * <!-- end-user-doc --> | 103 | * <!-- end-user-doc --> |
105 | * @generated | 104 | * @generated |
106 | */ | 105 | */ |
107 | public void setInterface(FunctionalInterface newInterface) { | 106 | public void setInterface(functionalarchitecture.FunctionalInterface newInterface) { |
108 | if (newInterface != interface_) { | 107 | if (newInterface != interface_) { |
109 | NotificationChain msgs = null; | 108 | NotificationChain msgs = null; |
110 | if (interface_ != null) | 109 | if (interface_ != null) |
111 | msgs = ((InternalEObject)interface_).eInverseRemove(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT, FunctionalInterface.class, msgs); | 110 | msgs = ((InternalEObject)interface_).eInverseRemove(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT, functionalarchitecture.FunctionalInterface.class, msgs); |
112 | if (newInterface != null) | 111 | if (newInterface != null) |
113 | msgs = ((InternalEObject)newInterface).eInverseAdd(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT, FunctionalInterface.class, msgs); | 112 | msgs = ((InternalEObject)newInterface).eInverseAdd(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT, functionalarchitecture.FunctionalInterface.class, msgs); |
114 | msgs = basicSetInterface(newInterface, msgs); | 113 | msgs = basicSetInterface(newInterface, msgs); |
115 | if (msgs != null) msgs.dispatch(); | 114 | if (msgs != null) msgs.dispatch(); |
116 | } | 115 | } |
@@ -197,7 +196,7 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
197 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: | 196 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: |
198 | if (interface_ != null) | 197 | if (interface_ != null) |
199 | msgs = ((InternalEObject)interface_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, null, msgs); | 198 | msgs = ((InternalEObject)interface_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, null, msgs); |
200 | return basicSetInterface((FunctionalInterface)otherEnd, msgs); | 199 | return basicSetInterface((functionalarchitecture.FunctionalInterface)otherEnd, msgs); |
201 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__PARENT: | 200 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__PARENT: |
202 | if (eInternalContainer() != null) | 201 | if (eInternalContainer() != null) |
203 | msgs = eBasicRemoveFromContainer(msgs); | 202 | msgs = eBasicRemoveFromContainer(msgs); |
@@ -264,7 +263,7 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
264 | public void eSet(int featureID, Object newValue) { | 263 | public void eSet(int featureID, Object newValue) { |
265 | switch (featureID) { | 264 | switch (featureID) { |
266 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: | 265 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: |
267 | setInterface((FunctionalInterface)newValue); | 266 | setInterface((functionalarchitecture.FunctionalInterface)newValue); |
268 | return; | 267 | return; |
269 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__MODEL: | 268 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__MODEL: |
270 | setModel((FunctionalArchitectureModel)newValue); | 269 | setModel((FunctionalArchitectureModel)newValue); |
@@ -285,7 +284,7 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
285 | public void eUnset(int featureID) { | 284 | public void eUnset(int featureID) { |
286 | switch (featureID) { | 285 | switch (featureID) { |
287 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: | 286 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: |
288 | setInterface((FunctionalInterface)null); | 287 | setInterface((functionalarchitecture.FunctionalInterface)null); |
289 | return; | 288 | return; |
290 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__MODEL: | 289 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__MODEL: |
291 | setModel((FunctionalArchitectureModel)null); | 290 | setModel((FunctionalArchitectureModel)null); |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalInterfaceImpl.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalInterfaceImpl.java index 20151886..be8f8700 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalInterfaceImpl.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalInterfaceImpl.java | |||
@@ -4,7 +4,6 @@ package functionalarchitecture.impl; | |||
4 | 4 | ||
5 | import functionalarchitecture.FunctionalData; | 5 | import functionalarchitecture.FunctionalData; |
6 | import functionalarchitecture.FunctionalElement; | 6 | import functionalarchitecture.FunctionalElement; |
7 | import functionalarchitecture.FunctionalInterface; | ||
8 | import functionalarchitecture.FunctionalarchitecturePackage; | 7 | import functionalarchitecture.FunctionalarchitecturePackage; |
9 | 8 | ||
10 | import java.util.Collection; | 9 | import java.util.Collection; |
@@ -38,7 +37,7 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
38 | * | 37 | * |
39 | * @generated | 38 | * @generated |
40 | */ | 39 | */ |
41 | public class FunctionalInterfaceImpl extends MinimalEObjectImpl.Container implements FunctionalInterface { | 40 | public class FunctionalInterfaceImpl extends MinimalEObjectImpl.Container implements functionalarchitecture.FunctionalInterface { |
42 | /** | 41 | /** |
43 | * The cached value of the '{@link #getData() <em>Data</em>}' containment reference list. | 42 | * The cached value of the '{@link #getData() <em>Data</em>}' containment reference list. |
44 | * <!-- begin-user-doc --> | 43 | * <!-- begin-user-doc --> |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalarchitectureFactoryImpl.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalarchitectureFactoryImpl.java index 56ecfa25..726f7a32 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalarchitectureFactoryImpl.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalarchitectureFactoryImpl.java | |||
@@ -2,9 +2,15 @@ | |||
2 | */ | 2 | */ |
3 | package functionalarchitecture.impl; | 3 | package functionalarchitecture.impl; |
4 | 4 | ||
5 | import functionalarchitecture.*; | 5 | import functionalarchitecture.FAMTerminator; |
6 | import functionalarchitecture.FunctionalInterface; | 6 | import functionalarchitecture.Function; |
7 | 7 | import functionalarchitecture.FunctionType; | |
8 | import functionalarchitecture.FunctionalArchitectureModel; | ||
9 | import functionalarchitecture.FunctionalInput; | ||
10 | import functionalarchitecture.FunctionalOutput; | ||
11 | import functionalarchitecture.FunctionalarchitectureFactory; | ||
12 | import functionalarchitecture.FunctionalarchitecturePackage; | ||
13 | import functionalarchitecture.InformationLink; | ||
8 | import org.eclipse.emf.ecore.EClass; | 14 | import org.eclipse.emf.ecore.EClass; |
9 | import org.eclipse.emf.ecore.EDataType; | 15 | import org.eclipse.emf.ecore.EDataType; |
10 | import org.eclipse.emf.ecore.EObject; | 16 | import org.eclipse.emf.ecore.EObject; |
@@ -145,7 +151,7 @@ public class FunctionalarchitectureFactoryImpl extends EFactoryImpl implements F | |||
145 | * <!-- end-user-doc --> | 151 | * <!-- end-user-doc --> |
146 | * @generated | 152 | * @generated |
147 | */ | 153 | */ |
148 | public FunctionalInterface createFunctionalInterface() { | 154 | public functionalarchitecture.FunctionalInterface createFunctionalInterface() { |
149 | FunctionalInterfaceImpl functionalInterface = new FunctionalInterfaceImpl(); | 155 | FunctionalInterfaceImpl functionalInterface = new FunctionalInterfaceImpl(); |
150 | return functionalInterface; | 156 | return functionalInterface; |
151 | } | 157 | } |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalarchitecturePackageImpl.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalarchitecturePackageImpl.java index 22c15533..110f3d6c 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalarchitecturePackageImpl.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalarchitecturePackageImpl.java | |||
@@ -9,7 +9,6 @@ import functionalarchitecture.FunctionalArchitectureModel; | |||
9 | import functionalarchitecture.FunctionalData; | 9 | import functionalarchitecture.FunctionalData; |
10 | import functionalarchitecture.FunctionalElement; | 10 | import functionalarchitecture.FunctionalElement; |
11 | import functionalarchitecture.FunctionalInput; | 11 | import functionalarchitecture.FunctionalInput; |
12 | import functionalarchitecture.FunctionalInterface; | ||
13 | import functionalarchitecture.FunctionalOutput; | 12 | import functionalarchitecture.FunctionalOutput; |
14 | import functionalarchitecture.FunctionalarchitectureFactory; | 13 | import functionalarchitecture.FunctionalarchitectureFactory; |
15 | import functionalarchitecture.FunctionalarchitecturePackage; | 14 | import functionalarchitecture.FunctionalarchitecturePackage; |
@@ -128,7 +127,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
128 | 127 | ||
129 | /** | 128 | /** |
130 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | 129 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
131 | * | 130 | * |
132 | * <p>This method is used to initialize {@link FunctionalarchitecturePackage#eINSTANCE} when that field is accessed. | 131 | * <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. | 132 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
134 | * <!-- begin-user-doc --> | 133 | * <!-- begin-user-doc --> |
@@ -142,7 +141,8 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
142 | if (isInited) return (FunctionalarchitecturePackage)EPackage.Registry.INSTANCE.getEPackage(FunctionalarchitecturePackage.eNS_URI); | 141 | if (isInited) return (FunctionalarchitecturePackage)EPackage.Registry.INSTANCE.getEPackage(FunctionalarchitecturePackage.eNS_URI); |
143 | 142 | ||
144 | // Obtain or create and register package | 143 | // 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()); | 144 | Object registeredFunctionalarchitecturePackage = EPackage.Registry.INSTANCE.get(eNS_URI); |
145 | FunctionalarchitecturePackageImpl theFunctionalarchitecturePackage = registeredFunctionalarchitecturePackage instanceof FunctionalarchitecturePackageImpl ? (FunctionalarchitecturePackageImpl)registeredFunctionalarchitecturePackage : new FunctionalarchitecturePackageImpl(); | ||
146 | 146 | ||
147 | isInited = true; | 147 | isInited = true; |
148 | 148 | ||
@@ -155,7 +155,6 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
155 | // Mark meta-data to indicate it can't be changed | 155 | // Mark meta-data to indicate it can't be changed |
156 | theFunctionalarchitecturePackage.freeze(); | 156 | theFunctionalarchitecturePackage.freeze(); |
157 | 157 | ||
158 | |||
159 | // Update the registry and return the package | 158 | // Update the registry and return the package |
160 | EPackage.Registry.INSTANCE.put(FunctionalarchitecturePackage.eNS_URI, theFunctionalarchitecturePackage); | 159 | EPackage.Registry.INSTANCE.put(FunctionalarchitecturePackage.eNS_URI, theFunctionalarchitecturePackage); |
161 | return theFunctionalarchitecturePackage; | 160 | return theFunctionalarchitecturePackage; |
@@ -382,6 +381,15 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
382 | * <!-- end-user-doc --> | 381 | * <!-- end-user-doc --> |
383 | * @generated | 382 | * @generated |
384 | */ | 383 | */ |
384 | public EAttribute getFunctionalData_Value() { | ||
385 | return (EAttribute)functionalDataEClass.getEStructuralFeatures().get(2); | ||
386 | } | ||
387 | |||
388 | /** | ||
389 | * <!-- begin-user-doc --> | ||
390 | * <!-- end-user-doc --> | ||
391 | * @generated | ||
392 | */ | ||
385 | public EEnum getFunctionType() { | 393 | public EEnum getFunctionType() { |
386 | return functionTypeEEnum; | 394 | return functionTypeEEnum; |
387 | } | 395 | } |
@@ -446,6 +454,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
446 | functionalDataEClass = createEClass(FUNCTIONAL_DATA); | 454 | functionalDataEClass = createEClass(FUNCTIONAL_DATA); |
447 | createEReference(functionalDataEClass, FUNCTIONAL_DATA__TERMINATOR); | 455 | createEReference(functionalDataEClass, FUNCTIONAL_DATA__TERMINATOR); |
448 | createEReference(functionalDataEClass, FUNCTIONAL_DATA__INTERFACE); | 456 | createEReference(functionalDataEClass, FUNCTIONAL_DATA__INTERFACE); |
457 | createEAttribute(functionalDataEClass, FUNCTIONAL_DATA__VALUE); | ||
449 | 458 | ||
450 | // Create enums | 459 | // Create enums |
451 | functionTypeEEnum = createEEnum(FUNCTION_TYPE); | 460 | functionTypeEEnum = createEEnum(FUNCTION_TYPE); |
@@ -486,7 +495,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
486 | // Initialize classes, features, and operations; add parameters | 495 | // Initialize classes, features, and operations; add parameters |
487 | initEClass(functionalElementEClass, FunctionalElement.class, "FunctionalElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 496 | 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); | 497 | 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); | 498 | 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); | 499 | 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 | 500 | ||
492 | initEClass(functionalArchitectureModelEClass, FunctionalArchitectureModel.class, "FunctionalArchitectureModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 501 | initEClass(functionalArchitectureModelEClass, FunctionalArchitectureModel.class, "FunctionalArchitectureModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
@@ -494,7 +503,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
494 | 503 | ||
495 | initEClass(functionEClass, Function.class, "Function", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 504 | 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); | 505 | 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); | 506 | 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 | 507 | ||
499 | initEClass(famTerminatorEClass, FAMTerminator.class, "FAMTerminator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 508 | 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); | 509 | 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); |
@@ -503,9 +512,9 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
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); | 512 | 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); | 513 | 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 | 514 | ||
506 | initEClass(functionalInterfaceEClass, FunctionalInterface.class, "FunctionalInterface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 515 | initEClass(functionalInterfaceEClass, functionalarchitecture.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); | 516 | initEReference(getFunctionalInterface_Data(), this.getFunctionalData(), this.getFunctionalData_Interface(), "data", null, 0, -1, functionalarchitecture.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); | 517 | initEReference(getFunctionalInterface_Element(), this.getFunctionalElement(), this.getFunctionalElement_Interface(), "element", null, 0, 1, functionalarchitecture.FunctionalInterface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
509 | 518 | ||
510 | initEClass(functionalInputEClass, FunctionalInput.class, "FunctionalInput", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 519 | 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); | 520 | 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); |
@@ -516,6 +525,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
516 | initEClass(functionalDataEClass, FunctionalData.class, "FunctionalData", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 525 | 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); | 526 | 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); | 527 | 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); |
528 | initEAttribute(getFunctionalData_Value(), ecorePackage.getEInt(), "value", null, 1, 1, FunctionalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
519 | 529 | ||
520 | // Initialize enums and add enum literals | 530 | // Initialize enums and add enum literals |
521 | initEEnum(functionTypeEEnum, FunctionType.class, "FunctionType"); | 531 | initEEnum(functionTypeEEnum, FunctionType.class, "FunctionType"); |
@@ -540,12 +550,12 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
540 | * @generated | 550 | * @generated |
541 | */ | 551 | */ |
542 | protected void createEcoreAnnotations() { | 552 | protected void createEcoreAnnotations() { |
543 | String source = "http://www.eclipse.org/emf/2002/Ecore"; | 553 | String source = "http://www.eclipse.org/emf/2002/Ecore"; |
544 | addAnnotation | 554 | addAnnotation |
545 | (this, | 555 | (this, |
546 | source, | 556 | source, |
547 | new String[] { | 557 | new String[] { |
548 | "settingDelegates", "org.eclipse.viatra.query.querybasedfeature" | 558 | "settingDelegates", "org.eclipse.viatra.query.querybasedfeature" |
549 | }); | 559 | }); |
550 | } | 560 | } |
551 | 561 | ||
@@ -556,18 +566,18 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
556 | * @generated | 566 | * @generated |
557 | */ | 567 | */ |
558 | protected void createOrgAnnotations() { | 568 | protected void createOrgAnnotations() { |
559 | String source = "org.eclipse.viatra.query.querybasedfeature"; | 569 | String source = "org.eclipse.viatra.query.querybasedfeature"; |
560 | addAnnotation | 570 | addAnnotation |
561 | (getFunctionalElement_Model(), | 571 | (getFunctionalElement_Model(), |
562 | source, | 572 | source, |
563 | new String[] { | 573 | new String[] { |
564 | "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.transima.fam.model" | 574 | "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.transima.fam.model" |
565 | }); | 575 | }); |
566 | addAnnotation | 576 | addAnnotation |
567 | (getFunction_Type(), | 577 | (getFunction_Type(), |
568 | source, | 578 | source, |
569 | new String[] { | 579 | new String[] { |
570 | "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.transima.fam.type" | 580 | "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.transima.fam.type" |
571 | }); | 581 | }); |
572 | } | 582 | } |
573 | 583 | ||
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureAdapterFactory.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureAdapterFactory.java index f990a7a4..9846bd62 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureAdapterFactory.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureAdapterFactory.java | |||
@@ -2,9 +2,15 @@ | |||
2 | */ | 2 | */ |
3 | package functionalarchitecture.util; | 3 | package functionalarchitecture.util; |
4 | 4 | ||
5 | import functionalarchitecture.*; | 5 | import functionalarchitecture.FAMTerminator; |
6 | import functionalarchitecture.FunctionalInterface; | 6 | import functionalarchitecture.Function; |
7 | 7 | import functionalarchitecture.FunctionalArchitectureModel; | |
8 | import functionalarchitecture.FunctionalData; | ||
9 | import functionalarchitecture.FunctionalElement; | ||
10 | import functionalarchitecture.FunctionalInput; | ||
11 | import functionalarchitecture.FunctionalOutput; | ||
12 | import functionalarchitecture.FunctionalarchitecturePackage; | ||
13 | import functionalarchitecture.InformationLink; | ||
8 | import org.eclipse.emf.common.notify.Adapter; | 14 | import org.eclipse.emf.common.notify.Adapter; |
9 | import org.eclipse.emf.common.notify.Notifier; | 15 | import org.eclipse.emf.common.notify.Notifier; |
10 | 16 | ||
@@ -89,7 +95,7 @@ public class FunctionalarchitectureAdapterFactory extends AdapterFactoryImpl { | |||
89 | return createInformationLinkAdapter(); | 95 | return createInformationLinkAdapter(); |
90 | } | 96 | } |
91 | @Override | 97 | @Override |
92 | public Adapter caseFunctionalInterface(FunctionalInterface object) { | 98 | public Adapter caseFunctionalInterface(functionalarchitecture.FunctionalInterface object) { |
93 | return createFunctionalInterfaceAdapter(); | 99 | return createFunctionalInterfaceAdapter(); |
94 | } | 100 | } |
95 | @Override | 101 | @Override |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureSwitch.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureSwitch.java index b481a978..a1bbb480 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureSwitch.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureSwitch.java | |||
@@ -2,9 +2,15 @@ | |||
2 | */ | 2 | */ |
3 | package functionalarchitecture.util; | 3 | package functionalarchitecture.util; |
4 | 4 | ||
5 | import functionalarchitecture.*; | 5 | import functionalarchitecture.FAMTerminator; |
6 | import functionalarchitecture.FunctionalInterface; | 6 | import functionalarchitecture.Function; |
7 | 7 | import functionalarchitecture.FunctionalArchitectureModel; | |
8 | import functionalarchitecture.FunctionalData; | ||
9 | import functionalarchitecture.FunctionalElement; | ||
10 | import functionalarchitecture.FunctionalInput; | ||
11 | import functionalarchitecture.FunctionalOutput; | ||
12 | import functionalarchitecture.FunctionalarchitecturePackage; | ||
13 | import functionalarchitecture.InformationLink; | ||
8 | import org.eclipse.emf.ecore.EObject; | 14 | import org.eclipse.emf.ecore.EObject; |
9 | import org.eclipse.emf.ecore.EPackage; | 15 | import org.eclipse.emf.ecore.EPackage; |
10 | 16 | ||
@@ -99,7 +105,7 @@ public class FunctionalarchitectureSwitch<T> extends Switch<T> { | |||
99 | return result; | 105 | return result; |
100 | } | 106 | } |
101 | case FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE: { | 107 | case FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE: { |
102 | FunctionalInterface functionalInterface = (FunctionalInterface)theEObject; | 108 | functionalarchitecture.FunctionalInterface functionalInterface = (functionalarchitecture.FunctionalInterface)theEObject; |
103 | T result = caseFunctionalInterface(functionalInterface); | 109 | T result = caseFunctionalInterface(functionalInterface); |
104 | if (result == null) result = defaultCase(theEObject); | 110 | if (result == null) result = defaultCase(theEObject); |
105 | return result; | 111 | return result; |
@@ -214,7 +220,7 @@ public class FunctionalarchitectureSwitch<T> extends Switch<T> { | |||
214 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | 220 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
215 | * @generated | 221 | * @generated |
216 | */ | 222 | */ |
217 | public T caseFunctionalInterface(FunctionalInterface object) { | 223 | public T caseFunctionalInterface(functionalarchitecture.FunctionalInterface object) { |
218 | return null; | 224 | return null; |
219 | } | 225 | } |
220 | 226 | ||