Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/alf/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/alf/impl/ShiftExpressionImpl.java')
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/alf/impl/ShiftExpressionImpl.java240
1 files changed, 0 insertions, 240 deletions
diff --git a/extraplugins/alf/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/alf/impl/ShiftExpressionImpl.java b/extraplugins/alf/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/alf/impl/ShiftExpressionImpl.java
deleted file mode 100644
index 641354aa416..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/alf/impl/ShiftExpressionImpl.java
+++ /dev/null
@@ -1,240 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.alf.alf.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.alf.alf.AdditiveExpression;
-import org.eclipse.papyrus.alf.alf.AlfPackage;
-import org.eclipse.papyrus.alf.alf.ShiftExpression;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Shift Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.alf.alf.impl.ShiftExpressionImpl#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.alf.alf.impl.ShiftExpressionImpl#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ShiftExpressionImpl extends MinimalEObjectImpl.Container implements ShiftExpression
-{
- /**
- * The cached value of the '{@link #getExp() <em>Exp</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getExp()
- * @generated
- * @ordered
- */
- protected EList<AdditiveExpression> exp;
-
- /**
- * The default value of the '{@link #getOp() <em>Op</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOp()
- * @generated
- * @ordered
- */
- protected static final String OP_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getOp() <em>Op</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOp()
- * @generated
- * @ordered
- */
- protected String op = OP_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ShiftExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return AlfPackage.Literals.SHIFT_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<AdditiveExpression> getExp()
- {
- if (exp == null)
- {
- exp = new EObjectContainmentEList<AdditiveExpression>(AdditiveExpression.class, this, AlfPackage.SHIFT_EXPRESSION__EXP);
- }
- return exp;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getOp()
- {
- return op;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOp(String newOp)
- {
- String oldOp = op;
- op = newOp;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AlfPackage.SHIFT_EXPRESSION__OP, oldOp, op));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case AlfPackage.SHIFT_EXPRESSION__EXP:
- return ((InternalEList<?>)getExp()).basicRemove(otherEnd, 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.SHIFT_EXPRESSION__EXP:
- return getExp();
- case AlfPackage.SHIFT_EXPRESSION__OP:
- return getOp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case AlfPackage.SHIFT_EXPRESSION__EXP:
- getExp().clear();
- getExp().addAll((Collection<? extends AdditiveExpression>)newValue);
- return;
- case AlfPackage.SHIFT_EXPRESSION__OP:
- setOp((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case AlfPackage.SHIFT_EXPRESSION__EXP:
- getExp().clear();
- return;
- case AlfPackage.SHIFT_EXPRESSION__OP:
- setOp(OP_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case AlfPackage.SHIFT_EXPRESSION__EXP:
- return exp != null && !exp.isEmpty();
- case AlfPackage.SHIFT_EXPRESSION__OP:
- return OP_EDEFAULT == null ? op != null : !OP_EDEFAULT.equals(op);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (op: ");
- result.append(op);
- result.append(')');
- return result.toString();
- }
-
-} //ShiftExpressionImpl

Back to the top