Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/QuaternionImpl.java')
-rw-r--r--extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/QuaternionImpl.java322
1 files changed, 0 insertions, 322 deletions
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/QuaternionImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/QuaternionImpl.java
deleted file mode 100644
index 18eb634d0c0..00000000000
--- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/QuaternionImpl.java
+++ /dev/null
@@ -1,322 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage;
-import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Quaternion</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl#getX <em>X</em>}</li>
- * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl#getY <em>Y</em>}</li>
- * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl#getZ <em>Z</em>}</li>
- * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl#getW <em>W</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class QuaternionImpl extends MinimalEObjectImpl.Container implements Quaternion {
- /**
- * The default value of the '{@link #getX() <em>X</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getX()
- * @generated
- * @ordered
- */
- protected static final Object X_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getX() <em>X</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getX()
- * @generated
- * @ordered
- */
- protected Object x = X_EDEFAULT;
-
- /**
- * The default value of the '{@link #getY() <em>Y</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getY()
- * @generated
- * @ordered
- */
- protected static final Object Y_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getY() <em>Y</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getY()
- * @generated
- * @ordered
- */
- protected Object y = Y_EDEFAULT;
-
- /**
- * The default value of the '{@link #getZ() <em>Z</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getZ()
- * @generated
- * @ordered
- */
- protected static final Object Z_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getZ() <em>Z</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getZ()
- * @generated
- * @ordered
- */
- protected Object z = Z_EDEFAULT;
-
- /**
- * The default value of the '{@link #getW() <em>W</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getW()
- * @generated
- * @ordered
- */
- protected static final Object W_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getW() <em>W</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getW()
- * @generated
- * @ordered
- */
- protected Object w = W_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected QuaternionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return Geometry_datatypesPackage.Literals.QUATERNION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object getX() {
- return x;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setX(Object newX) {
- Object oldX = x;
- x = newX;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION__X, oldX, x));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object getY() {
- return y;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setY(Object newY) {
- Object oldY = y;
- y = newY;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION__Y, oldY, y));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object getZ() {
- return z;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setZ(Object newZ) {
- Object oldZ = z;
- z = newZ;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION__Z, oldZ, z));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object getW() {
- return w;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setW(Object newW) {
- Object oldW = w;
- w = newW;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION__W, oldW, w));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case Geometry_datatypesPackage.QUATERNION__X:
- return getX();
- case Geometry_datatypesPackage.QUATERNION__Y:
- return getY();
- case Geometry_datatypesPackage.QUATERNION__Z:
- return getZ();
- case Geometry_datatypesPackage.QUATERNION__W:
- return getW();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case Geometry_datatypesPackage.QUATERNION__X:
- setX((Object)newValue);
- return;
- case Geometry_datatypesPackage.QUATERNION__Y:
- setY((Object)newValue);
- return;
- case Geometry_datatypesPackage.QUATERNION__Z:
- setZ((Object)newValue);
- return;
- case Geometry_datatypesPackage.QUATERNION__W:
- setW((Object)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case Geometry_datatypesPackage.QUATERNION__X:
- setX(X_EDEFAULT);
- return;
- case Geometry_datatypesPackage.QUATERNION__Y:
- setY(Y_EDEFAULT);
- return;
- case Geometry_datatypesPackage.QUATERNION__Z:
- setZ(Z_EDEFAULT);
- return;
- case Geometry_datatypesPackage.QUATERNION__W:
- setW(W_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case Geometry_datatypesPackage.QUATERNION__X:
- return X_EDEFAULT == null ? x != null : !X_EDEFAULT.equals(x);
- case Geometry_datatypesPackage.QUATERNION__Y:
- return Y_EDEFAULT == null ? y != null : !Y_EDEFAULT.equals(y);
- case Geometry_datatypesPackage.QUATERNION__Z:
- return Z_EDEFAULT == null ? z != null : !Z_EDEFAULT.equals(z);
- case Geometry_datatypesPackage.QUATERNION__W:
- return W_EDEFAULT == null ? w != null : !W_EDEFAULT.equals(w);
- }
- 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(" (x: ");
- result.append(x);
- result.append(", y: ");
- result.append(y);
- result.append(", z: ");
- result.append(z);
- result.append(", w: ");
- result.append(w);
- result.append(')');
- return result.toString();
- }
-
-} // QuaternionImpl

Back to the top