Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/alf/org.eclipse.papyrus.uml.alf/src-gen/org/eclipse/papyrus/uml/alf/alf/impl/SuperInvocationExpressionImpl.java')
-rw-r--r--plugins/uml/alf/org.eclipse.papyrus.uml.alf/src-gen/org/eclipse/papyrus/uml/alf/alf/impl/SuperInvocationExpressionImpl.java265
1 files changed, 265 insertions, 0 deletions
diff --git a/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src-gen/org/eclipse/papyrus/uml/alf/alf/impl/SuperInvocationExpressionImpl.java b/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src-gen/org/eclipse/papyrus/uml/alf/alf/impl/SuperInvocationExpressionImpl.java
new file mode 100644
index 00000000000..20f5da3ea11
--- /dev/null
+++ b/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src-gen/org/eclipse/papyrus/uml/alf/alf/impl/SuperInvocationExpressionImpl.java
@@ -0,0 +1,265 @@
+/**
+ */
+package org.eclipse.papyrus.uml.alf.alf.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.papyrus.uml.alf.alf.AlfPackage;
+import org.eclipse.papyrus.uml.alf.alf.QualifiedNameWithBinding;
+import org.eclipse.papyrus.uml.alf.alf.SuperInvocationExpression;
+import org.eclipse.papyrus.uml.alf.alf.Tuple;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Super Invocation Expression</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.uml.alf.alf.impl.SuperInvocationExpressionImpl#getTuple <em>Tuple</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.alf.alf.impl.SuperInvocationExpressionImpl#getOperationName <em>Operation Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SuperInvocationExpressionImpl extends ValueSpecificationImpl implements SuperInvocationExpression
+{
+ /**
+ * The cached value of the '{@link #getTuple() <em>Tuple</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTuple()
+ * @generated
+ * @ordered
+ */
+ protected Tuple tuple;
+
+ /**
+ * The cached value of the '{@link #getOperationName() <em>Operation Name</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOperationName()
+ * @generated
+ * @ordered
+ */
+ protected QualifiedNameWithBinding operationName;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SuperInvocationExpressionImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return AlfPackage.Literals.SUPER_INVOCATION_EXPRESSION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Tuple getTuple()
+ {
+ return tuple;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTuple(Tuple newTuple, NotificationChain msgs)
+ {
+ Tuple oldTuple = tuple;
+ tuple = newTuple;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlfPackage.SUPER_INVOCATION_EXPRESSION__TUPLE, oldTuple, newTuple);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTuple(Tuple newTuple)
+ {
+ if (newTuple != tuple)
+ {
+ NotificationChain msgs = null;
+ if (tuple != null)
+ msgs = ((InternalEObject)tuple).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlfPackage.SUPER_INVOCATION_EXPRESSION__TUPLE, null, msgs);
+ if (newTuple != null)
+ msgs = ((InternalEObject)newTuple).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlfPackage.SUPER_INVOCATION_EXPRESSION__TUPLE, null, msgs);
+ msgs = basicSetTuple(newTuple, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, AlfPackage.SUPER_INVOCATION_EXPRESSION__TUPLE, newTuple, newTuple));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public QualifiedNameWithBinding getOperationName()
+ {
+ return operationName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetOperationName(QualifiedNameWithBinding newOperationName, NotificationChain msgs)
+ {
+ QualifiedNameWithBinding oldOperationName = operationName;
+ operationName = newOperationName;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlfPackage.SUPER_INVOCATION_EXPRESSION__OPERATION_NAME, oldOperationName, newOperationName);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOperationName(QualifiedNameWithBinding newOperationName)
+ {
+ if (newOperationName != operationName)
+ {
+ NotificationChain msgs = null;
+ if (operationName != null)
+ msgs = ((InternalEObject)operationName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlfPackage.SUPER_INVOCATION_EXPRESSION__OPERATION_NAME, null, msgs);
+ if (newOperationName != null)
+ msgs = ((InternalEObject)newOperationName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlfPackage.SUPER_INVOCATION_EXPRESSION__OPERATION_NAME, null, msgs);
+ msgs = basicSetOperationName(newOperationName, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, AlfPackage.SUPER_INVOCATION_EXPRESSION__OPERATION_NAME, newOperationName, newOperationName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case AlfPackage.SUPER_INVOCATION_EXPRESSION__TUPLE:
+ return basicSetTuple(null, msgs);
+ case AlfPackage.SUPER_INVOCATION_EXPRESSION__OPERATION_NAME:
+ return basicSetOperationName(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case AlfPackage.SUPER_INVOCATION_EXPRESSION__TUPLE:
+ return getTuple();
+ case AlfPackage.SUPER_INVOCATION_EXPRESSION__OPERATION_NAME:
+ return getOperationName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case AlfPackage.SUPER_INVOCATION_EXPRESSION__TUPLE:
+ setTuple((Tuple)newValue);
+ return;
+ case AlfPackage.SUPER_INVOCATION_EXPRESSION__OPERATION_NAME:
+ setOperationName((QualifiedNameWithBinding)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case AlfPackage.SUPER_INVOCATION_EXPRESSION__TUPLE:
+ setTuple((Tuple)null);
+ return;
+ case AlfPackage.SUPER_INVOCATION_EXPRESSION__OPERATION_NAME:
+ setOperationName((QualifiedNameWithBinding)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case AlfPackage.SUPER_INVOCATION_EXPRESSION__TUPLE:
+ return tuple != null;
+ case AlfPackage.SUPER_INVOCATION_EXPRESSION__OPERATION_NAME:
+ return operationName != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //SuperInvocationExpressionImpl

Back to the top