diff options
author | 2019-08-01 20:07:31 +0200 | |
---|---|---|
committer | 2019-08-01 20:07:31 +0200 | |
commit | 4d5cf58cbf0d104dd03b6bcc6d155448995b861b (patch) | |
tree | 2b3645e7de1cf4b813ec3b5bc35d748d4d581979 /Domains/Examples/ModelGenExampleFAM_plugin | |
parent | Ensure that experiment runner code compiles (diff) | |
download | VIATRA-Generator-4d5cf58cbf0d104dd03b6bcc6d155448995b861b.tar.gz VIATRA-Generator-4d5cf58cbf0d104dd03b6bcc6d155448995b861b.tar.zst VIATRA-Generator-4d5cf58cbf0d104dd03b6bcc6d155448995b861b.zip |
Trying to run generator in measurement environment
Diffstat (limited to 'Domains/Examples/ModelGenExampleFAM_plugin')
17 files changed, 143 insertions, 65 deletions
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionType.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionType.java index 59fe3fb2..9f2316a0 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionType.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionType.java | |||
@@ -205,6 +205,7 @@ public enum FunctionType implements Enumerator { | |||
205 | * <!-- end-user-doc --> | 205 | * <!-- end-user-doc --> |
206 | * @generated | 206 | * @generated |
207 | */ | 207 | */ |
208 | @Override | ||
208 | public int getValue() { | 209 | public int getValue() { |
209 | return value; | 210 | return value; |
210 | } | 211 | } |
@@ -214,6 +215,7 @@ public enum FunctionType implements Enumerator { | |||
214 | * <!-- end-user-doc --> | 215 | * <!-- end-user-doc --> |
215 | * @generated | 216 | * @generated |
216 | */ | 217 | */ |
218 | @Override | ||
217 | public String getName() { | 219 | public String getName() { |
218 | return name; | 220 | return name; |
219 | } | 221 | } |
@@ -223,6 +225,7 @@ public enum FunctionType implements Enumerator { | |||
223 | * <!-- end-user-doc --> | 225 | * <!-- end-user-doc --> |
224 | * @generated | 226 | * @generated |
225 | */ | 227 | */ |
228 | @Override | ||
226 | public String getLiteral() { | 229 | public String getLiteral() { |
227 | return literal; | 230 | return literal; |
228 | } | 231 | } |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalData.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalData.java index 39639f99..59fa0fd4 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalData.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/FunctionalData.java | |||
@@ -60,13 +60,13 @@ public interface FunctionalData extends EObject { | |||
60 | * </p> | 60 | * </p> |
61 | * <!-- end-user-doc --> | 61 | * <!-- end-user-doc --> |
62 | * @return the value of the '<em>Interface</em>' container reference. | 62 | * @return the value of the '<em>Interface</em>' container reference. |
63 | * @see #setInterface(FunctionalInterface) | 63 | * @see #setInterface(functionalarchitecture.FunctionalInterface) |
64 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunctionalData_Interface() | 64 | * @see functionalarchitecture.FunctionalarchitecturePackage#getFunctionalData_Interface() |
65 | * @see functionalarchitecture.FunctionalInterface#getData | 65 | * @see functionalarchitecture.FunctionalInterface#getData |
66 | * @model opposite="data" transient="false" | 66 | * @model opposite="data" transient="false" |
67 | * @generated | 67 | * @generated |
68 | */ | 68 | */ |
69 | FunctionalInterface getInterface(); | 69 | functionalarchitecture.FunctionalInterface getInterface(); |
70 | 70 | ||
71 | /** | 71 | /** |
72 | * Sets the value of the '{@link functionalarchitecture.FunctionalData#getInterface <em>Interface</em>}' container reference. | 72 | * Sets the value of the '{@link functionalarchitecture.FunctionalData#getInterface <em>Interface</em>}' container reference. |
@@ -76,6 +76,6 @@ public interface FunctionalData extends EObject { | |||
76 | * @see #getInterface() | 76 | * @see #getInterface() |
77 | * @generated | 77 | * @generated |
78 | */ | 78 | */ |
79 | void setInterface(FunctionalInterface value); | 79 | void setInterface(functionalarchitecture.FunctionalInterface value); |
80 | 80 | ||
81 | } // FunctionalData | 81 | } // 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..5d1d3254 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. |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FAMTerminatorImpl.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FAMTerminatorImpl.java index 382e0170..94cd240a 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FAMTerminatorImpl.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FAMTerminatorImpl.java | |||
@@ -55,6 +55,7 @@ public class FAMTerminatorImpl extends MinimalEObjectImpl.Container implements F | |||
55 | * <!-- end-user-doc --> | 55 | * <!-- end-user-doc --> |
56 | * @generated | 56 | * @generated |
57 | */ | 57 | */ |
58 | @Override | ||
58 | public FunctionalData getData() { | 59 | public FunctionalData getData() { |
59 | if (eContainerFeatureID() != FunctionalarchitecturePackage.FAM_TERMINATOR__DATA) return null; | 60 | if (eContainerFeatureID() != FunctionalarchitecturePackage.FAM_TERMINATOR__DATA) return null; |
60 | return (FunctionalData)eInternalContainer(); | 61 | return (FunctionalData)eInternalContainer(); |
@@ -75,6 +76,7 @@ public class FAMTerminatorImpl extends MinimalEObjectImpl.Container implements F | |||
75 | * <!-- end-user-doc --> | 76 | * <!-- end-user-doc --> |
76 | * @generated | 77 | * @generated |
77 | */ | 78 | */ |
79 | @Override | ||
78 | public void setData(FunctionalData newData) { | 80 | public void setData(FunctionalData newData) { |
79 | if (newData != eInternalContainer() || (eContainerFeatureID() != FunctionalarchitecturePackage.FAM_TERMINATOR__DATA && newData != null)) { | 81 | if (newData != eInternalContainer() || (eContainerFeatureID() != FunctionalarchitecturePackage.FAM_TERMINATOR__DATA && newData != null)) { |
80 | if (EcoreUtil.isAncestor(this, newData)) | 82 | if (EcoreUtil.isAncestor(this, newData)) |
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..6e89bc65 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionImpl.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionImpl.java | |||
@@ -79,6 +79,7 @@ public class FunctionImpl extends FunctionalElementImpl implements Function { | |||
79 | * <!-- end-user-doc --> | 79 | * <!-- end-user-doc --> |
80 | * @generated | 80 | * @generated |
81 | */ | 81 | */ |
82 | @Override | ||
82 | public EList<FunctionalElement> getSubElements() { | 83 | public EList<FunctionalElement> getSubElements() { |
83 | if (subElements == null) { | 84 | if (subElements == null) { |
84 | subElements = new EObjectContainmentWithInverseEList<FunctionalElement>(FunctionalElement.class, this, FunctionalarchitecturePackage.FUNCTION__SUB_ELEMENTS, FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__PARENT); | 85 | subElements = new EObjectContainmentWithInverseEList<FunctionalElement>(FunctionalElement.class, this, FunctionalarchitecturePackage.FUNCTION__SUB_ELEMENTS, FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__PARENT); |
@@ -91,6 +92,7 @@ public class FunctionImpl extends FunctionalElementImpl implements Function { | |||
91 | * <!-- end-user-doc --> | 92 | * <!-- end-user-doc --> |
92 | * @generated | 93 | * @generated |
93 | */ | 94 | */ |
95 | @Override | ||
94 | public FunctionType getType() { | 96 | public FunctionType getType() { |
95 | return (FunctionType)TYPE__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); | 97 | return (FunctionType)TYPE__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); |
96 | } | 98 | } |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalArchitectureModelImpl.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalArchitectureModelImpl.java index 78f6d6f2..a7d6c919 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalArchitectureModelImpl.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalArchitectureModelImpl.java | |||
@@ -68,6 +68,7 @@ public class FunctionalArchitectureModelImpl extends MinimalEObjectImpl.Containe | |||
68 | * <!-- end-user-doc --> | 68 | * <!-- end-user-doc --> |
69 | * @generated | 69 | * @generated |
70 | */ | 70 | */ |
71 | @Override | ||
71 | public EList<FunctionalElement> getRootElements() { | 72 | public EList<FunctionalElement> getRootElements() { |
72 | if (rootElements == null) { | 73 | if (rootElements == null) { |
73 | rootElements = new EObjectContainmentEList<FunctionalElement>(FunctionalElement.class, this, FunctionalarchitecturePackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS); | 74 | rootElements = new EObjectContainmentEList<FunctionalElement>(FunctionalElement.class, this, FunctionalarchitecturePackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS); |
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..ec8f2cef 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; |
@@ -67,6 +66,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
67 | * <!-- end-user-doc --> | 66 | * <!-- end-user-doc --> |
68 | * @generated | 67 | * @generated |
69 | */ | 68 | */ |
69 | @Override | ||
70 | public FAMTerminator getTerminator() { | 70 | public FAMTerminator getTerminator() { |
71 | return terminator; | 71 | return terminator; |
72 | } | 72 | } |
@@ -91,6 +91,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
91 | * <!-- end-user-doc --> | 91 | * <!-- end-user-doc --> |
92 | * @generated | 92 | * @generated |
93 | */ | 93 | */ |
94 | @Override | ||
94 | public void setTerminator(FAMTerminator newTerminator) { | 95 | public void setTerminator(FAMTerminator newTerminator) { |
95 | if (newTerminator != terminator) { | 96 | if (newTerminator != terminator) { |
96 | NotificationChain msgs = null; | 97 | NotificationChain msgs = null; |
@@ -110,9 +111,10 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
110 | * <!-- end-user-doc --> | 111 | * <!-- end-user-doc --> |
111 | * @generated | 112 | * @generated |
112 | */ | 113 | */ |
113 | public FunctionalInterface getInterface() { | 114 | @Override |
115 | public functionalarchitecture.FunctionalInterface getInterface() { | ||
114 | if (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE) return null; | 116 | if (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE) return null; |
115 | return (FunctionalInterface)eInternalContainer(); | 117 | return (functionalarchitecture.FunctionalInterface)eInternalContainer(); |
116 | } | 118 | } |
117 | 119 | ||
118 | /** | 120 | /** |
@@ -120,7 +122,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
120 | * <!-- end-user-doc --> | 122 | * <!-- end-user-doc --> |
121 | * @generated | 123 | * @generated |
122 | */ | 124 | */ |
123 | public NotificationChain basicSetInterface(FunctionalInterface newInterface, NotificationChain msgs) { | 125 | public NotificationChain basicSetInterface(functionalarchitecture.FunctionalInterface newInterface, NotificationChain msgs) { |
124 | msgs = eBasicSetContainer((InternalEObject)newInterface, FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE, msgs); | 126 | msgs = eBasicSetContainer((InternalEObject)newInterface, FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE, msgs); |
125 | return msgs; | 127 | return msgs; |
126 | } | 128 | } |
@@ -130,7 +132,8 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
130 | * <!-- end-user-doc --> | 132 | * <!-- end-user-doc --> |
131 | * @generated | 133 | * @generated |
132 | */ | 134 | */ |
133 | public void setInterface(FunctionalInterface newInterface) { | 135 | @Override |
136 | public void setInterface(functionalarchitecture.FunctionalInterface newInterface) { | ||
134 | if (newInterface != eInternalContainer() || (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE && newInterface != null)) { | 137 | if (newInterface != eInternalContainer() || (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE && newInterface != null)) { |
135 | if (EcoreUtil.isAncestor(this, newInterface)) | 138 | if (EcoreUtil.isAncestor(this, newInterface)) |
136 | throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); | 139 | throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); |
@@ -138,7 +141,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
138 | if (eInternalContainer() != null) | 141 | if (eInternalContainer() != null) |
139 | msgs = eBasicRemoveFromContainer(msgs); | 142 | msgs = eBasicRemoveFromContainer(msgs); |
140 | if (newInterface != null) | 143 | if (newInterface != null) |
141 | msgs = ((InternalEObject)newInterface).eInverseAdd(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__DATA, FunctionalInterface.class, msgs); | 144 | msgs = ((InternalEObject)newInterface).eInverseAdd(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__DATA, functionalarchitecture.FunctionalInterface.class, msgs); |
142 | msgs = basicSetInterface(newInterface, msgs); | 145 | msgs = basicSetInterface(newInterface, msgs); |
143 | if (msgs != null) msgs.dispatch(); | 146 | if (msgs != null) msgs.dispatch(); |
144 | } | 147 | } |
@@ -161,7 +164,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
161 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: | 164 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: |
162 | if (eInternalContainer() != null) | 165 | if (eInternalContainer() != null) |
163 | msgs = eBasicRemoveFromContainer(msgs); | 166 | msgs = eBasicRemoveFromContainer(msgs); |
164 | return basicSetInterface((FunctionalInterface)otherEnd, msgs); | 167 | return basicSetInterface((functionalarchitecture.FunctionalInterface)otherEnd, msgs); |
165 | } | 168 | } |
166 | return super.eInverseAdd(otherEnd, featureID, msgs); | 169 | return super.eInverseAdd(otherEnd, featureID, msgs); |
167 | } | 170 | } |
@@ -191,7 +194,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
191 | public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { | 194 | public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { |
192 | switch (eContainerFeatureID()) { | 195 | switch (eContainerFeatureID()) { |
193 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: | 196 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: |
194 | return eInternalContainer().eInverseRemove(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__DATA, FunctionalInterface.class, msgs); | 197 | return eInternalContainer().eInverseRemove(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__DATA, functionalarchitecture.FunctionalInterface.class, msgs); |
195 | } | 198 | } |
196 | return super.eBasicRemoveFromContainerFeature(msgs); | 199 | return super.eBasicRemoveFromContainerFeature(msgs); |
197 | } | 200 | } |
@@ -224,7 +227,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
224 | setTerminator((FAMTerminator)newValue); | 227 | setTerminator((FAMTerminator)newValue); |
225 | return; | 228 | return; |
226 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: | 229 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: |
227 | setInterface((FunctionalInterface)newValue); | 230 | setInterface((functionalarchitecture.FunctionalInterface)newValue); |
228 | return; | 231 | return; |
229 | } | 232 | } |
230 | super.eSet(featureID, newValue); | 233 | super.eSet(featureID, newValue); |
@@ -242,7 +245,7 @@ public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container im | |||
242 | setTerminator((FAMTerminator)null); | 245 | setTerminator((FAMTerminator)null); |
243 | return; | 246 | return; |
244 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: | 247 | case FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE: |
245 | setInterface((FunctionalInterface)null); | 248 | setInterface((functionalarchitecture.FunctionalInterface)null); |
246 | return; | 249 | return; |
247 | } | 250 | } |
248 | super.eUnset(featureID); | 251 | super.eUnset(featureID); |
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..c923caae 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,8 @@ 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 | @Override |
83 | public functionalarchitecture.FunctionalInterface getInterface() { | ||
84 | return interface_; | 84 | return interface_; |
85 | } | 85 | } |
86 | 86 | ||
@@ -89,8 +89,8 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
89 | * <!-- end-user-doc --> | 89 | * <!-- end-user-doc --> |
90 | * @generated | 90 | * @generated |
91 | */ | 91 | */ |
92 | public NotificationChain basicSetInterface(FunctionalInterface newInterface, NotificationChain msgs) { | 92 | public NotificationChain basicSetInterface(functionalarchitecture.FunctionalInterface newInterface, NotificationChain msgs) { |
93 | FunctionalInterface oldInterface = interface_; | 93 | functionalarchitecture.FunctionalInterface oldInterface = interface_; |
94 | interface_ = newInterface; | 94 | interface_ = newInterface; |
95 | if (eNotificationRequired()) { | 95 | if (eNotificationRequired()) { |
96 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, oldInterface, newInterface); | 96 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, oldInterface, newInterface); |
@@ -104,13 +104,14 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
104 | * <!-- end-user-doc --> | 104 | * <!-- end-user-doc --> |
105 | * @generated | 105 | * @generated |
106 | */ | 106 | */ |
107 | public void setInterface(FunctionalInterface newInterface) { | 107 | @Override |
108 | public void setInterface(functionalarchitecture.FunctionalInterface newInterface) { | ||
108 | if (newInterface != interface_) { | 109 | if (newInterface != interface_) { |
109 | NotificationChain msgs = null; | 110 | NotificationChain msgs = null; |
110 | if (interface_ != null) | 111 | if (interface_ != null) |
111 | msgs = ((InternalEObject)interface_).eInverseRemove(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT, FunctionalInterface.class, msgs); | 112 | msgs = ((InternalEObject)interface_).eInverseRemove(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT, functionalarchitecture.FunctionalInterface.class, msgs); |
112 | if (newInterface != null) | 113 | if (newInterface != null) |
113 | msgs = ((InternalEObject)newInterface).eInverseAdd(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT, FunctionalInterface.class, msgs); | 114 | msgs = ((InternalEObject)newInterface).eInverseAdd(this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT, functionalarchitecture.FunctionalInterface.class, msgs); |
114 | msgs = basicSetInterface(newInterface, msgs); | 115 | msgs = basicSetInterface(newInterface, msgs); |
115 | if (msgs != null) msgs.dispatch(); | 116 | if (msgs != null) msgs.dispatch(); |
116 | } | 117 | } |
@@ -123,6 +124,7 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
123 | * <!-- end-user-doc --> | 124 | * <!-- end-user-doc --> |
124 | * @generated | 125 | * @generated |
125 | */ | 126 | */ |
127 | @Override | ||
126 | public FunctionalArchitectureModel getModel() { | 128 | public FunctionalArchitectureModel getModel() { |
127 | return (FunctionalArchitectureModel)MODEL__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); | 129 | return (FunctionalArchitectureModel)MODEL__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); |
128 | } | 130 | } |
@@ -141,6 +143,7 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
141 | * <!-- end-user-doc --> | 143 | * <!-- end-user-doc --> |
142 | * @generated | 144 | * @generated |
143 | */ | 145 | */ |
146 | @Override | ||
144 | public void setModel(FunctionalArchitectureModel newModel) { | 147 | public void setModel(FunctionalArchitectureModel newModel) { |
145 | MODEL__ESETTING_DELEGATE.dynamicSet(this, null, 0, newModel); | 148 | MODEL__ESETTING_DELEGATE.dynamicSet(this, null, 0, newModel); |
146 | } | 149 | } |
@@ -150,6 +153,7 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
150 | * <!-- end-user-doc --> | 153 | * <!-- end-user-doc --> |
151 | * @generated | 154 | * @generated |
152 | */ | 155 | */ |
156 | @Override | ||
153 | public Function getParent() { | 157 | public Function getParent() { |
154 | if (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__PARENT) return null; | 158 | if (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__PARENT) return null; |
155 | return (Function)eInternalContainer(); | 159 | return (Function)eInternalContainer(); |
@@ -170,6 +174,7 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
170 | * <!-- end-user-doc --> | 174 | * <!-- end-user-doc --> |
171 | * @generated | 175 | * @generated |
172 | */ | 176 | */ |
177 | @Override | ||
173 | public void setParent(Function newParent) { | 178 | public void setParent(Function newParent) { |
174 | if (newParent != eInternalContainer() || (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__PARENT && newParent != null)) { | 179 | if (newParent != eInternalContainer() || (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__PARENT && newParent != null)) { |
175 | if (EcoreUtil.isAncestor(this, newParent)) | 180 | if (EcoreUtil.isAncestor(this, newParent)) |
@@ -197,7 +202,7 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
197 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: | 202 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: |
198 | if (interface_ != null) | 203 | if (interface_ != null) |
199 | msgs = ((InternalEObject)interface_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, null, msgs); | 204 | msgs = ((InternalEObject)interface_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, null, msgs); |
200 | return basicSetInterface((FunctionalInterface)otherEnd, msgs); | 205 | return basicSetInterface((functionalarchitecture.FunctionalInterface)otherEnd, msgs); |
201 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__PARENT: | 206 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__PARENT: |
202 | if (eInternalContainer() != null) | 207 | if (eInternalContainer() != null) |
203 | msgs = eBasicRemoveFromContainer(msgs); | 208 | msgs = eBasicRemoveFromContainer(msgs); |
@@ -264,7 +269,7 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
264 | public void eSet(int featureID, Object newValue) { | 269 | public void eSet(int featureID, Object newValue) { |
265 | switch (featureID) { | 270 | switch (featureID) { |
266 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: | 271 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: |
267 | setInterface((FunctionalInterface)newValue); | 272 | setInterface((functionalarchitecture.FunctionalInterface)newValue); |
268 | return; | 273 | return; |
269 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__MODEL: | 274 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__MODEL: |
270 | setModel((FunctionalArchitectureModel)newValue); | 275 | setModel((FunctionalArchitectureModel)newValue); |
@@ -285,7 +290,7 @@ public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container | |||
285 | public void eUnset(int featureID) { | 290 | public void eUnset(int featureID) { |
286 | switch (featureID) { | 291 | switch (featureID) { |
287 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: | 292 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: |
288 | setInterface((FunctionalInterface)null); | 293 | setInterface((functionalarchitecture.FunctionalInterface)null); |
289 | return; | 294 | return; |
290 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__MODEL: | 295 | case FunctionalarchitecturePackage.FUNCTIONAL_ELEMENT__MODEL: |
291 | setModel((FunctionalArchitectureModel)null); | 296 | setModel((FunctionalArchitectureModel)null); |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalInputImpl.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalInputImpl.java index 9df1ec0c..33a136ed 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalInputImpl.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalInputImpl.java | |||
@@ -66,6 +66,7 @@ public class FunctionalInputImpl extends FunctionalDataImpl implements Functiona | |||
66 | * <!-- end-user-doc --> | 66 | * <!-- end-user-doc --> |
67 | * @generated | 67 | * @generated |
68 | */ | 68 | */ |
69 | @Override | ||
69 | public EList<InformationLink> getIncomingLinks() { | 70 | public EList<InformationLink> getIncomingLinks() { |
70 | if (incomingLinks == null) { | 71 | if (incomingLinks == null) { |
71 | incomingLinks = new EObjectWithInverseResolvingEList<InformationLink>(InformationLink.class, this, FunctionalarchitecturePackage.FUNCTIONAL_INPUT__INCOMING_LINKS, FunctionalarchitecturePackage.INFORMATION_LINK__TO); | 72 | incomingLinks = new EObjectWithInverseResolvingEList<InformationLink>(InformationLink.class, this, FunctionalarchitecturePackage.FUNCTIONAL_INPUT__INCOMING_LINKS, FunctionalarchitecturePackage.INFORMATION_LINK__TO); |
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..53aa2dac 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 --> |
@@ -73,6 +72,7 @@ public class FunctionalInterfaceImpl extends MinimalEObjectImpl.Container implem | |||
73 | * <!-- end-user-doc --> | 72 | * <!-- end-user-doc --> |
74 | * @generated | 73 | * @generated |
75 | */ | 74 | */ |
75 | @Override | ||
76 | public EList<FunctionalData> getData() { | 76 | public EList<FunctionalData> getData() { |
77 | if (data == null) { | 77 | if (data == null) { |
78 | data = new EObjectContainmentWithInverseEList<FunctionalData>(FunctionalData.class, this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__DATA, FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE); | 78 | data = new EObjectContainmentWithInverseEList<FunctionalData>(FunctionalData.class, this, FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__DATA, FunctionalarchitecturePackage.FUNCTIONAL_DATA__INTERFACE); |
@@ -85,6 +85,7 @@ public class FunctionalInterfaceImpl extends MinimalEObjectImpl.Container implem | |||
85 | * <!-- end-user-doc --> | 85 | * <!-- end-user-doc --> |
86 | * @generated | 86 | * @generated |
87 | */ | 87 | */ |
88 | @Override | ||
88 | public FunctionalElement getElement() { | 89 | public FunctionalElement getElement() { |
89 | if (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT) return null; | 90 | if (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT) return null; |
90 | return (FunctionalElement)eInternalContainer(); | 91 | return (FunctionalElement)eInternalContainer(); |
@@ -105,6 +106,7 @@ public class FunctionalInterfaceImpl extends MinimalEObjectImpl.Container implem | |||
105 | * <!-- end-user-doc --> | 106 | * <!-- end-user-doc --> |
106 | * @generated | 107 | * @generated |
107 | */ | 108 | */ |
109 | @Override | ||
108 | public void setElement(FunctionalElement newElement) { | 110 | public void setElement(FunctionalElement newElement) { |
109 | if (newElement != eInternalContainer() || (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT && newElement != null)) { | 111 | if (newElement != eInternalContainer() || (eContainerFeatureID() != FunctionalarchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT && newElement != null)) { |
110 | if (EcoreUtil.isAncestor(this, newElement)) | 112 | if (EcoreUtil.isAncestor(this, newElement)) |
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalOutputImpl.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalOutputImpl.java index 1ae2a964..061af113 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalOutputImpl.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalOutputImpl.java | |||
@@ -66,6 +66,7 @@ public class FunctionalOutputImpl extends FunctionalDataImpl implements Function | |||
66 | * <!-- end-user-doc --> | 66 | * <!-- end-user-doc --> |
67 | * @generated | 67 | * @generated |
68 | */ | 68 | */ |
69 | @Override | ||
69 | public EList<InformationLink> getOutgoingLinks() { | 70 | public EList<InformationLink> getOutgoingLinks() { |
70 | if (outgoingLinks == null) { | 71 | if (outgoingLinks == null) { |
71 | outgoingLinks = new EObjectContainmentWithInverseEList<InformationLink>(InformationLink.class, this, FunctionalarchitecturePackage.FUNCTIONAL_OUTPUT__OUTGOING_LINKS, FunctionalarchitecturePackage.INFORMATION_LINK__FROM); | 72 | outgoingLinks = new EObjectContainmentWithInverseEList<InformationLink>(InformationLink.class, this, FunctionalarchitecturePackage.FUNCTIONAL_OUTPUT__OUTGOING_LINKS, FunctionalarchitecturePackage.INFORMATION_LINK__FROM); |
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..9c9f495a 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; |
@@ -105,6 +111,7 @@ public class FunctionalarchitectureFactoryImpl extends EFactoryImpl implements F | |||
105 | * <!-- end-user-doc --> | 111 | * <!-- end-user-doc --> |
106 | * @generated | 112 | * @generated |
107 | */ | 113 | */ |
114 | @Override | ||
108 | public FunctionalArchitectureModel createFunctionalArchitectureModel() { | 115 | public FunctionalArchitectureModel createFunctionalArchitectureModel() { |
109 | FunctionalArchitectureModelImpl functionalArchitectureModel = new FunctionalArchitectureModelImpl(); | 116 | FunctionalArchitectureModelImpl functionalArchitectureModel = new FunctionalArchitectureModelImpl(); |
110 | return functionalArchitectureModel; | 117 | return functionalArchitectureModel; |
@@ -115,6 +122,7 @@ public class FunctionalarchitectureFactoryImpl extends EFactoryImpl implements F | |||
115 | * <!-- end-user-doc --> | 122 | * <!-- end-user-doc --> |
116 | * @generated | 123 | * @generated |
117 | */ | 124 | */ |
125 | @Override | ||
118 | public Function createFunction() { | 126 | public Function createFunction() { |
119 | FunctionImpl function = new FunctionImpl(); | 127 | FunctionImpl function = new FunctionImpl(); |
120 | return function; | 128 | return function; |
@@ -125,6 +133,7 @@ public class FunctionalarchitectureFactoryImpl extends EFactoryImpl implements F | |||
125 | * <!-- end-user-doc --> | 133 | * <!-- end-user-doc --> |
126 | * @generated | 134 | * @generated |
127 | */ | 135 | */ |
136 | @Override | ||
128 | public FAMTerminator createFAMTerminator() { | 137 | public FAMTerminator createFAMTerminator() { |
129 | FAMTerminatorImpl famTerminator = new FAMTerminatorImpl(); | 138 | FAMTerminatorImpl famTerminator = new FAMTerminatorImpl(); |
130 | return famTerminator; | 139 | return famTerminator; |
@@ -135,6 +144,7 @@ public class FunctionalarchitectureFactoryImpl extends EFactoryImpl implements F | |||
135 | * <!-- end-user-doc --> | 144 | * <!-- end-user-doc --> |
136 | * @generated | 145 | * @generated |
137 | */ | 146 | */ |
147 | @Override | ||
138 | public InformationLink createInformationLink() { | 148 | public InformationLink createInformationLink() { |
139 | InformationLinkImpl informationLink = new InformationLinkImpl(); | 149 | InformationLinkImpl informationLink = new InformationLinkImpl(); |
140 | return informationLink; | 150 | return informationLink; |
@@ -145,7 +155,8 @@ public class FunctionalarchitectureFactoryImpl extends EFactoryImpl implements F | |||
145 | * <!-- end-user-doc --> | 155 | * <!-- end-user-doc --> |
146 | * @generated | 156 | * @generated |
147 | */ | 157 | */ |
148 | public FunctionalInterface createFunctionalInterface() { | 158 | @Override |
159 | public functionalarchitecture.FunctionalInterface createFunctionalInterface() { | ||
149 | FunctionalInterfaceImpl functionalInterface = new FunctionalInterfaceImpl(); | 160 | FunctionalInterfaceImpl functionalInterface = new FunctionalInterfaceImpl(); |
150 | return functionalInterface; | 161 | return functionalInterface; |
151 | } | 162 | } |
@@ -155,6 +166,7 @@ public class FunctionalarchitectureFactoryImpl extends EFactoryImpl implements F | |||
155 | * <!-- end-user-doc --> | 166 | * <!-- end-user-doc --> |
156 | * @generated | 167 | * @generated |
157 | */ | 168 | */ |
169 | @Override | ||
158 | public FunctionalInput createFunctionalInput() { | 170 | public FunctionalInput createFunctionalInput() { |
159 | FunctionalInputImpl functionalInput = new FunctionalInputImpl(); | 171 | FunctionalInputImpl functionalInput = new FunctionalInputImpl(); |
160 | return functionalInput; | 172 | return functionalInput; |
@@ -165,6 +177,7 @@ public class FunctionalarchitectureFactoryImpl extends EFactoryImpl implements F | |||
165 | * <!-- end-user-doc --> | 177 | * <!-- end-user-doc --> |
166 | * @generated | 178 | * @generated |
167 | */ | 179 | */ |
180 | @Override | ||
168 | public FunctionalOutput createFunctionalOutput() { | 181 | public FunctionalOutput createFunctionalOutput() { |
169 | FunctionalOutputImpl functionalOutput = new FunctionalOutputImpl(); | 182 | FunctionalOutputImpl functionalOutput = new FunctionalOutputImpl(); |
170 | return functionalOutput; | 183 | return functionalOutput; |
@@ -195,6 +208,7 @@ public class FunctionalarchitectureFactoryImpl extends EFactoryImpl implements F | |||
195 | * <!-- end-user-doc --> | 208 | * <!-- end-user-doc --> |
196 | * @generated | 209 | * @generated |
197 | */ | 210 | */ |
211 | @Override | ||
198 | public FunctionalarchitecturePackage getFunctionalarchitecturePackage() { | 212 | public FunctionalarchitecturePackage getFunctionalarchitecturePackage() { |
199 | return (FunctionalarchitecturePackage)getEPackage(); | 213 | return (FunctionalarchitecturePackage)getEPackage(); |
200 | } | 214 | } |
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..04945f1c 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; |
@@ -166,6 +165,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
166 | * <!-- end-user-doc --> | 165 | * <!-- end-user-doc --> |
167 | * @generated | 166 | * @generated |
168 | */ | 167 | */ |
168 | @Override | ||
169 | public EClass getFunctionalElement() { | 169 | public EClass getFunctionalElement() { |
170 | return functionalElementEClass; | 170 | return functionalElementEClass; |
171 | } | 171 | } |
@@ -175,6 +175,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
175 | * <!-- end-user-doc --> | 175 | * <!-- end-user-doc --> |
176 | * @generated | 176 | * @generated |
177 | */ | 177 | */ |
178 | @Override | ||
178 | public EReference getFunctionalElement_Interface() { | 179 | public EReference getFunctionalElement_Interface() { |
179 | return (EReference)functionalElementEClass.getEStructuralFeatures().get(0); | 180 | return (EReference)functionalElementEClass.getEStructuralFeatures().get(0); |
180 | } | 181 | } |
@@ -184,6 +185,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
184 | * <!-- end-user-doc --> | 185 | * <!-- end-user-doc --> |
185 | * @generated | 186 | * @generated |
186 | */ | 187 | */ |
188 | @Override | ||
187 | public EReference getFunctionalElement_Model() { | 189 | public EReference getFunctionalElement_Model() { |
188 | return (EReference)functionalElementEClass.getEStructuralFeatures().get(1); | 190 | return (EReference)functionalElementEClass.getEStructuralFeatures().get(1); |
189 | } | 191 | } |
@@ -193,6 +195,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
193 | * <!-- end-user-doc --> | 195 | * <!-- end-user-doc --> |
194 | * @generated | 196 | * @generated |
195 | */ | 197 | */ |
198 | @Override | ||
196 | public EReference getFunctionalElement_Parent() { | 199 | public EReference getFunctionalElement_Parent() { |
197 | return (EReference)functionalElementEClass.getEStructuralFeatures().get(2); | 200 | return (EReference)functionalElementEClass.getEStructuralFeatures().get(2); |
198 | } | 201 | } |
@@ -202,6 +205,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
202 | * <!-- end-user-doc --> | 205 | * <!-- end-user-doc --> |
203 | * @generated | 206 | * @generated |
204 | */ | 207 | */ |
208 | @Override | ||
205 | public EClass getFunctionalArchitectureModel() { | 209 | public EClass getFunctionalArchitectureModel() { |
206 | return functionalArchitectureModelEClass; | 210 | return functionalArchitectureModelEClass; |
207 | } | 211 | } |
@@ -211,6 +215,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
211 | * <!-- end-user-doc --> | 215 | * <!-- end-user-doc --> |
212 | * @generated | 216 | * @generated |
213 | */ | 217 | */ |
218 | @Override | ||
214 | public EReference getFunctionalArchitectureModel_RootElements() { | 219 | public EReference getFunctionalArchitectureModel_RootElements() { |
215 | return (EReference)functionalArchitectureModelEClass.getEStructuralFeatures().get(0); | 220 | return (EReference)functionalArchitectureModelEClass.getEStructuralFeatures().get(0); |
216 | } | 221 | } |
@@ -220,6 +225,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
220 | * <!-- end-user-doc --> | 225 | * <!-- end-user-doc --> |
221 | * @generated | 226 | * @generated |
222 | */ | 227 | */ |
228 | @Override | ||
223 | public EClass getFunction() { | 229 | public EClass getFunction() { |
224 | return functionEClass; | 230 | return functionEClass; |
225 | } | 231 | } |
@@ -229,6 +235,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
229 | * <!-- end-user-doc --> | 235 | * <!-- end-user-doc --> |
230 | * @generated | 236 | * @generated |
231 | */ | 237 | */ |
238 | @Override | ||
232 | public EReference getFunction_SubElements() { | 239 | public EReference getFunction_SubElements() { |
233 | return (EReference)functionEClass.getEStructuralFeatures().get(0); | 240 | return (EReference)functionEClass.getEStructuralFeatures().get(0); |
234 | } | 241 | } |
@@ -238,6 +245,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
238 | * <!-- end-user-doc --> | 245 | * <!-- end-user-doc --> |
239 | * @generated | 246 | * @generated |
240 | */ | 247 | */ |
248 | @Override | ||
241 | public EAttribute getFunction_Type() { | 249 | public EAttribute getFunction_Type() { |
242 | return (EAttribute)functionEClass.getEStructuralFeatures().get(1); | 250 | return (EAttribute)functionEClass.getEStructuralFeatures().get(1); |
243 | } | 251 | } |
@@ -247,6 +255,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
247 | * <!-- end-user-doc --> | 255 | * <!-- end-user-doc --> |
248 | * @generated | 256 | * @generated |
249 | */ | 257 | */ |
258 | @Override | ||
250 | public EClass getFAMTerminator() { | 259 | public EClass getFAMTerminator() { |
251 | return famTerminatorEClass; | 260 | return famTerminatorEClass; |
252 | } | 261 | } |
@@ -256,6 +265,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
256 | * <!-- end-user-doc --> | 265 | * <!-- end-user-doc --> |
257 | * @generated | 266 | * @generated |
258 | */ | 267 | */ |
268 | @Override | ||
259 | public EReference getFAMTerminator_Data() { | 269 | public EReference getFAMTerminator_Data() { |
260 | return (EReference)famTerminatorEClass.getEStructuralFeatures().get(0); | 270 | return (EReference)famTerminatorEClass.getEStructuralFeatures().get(0); |
261 | } | 271 | } |
@@ -265,6 +275,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
265 | * <!-- end-user-doc --> | 275 | * <!-- end-user-doc --> |
266 | * @generated | 276 | * @generated |
267 | */ | 277 | */ |
278 | @Override | ||
268 | public EClass getInformationLink() { | 279 | public EClass getInformationLink() { |
269 | return informationLinkEClass; | 280 | return informationLinkEClass; |
270 | } | 281 | } |
@@ -274,6 +285,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
274 | * <!-- end-user-doc --> | 285 | * <!-- end-user-doc --> |
275 | * @generated | 286 | * @generated |
276 | */ | 287 | */ |
288 | @Override | ||
277 | public EReference getInformationLink_From() { | 289 | public EReference getInformationLink_From() { |
278 | return (EReference)informationLinkEClass.getEStructuralFeatures().get(0); | 290 | return (EReference)informationLinkEClass.getEStructuralFeatures().get(0); |
279 | } | 291 | } |
@@ -283,6 +295,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
283 | * <!-- end-user-doc --> | 295 | * <!-- end-user-doc --> |
284 | * @generated | 296 | * @generated |
285 | */ | 297 | */ |
298 | @Override | ||
286 | public EReference getInformationLink_To() { | 299 | public EReference getInformationLink_To() { |
287 | return (EReference)informationLinkEClass.getEStructuralFeatures().get(1); | 300 | return (EReference)informationLinkEClass.getEStructuralFeatures().get(1); |
288 | } | 301 | } |
@@ -292,6 +305,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
292 | * <!-- end-user-doc --> | 305 | * <!-- end-user-doc --> |
293 | * @generated | 306 | * @generated |
294 | */ | 307 | */ |
308 | @Override | ||
295 | public EClass getFunctionalInterface() { | 309 | public EClass getFunctionalInterface() { |
296 | return functionalInterfaceEClass; | 310 | return functionalInterfaceEClass; |
297 | } | 311 | } |
@@ -301,6 +315,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
301 | * <!-- end-user-doc --> | 315 | * <!-- end-user-doc --> |
302 | * @generated | 316 | * @generated |
303 | */ | 317 | */ |
318 | @Override | ||
304 | public EReference getFunctionalInterface_Data() { | 319 | public EReference getFunctionalInterface_Data() { |
305 | return (EReference)functionalInterfaceEClass.getEStructuralFeatures().get(0); | 320 | return (EReference)functionalInterfaceEClass.getEStructuralFeatures().get(0); |
306 | } | 321 | } |
@@ -310,6 +325,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
310 | * <!-- end-user-doc --> | 325 | * <!-- end-user-doc --> |
311 | * @generated | 326 | * @generated |
312 | */ | 327 | */ |
328 | @Override | ||
313 | public EReference getFunctionalInterface_Element() { | 329 | public EReference getFunctionalInterface_Element() { |
314 | return (EReference)functionalInterfaceEClass.getEStructuralFeatures().get(1); | 330 | return (EReference)functionalInterfaceEClass.getEStructuralFeatures().get(1); |
315 | } | 331 | } |
@@ -319,6 +335,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
319 | * <!-- end-user-doc --> | 335 | * <!-- end-user-doc --> |
320 | * @generated | 336 | * @generated |
321 | */ | 337 | */ |
338 | @Override | ||
322 | public EClass getFunctionalInput() { | 339 | public EClass getFunctionalInput() { |
323 | return functionalInputEClass; | 340 | return functionalInputEClass; |
324 | } | 341 | } |
@@ -328,6 +345,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
328 | * <!-- end-user-doc --> | 345 | * <!-- end-user-doc --> |
329 | * @generated | 346 | * @generated |
330 | */ | 347 | */ |
348 | @Override | ||
331 | public EReference getFunctionalInput_IncomingLinks() { | 349 | public EReference getFunctionalInput_IncomingLinks() { |
332 | return (EReference)functionalInputEClass.getEStructuralFeatures().get(0); | 350 | return (EReference)functionalInputEClass.getEStructuralFeatures().get(0); |
333 | } | 351 | } |
@@ -337,6 +355,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
337 | * <!-- end-user-doc --> | 355 | * <!-- end-user-doc --> |
338 | * @generated | 356 | * @generated |
339 | */ | 357 | */ |
358 | @Override | ||
340 | public EClass getFunctionalOutput() { | 359 | public EClass getFunctionalOutput() { |
341 | return functionalOutputEClass; | 360 | return functionalOutputEClass; |
342 | } | 361 | } |
@@ -346,6 +365,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
346 | * <!-- end-user-doc --> | 365 | * <!-- end-user-doc --> |
347 | * @generated | 366 | * @generated |
348 | */ | 367 | */ |
368 | @Override | ||
349 | public EReference getFunctionalOutput_OutgoingLinks() { | 369 | public EReference getFunctionalOutput_OutgoingLinks() { |
350 | return (EReference)functionalOutputEClass.getEStructuralFeatures().get(0); | 370 | return (EReference)functionalOutputEClass.getEStructuralFeatures().get(0); |
351 | } | 371 | } |
@@ -355,6 +375,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
355 | * <!-- end-user-doc --> | 375 | * <!-- end-user-doc --> |
356 | * @generated | 376 | * @generated |
357 | */ | 377 | */ |
378 | @Override | ||
358 | public EClass getFunctionalData() { | 379 | public EClass getFunctionalData() { |
359 | return functionalDataEClass; | 380 | return functionalDataEClass; |
360 | } | 381 | } |
@@ -364,6 +385,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
364 | * <!-- end-user-doc --> | 385 | * <!-- end-user-doc --> |
365 | * @generated | 386 | * @generated |
366 | */ | 387 | */ |
388 | @Override | ||
367 | public EReference getFunctionalData_Terminator() { | 389 | public EReference getFunctionalData_Terminator() { |
368 | return (EReference)functionalDataEClass.getEStructuralFeatures().get(0); | 390 | return (EReference)functionalDataEClass.getEStructuralFeatures().get(0); |
369 | } | 391 | } |
@@ -373,6 +395,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
373 | * <!-- end-user-doc --> | 395 | * <!-- end-user-doc --> |
374 | * @generated | 396 | * @generated |
375 | */ | 397 | */ |
398 | @Override | ||
376 | public EReference getFunctionalData_Interface() { | 399 | public EReference getFunctionalData_Interface() { |
377 | return (EReference)functionalDataEClass.getEStructuralFeatures().get(1); | 400 | return (EReference)functionalDataEClass.getEStructuralFeatures().get(1); |
378 | } | 401 | } |
@@ -382,6 +405,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
382 | * <!-- end-user-doc --> | 405 | * <!-- end-user-doc --> |
383 | * @generated | 406 | * @generated |
384 | */ | 407 | */ |
408 | @Override | ||
385 | public EEnum getFunctionType() { | 409 | public EEnum getFunctionType() { |
386 | return functionTypeEEnum; | 410 | return functionTypeEEnum; |
387 | } | 411 | } |
@@ -391,6 +415,7 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
391 | * <!-- end-user-doc --> | 415 | * <!-- end-user-doc --> |
392 | * @generated | 416 | * @generated |
393 | */ | 417 | */ |
418 | @Override | ||
394 | public FunctionalarchitectureFactory getFunctionalarchitectureFactory() { | 419 | public FunctionalarchitectureFactory getFunctionalarchitectureFactory() { |
395 | return (FunctionalarchitectureFactory)getEFactoryInstance(); | 420 | return (FunctionalarchitectureFactory)getEFactoryInstance(); |
396 | } | 421 | } |
@@ -503,9 +528,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); | 528 | 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); | 529 | 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 | 530 | ||
506 | initEClass(functionalInterfaceEClass, FunctionalInterface.class, "FunctionalInterface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 531 | 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); | 532 | 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); | 533 | 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 | 534 | ||
510 | initEClass(functionalInputEClass, FunctionalInput.class, "FunctionalInput", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 535 | 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); | 536 | 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); |
@@ -540,12 +565,12 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
540 | * @generated | 565 | * @generated |
541 | */ | 566 | */ |
542 | protected void createEcoreAnnotations() { | 567 | protected void createEcoreAnnotations() { |
543 | String source = "http://www.eclipse.org/emf/2002/Ecore"; | 568 | String source = "http://www.eclipse.org/emf/2002/Ecore"; |
544 | addAnnotation | 569 | addAnnotation |
545 | (this, | 570 | (this, |
546 | source, | 571 | source, |
547 | new String[] { | 572 | new String[] { |
548 | "settingDelegates", "org.eclipse.viatra.query.querybasedfeature" | 573 | "settingDelegates", "org.eclipse.viatra.query.querybasedfeature" |
549 | }); | 574 | }); |
550 | } | 575 | } |
551 | 576 | ||
@@ -556,18 +581,18 @@ public class FunctionalarchitecturePackageImpl extends EPackageImpl implements F | |||
556 | * @generated | 581 | * @generated |
557 | */ | 582 | */ |
558 | protected void createOrgAnnotations() { | 583 | protected void createOrgAnnotations() { |
559 | String source = "org.eclipse.viatra.query.querybasedfeature"; | 584 | String source = "org.eclipse.viatra.query.querybasedfeature"; |
560 | addAnnotation | 585 | addAnnotation |
561 | (getFunctionalElement_Model(), | 586 | (getFunctionalElement_Model(), |
562 | source, | 587 | source, |
563 | new String[] { | 588 | new String[] { |
564 | "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.transima.fam.model" | 589 | "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.transima.fam.model" |
565 | }); | 590 | }); |
566 | addAnnotation | 591 | addAnnotation |
567 | (getFunction_Type(), | 592 | (getFunction_Type(), |
568 | source, | 593 | source, |
569 | new String[] { | 594 | new String[] { |
570 | "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.transima.fam.type" | 595 | "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.transima.fam.type" |
571 | }); | 596 | }); |
572 | } | 597 | } |
573 | 598 | ||
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/InformationLinkImpl.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/InformationLinkImpl.java index 4b46fef8..ead4f9e9 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/InformationLinkImpl.java +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/InformationLinkImpl.java | |||
@@ -67,6 +67,7 @@ public class InformationLinkImpl extends MinimalEObjectImpl.Container implements | |||
67 | * <!-- end-user-doc --> | 67 | * <!-- end-user-doc --> |
68 | * @generated | 68 | * @generated |
69 | */ | 69 | */ |
70 | @Override | ||
70 | public FunctionalOutput getFrom() { | 71 | public FunctionalOutput getFrom() { |
71 | if (eContainerFeatureID() != FunctionalarchitecturePackage.INFORMATION_LINK__FROM) return null; | 72 | if (eContainerFeatureID() != FunctionalarchitecturePackage.INFORMATION_LINK__FROM) return null; |
72 | return (FunctionalOutput)eInternalContainer(); | 73 | return (FunctionalOutput)eInternalContainer(); |
@@ -87,6 +88,7 @@ public class InformationLinkImpl extends MinimalEObjectImpl.Container implements | |||
87 | * <!-- end-user-doc --> | 88 | * <!-- end-user-doc --> |
88 | * @generated | 89 | * @generated |
89 | */ | 90 | */ |
91 | @Override | ||
90 | public void setFrom(FunctionalOutput newFrom) { | 92 | public void setFrom(FunctionalOutput newFrom) { |
91 | if (newFrom != eInternalContainer() || (eContainerFeatureID() != FunctionalarchitecturePackage.INFORMATION_LINK__FROM && newFrom != null)) { | 93 | if (newFrom != eInternalContainer() || (eContainerFeatureID() != FunctionalarchitecturePackage.INFORMATION_LINK__FROM && newFrom != null)) { |
92 | if (EcoreUtil.isAncestor(this, newFrom)) | 94 | if (EcoreUtil.isAncestor(this, newFrom)) |
@@ -108,6 +110,7 @@ public class InformationLinkImpl extends MinimalEObjectImpl.Container implements | |||
108 | * <!-- end-user-doc --> | 110 | * <!-- end-user-doc --> |
109 | * @generated | 111 | * @generated |
110 | */ | 112 | */ |
113 | @Override | ||
111 | public FunctionalInput getTo() { | 114 | public FunctionalInput getTo() { |
112 | if (to != null && to.eIsProxy()) { | 115 | if (to != null && to.eIsProxy()) { |
113 | InternalEObject oldTo = (InternalEObject)to; | 116 | InternalEObject oldTo = (InternalEObject)to; |
@@ -149,6 +152,7 @@ public class InformationLinkImpl extends MinimalEObjectImpl.Container implements | |||
149 | * <!-- end-user-doc --> | 152 | * <!-- end-user-doc --> |
150 | * @generated | 153 | * @generated |
151 | */ | 154 | */ |
155 | @Override | ||
152 | public void setTo(FunctionalInput newTo) { | 156 | public void setTo(FunctionalInput newTo) { |
153 | if (newTo != to) { | 157 | if (newTo != to) { |
154 | NotificationChain msgs = null; | 158 | NotificationChain msgs = null; |
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 | ||
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/plugin.xml b/Domains/Examples/ModelGenExampleFAM_plugin/plugin.xml index 213ec0ed..c117a28e 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/plugin.xml +++ b/Domains/Examples/ModelGenExampleFAM_plugin/plugin.xml | |||
@@ -5,10 +5,13 @@ | |||
5 | <extension id="extension.derived.hu.bme.mit.inf.dslreasoner.domains.transima.fam.type" point="org.eclipse.viatra.query.runtime.base.wellbehaving.derived.features"> | 5 | <extension id="extension.derived.hu.bme.mit.inf.dslreasoner.domains.transima.fam.type" point="org.eclipse.viatra.query.runtime.base.wellbehaving.derived.features"> |
6 | <wellbehaving-derived-feature classifier-name="Function" feature-name="type" package-nsUri="http://www.inf.mit.bme.hu/viatrasolver/example/fam"/> | 6 | <wellbehaving-derived-feature classifier-name="Function" feature-name="type" package-nsUri="http://www.inf.mit.bme.hu/viatrasolver/example/fam"/> |
7 | </extension> | 7 | </extension> |
8 | <extension point="org.eclipse.emf.ecore.generated_package"> | 8 | <extension point="org.eclipse.emf.ecore.generated_package"> |
9 | <!-- @generated FamMetamodel --> | 9 | <!-- @generated FamMetamodel --> |
10 | <package class="functionalarchitecture.FunctionalarchitecturePackage" genModel="model/FamMetamodel.genmodel" uri="http://www.inf.mit.bme.hu/viatrasolver/example/fam"/> | 10 | <package |
11 | </extension> | 11 | uri="http://www.inf.mit.bme.hu/viatrasolver/example/fam" |
12 | class="functionalarchitecture.FunctionalarchitecturePackage" | ||
13 | genModel="model/FamMetamodel.genmodel"/> | ||
14 | </extension> | ||
12 | <extension id="hu.bme.mit.inf.dslreasoner.domains.transima.fam.FamPatterns" point="org.eclipse.viatra.query.runtime.queryspecification"> | 15 | <extension id="hu.bme.mit.inf.dslreasoner.domains.transima.fam.FamPatterns" point="org.eclipse.viatra.query.runtime.queryspecification"> |
13 | <group group="org.eclipse.viatra.query.runtime.extensibility.SingletonExtensionFactory:hu.bme.mit.inf.dslreasoner.domains.transima.fam.FamPatterns" id="hu.bme.mit.inf.dslreasoner.domains.transima.fam.FamPatterns"> | 16 | <group group="org.eclipse.viatra.query.runtime.extensibility.SingletonExtensionFactory:hu.bme.mit.inf.dslreasoner.domains.transima.fam.FamPatterns" id="hu.bme.mit.inf.dslreasoner.domains.transima.fam.FamPatterns"> |
14 | <query-specification fqn="hu.bme.mit.inf.dslreasoner.domains.transima.fam.terminatorAndInformation"/> | 17 | <query-specification fqn="hu.bme.mit.inf.dslreasoner.domains.transima.fam.terminatorAndInformation"/> |