aboutsummaryrefslogtreecommitdiffstats
path: root/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalElementImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalElementImpl.java')
-rw-r--r--Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/impl/FunctionalElementImpl.java27
1 files changed, 16 insertions, 11 deletions
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;
5import functionalarchitecture.Function; 5import functionalarchitecture.Function;
6import functionalarchitecture.FunctionalArchitectureModel; 6import functionalarchitecture.FunctionalArchitectureModel;
7import functionalarchitecture.FunctionalElement; 7import functionalarchitecture.FunctionalElement;
8import functionalarchitecture.FunctionalInterface;
9import functionalarchitecture.FunctionalarchitecturePackage; 8import functionalarchitecture.FunctionalarchitecturePackage;
10 9
11import org.eclipse.emf.common.notify.Notification; 10import 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);