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