diff options
author | Francois Le Fevre - CEA | 2016-05-09 15:00:08 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2016-05-10 13:49:32 +0000 |
commit | 846244a53eb1c2c25a8602cfa24456e94d1c776a (patch) | |
tree | 56700f3abb559849060f6df456c97f72908078aa /extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes | |
parent | ef8d6acf5273e5c2ddb91640e9ec899f1782e637 (diff) | |
download | org.eclipse.papyrus-846244a53eb1c2c25a8602cfa24456e94d1c776a.tar.gz org.eclipse.papyrus-846244a53eb1c2c25a8602cfa24456e94d1c776a.tar.xz org.eclipse.papyrus-846244a53eb1c2c25a8602cfa24456e94d1c776a.zip |
Bug 482244: [RobotML][hudson]: deletion of robotml
-removing all robotml except doc references and profil references
Change-Id: If95752ec4daa2b10517e87c4d01b99b0647073cb
Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
Diffstat (limited to 'extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes')
222 files changed, 0 insertions, 61023 deletions
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/Actionlib_datatypesFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/Actionlib_datatypesFactory.java deleted file mode 100644 index 3f2c0b6bfaa..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/Actionlib_datatypesFactory.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage - * @generated - */ -public interface Actionlib_datatypesFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Actionlib_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Goal ID</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Goal ID</em>'. - * @generated - */ - GoalID createGoalID(); - - /** - * Returns a new object of class '<em>Goal Status</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Goal Status</em>'. - * @generated - */ - GoalStatus createGoalStatus(); - - /** - * Returns a new object of class '<em>Goal Status Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Goal Status Array</em>'. - * @generated - */ - GoalStatusArray createGoalStatusArray(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - Actionlib_datatypesPackage getActionlib_datatypesPackage(); - -} // Actionlib_datatypesFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/Actionlib_datatypesPackage.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/Actionlib_datatypesPackage.java deleted file mode 100644 index bc6354fdd78..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/Actionlib_datatypesPackage.java +++ /dev/null @@ -1,677 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesFactory - * @model kind="package" - * @generated - */ -public interface Actionlib_datatypesPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "actionlib_datatypes"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes.ecore"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Actionlib_datatypesPackage eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl <em>Goal ID</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl#getGoalID() - * @generated - */ - int GOAL_ID = 0; - - /** - * The feature id for the '<em><b>Stamp</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_ID__STAMP = 0; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_ID__ID = 1; - - /** - * The number of structural features of the '<em>Goal ID</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_ID_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Goal ID</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_ID_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl <em>Goal Status</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl#getGoalStatus() - * @generated - */ - int GOAL_STATUS = 1; - - /** - * The feature id for the '<em><b>PENDING</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS__PENDING = 0; - - /** - * The feature id for the '<em><b>ACTIVE</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS__ACTIVE = 1; - - /** - * The feature id for the '<em><b>PREEMPTED</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS__PREEMPTED = 2; - - /** - * The feature id for the '<em><b>SUCCEEDED</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS__SUCCEEDED = 3; - - /** - * The feature id for the '<em><b>ABORTED</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS__ABORTED = 4; - - /** - * The feature id for the '<em><b>REJECTED</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS__REJECTED = 5; - - /** - * The feature id for the '<em><b>PREEMPTING</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS__PREEMPTING = 6; - - /** - * The feature id for the '<em><b>RECALLING</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS__RECALLING = 7; - - /** - * The feature id for the '<em><b>RECALLED</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS__RECALLED = 8; - - /** - * The feature id for the '<em><b>LOST</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS__LOST = 9; - - /** - * The feature id for the '<em><b>Text</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS__TEXT = 10; - - /** - * The feature id for the '<em><b>Status</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS__STATUS = 11; - - /** - * The number of structural features of the '<em>Goal Status</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS_FEATURE_COUNT = 12; - - /** - * The number of operations of the '<em>Goal Status</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusArrayImpl <em>Goal Status Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl#getGoalStatusArray() - * @generated - */ - int GOAL_STATUS_ARRAY = 2; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS_ARRAY__HEADER = 0; - - /** - * The feature id for the '<em><b>Status list</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS_ARRAY__STATUS_LIST = 1; - - /** - * The number of structural features of the '<em>Goal Status Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Goal Status Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GOAL_STATUS_ARRAY_OPERATION_COUNT = 0; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID <em>Goal ID</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Goal ID</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID - * @generated - */ - EClass getGoalID(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getStamp <em>Stamp</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Stamp</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getStamp() - * @see #getGoalID() - * @generated - */ - EAttribute getGoalID_Stamp(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getId() - * @see #getGoalID() - * @generated - */ - EAttribute getGoalID_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus <em>Goal Status</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Goal Status</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus - * @generated - */ - EClass getGoalStatus(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPENDING <em>PENDING</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>PENDING</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPENDING() - * @see #getGoalStatus() - * @generated - */ - EAttribute getGoalStatus_PENDING(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getACTIVE <em>ACTIVE</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>ACTIVE</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getACTIVE() - * @see #getGoalStatus() - * @generated - */ - EAttribute getGoalStatus_ACTIVE(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTED <em>PREEMPTED</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>PREEMPTED</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTED() - * @see #getGoalStatus() - * @generated - */ - EAttribute getGoalStatus_PREEMPTED(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getSUCCEEDED <em>SUCCEEDED</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>SUCCEEDED</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getSUCCEEDED() - * @see #getGoalStatus() - * @generated - */ - EAttribute getGoalStatus_SUCCEEDED(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getABORTED <em>ABORTED</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>ABORTED</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getABORTED() - * @see #getGoalStatus() - * @generated - */ - EAttribute getGoalStatus_ABORTED(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getREJECTED <em>REJECTED</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>REJECTED</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getREJECTED() - * @see #getGoalStatus() - * @generated - */ - EAttribute getGoalStatus_REJECTED(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTING <em>PREEMPTING</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>PREEMPTING</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTING() - * @see #getGoalStatus() - * @generated - */ - EAttribute getGoalStatus_PREEMPTING(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLING <em>RECALLING</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>RECALLING</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLING() - * @see #getGoalStatus() - * @generated - */ - EAttribute getGoalStatus_RECALLING(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLED <em>RECALLED</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>RECALLED</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLED() - * @see #getGoalStatus() - * @generated - */ - EAttribute getGoalStatus_RECALLED(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getLOST <em>LOST</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>LOST</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getLOST() - * @see #getGoalStatus() - * @generated - */ - EAttribute getGoalStatus_LOST(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getText <em>Text</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Text</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getText() - * @see #getGoalStatus() - * @generated - */ - EAttribute getGoalStatus_Text(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getStatus <em>Status</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Status</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getStatus() - * @see #getGoalStatus() - * @generated - */ - EAttribute getGoalStatus_Status(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray <em>Goal Status Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Goal Status Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray - * @generated - */ - EClass getGoalStatusArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getHeader() - * @see #getGoalStatusArray() - * @generated - */ - EReference getGoalStatusArray_Header(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getStatus_list <em>Status list</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Status list</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getStatus_list() - * @see #getGoalStatusArray() - * @generated - */ - EReference getGoalStatusArray_Status_list(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - Actionlib_datatypesFactory getActionlib_datatypesFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl <em>Goal ID</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl#getGoalID() - * @generated - */ - EClass GOAL_ID = eINSTANCE.getGoalID(); - - /** - * The meta object literal for the '<em><b>Stamp</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_ID__STAMP = eINSTANCE.getGoalID_Stamp(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_ID__ID = eINSTANCE.getGoalID_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl <em>Goal Status</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl#getGoalStatus() - * @generated - */ - EClass GOAL_STATUS = eINSTANCE.getGoalStatus(); - - /** - * The meta object literal for the '<em><b>PENDING</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_STATUS__PENDING = eINSTANCE.getGoalStatus_PENDING(); - - /** - * The meta object literal for the '<em><b>ACTIVE</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_STATUS__ACTIVE = eINSTANCE.getGoalStatus_ACTIVE(); - - /** - * The meta object literal for the '<em><b>PREEMPTED</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_STATUS__PREEMPTED = eINSTANCE.getGoalStatus_PREEMPTED(); - - /** - * The meta object literal for the '<em><b>SUCCEEDED</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_STATUS__SUCCEEDED = eINSTANCE.getGoalStatus_SUCCEEDED(); - - /** - * The meta object literal for the '<em><b>ABORTED</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_STATUS__ABORTED = eINSTANCE.getGoalStatus_ABORTED(); - - /** - * The meta object literal for the '<em><b>REJECTED</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_STATUS__REJECTED = eINSTANCE.getGoalStatus_REJECTED(); - - /** - * The meta object literal for the '<em><b>PREEMPTING</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_STATUS__PREEMPTING = eINSTANCE.getGoalStatus_PREEMPTING(); - - /** - * The meta object literal for the '<em><b>RECALLING</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_STATUS__RECALLING = eINSTANCE.getGoalStatus_RECALLING(); - - /** - * The meta object literal for the '<em><b>RECALLED</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_STATUS__RECALLED = eINSTANCE.getGoalStatus_RECALLED(); - - /** - * The meta object literal for the '<em><b>LOST</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_STATUS__LOST = eINSTANCE.getGoalStatus_LOST(); - - /** - * The meta object literal for the '<em><b>Text</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_STATUS__TEXT = eINSTANCE.getGoalStatus_Text(); - - /** - * The meta object literal for the '<em><b>Status</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GOAL_STATUS__STATUS = eINSTANCE.getGoalStatus_Status(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusArrayImpl <em>Goal Status Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl#getGoalStatusArray() - * @generated - */ - EClass GOAL_STATUS_ARRAY = eINSTANCE.getGoalStatusArray(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference GOAL_STATUS_ARRAY__HEADER = eINSTANCE.getGoalStatusArray_Header(); - - /** - * The meta object literal for the '<em><b>Status list</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference GOAL_STATUS_ARRAY__STATUS_LIST = eINSTANCE.getGoalStatusArray_Status_list(); - - } - -} // Actionlib_datatypesPackage diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/GoalID.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/GoalID.java deleted file mode 100644 index 5c2495bcd8b..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/GoalID.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Goal ID</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getStamp <em>Stamp</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalID() - * @model - * @generated - */ -public interface GoalID extends EObject { - /** - * Returns the value of the '<em><b>Stamp</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Stamp</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Stamp</em>' attribute. - * @see #setStamp(Time) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalID_Stamp() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Time" required="true" ordered="false" - * @generated - */ - Object getStamp(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getStamp <em>Stamp</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Stamp</em>' attribute. - * @see #getStamp() - * @generated - */ - void setStamp(Object value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalID_Id() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getId(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(Object value); - -} // GoalID diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/GoalStatus.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/GoalStatus.java deleted file mode 100644 index 1fcbaff64f3..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/GoalStatus.java +++ /dev/null @@ -1,338 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Goal Status</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPENDING <em>PENDING</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getACTIVE <em>ACTIVE</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTED <em>PREEMPTED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getSUCCEEDED <em>SUCCEEDED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getABORTED <em>ABORTED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getREJECTED <em>REJECTED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTING <em>PREEMPTING</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLING <em>RECALLING</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLED <em>RECALLED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getLOST <em>LOST</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getText <em>Text</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getStatus <em>Status</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus() - * @model - * @generated - */ -public interface GoalStatus extends EObject { - /** - * Returns the value of the '<em><b>PENDING</b></em>' attribute. - * The default value is <code>"0"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>PENDING</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>PENDING</em>' attribute. - * @see #setPENDING(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus_PENDING() - * @model default="0" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getPENDING(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPENDING <em>PENDING</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>PENDING</em>' attribute. - * @see #getPENDING() - * @generated - */ - void setPENDING(Object value); - - /** - * Returns the value of the '<em><b>ACTIVE</b></em>' attribute. - * The default value is <code>"1"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>ACTIVE</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>ACTIVE</em>' attribute. - * @see #setACTIVE(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus_ACTIVE() - * @model default="1" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getACTIVE(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getACTIVE <em>ACTIVE</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>ACTIVE</em>' attribute. - * @see #getACTIVE() - * @generated - */ - void setACTIVE(Object value); - - /** - * Returns the value of the '<em><b>PREEMPTED</b></em>' attribute. - * The default value is <code>"2"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>PREEMPTED</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>PREEMPTED</em>' attribute. - * @see #setPREEMPTED(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus_PREEMPTED() - * @model default="2" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getPREEMPTED(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTED <em>PREEMPTED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>PREEMPTED</em>' attribute. - * @see #getPREEMPTED() - * @generated - */ - void setPREEMPTED(Object value); - - /** - * Returns the value of the '<em><b>SUCCEEDED</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>SUCCEEDED</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>SUCCEEDED</em>' attribute. - * @see #setSUCCEEDED(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus_SUCCEEDED() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getSUCCEEDED(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getSUCCEEDED <em>SUCCEEDED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>SUCCEEDED</em>' attribute. - * @see #getSUCCEEDED() - * @generated - */ - void setSUCCEEDED(Object value); - - /** - * Returns the value of the '<em><b>ABORTED</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>ABORTED</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>ABORTED</em>' attribute. - * @see #setABORTED(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus_ABORTED() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getABORTED(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getABORTED <em>ABORTED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>ABORTED</em>' attribute. - * @see #getABORTED() - * @generated - */ - void setABORTED(Object value); - - /** - * Returns the value of the '<em><b>REJECTED</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>REJECTED</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>REJECTED</em>' attribute. - * @see #setREJECTED(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus_REJECTED() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getREJECTED(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getREJECTED <em>REJECTED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>REJECTED</em>' attribute. - * @see #getREJECTED() - * @generated - */ - void setREJECTED(Object value); - - /** - * Returns the value of the '<em><b>PREEMPTING</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>PREEMPTING</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>PREEMPTING</em>' attribute. - * @see #setPREEMPTING(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus_PREEMPTING() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getPREEMPTING(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTING <em>PREEMPTING</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>PREEMPTING</em>' attribute. - * @see #getPREEMPTING() - * @generated - */ - void setPREEMPTING(Object value); - - /** - * Returns the value of the '<em><b>RECALLING</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>RECALLING</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>RECALLING</em>' attribute. - * @see #setRECALLING(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus_RECALLING() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getRECALLING(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLING <em>RECALLING</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>RECALLING</em>' attribute. - * @see #getRECALLING() - * @generated - */ - void setRECALLING(Object value); - - /** - * Returns the value of the '<em><b>RECALLED</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>RECALLED</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>RECALLED</em>' attribute. - * @see #setRECALLED(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus_RECALLED() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getRECALLED(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLED <em>RECALLED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>RECALLED</em>' attribute. - * @see #getRECALLED() - * @generated - */ - void setRECALLED(Object value); - - /** - * Returns the value of the '<em><b>LOST</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>LOST</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>LOST</em>' attribute. - * @see #setLOST(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus_LOST() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getLOST(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getLOST <em>LOST</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>LOST</em>' attribute. - * @see #getLOST() - * @generated - */ - void setLOST(Object value); - - /** - * Returns the value of the '<em><b>Text</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Text</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Text</em>' attribute. - * @see #setText(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus_Text() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getText(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getText <em>Text</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Text</em>' attribute. - * @see #getText() - * @generated - */ - void setText(Object value); - - /** - * Returns the value of the '<em><b>Status</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Status</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Status</em>' attribute. - * @see #setStatus(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatus_Status() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getStatus(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getStatus <em>Status</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Status</em>' attribute. - * @see #getStatus() - * @generated - */ - void setStatus(Object value); - -} // GoalStatus diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/GoalStatusArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/GoalStatusArray.java deleted file mode 100644 index 8e71b2ce7ca..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/GoalStatusArray.java +++ /dev/null @@ -1,67 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Goal Status Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getStatus_list <em>Status list</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatusArray() - * @model - * @generated - */ -public interface GoalStatusArray extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatusArray_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Status list</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Status list</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Status list</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatusArray_Status_list() - * @model containment="true" ordered="false" - * @generated - */ - EList<GoalStatus> getStatus_list(); - -} // GoalStatusArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/Actionlib_datatypesFactoryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/Actionlib_datatypesFactoryImpl.java deleted file mode 100644 index af3ef6ab4b3..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/Actionlib_datatypesFactoryImpl.java +++ /dev/null @@ -1,118 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Actionlib_datatypesFactoryImpl extends EFactoryImpl implements Actionlib_datatypesFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static Actionlib_datatypesFactory init() { - try { - Actionlib_datatypesFactory theActionlib_datatypesFactory = (Actionlib_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Actionlib_datatypesPackage.eNS_URI); - if (theActionlib_datatypesFactory != null) { - return theActionlib_datatypesFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new Actionlib_datatypesFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Actionlib_datatypesFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case Actionlib_datatypesPackage.GOAL_ID: return createGoalID(); - case Actionlib_datatypesPackage.GOAL_STATUS: return createGoalStatus(); - case Actionlib_datatypesPackage.GOAL_STATUS_ARRAY: return createGoalStatusArray(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public GoalID createGoalID() { - GoalIDImpl goalID = new GoalIDImpl(); - return goalID; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public GoalStatus createGoalStatus() { - GoalStatusImpl goalStatus = new GoalStatusImpl(); - return goalStatus; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public GoalStatusArray createGoalStatusArray() { - GoalStatusArrayImpl goalStatusArray = new GoalStatusArrayImpl(); - return goalStatusArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Actionlib_datatypesPackage getActionlib_datatypesPackage() { - return (Actionlib_datatypesPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static Actionlib_datatypesPackage getPackage() { - return Actionlib_datatypesPackage.eINSTANCE; - } - -} // Actionlib_datatypesFactoryImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/Actionlib_datatypesPackageImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/Actionlib_datatypesPackageImpl.java deleted file mode 100644 index 29b3d360de5..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/Actionlib_datatypesPackageImpl.java +++ /dev/null @@ -1,431 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.papyrus.RobotML.RobotMLPackage; -import org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Actionlib_datatypesPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass goalIDEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass goalStatusEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass goalStatusArrayEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#eNS_URI - * @see #init() - * @generated - */ - private Actionlib_datatypesPackageImpl() { - super(eNS_URI, Actionlib_datatypesFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link Actionlib_datatypesPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> <!-- - * end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static Actionlib_datatypesPackage init() { - if (isInited) return (Actionlib_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI); - - // Obtain or create and register package - Actionlib_datatypesPackageImpl theActionlib_datatypesPackage = (Actionlib_datatypesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Actionlib_datatypesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Actionlib_datatypesPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - RobotMLPackageImpl theRobotMLPackage = (RobotMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) instanceof RobotMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) : RobotMLPackage.eINSTANCE); - Diagnostic_datatypesPackageImpl theDiagnostic_datatypesPackage = (Diagnostic_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) instanceof Diagnostic_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) : Diagnostic_datatypesPackage.eINSTANCE); - Geometry_datatypesPackageImpl theGeometry_datatypesPackage = (Geometry_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) instanceof Geometry_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) : Geometry_datatypesPackage.eINSTANCE); - Nav_datatypesPackageImpl theNav_datatypesPackage = (Nav_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) instanceof Nav_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) : Nav_datatypesPackage.eINSTANCE); - Sensor_datatypesPackageImpl theSensor_datatypesPackage = (Sensor_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) instanceof Sensor_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) : Sensor_datatypesPackage.eINSTANCE); - Oarp1_datatypesPackageImpl theOarp1_datatypesPackage = (Oarp1_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) instanceof Oarp1_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) : Oarp1_datatypesPackage.eINSTANCE); - Oarp4_datatypesPackageImpl theOarp4_datatypesPackage = (Oarp4_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) instanceof Oarp4_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) : Oarp4_datatypesPackage.eINSTANCE); - Std_datatypesPackageImpl theStd_datatypesPackage = (Std_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) instanceof Std_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) : Std_datatypesPackage.eINSTANCE); - - // Create package meta-data objects - theActionlib_datatypesPackage.createPackageContents(); - theRobotMLPackage.createPackageContents(); - theDiagnostic_datatypesPackage.createPackageContents(); - theGeometry_datatypesPackage.createPackageContents(); - theNav_datatypesPackage.createPackageContents(); - theSensor_datatypesPackage.createPackageContents(); - theOarp1_datatypesPackage.createPackageContents(); - theOarp4_datatypesPackage.createPackageContents(); - theStd_datatypesPackage.createPackageContents(); - - // Initialize created meta-data - theActionlib_datatypesPackage.initializePackageContents(); - theRobotMLPackage.initializePackageContents(); - theDiagnostic_datatypesPackage.initializePackageContents(); - theGeometry_datatypesPackage.initializePackageContents(); - theNav_datatypesPackage.initializePackageContents(); - theSensor_datatypesPackage.initializePackageContents(); - theOarp1_datatypesPackage.initializePackageContents(); - theOarp4_datatypesPackage.initializePackageContents(); - theStd_datatypesPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theActionlib_datatypesPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(Actionlib_datatypesPackage.eNS_URI, theActionlib_datatypesPackage); - return theActionlib_datatypesPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getGoalID() { - return goalIDEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalID_Stamp() { - return (EAttribute)goalIDEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalID_Id() { - return (EAttribute)goalIDEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getGoalStatus() { - return goalStatusEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalStatus_PENDING() { - return (EAttribute)goalStatusEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalStatus_ACTIVE() { - return (EAttribute)goalStatusEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalStatus_PREEMPTED() { - return (EAttribute)goalStatusEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalStatus_SUCCEEDED() { - return (EAttribute)goalStatusEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalStatus_ABORTED() { - return (EAttribute)goalStatusEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalStatus_REJECTED() { - return (EAttribute)goalStatusEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalStatus_PREEMPTING() { - return (EAttribute)goalStatusEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalStatus_RECALLING() { - return (EAttribute)goalStatusEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalStatus_RECALLED() { - return (EAttribute)goalStatusEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalStatus_LOST() { - return (EAttribute)goalStatusEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalStatus_Text() { - return (EAttribute)goalStatusEClass.getEStructuralFeatures().get(10); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGoalStatus_Status() { - return (EAttribute)goalStatusEClass.getEStructuralFeatures().get(11); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getGoalStatusArray() { - return goalStatusArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getGoalStatusArray_Header() { - return (EReference)goalStatusArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getGoalStatusArray_Status_list() { - return (EReference)goalStatusArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Actionlib_datatypesFactory getActionlib_datatypesFactory() { - return (Actionlib_datatypesFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - goalIDEClass = createEClass(GOAL_ID); - createEAttribute(goalIDEClass, GOAL_ID__STAMP); - createEAttribute(goalIDEClass, GOAL_ID__ID); - - goalStatusEClass = createEClass(GOAL_STATUS); - createEAttribute(goalStatusEClass, GOAL_STATUS__PENDING); - createEAttribute(goalStatusEClass, GOAL_STATUS__ACTIVE); - createEAttribute(goalStatusEClass, GOAL_STATUS__PREEMPTED); - createEAttribute(goalStatusEClass, GOAL_STATUS__SUCCEEDED); - createEAttribute(goalStatusEClass, GOAL_STATUS__ABORTED); - createEAttribute(goalStatusEClass, GOAL_STATUS__REJECTED); - createEAttribute(goalStatusEClass, GOAL_STATUS__PREEMPTING); - createEAttribute(goalStatusEClass, GOAL_STATUS__RECALLING); - createEAttribute(goalStatusEClass, GOAL_STATUS__RECALLED); - createEAttribute(goalStatusEClass, GOAL_STATUS__LOST); - createEAttribute(goalStatusEClass, GOAL_STATUS__TEXT); - createEAttribute(goalStatusEClass, GOAL_STATUS__STATUS); - - goalStatusArrayEClass = createEClass(GOAL_STATUS_ARRAY); - createEReference(goalStatusArrayEClass, GOAL_STATUS_ARRAY__HEADER); - createEReference(goalStatusArrayEClass, GOAL_STATUS_ARRAY__STATUS_LIST); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - Std_datatypesPackage theStd_datatypesPackage = (Std_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(goalIDEClass, GoalID.class, "GoalID", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getGoalID_Stamp(), theStd_datatypesPackage.getTime(), "stamp", null, 1, 1, GoalID.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGoalID_Id(), theStd_datatypesPackage.getString(), "id", null, 1, 1, GoalID.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(goalStatusEClass, GoalStatus.class, "GoalStatus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getGoalStatus_PENDING(), theStd_datatypesPackage.getUInt8(), "PENDING", "0", 1, 1, GoalStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGoalStatus_ACTIVE(), theStd_datatypesPackage.getUInt8(), "ACTIVE", "1", 1, 1, GoalStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGoalStatus_PREEMPTED(), theStd_datatypesPackage.getUInt8(), "PREEMPTED", "2", 1, 1, GoalStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGoalStatus_SUCCEEDED(), theStd_datatypesPackage.getUInt8(), "SUCCEEDED", null, 1, 1, GoalStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGoalStatus_ABORTED(), theStd_datatypesPackage.getUInt8(), "ABORTED", null, 1, 1, GoalStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGoalStatus_REJECTED(), theStd_datatypesPackage.getUInt8(), "REJECTED", null, 1, 1, GoalStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGoalStatus_PREEMPTING(), theStd_datatypesPackage.getUInt8(), "PREEMPTING", null, 1, 1, GoalStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGoalStatus_RECALLING(), theStd_datatypesPackage.getUInt8(), "RECALLING", null, 1, 1, GoalStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGoalStatus_RECALLED(), theStd_datatypesPackage.getUInt8(), "RECALLED", null, 1, 1, GoalStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGoalStatus_LOST(), theStd_datatypesPackage.getUInt8(), "LOST", null, 1, 1, GoalStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGoalStatus_Text(), theStd_datatypesPackage.getString(), "text", null, 1, 1, GoalStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGoalStatus_Status(), theStd_datatypesPackage.getUInt8(), "status", null, 1, 1, GoalStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(goalStatusArrayEClass, GoalStatusArray.class, "GoalStatusArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getGoalStatusArray_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, GoalStatusArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getGoalStatusArray_Status_list(), this.getGoalStatus(), null, "status_list", null, 0, -1, GoalStatusArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} // Actionlib_datatypesPackageImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/GoalIDImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/GoalIDImpl.java deleted file mode 100644 index 9aea9dd592b..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/GoalIDImpl.java +++ /dev/null @@ -1,214 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_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.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Goal ID</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl#getStamp <em>Stamp</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class GoalIDImpl extends MinimalEObjectImpl.Container implements GoalID { - /** - * The default value of the '{@link #getStamp() <em>Stamp</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStamp() - * @generated - * @ordered - */ - protected static final Object STAMP_EDEFAULT = null; - - /** - * The cached value of the '{@link #getStamp() <em>Stamp</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStamp() - * @generated - * @ordered - */ - protected Object stamp = STAMP_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final Object ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected Object id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected GoalIDImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Actionlib_datatypesPackage.Literals.GOAL_ID; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getStamp() { - return stamp; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setStamp(Object newStamp) { - Object oldStamp = stamp; - stamp = newStamp; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_ID__STAMP, oldStamp, stamp)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(Object newId) { - Object oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_ID__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Actionlib_datatypesPackage.GOAL_ID__STAMP: - return getStamp(); - case Actionlib_datatypesPackage.GOAL_ID__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Actionlib_datatypesPackage.GOAL_ID__STAMP: - setStamp((Object)newValue); - return; - case Actionlib_datatypesPackage.GOAL_ID__ID: - setId((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Actionlib_datatypesPackage.GOAL_ID__STAMP: - setStamp(STAMP_EDEFAULT); - return; - case Actionlib_datatypesPackage.GOAL_ID__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Actionlib_datatypesPackage.GOAL_ID__STAMP: - return STAMP_EDEFAULT == null ? stamp != null : !STAMP_EDEFAULT.equals(stamp); - case Actionlib_datatypesPackage.GOAL_ID__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - 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(" (stamp: "); - result.append(stamp); - result.append(", id: "); - result.append(id); - result.append(')'); - return result.toString(); - } - -} // GoalIDImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/GoalStatusArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/GoalStatusArrayImpl.java deleted file mode 100644 index 664b148f3cb..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/GoalStatusArrayImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.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.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Goal Status Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusArrayImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusArrayImpl#getStatus_list <em>Status list</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class GoalStatusArrayImpl extends MinimalEObjectImpl.Container implements GoalStatusArray { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getStatus_list() <em>Status list</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStatus_list() - * @generated - * @ordered - */ - protected EList<GoalStatus> status_list; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected GoalStatusArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Actionlib_datatypesPackage.Literals.GOAL_STATUS_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<GoalStatus> getStatus_list() { - if (status_list == null) { - status_list = new EObjectContainmentEList<GoalStatus>(GoalStatus.class, this, Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__STATUS_LIST); - } - return status_list; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__HEADER: - return basicSetHeader(null, msgs); - case Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__STATUS_LIST: - return ((InternalEList<?>)getStatus_list()).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 Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__HEADER: - return getHeader(); - case Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__STATUS_LIST: - return getStatus_list(); - } - 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 Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__HEADER: - setHeader((Header)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__STATUS_LIST: - getStatus_list().clear(); - getStatus_list().addAll((Collection<? extends GoalStatus>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__HEADER: - setHeader((Header)null); - return; - case Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__STATUS_LIST: - getStatus_list().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__HEADER: - return header != null; - case Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__STATUS_LIST: - return status_list != null && !status_list.isEmpty(); - } - return super.eIsSet(featureID); - } - -} // GoalStatusArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/GoalStatusImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/GoalStatusImpl.java deleted file mode 100644 index a4e9342452a..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/GoalStatusImpl.java +++ /dev/null @@ -1,756 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_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.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Goal Status</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getPENDING <em>PENDING</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getACTIVE <em>ACTIVE</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getPREEMPTED <em>PREEMPTED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getSUCCEEDED <em>SUCCEEDED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getABORTED <em>ABORTED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getREJECTED <em>REJECTED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getPREEMPTING <em>PREEMPTING</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getRECALLING <em>RECALLING</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getRECALLED <em>RECALLED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getLOST <em>LOST</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getText <em>Text</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getStatus <em>Status</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class GoalStatusImpl extends MinimalEObjectImpl.Container implements GoalStatus { - /** - * The default value of the '{@link #getPENDING() <em>PENDING</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPENDING() - * @generated - * @ordered - */ - protected static final Object PENDING_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getUInt8(), "0"); - - /** - * The cached value of the '{@link #getPENDING() <em>PENDING</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPENDING() - * @generated - * @ordered - */ - protected Object pending = PENDING_EDEFAULT; - - /** - * The default value of the '{@link #getACTIVE() <em>ACTIVE</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getACTIVE() - * @generated - * @ordered - */ - protected static final Object ACTIVE_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getUInt8(), "1"); - - /** - * The cached value of the '{@link #getACTIVE() <em>ACTIVE</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getACTIVE() - * @generated - * @ordered - */ - protected Object active = ACTIVE_EDEFAULT; - - /** - * The default value of the '{@link #getPREEMPTED() <em>PREEMPTED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPREEMPTED() - * @generated - * @ordered - */ - protected static final Object PREEMPTED_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getUInt8(), "2"); - - /** - * The cached value of the '{@link #getPREEMPTED() <em>PREEMPTED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPREEMPTED() - * @generated - * @ordered - */ - protected Object preempted = PREEMPTED_EDEFAULT; - - /** - * The default value of the '{@link #getSUCCEEDED() <em>SUCCEEDED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSUCCEEDED() - * @generated - * @ordered - */ - protected static final Object SUCCEEDED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSUCCEEDED() <em>SUCCEEDED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSUCCEEDED() - * @generated - * @ordered - */ - protected Object succeeded = SUCCEEDED_EDEFAULT; - - /** - * The default value of the '{@link #getABORTED() <em>ABORTED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getABORTED() - * @generated - * @ordered - */ - protected static final Object ABORTED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getABORTED() <em>ABORTED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getABORTED() - * @generated - * @ordered - */ - protected Object aborted = ABORTED_EDEFAULT; - - /** - * The default value of the '{@link #getREJECTED() <em>REJECTED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getREJECTED() - * @generated - * @ordered - */ - protected static final Object REJECTED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getREJECTED() <em>REJECTED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getREJECTED() - * @generated - * @ordered - */ - protected Object rejected = REJECTED_EDEFAULT; - - /** - * The default value of the '{@link #getPREEMPTING() <em>PREEMPTING</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPREEMPTING() - * @generated - * @ordered - */ - protected static final Object PREEMPTING_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPREEMPTING() <em>PREEMPTING</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPREEMPTING() - * @generated - * @ordered - */ - protected Object preempting = PREEMPTING_EDEFAULT; - - /** - * The default value of the '{@link #getRECALLING() <em>RECALLING</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRECALLING() - * @generated - * @ordered - */ - protected static final Object RECALLING_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRECALLING() <em>RECALLING</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRECALLING() - * @generated - * @ordered - */ - protected Object recalling = RECALLING_EDEFAULT; - - /** - * The default value of the '{@link #getRECALLED() <em>RECALLED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRECALLED() - * @generated - * @ordered - */ - protected static final Object RECALLED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRECALLED() <em>RECALLED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRECALLED() - * @generated - * @ordered - */ - protected Object recalled = RECALLED_EDEFAULT; - - /** - * The default value of the '{@link #getLOST() <em>LOST</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLOST() - * @generated - * @ordered - */ - protected static final Object LOST_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLOST() <em>LOST</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLOST() - * @generated - * @ordered - */ - protected Object lost = LOST_EDEFAULT; - - /** - * The default value of the '{@link #getText() <em>Text</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getText() - * @generated - * @ordered - */ - protected static final Object TEXT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getText() <em>Text</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getText() - * @generated - * @ordered - */ - protected Object text = TEXT_EDEFAULT; - - /** - * The default value of the '{@link #getStatus() <em>Status</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStatus() - * @generated - * @ordered - */ - protected static final Object STATUS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getStatus() <em>Status</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStatus() - * @generated - * @ordered - */ - protected Object status = STATUS_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected GoalStatusImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Actionlib_datatypesPackage.Literals.GOAL_STATUS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getPENDING() { - return pending; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPENDING(Object newPENDING) { - Object oldPENDING = pending; - pending = newPENDING; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__PENDING, oldPENDING, pending)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getACTIVE() { - return active; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setACTIVE(Object newACTIVE) { - Object oldACTIVE = active; - active = newACTIVE; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__ACTIVE, oldACTIVE, active)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getPREEMPTED() { - return preempted; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPREEMPTED(Object newPREEMPTED) { - Object oldPREEMPTED = preempted; - preempted = newPREEMPTED; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTED, oldPREEMPTED, preempted)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSUCCEEDED() { - return succeeded; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSUCCEEDED(Object newSUCCEEDED) { - Object oldSUCCEEDED = succeeded; - succeeded = newSUCCEEDED; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__SUCCEEDED, oldSUCCEEDED, succeeded)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getABORTED() { - return aborted; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setABORTED(Object newABORTED) { - Object oldABORTED = aborted; - aborted = newABORTED; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__ABORTED, oldABORTED, aborted)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getREJECTED() { - return rejected; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setREJECTED(Object newREJECTED) { - Object oldREJECTED = rejected; - rejected = newREJECTED; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__REJECTED, oldREJECTED, rejected)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getPREEMPTING() { - return preempting; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPREEMPTING(Object newPREEMPTING) { - Object oldPREEMPTING = preempting; - preempting = newPREEMPTING; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTING, oldPREEMPTING, preempting)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getRECALLING() { - return recalling; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRECALLING(Object newRECALLING) { - Object oldRECALLING = recalling; - recalling = newRECALLING; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__RECALLING, oldRECALLING, recalling)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getRECALLED() { - return recalled; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRECALLED(Object newRECALLED) { - Object oldRECALLED = recalled; - recalled = newRECALLED; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__RECALLED, oldRECALLED, recalled)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getLOST() { - return lost; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLOST(Object newLOST) { - Object oldLOST = lost; - lost = newLOST; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__LOST, oldLOST, lost)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getText() { - return text; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setText(Object newText) { - Object oldText = text; - text = newText; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__TEXT, oldText, text)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getStatus() { - return status; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setStatus(Object newStatus) { - Object oldStatus = status; - status = newStatus; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__STATUS, oldStatus, status)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Actionlib_datatypesPackage.GOAL_STATUS__PENDING: - return getPENDING(); - case Actionlib_datatypesPackage.GOAL_STATUS__ACTIVE: - return getACTIVE(); - case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTED: - return getPREEMPTED(); - case Actionlib_datatypesPackage.GOAL_STATUS__SUCCEEDED: - return getSUCCEEDED(); - case Actionlib_datatypesPackage.GOAL_STATUS__ABORTED: - return getABORTED(); - case Actionlib_datatypesPackage.GOAL_STATUS__REJECTED: - return getREJECTED(); - case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTING: - return getPREEMPTING(); - case Actionlib_datatypesPackage.GOAL_STATUS__RECALLING: - return getRECALLING(); - case Actionlib_datatypesPackage.GOAL_STATUS__RECALLED: - return getRECALLED(); - case Actionlib_datatypesPackage.GOAL_STATUS__LOST: - return getLOST(); - case Actionlib_datatypesPackage.GOAL_STATUS__TEXT: - return getText(); - case Actionlib_datatypesPackage.GOAL_STATUS__STATUS: - return getStatus(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Actionlib_datatypesPackage.GOAL_STATUS__PENDING: - setPENDING((Object)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__ACTIVE: - setACTIVE((Object)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTED: - setPREEMPTED((Object)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__SUCCEEDED: - setSUCCEEDED((Object)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__ABORTED: - setABORTED((Object)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__REJECTED: - setREJECTED((Object)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTING: - setPREEMPTING((Object)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__RECALLING: - setRECALLING((Object)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__RECALLED: - setRECALLED((Object)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__LOST: - setLOST((Object)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__TEXT: - setText((Object)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__STATUS: - setStatus((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Actionlib_datatypesPackage.GOAL_STATUS__PENDING: - setPENDING(PENDING_EDEFAULT); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__ACTIVE: - setACTIVE(ACTIVE_EDEFAULT); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTED: - setPREEMPTED(PREEMPTED_EDEFAULT); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__SUCCEEDED: - setSUCCEEDED(SUCCEEDED_EDEFAULT); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__ABORTED: - setABORTED(ABORTED_EDEFAULT); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__REJECTED: - setREJECTED(REJECTED_EDEFAULT); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTING: - setPREEMPTING(PREEMPTING_EDEFAULT); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__RECALLING: - setRECALLING(RECALLING_EDEFAULT); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__RECALLED: - setRECALLED(RECALLED_EDEFAULT); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__LOST: - setLOST(LOST_EDEFAULT); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__TEXT: - setText(TEXT_EDEFAULT); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__STATUS: - setStatus(STATUS_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Actionlib_datatypesPackage.GOAL_STATUS__PENDING: - return PENDING_EDEFAULT == null ? pending != null : !PENDING_EDEFAULT.equals(pending); - case Actionlib_datatypesPackage.GOAL_STATUS__ACTIVE: - return ACTIVE_EDEFAULT == null ? active != null : !ACTIVE_EDEFAULT.equals(active); - case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTED: - return PREEMPTED_EDEFAULT == null ? preempted != null : !PREEMPTED_EDEFAULT.equals(preempted); - case Actionlib_datatypesPackage.GOAL_STATUS__SUCCEEDED: - return SUCCEEDED_EDEFAULT == null ? succeeded != null : !SUCCEEDED_EDEFAULT.equals(succeeded); - case Actionlib_datatypesPackage.GOAL_STATUS__ABORTED: - return ABORTED_EDEFAULT == null ? aborted != null : !ABORTED_EDEFAULT.equals(aborted); - case Actionlib_datatypesPackage.GOAL_STATUS__REJECTED: - return REJECTED_EDEFAULT == null ? rejected != null : !REJECTED_EDEFAULT.equals(rejected); - case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTING: - return PREEMPTING_EDEFAULT == null ? preempting != null : !PREEMPTING_EDEFAULT.equals(preempting); - case Actionlib_datatypesPackage.GOAL_STATUS__RECALLING: - return RECALLING_EDEFAULT == null ? recalling != null : !RECALLING_EDEFAULT.equals(recalling); - case Actionlib_datatypesPackage.GOAL_STATUS__RECALLED: - return RECALLED_EDEFAULT == null ? recalled != null : !RECALLED_EDEFAULT.equals(recalled); - case Actionlib_datatypesPackage.GOAL_STATUS__LOST: - return LOST_EDEFAULT == null ? lost != null : !LOST_EDEFAULT.equals(lost); - case Actionlib_datatypesPackage.GOAL_STATUS__TEXT: - return TEXT_EDEFAULT == null ? text != null : !TEXT_EDEFAULT.equals(text); - case Actionlib_datatypesPackage.GOAL_STATUS__STATUS: - return STATUS_EDEFAULT == null ? status != null : !STATUS_EDEFAULT.equals(status); - } - 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(" (PENDING: "); - result.append(pending); - result.append(", ACTIVE: "); - result.append(active); - result.append(", PREEMPTED: "); - result.append(preempted); - result.append(", SUCCEEDED: "); - result.append(succeeded); - result.append(", ABORTED: "); - result.append(aborted); - result.append(", REJECTED: "); - result.append(rejected); - result.append(", PREEMPTING: "); - result.append(preempting); - result.append(", RECALLING: "); - result.append(recalling); - result.append(", RECALLED: "); - result.append(recalled); - result.append(", LOST: "); - result.append(lost); - result.append(", text: "); - result.append(text); - result.append(", status: "); - result.append(status); - result.append(')'); - return result.toString(); - } - -} // GoalStatusImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/util/Actionlib_datatypesAdapterFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/util/Actionlib_datatypesAdapterFactory.java deleted file mode 100644 index 8891763331d..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/util/Actionlib_datatypesAdapterFactory.java +++ /dev/null @@ -1,156 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage - * @generated - */ -public class Actionlib_datatypesAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Actionlib_datatypesPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Actionlib_datatypesAdapterFactory() { - if (modelPackage == null) { - modelPackage = Actionlib_datatypesPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Actionlib_datatypesSwitch<Adapter> modelSwitch = - new Actionlib_datatypesSwitch<Adapter>() { - @Override - public Adapter caseGoalID(GoalID object) { - return createGoalIDAdapter(); - } - @Override - public Adapter caseGoalStatus(GoalStatus object) { - return createGoalStatusAdapter(); - } - @Override - public Adapter caseGoalStatusArray(GoalStatusArray object) { - return createGoalStatusArrayAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID <em>Goal ID</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID - * @generated - */ - public Adapter createGoalIDAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus <em>Goal Status</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus - * @generated - */ - public Adapter createGoalStatusAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray <em>Goal Status Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray - * @generated - */ - public Adapter createGoalStatusArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} // Actionlib_datatypesAdapterFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/util/Actionlib_datatypesSwitch.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/util/Actionlib_datatypesSwitch.java deleted file mode 100644 index b8dbcf2d57f..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/util/Actionlib_datatypesSwitch.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.util.Switch; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage - * @generated - */ -public class Actionlib_datatypesSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Actionlib_datatypesPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Actionlib_datatypesSwitch() { - if (modelPackage == null) { - modelPackage = Actionlib_datatypesPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case Actionlib_datatypesPackage.GOAL_ID: { - GoalID goalID = (GoalID)theEObject; - T result = caseGoalID(goalID); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Actionlib_datatypesPackage.GOAL_STATUS: { - GoalStatus goalStatus = (GoalStatus)theEObject; - T result = caseGoalStatus(goalStatus); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Actionlib_datatypesPackage.GOAL_STATUS_ARRAY: { - GoalStatusArray goalStatusArray = (GoalStatusArray)theEObject; - T result = caseGoalStatusArray(goalStatusArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Goal ID</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Goal ID</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGoalID(GoalID object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Goal Status</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Goal Status</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGoalStatus(GoalStatus object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Goal Status Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Goal Status Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGoalStatusArray(GoalStatusArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} // Actionlib_datatypesSwitch diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/DiagnosticArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/DiagnosticArray.java deleted file mode 100644 index 0d5c3ee9f99..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/DiagnosticArray.java +++ /dev/null @@ -1,83 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Diagnostic Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getStatus <em>Status</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getValues <em>Values</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticArray() - * @model - * @generated - */ -public interface DiagnosticArray extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticArray_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Status</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Status</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Status</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticArray_Status() - * @model containment="true" ordered="false" - * @generated - */ - EList<DiagnosticStatus> getStatus(); - - /** - * Returns the value of the '<em><b>Values</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Values</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Values</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticArray_Values() - * @model containment="true" ordered="false" - * @generated - */ - EList<KeyValue> getValues(); - -} // DiagnosticArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/DiagnosticStatus.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/DiagnosticStatus.java deleted file mode 100644 index 92f357a1495..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/DiagnosticStatus.java +++ /dev/null @@ -1,222 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Diagnostic Status</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getOK <em>OK</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getWARN <em>WARN</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getERROR <em>ERROR</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getLevel <em>Level</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getMessage <em>Message</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getHardware_id <em>Hardware id</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getValues <em>Values</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticStatus() - * @model - * @generated - */ -public interface DiagnosticStatus extends EObject { - /** - * Returns the value of the '<em><b>OK</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>OK</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>OK</em>' attribute. - * @see #setOK(Byte) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticStatus_OK() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Byte" required="true" ordered="false" - * @generated - */ - Object getOK(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getOK <em>OK</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>OK</em>' attribute. - * @see #getOK() - * @generated - */ - void setOK(Object value); - - /** - * Returns the value of the '<em><b>WARN</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>WARN</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>WARN</em>' attribute. - * @see #setWARN(Byte) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticStatus_WARN() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Byte" required="true" ordered="false" - * @generated - */ - Object getWARN(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getWARN <em>WARN</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>WARN</em>' attribute. - * @see #getWARN() - * @generated - */ - void setWARN(Object value); - - /** - * Returns the value of the '<em><b>ERROR</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>ERROR</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>ERROR</em>' attribute. - * @see #setERROR(Byte) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticStatus_ERROR() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Byte" required="true" ordered="false" - * @generated - */ - Object getERROR(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getERROR <em>ERROR</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>ERROR</em>' attribute. - * @see #getERROR() - * @generated - */ - void setERROR(Object value); - - /** - * Returns the value of the '<em><b>Level</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Level</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Level</em>' attribute. - * @see #setLevel(Byte) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticStatus_Level() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Byte" required="true" ordered="false" - * @generated - */ - Object getLevel(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getLevel <em>Level</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Level</em>' attribute. - * @see #getLevel() - * @generated - */ - void setLevel(Object value); - - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticStatus_Name() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getName(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(Object value); - - /** - * Returns the value of the '<em><b>Message</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Message</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Message</em>' attribute. - * @see #setMessage(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticStatus_Message() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getMessage(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getMessage <em>Message</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Message</em>' attribute. - * @see #getMessage() - * @generated - */ - void setMessage(Object value); - - /** - * Returns the value of the '<em><b>Hardware id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Hardware id</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Hardware id</em>' attribute. - * @see #setHardware_id(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticStatus_Hardware_id() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getHardware_id(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getHardware_id <em>Hardware id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Hardware id</em>' attribute. - * @see #getHardware_id() - * @generated - */ - void setHardware_id(Object value); - - /** - * Returns the value of the '<em><b>Values</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Values</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Values</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticStatus_Values() - * @model containment="true" ordered="false" - * @generated - */ - EList<KeyValue> getValues(); - -} // DiagnosticStatus diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/Diagnostic_datatypesFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/Diagnostic_datatypesFactory.java deleted file mode 100644 index ab9993aa557..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/Diagnostic_datatypesFactory.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage - * @generated - */ -public interface Diagnostic_datatypesFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Diagnostic_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Diagnostic Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Diagnostic Array</em>'. - * @generated - */ - DiagnosticArray createDiagnosticArray(); - - /** - * Returns a new object of class '<em>Diagnostic Status</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Diagnostic Status</em>'. - * @generated - */ - DiagnosticStatus createDiagnosticStatus(); - - /** - * Returns a new object of class '<em>Key Value</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Key Value</em>'. - * @generated - */ - KeyValue createKeyValue(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - Diagnostic_datatypesPackage getDiagnostic_datatypesPackage(); - -} // Diagnostic_datatypesFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/Diagnostic_datatypesPackage.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/Diagnostic_datatypesPackage.java deleted file mode 100644 index 28be8ef0ea0..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/Diagnostic_datatypesPackage.java +++ /dev/null @@ -1,593 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesFactory - * @model kind="package" - * @generated - */ -public interface Diagnostic_datatypesPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "diagnostic_datatypes"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes.ecore"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Diagnostic_datatypesPackage eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl <em>Diagnostic Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl#getDiagnosticArray() - * @generated - */ - int DIAGNOSTIC_ARRAY = 0; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_ARRAY__HEADER = 0; - - /** - * The feature id for the '<em><b>Status</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_ARRAY__STATUS = 1; - - /** - * The feature id for the '<em><b>Values</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_ARRAY__VALUES = 2; - - /** - * The number of structural features of the '<em>Diagnostic Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_ARRAY_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Diagnostic Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl <em>Diagnostic Status</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl#getDiagnosticStatus() - * @generated - */ - int DIAGNOSTIC_STATUS = 1; - - /** - * The feature id for the '<em><b>OK</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_STATUS__OK = 0; - - /** - * The feature id for the '<em><b>WARN</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_STATUS__WARN = 1; - - /** - * The feature id for the '<em><b>ERROR</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_STATUS__ERROR = 2; - - /** - * The feature id for the '<em><b>Level</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_STATUS__LEVEL = 3; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_STATUS__NAME = 4; - - /** - * The feature id for the '<em><b>Message</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_STATUS__MESSAGE = 5; - - /** - * The feature id for the '<em><b>Hardware id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_STATUS__HARDWARE_ID = 6; - - /** - * The feature id for the '<em><b>Values</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_STATUS__VALUES = 7; - - /** - * The number of structural features of the '<em>Diagnostic Status</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_STATUS_FEATURE_COUNT = 8; - - /** - * The number of operations of the '<em>Diagnostic Status</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIAGNOSTIC_STATUS_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.KeyValueImpl <em>Key Value</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.KeyValueImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl#getKeyValue() - * @generated - */ - int KEY_VALUE = 2; - - /** - * The feature id for the '<em><b>Key</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int KEY_VALUE__KEY = 0; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int KEY_VALUE__VALUE = 1; - - /** - * The number of structural features of the '<em>Key Value</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int KEY_VALUE_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Key Value</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int KEY_VALUE_OPERATION_COUNT = 0; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray <em>Diagnostic Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Diagnostic Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray - * @generated - */ - EClass getDiagnosticArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getHeader() - * @see #getDiagnosticArray() - * @generated - */ - EReference getDiagnosticArray_Header(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getStatus <em>Status</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Status</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getStatus() - * @see #getDiagnosticArray() - * @generated - */ - EReference getDiagnosticArray_Status(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getValues <em>Values</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Values</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getValues() - * @see #getDiagnosticArray() - * @generated - */ - EReference getDiagnosticArray_Values(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus <em>Diagnostic Status</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Diagnostic Status</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus - * @generated - */ - EClass getDiagnosticStatus(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getOK <em>OK</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>OK</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getOK() - * @see #getDiagnosticStatus() - * @generated - */ - EAttribute getDiagnosticStatus_OK(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getWARN <em>WARN</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>WARN</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getWARN() - * @see #getDiagnosticStatus() - * @generated - */ - EAttribute getDiagnosticStatus_WARN(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getERROR <em>ERROR</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>ERROR</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getERROR() - * @see #getDiagnosticStatus() - * @generated - */ - EAttribute getDiagnosticStatus_ERROR(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getLevel <em>Level</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Level</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getLevel() - * @see #getDiagnosticStatus() - * @generated - */ - EAttribute getDiagnosticStatus_Level(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getName() - * @see #getDiagnosticStatus() - * @generated - */ - EAttribute getDiagnosticStatus_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getMessage <em>Message</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Message</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getMessage() - * @see #getDiagnosticStatus() - * @generated - */ - EAttribute getDiagnosticStatus_Message(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getHardware_id <em>Hardware id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Hardware id</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getHardware_id() - * @see #getDiagnosticStatus() - * @generated - */ - EAttribute getDiagnosticStatus_Hardware_id(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getValues <em>Values</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Values</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getValues() - * @see #getDiagnosticStatus() - * @generated - */ - EReference getDiagnosticStatus_Values(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue <em>Key Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Key Value</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue - * @generated - */ - EClass getKeyValue(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getKey <em>Key</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Key</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getKey() - * @see #getKeyValue() - * @generated - */ - EAttribute getKeyValue_Key(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getValue() - * @see #getKeyValue() - * @generated - */ - EAttribute getKeyValue_Value(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - Diagnostic_datatypesFactory getDiagnostic_datatypesFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl <em>Diagnostic Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl#getDiagnosticArray() - * @generated - */ - EClass DIAGNOSTIC_ARRAY = eINSTANCE.getDiagnosticArray(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DIAGNOSTIC_ARRAY__HEADER = eINSTANCE.getDiagnosticArray_Header(); - - /** - * The meta object literal for the '<em><b>Status</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DIAGNOSTIC_ARRAY__STATUS = eINSTANCE.getDiagnosticArray_Status(); - - /** - * The meta object literal for the '<em><b>Values</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DIAGNOSTIC_ARRAY__VALUES = eINSTANCE.getDiagnosticArray_Values(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl <em>Diagnostic Status</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl#getDiagnosticStatus() - * @generated - */ - EClass DIAGNOSTIC_STATUS = eINSTANCE.getDiagnosticStatus(); - - /** - * The meta object literal for the '<em><b>OK</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DIAGNOSTIC_STATUS__OK = eINSTANCE.getDiagnosticStatus_OK(); - - /** - * The meta object literal for the '<em><b>WARN</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DIAGNOSTIC_STATUS__WARN = eINSTANCE.getDiagnosticStatus_WARN(); - - /** - * The meta object literal for the '<em><b>ERROR</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DIAGNOSTIC_STATUS__ERROR = eINSTANCE.getDiagnosticStatus_ERROR(); - - /** - * The meta object literal for the '<em><b>Level</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DIAGNOSTIC_STATUS__LEVEL = eINSTANCE.getDiagnosticStatus_Level(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DIAGNOSTIC_STATUS__NAME = eINSTANCE.getDiagnosticStatus_Name(); - - /** - * The meta object literal for the '<em><b>Message</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DIAGNOSTIC_STATUS__MESSAGE = eINSTANCE.getDiagnosticStatus_Message(); - - /** - * The meta object literal for the '<em><b>Hardware id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DIAGNOSTIC_STATUS__HARDWARE_ID = eINSTANCE.getDiagnosticStatus_Hardware_id(); - - /** - * The meta object literal for the '<em><b>Values</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DIAGNOSTIC_STATUS__VALUES = eINSTANCE.getDiagnosticStatus_Values(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.KeyValueImpl <em>Key Value</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.KeyValueImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl#getKeyValue() - * @generated - */ - EClass KEY_VALUE = eINSTANCE.getKeyValue(); - - /** - * The meta object literal for the '<em><b>Key</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute KEY_VALUE__KEY = eINSTANCE.getKeyValue_Key(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute KEY_VALUE__VALUE = eINSTANCE.getKeyValue_Value(); - - } - -} // Diagnostic_datatypesPackage diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/KeyValue.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/KeyValue.java deleted file mode 100644 index e804aa12dac..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/KeyValue.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Key Value</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getKey <em>Key</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getKeyValue() - * @model - * @generated - */ -public interface KeyValue extends EObject { - /** - * Returns the value of the '<em><b>Key</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Key</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Key</em>' attribute. - * @see #setKey(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getKeyValue_Key() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getKey(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getKey <em>Key</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Key</em>' attribute. - * @see #getKey() - * @generated - */ - void setKey(Object value); - - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getKeyValue_Value() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getValue(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(Object value); - -} // KeyValue diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/DiagnosticArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/DiagnosticArrayImpl.java deleted file mode 100644 index 65aaffc7f11..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/DiagnosticArrayImpl.java +++ /dev/null @@ -1,253 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.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.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Diagnostic Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl#getStatus <em>Status</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl#getValues <em>Values</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DiagnosticArrayImpl extends MinimalEObjectImpl.Container implements DiagnosticArray { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getStatus() <em>Status</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStatus() - * @generated - * @ordered - */ - protected EList<DiagnosticStatus> status; - - /** - * The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValues() - * @generated - * @ordered - */ - protected EList<KeyValue> values; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DiagnosticArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Diagnostic_datatypesPackage.Literals.DIAGNOSTIC_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<DiagnosticStatus> getStatus() { - if (status == null) { - status = new EObjectContainmentEList<DiagnosticStatus>(DiagnosticStatus.class, this, Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__STATUS); - } - return status; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<KeyValue> getValues() { - if (values == null) { - values = new EObjectContainmentEList<KeyValue>(KeyValue.class, this, Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__VALUES); - } - return values; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__HEADER: - return basicSetHeader(null, msgs); - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__STATUS: - return ((InternalEList<?>)getStatus()).basicRemove(otherEnd, msgs); - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__VALUES: - return ((InternalEList<?>)getValues()).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 Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__HEADER: - return getHeader(); - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__STATUS: - return getStatus(); - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__VALUES: - return getValues(); - } - 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 Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__HEADER: - setHeader((Header)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__STATUS: - getStatus().clear(); - getStatus().addAll((Collection<? extends DiagnosticStatus>)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__VALUES: - getValues().clear(); - getValues().addAll((Collection<? extends KeyValue>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__HEADER: - setHeader((Header)null); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__STATUS: - getStatus().clear(); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__VALUES: - getValues().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__HEADER: - return header != null; - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__STATUS: - return status != null && !status.isEmpty(); - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__VALUES: - return values != null && !values.isEmpty(); - } - return super.eIsSet(featureID); - } - -} // DiagnosticArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/DiagnosticStatusImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/DiagnosticStatusImpl.java deleted file mode 100644 index 2845c331b3c..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/DiagnosticStatusImpl.java +++ /dev/null @@ -1,541 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.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.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Diagnostic Status</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getOK <em>OK</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getWARN <em>WARN</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getERROR <em>ERROR</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getLevel <em>Level</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getMessage <em>Message</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getHardware_id <em>Hardware id</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getValues <em>Values</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DiagnosticStatusImpl extends MinimalEObjectImpl.Container implements DiagnosticStatus { - /** - * The default value of the '{@link #getOK() <em>OK</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOK() - * @generated - * @ordered - */ - protected static final Object OK_EDEFAULT = null; - - /** - * The cached value of the '{@link #getOK() <em>OK</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOK() - * @generated - * @ordered - */ - protected Object ok = OK_EDEFAULT; - - /** - * The default value of the '{@link #getWARN() <em>WARN</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWARN() - * @generated - * @ordered - */ - protected static final Object WARN_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWARN() <em>WARN</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWARN() - * @generated - * @ordered - */ - protected Object warn = WARN_EDEFAULT; - - /** - * The default value of the '{@link #getERROR() <em>ERROR</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getERROR() - * @generated - * @ordered - */ - protected static final Object ERROR_EDEFAULT = null; - - /** - * The cached value of the '{@link #getERROR() <em>ERROR</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getERROR() - * @generated - * @ordered - */ - protected Object error = ERROR_EDEFAULT; - - /** - * The default value of the '{@link #getLevel() <em>Level</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLevel() - * @generated - * @ordered - */ - protected static final Object LEVEL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLevel() <em>Level</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLevel() - * @generated - * @ordered - */ - protected Object level = LEVEL_EDEFAULT; - - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final Object NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected Object name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getMessage() <em>Message</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessage() - * @generated - * @ordered - */ - protected static final Object MESSAGE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMessage() <em>Message</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessage() - * @generated - * @ordered - */ - protected Object message = MESSAGE_EDEFAULT; - - /** - * The default value of the '{@link #getHardware_id() <em>Hardware id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHardware_id() - * @generated - * @ordered - */ - protected static final Object HARDWARE_ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHardware_id() <em>Hardware id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHardware_id() - * @generated - * @ordered - */ - protected Object hardware_id = HARDWARE_ID_EDEFAULT; - - /** - * The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValues() - * @generated - * @ordered - */ - protected EList<KeyValue> values; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DiagnosticStatusImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Diagnostic_datatypesPackage.Literals.DIAGNOSTIC_STATUS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getOK() { - return ok; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOK(Object newOK) { - Object oldOK = ok; - ok = newOK; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__OK, oldOK, ok)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getWARN() { - return warn; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWARN(Object newWARN) { - Object oldWARN = warn; - warn = newWARN; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__WARN, oldWARN, warn)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getERROR() { - return error; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setERROR(Object newERROR) { - Object oldERROR = error; - error = newERROR; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__ERROR, oldERROR, error)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getLevel() { - return level; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLevel(Object newLevel) { - Object oldLevel = level; - level = newLevel; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__LEVEL, oldLevel, level)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(Object newName) { - Object oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getMessage() { - return message; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMessage(Object newMessage) { - Object oldMessage = message; - message = newMessage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__MESSAGE, oldMessage, message)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getHardware_id() { - return hardware_id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHardware_id(Object newHardware_id) { - Object oldHardware_id = hardware_id; - hardware_id = newHardware_id; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__HARDWARE_ID, oldHardware_id, hardware_id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<KeyValue> getValues() { - if (values == null) { - values = new EObjectContainmentEList<KeyValue>(KeyValue.class, this, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__VALUES); - } - return values; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__VALUES: - return ((InternalEList<?>)getValues()).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 Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__OK: - return getOK(); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__WARN: - return getWARN(); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__ERROR: - return getERROR(); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__LEVEL: - return getLevel(); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__NAME: - return getName(); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__MESSAGE: - return getMessage(); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__HARDWARE_ID: - return getHardware_id(); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__VALUES: - return getValues(); - } - 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 Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__OK: - setOK((Object)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__WARN: - setWARN((Object)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__ERROR: - setERROR((Object)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__LEVEL: - setLevel((Object)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__NAME: - setName((Object)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__MESSAGE: - setMessage((Object)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__HARDWARE_ID: - setHardware_id((Object)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__VALUES: - getValues().clear(); - getValues().addAll((Collection<? extends KeyValue>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__OK: - setOK(OK_EDEFAULT); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__WARN: - setWARN(WARN_EDEFAULT); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__ERROR: - setERROR(ERROR_EDEFAULT); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__LEVEL: - setLevel(LEVEL_EDEFAULT); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__NAME: - setName(NAME_EDEFAULT); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__MESSAGE: - setMessage(MESSAGE_EDEFAULT); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__HARDWARE_ID: - setHardware_id(HARDWARE_ID_EDEFAULT); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__VALUES: - getValues().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__OK: - return OK_EDEFAULT == null ? ok != null : !OK_EDEFAULT.equals(ok); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__WARN: - return WARN_EDEFAULT == null ? warn != null : !WARN_EDEFAULT.equals(warn); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__ERROR: - return ERROR_EDEFAULT == null ? error != null : !ERROR_EDEFAULT.equals(error); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__LEVEL: - return LEVEL_EDEFAULT == null ? level != null : !LEVEL_EDEFAULT.equals(level); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__MESSAGE: - return MESSAGE_EDEFAULT == null ? message != null : !MESSAGE_EDEFAULT.equals(message); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__HARDWARE_ID: - return HARDWARE_ID_EDEFAULT == null ? hardware_id != null : !HARDWARE_ID_EDEFAULT.equals(hardware_id); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__VALUES: - return values != null && !values.isEmpty(); - } - 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(" (OK: "); - result.append(ok); - result.append(", WARN: "); - result.append(warn); - result.append(", ERROR: "); - result.append(error); - result.append(", level: "); - result.append(level); - result.append(", name: "); - result.append(name); - result.append(", message: "); - result.append(message); - result.append(", hardware_id: "); - result.append(hardware_id); - result.append(')'); - return result.toString(); - } - -} // DiagnosticStatusImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/Diagnostic_datatypesFactoryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/Diagnostic_datatypesFactoryImpl.java deleted file mode 100644 index b5ebc9883d6..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/Diagnostic_datatypesFactoryImpl.java +++ /dev/null @@ -1,118 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Diagnostic_datatypesFactoryImpl extends EFactoryImpl implements Diagnostic_datatypesFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static Diagnostic_datatypesFactory init() { - try { - Diagnostic_datatypesFactory theDiagnostic_datatypesFactory = (Diagnostic_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Diagnostic_datatypesPackage.eNS_URI); - if (theDiagnostic_datatypesFactory != null) { - return theDiagnostic_datatypesFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new Diagnostic_datatypesFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Diagnostic_datatypesFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY: return createDiagnosticArray(); - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS: return createDiagnosticStatus(); - case Diagnostic_datatypesPackage.KEY_VALUE: return createKeyValue(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DiagnosticArray createDiagnosticArray() { - DiagnosticArrayImpl diagnosticArray = new DiagnosticArrayImpl(); - return diagnosticArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DiagnosticStatus createDiagnosticStatus() { - DiagnosticStatusImpl diagnosticStatus = new DiagnosticStatusImpl(); - return diagnosticStatus; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public KeyValue createKeyValue() { - KeyValueImpl keyValue = new KeyValueImpl(); - return keyValue; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Diagnostic_datatypesPackage getDiagnostic_datatypesPackage() { - return (Diagnostic_datatypesPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static Diagnostic_datatypesPackage getPackage() { - return Diagnostic_datatypesPackage.eINSTANCE; - } - -} // Diagnostic_datatypesFactoryImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/Diagnostic_datatypesPackageImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/Diagnostic_datatypesPackageImpl.java deleted file mode 100644 index e0f876d491e..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/Diagnostic_datatypesPackageImpl.java +++ /dev/null @@ -1,398 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.papyrus.RobotML.RobotMLPackage; -import org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Diagnostic_datatypesPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass diagnosticArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass diagnosticStatusEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass keyValueEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#eNS_URI - * @see #init() - * @generated - */ - private Diagnostic_datatypesPackageImpl() { - super(eNS_URI, Diagnostic_datatypesFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link Diagnostic_datatypesPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> <!-- - * end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static Diagnostic_datatypesPackage init() { - if (isInited) return (Diagnostic_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI); - - // Obtain or create and register package - Diagnostic_datatypesPackageImpl theDiagnostic_datatypesPackage = (Diagnostic_datatypesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Diagnostic_datatypesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Diagnostic_datatypesPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - RobotMLPackageImpl theRobotMLPackage = (RobotMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) instanceof RobotMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) : RobotMLPackage.eINSTANCE); - Geometry_datatypesPackageImpl theGeometry_datatypesPackage = (Geometry_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) instanceof Geometry_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) : Geometry_datatypesPackage.eINSTANCE); - Nav_datatypesPackageImpl theNav_datatypesPackage = (Nav_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) instanceof Nav_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) : Nav_datatypesPackage.eINSTANCE); - Sensor_datatypesPackageImpl theSensor_datatypesPackage = (Sensor_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) instanceof Sensor_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) : Sensor_datatypesPackage.eINSTANCE); - Actionlib_datatypesPackageImpl theActionlib_datatypesPackage = (Actionlib_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) instanceof Actionlib_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) : Actionlib_datatypesPackage.eINSTANCE); - Oarp1_datatypesPackageImpl theOarp1_datatypesPackage = (Oarp1_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) instanceof Oarp1_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) : Oarp1_datatypesPackage.eINSTANCE); - Oarp4_datatypesPackageImpl theOarp4_datatypesPackage = (Oarp4_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) instanceof Oarp4_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) : Oarp4_datatypesPackage.eINSTANCE); - Std_datatypesPackageImpl theStd_datatypesPackage = (Std_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) instanceof Std_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) : Std_datatypesPackage.eINSTANCE); - - // Create package meta-data objects - theDiagnostic_datatypesPackage.createPackageContents(); - theRobotMLPackage.createPackageContents(); - theGeometry_datatypesPackage.createPackageContents(); - theNav_datatypesPackage.createPackageContents(); - theSensor_datatypesPackage.createPackageContents(); - theActionlib_datatypesPackage.createPackageContents(); - theOarp1_datatypesPackage.createPackageContents(); - theOarp4_datatypesPackage.createPackageContents(); - theStd_datatypesPackage.createPackageContents(); - - // Initialize created meta-data - theDiagnostic_datatypesPackage.initializePackageContents(); - theRobotMLPackage.initializePackageContents(); - theGeometry_datatypesPackage.initializePackageContents(); - theNav_datatypesPackage.initializePackageContents(); - theSensor_datatypesPackage.initializePackageContents(); - theActionlib_datatypesPackage.initializePackageContents(); - theOarp1_datatypesPackage.initializePackageContents(); - theOarp4_datatypesPackage.initializePackageContents(); - theStd_datatypesPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theDiagnostic_datatypesPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(Diagnostic_datatypesPackage.eNS_URI, theDiagnostic_datatypesPackage); - return theDiagnostic_datatypesPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDiagnosticArray() { - return diagnosticArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDiagnosticArray_Header() { - return (EReference)diagnosticArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDiagnosticArray_Status() { - return (EReference)diagnosticArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDiagnosticArray_Values() { - return (EReference)diagnosticArrayEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDiagnosticStatus() { - return diagnosticStatusEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDiagnosticStatus_OK() { - return (EAttribute)diagnosticStatusEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDiagnosticStatus_WARN() { - return (EAttribute)diagnosticStatusEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDiagnosticStatus_ERROR() { - return (EAttribute)diagnosticStatusEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDiagnosticStatus_Level() { - return (EAttribute)diagnosticStatusEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDiagnosticStatus_Name() { - return (EAttribute)diagnosticStatusEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDiagnosticStatus_Message() { - return (EAttribute)diagnosticStatusEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDiagnosticStatus_Hardware_id() { - return (EAttribute)diagnosticStatusEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDiagnosticStatus_Values() { - return (EReference)diagnosticStatusEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getKeyValue() { - return keyValueEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getKeyValue_Key() { - return (EAttribute)keyValueEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getKeyValue_Value() { - return (EAttribute)keyValueEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Diagnostic_datatypesFactory getDiagnostic_datatypesFactory() { - return (Diagnostic_datatypesFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - diagnosticArrayEClass = createEClass(DIAGNOSTIC_ARRAY); - createEReference(diagnosticArrayEClass, DIAGNOSTIC_ARRAY__HEADER); - createEReference(diagnosticArrayEClass, DIAGNOSTIC_ARRAY__STATUS); - createEReference(diagnosticArrayEClass, DIAGNOSTIC_ARRAY__VALUES); - - diagnosticStatusEClass = createEClass(DIAGNOSTIC_STATUS); - createEAttribute(diagnosticStatusEClass, DIAGNOSTIC_STATUS__OK); - createEAttribute(diagnosticStatusEClass, DIAGNOSTIC_STATUS__WARN); - createEAttribute(diagnosticStatusEClass, DIAGNOSTIC_STATUS__ERROR); - createEAttribute(diagnosticStatusEClass, DIAGNOSTIC_STATUS__LEVEL); - createEAttribute(diagnosticStatusEClass, DIAGNOSTIC_STATUS__NAME); - createEAttribute(diagnosticStatusEClass, DIAGNOSTIC_STATUS__MESSAGE); - createEAttribute(diagnosticStatusEClass, DIAGNOSTIC_STATUS__HARDWARE_ID); - createEReference(diagnosticStatusEClass, DIAGNOSTIC_STATUS__VALUES); - - keyValueEClass = createEClass(KEY_VALUE); - createEAttribute(keyValueEClass, KEY_VALUE__KEY); - createEAttribute(keyValueEClass, KEY_VALUE__VALUE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - Std_datatypesPackage theStd_datatypesPackage = (Std_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(diagnosticArrayEClass, DiagnosticArray.class, "DiagnosticArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getDiagnosticArray_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, DiagnosticArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getDiagnosticArray_Status(), this.getDiagnosticStatus(), null, "status", null, 0, -1, DiagnosticArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getDiagnosticArray_Values(), this.getKeyValue(), null, "values", null, 0, -1, DiagnosticArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(diagnosticStatusEClass, DiagnosticStatus.class, "DiagnosticStatus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDiagnosticStatus_OK(), theStd_datatypesPackage.getByte(), "OK", null, 1, 1, DiagnosticStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getDiagnosticStatus_WARN(), theStd_datatypesPackage.getByte(), "WARN", null, 1, 1, DiagnosticStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getDiagnosticStatus_ERROR(), theStd_datatypesPackage.getByte(), "ERROR", null, 1, 1, DiagnosticStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getDiagnosticStatus_Level(), theStd_datatypesPackage.getByte(), "level", null, 1, 1, DiagnosticStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getDiagnosticStatus_Name(), theStd_datatypesPackage.getString(), "name", null, 1, 1, DiagnosticStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getDiagnosticStatus_Message(), theStd_datatypesPackage.getString(), "message", null, 1, 1, DiagnosticStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getDiagnosticStatus_Hardware_id(), theStd_datatypesPackage.getString(), "hardware_id", null, 1, 1, DiagnosticStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getDiagnosticStatus_Values(), this.getKeyValue(), null, "values", null, 0, -1, DiagnosticStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(keyValueEClass, KeyValue.class, "KeyValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getKeyValue_Key(), theStd_datatypesPackage.getString(), "key", null, 1, 1, KeyValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getKeyValue_Value(), theStd_datatypesPackage.getString(), "value", null, 1, 1, KeyValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} // Diagnostic_datatypesPackageImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/KeyValueImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/KeyValueImpl.java deleted file mode 100644 index 1535985ac5c..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/impl/KeyValueImpl.java +++ /dev/null @@ -1,214 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_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.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Key Value</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.KeyValueImpl#getKey <em>Key</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.KeyValueImpl#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class KeyValueImpl extends MinimalEObjectImpl.Container implements KeyValue { - /** - * The default value of the '{@link #getKey() <em>Key</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getKey() - * @generated - * @ordered - */ - protected static final Object KEY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getKey() <em>Key</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getKey() - * @generated - * @ordered - */ - protected Object key = KEY_EDEFAULT; - - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final Object VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected Object value = VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected KeyValueImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Diagnostic_datatypesPackage.Literals.KEY_VALUE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getKey() { - return key; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setKey(Object newKey) { - Object oldKey = key; - key = newKey; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.KEY_VALUE__KEY, oldKey, key)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(Object newValue) { - Object oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.KEY_VALUE__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Diagnostic_datatypesPackage.KEY_VALUE__KEY: - return getKey(); - case Diagnostic_datatypesPackage.KEY_VALUE__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Diagnostic_datatypesPackage.KEY_VALUE__KEY: - setKey((Object)newValue); - return; - case Diagnostic_datatypesPackage.KEY_VALUE__VALUE: - setValue((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Diagnostic_datatypesPackage.KEY_VALUE__KEY: - setKey(KEY_EDEFAULT); - return; - case Diagnostic_datatypesPackage.KEY_VALUE__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Diagnostic_datatypesPackage.KEY_VALUE__KEY: - return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); - case Diagnostic_datatypesPackage.KEY_VALUE__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - 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(" (key: "); - result.append(key); - result.append(", value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} // KeyValueImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/util/Diagnostic_datatypesAdapterFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/util/Diagnostic_datatypesAdapterFactory.java deleted file mode 100644 index 922b585e77f..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/util/Diagnostic_datatypesAdapterFactory.java +++ /dev/null @@ -1,156 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage - * @generated - */ -public class Diagnostic_datatypesAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Diagnostic_datatypesPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Diagnostic_datatypesAdapterFactory() { - if (modelPackage == null) { - modelPackage = Diagnostic_datatypesPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Diagnostic_datatypesSwitch<Adapter> modelSwitch = - new Diagnostic_datatypesSwitch<Adapter>() { - @Override - public Adapter caseDiagnosticArray(DiagnosticArray object) { - return createDiagnosticArrayAdapter(); - } - @Override - public Adapter caseDiagnosticStatus(DiagnosticStatus object) { - return createDiagnosticStatusAdapter(); - } - @Override - public Adapter caseKeyValue(KeyValue object) { - return createKeyValueAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray <em>Diagnostic Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray - * @generated - */ - public Adapter createDiagnosticArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus <em>Diagnostic Status</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus - * @generated - */ - public Adapter createDiagnosticStatusAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue <em>Key Value</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue - * @generated - */ - public Adapter createKeyValueAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} // Diagnostic_datatypesAdapterFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/util/Diagnostic_datatypesSwitch.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/util/Diagnostic_datatypesSwitch.java deleted file mode 100644 index cb919e17328..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes/util/Diagnostic_datatypesSwitch.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.util.Switch; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage - * @generated - */ -public class Diagnostic_datatypesSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Diagnostic_datatypesPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Diagnostic_datatypesSwitch() { - if (modelPackage == null) { - modelPackage = Diagnostic_datatypesPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY: { - DiagnosticArray diagnosticArray = (DiagnosticArray)theEObject; - T result = caseDiagnosticArray(diagnosticArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS: { - DiagnosticStatus diagnosticStatus = (DiagnosticStatus)theEObject; - T result = caseDiagnosticStatus(diagnosticStatus); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Diagnostic_datatypesPackage.KEY_VALUE: { - KeyValue keyValue = (KeyValue)theEObject; - T result = caseKeyValue(keyValue); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Diagnostic Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Diagnostic Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDiagnosticArray(DiagnosticArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Diagnostic Status</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Diagnostic Status</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDiagnosticStatus(DiagnosticStatus object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Key Value</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Key Value</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseKeyValue(KeyValue object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} // Diagnostic_datatypesSwitch diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Geometry_datatypesFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Geometry_datatypesFactory.java deleted file mode 100644 index 0024f990153..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Geometry_datatypesFactory.java +++ /dev/null @@ -1,222 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage - * @generated - */ -public interface Geometry_datatypesFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Geometry_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Point</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Point</em>'. - * @generated - */ - Point createPoint(); - - /** - * Returns a new object of class '<em>Point32</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Point32</em>'. - * @generated - */ - Point32 createPoint32(); - - /** - * Returns a new object of class '<em>Point Stamped</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Point Stamped</em>'. - * @generated - */ - PointStamped createPointStamped(); - - /** - * Returns a new object of class '<em>Polygon</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Polygon</em>'. - * @generated - */ - Polygon createPolygon(); - - /** - * Returns a new object of class '<em>Polygon Stamped</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Polygon Stamped</em>'. - * @generated - */ - PolygonStamped createPolygonStamped(); - - /** - * Returns a new object of class '<em>Vector3</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Vector3</em>'. - * @generated - */ - Vector3 createVector3(); - - /** - * Returns a new object of class '<em>Vector3 Stamped</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Vector3 Stamped</em>'. - * @generated - */ - Vector3Stamped createVector3Stamped(); - - /** - * Returns a new object of class '<em>Quaternion</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Quaternion</em>'. - * @generated - */ - Quaternion createQuaternion(); - - /** - * Returns a new object of class '<em>Pose</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Pose</em>'. - * @generated - */ - Pose createPose(); - - /** - * Returns a new object of class '<em>Pose Stamped</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Pose Stamped</em>'. - * @generated - */ - PoseStamped createPoseStamped(); - - /** - * Returns a new object of class '<em>Twist With Covariance</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Twist With Covariance</em>'. - * @generated - */ - TwistWithCovariance createTwistWithCovariance(); - - /** - * Returns a new object of class '<em>Twist</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Twist</em>'. - * @generated - */ - Twist createTwist(); - - /** - * Returns a new object of class '<em>Twist Stamped</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Twist Stamped</em>'. - * @generated - */ - TwistStamped createTwistStamped(); - - /** - * Returns a new object of class '<em>Pose With Covariance</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Pose With Covariance</em>'. - * @generated - */ - PoseWithCovariance createPoseWithCovariance(); - - /** - * Returns a new object of class '<em>Pose2 D</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Pose2 D</em>'. - * @generated - */ - Pose2D createPose2D(); - - /** - * Returns a new object of class '<em>Pose With Covariance Stamped</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Pose With Covariance Stamped</em>'. - * @generated - */ - PoseWithCovarianceStamped createPoseWithCovarianceStamped(); - - /** - * Returns a new object of class '<em>Pose Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Pose Array</em>'. - * @generated - */ - PoseArray createPoseArray(); - - /** - * Returns a new object of class '<em>Quaternion Stamped</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Quaternion Stamped</em>'. - * @generated - */ - QuaternionStamped createQuaternionStamped(); - - /** - * Returns a new object of class '<em>Transform</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Transform</em>'. - * @generated - */ - Transform createTransform(); - - /** - * Returns a new object of class '<em>Wrench Stamped</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Wrench Stamped</em>'. - * @generated - */ - WrenchStamped createWrenchStamped(); - - /** - * Returns a new object of class '<em>Wrench</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Wrench</em>'. - * @generated - */ - Wrench createWrench(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - Geometry_datatypesPackage getGeometry_datatypesPackage(); - -} // Geometry_datatypesFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Geometry_datatypesPackage.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Geometry_datatypesPackage.java deleted file mode 100644 index 4aed018483e..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Geometry_datatypesPackage.java +++ /dev/null @@ -1,2353 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesFactory - * @model kind="package" - * @generated - */ -public interface Geometry_datatypesPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "geometry_datatypes"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes.ecore"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Geometry_datatypesPackage eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl <em>Point</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPoint() - * @generated - */ - int POINT = 0; - - /** - * The feature id for the '<em><b>X</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT__X = 0; - - /** - * The feature id for the '<em><b>Y</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT__Y = 1; - - /** - * The feature id for the '<em><b>Z</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT__Z = 2; - - /** - * The number of structural features of the '<em>Point</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Point</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl <em>Point32</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPoint32() - * @generated - */ - int POINT32 = 1; - - /** - * The feature id for the '<em><b>X</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT32__X = 0; - - /** - * The feature id for the '<em><b>Y</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT32__Y = 1; - - /** - * The feature id for the '<em><b>Z</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT32__Z = 2; - - /** - * The number of structural features of the '<em>Point32</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT32_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Point32</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT32_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointStampedImpl <em>Point Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPointStamped() - * @generated - */ - int POINT_STAMPED = 2; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_STAMPED__HEADER = 0; - - /** - * The feature id for the '<em><b>Point</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_STAMPED__POINT = 1; - - /** - * The number of structural features of the '<em>Point Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_STAMPED_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Point Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_STAMPED_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonImpl <em>Polygon</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPolygon() - * @generated - */ - int POLYGON = 3; - - /** - * The feature id for the '<em><b>Point</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POLYGON__POINT = 0; - - /** - * The number of structural features of the '<em>Polygon</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POLYGON_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Polygon</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POLYGON_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonStampedImpl <em>Polygon Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPolygonStamped() - * @generated - */ - int POLYGON_STAMPED = 4; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POLYGON_STAMPED__HEADER = 0; - - /** - * The feature id for the '<em><b>Polygon</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POLYGON_STAMPED__POLYGON = 1; - - /** - * The number of structural features of the '<em>Polygon Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POLYGON_STAMPED_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Polygon Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POLYGON_STAMPED_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl <em>Vector3</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getVector3() - * @generated - */ - int VECTOR3 = 5; - - /** - * The feature id for the '<em><b>X</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VECTOR3__X = 0; - - /** - * The feature id for the '<em><b>Y</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VECTOR3__Y = 1; - - /** - * The feature id for the '<em><b>Z</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VECTOR3__Z = 2; - - /** - * The number of structural features of the '<em>Vector3</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VECTOR3_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Vector3</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VECTOR3_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3StampedImpl <em>Vector3 Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3StampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getVector3Stamped() - * @generated - */ - int VECTOR3_STAMPED = 6; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VECTOR3_STAMPED__HEADER = 0; - - /** - * The feature id for the '<em><b>Vector</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VECTOR3_STAMPED__VECTOR = 1; - - /** - * The number of structural features of the '<em>Vector3 Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VECTOR3_STAMPED_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Vector3 Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VECTOR3_STAMPED_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl <em>Quaternion</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getQuaternion() - * @generated - */ - int QUATERNION = 7; - - /** - * The feature id for the '<em><b>X</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int QUATERNION__X = 0; - - /** - * The feature id for the '<em><b>Y</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int QUATERNION__Y = 1; - - /** - * The feature id for the '<em><b>Z</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int QUATERNION__Z = 2; - - /** - * The feature id for the '<em><b>W</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int QUATERNION__W = 3; - - /** - * The number of structural features of the '<em>Quaternion</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int QUATERNION_FEATURE_COUNT = 4; - - /** - * The number of operations of the '<em>Quaternion</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int QUATERNION_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseImpl <em>Pose</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPose() - * @generated - */ - int POSE = 8; - - /** - * The feature id for the '<em><b>Position</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE__POSITION = 0; - - /** - * The feature id for the '<em><b>Orientation</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE__ORIENTATION = 1; - - /** - * The number of structural features of the '<em>Pose</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Pose</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseStampedImpl <em>Pose Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPoseStamped() - * @generated - */ - int POSE_STAMPED = 9; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_STAMPED__HEADER = 0; - - /** - * The feature id for the '<em><b>Pose</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_STAMPED__POSE = 1; - - /** - * The number of structural features of the '<em>Pose Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_STAMPED_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Pose Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_STAMPED_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistWithCovarianceImpl <em>Twist With Covariance</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistWithCovarianceImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getTwistWithCovariance() - * @generated - */ - int TWIST_WITH_COVARIANCE = 10; - - /** - * The feature id for the '<em><b>Twist</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TWIST_WITH_COVARIANCE__TWIST = 0; - - /** - * The feature id for the '<em><b>Covariance</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TWIST_WITH_COVARIANCE__COVARIANCE = 1; - - /** - * The number of structural features of the '<em>Twist With Covariance</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TWIST_WITH_COVARIANCE_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Twist With Covariance</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TWIST_WITH_COVARIANCE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistImpl <em>Twist</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getTwist() - * @generated - */ - int TWIST = 11; - - /** - * The feature id for the '<em><b>Linear</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TWIST__LINEAR = 0; - - /** - * The feature id for the '<em><b>Angular</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TWIST__ANGULAR = 1; - - /** - * The number of structural features of the '<em>Twist</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TWIST_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Twist</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TWIST_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistStampedImpl <em>Twist Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getTwistStamped() - * @generated - */ - int TWIST_STAMPED = 12; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TWIST_STAMPED__HEADER = 0; - - /** - * The feature id for the '<em><b>Twist</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TWIST_STAMPED__TWIST = 1; - - /** - * The number of structural features of the '<em>Twist Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TWIST_STAMPED_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Twist Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TWIST_STAMPED_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceImpl <em>Pose With Covariance</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPoseWithCovariance() - * @generated - */ - int POSE_WITH_COVARIANCE = 13; - - /** - * The feature id for the '<em><b>Pose</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_WITH_COVARIANCE__POSE = 0; - - /** - * The feature id for the '<em><b>Covariance</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_WITH_COVARIANCE__COVARIANCE = 1; - - /** - * The number of structural features of the '<em>Pose With Covariance</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_WITH_COVARIANCE_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Pose With Covariance</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_WITH_COVARIANCE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl <em>Pose2 D</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPose2D() - * @generated - */ - int POSE2_D = 14; - - /** - * The feature id for the '<em><b>X</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE2_D__X = 0; - - /** - * The feature id for the '<em><b>Y</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE2_D__Y = 1; - - /** - * The feature id for the '<em><b>Theta</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE2_D__THETA = 2; - - /** - * The number of structural features of the '<em>Pose2 D</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE2_D_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Pose2 D</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE2_D_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceStampedImpl <em>Pose With Covariance Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPoseWithCovarianceStamped() - * @generated - */ - int POSE_WITH_COVARIANCE_STAMPED = 15; - - /** - * The number of structural features of the '<em>Pose With Covariance Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_WITH_COVARIANCE_STAMPED_FEATURE_COUNT = 0; - - /** - * The number of operations of the '<em>Pose With Covariance Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_WITH_COVARIANCE_STAMPED_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseArrayImpl <em>Pose Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPoseArray() - * @generated - */ - int POSE_ARRAY = 16; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_ARRAY__HEADER = 0; - - /** - * The feature id for the '<em><b>Poses</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_ARRAY__POSES = 1; - - /** - * The number of structural features of the '<em>Pose Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Pose Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POSE_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionStampedImpl <em>Quaternion Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getQuaternionStamped() - * @generated - */ - int QUATERNION_STAMPED = 17; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int QUATERNION_STAMPED__HEADER = 0; - - /** - * The feature id for the '<em><b>Quaternion</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int QUATERNION_STAMPED__QUATERNION = 1; - - /** - * The number of structural features of the '<em>Quaternion Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int QUATERNION_STAMPED_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Quaternion Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int QUATERNION_STAMPED_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TransformImpl <em>Transform</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TransformImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getTransform() - * @generated - */ - int TRANSFORM = 18; - - /** - * The feature id for the '<em><b>Translation</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRANSFORM__TRANSLATION = 0; - - /** - * The feature id for the '<em><b>Rotation</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRANSFORM__ROTATION = 1; - - /** - * The number of structural features of the '<em>Transform</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRANSFORM_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Transform</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRANSFORM_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchStampedImpl <em>Wrench Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getWrenchStamped() - * @generated - */ - int WRENCH_STAMPED = 19; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int WRENCH_STAMPED__HEADER = 0; - - /** - * The feature id for the '<em><b>Wrench</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int WRENCH_STAMPED__WRENCH = 1; - - /** - * The number of structural features of the '<em>Wrench Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int WRENCH_STAMPED_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Wrench Stamped</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int WRENCH_STAMPED_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchImpl <em>Wrench</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getWrench() - * @generated - */ - int WRENCH = 20; - - /** - * The feature id for the '<em><b>Force</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int WRENCH__FORCE = 0; - - /** - * The feature id for the '<em><b>Torque</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int WRENCH__TORQUE = 1; - - /** - * The number of structural features of the '<em>Wrench</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int WRENCH_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Wrench</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int WRENCH_OPERATION_COUNT = 0; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point <em>Point</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Point</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point - * @generated - */ - EClass getPoint(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getX <em>X</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>X</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getX() - * @see #getPoint() - * @generated - */ - EAttribute getPoint_X(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getY <em>Y</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Y</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getY() - * @see #getPoint() - * @generated - */ - EAttribute getPoint_Y(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getZ <em>Z</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Z</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getZ() - * @see #getPoint() - * @generated - */ - EAttribute getPoint_Z(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32 <em>Point32</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Point32</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32 - * @generated - */ - EClass getPoint32(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getX <em>X</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>X</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getX() - * @see #getPoint32() - * @generated - */ - EAttribute getPoint32_X(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getY <em>Y</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Y</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getY() - * @see #getPoint32() - * @generated - */ - EAttribute getPoint32_Y(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getZ <em>Z</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Z</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getZ() - * @see #getPoint32() - * @generated - */ - EAttribute getPoint32_Z(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped <em>Point Stamped</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Point Stamped</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped - * @generated - */ - EClass getPointStamped(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getHeader() - * @see #getPointStamped() - * @generated - */ - EReference getPointStamped_Header(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getPoint <em>Point</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Point</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getPoint() - * @see #getPointStamped() - * @generated - */ - EReference getPointStamped_Point(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon <em>Polygon</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Polygon</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon - * @generated - */ - EClass getPolygon(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon#getPoint <em>Point</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Point</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon#getPoint() - * @see #getPolygon() - * @generated - */ - EReference getPolygon_Point(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped <em>Polygon Stamped</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Polygon Stamped</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped - * @generated - */ - EClass getPolygonStamped(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getHeader() - * @see #getPolygonStamped() - * @generated - */ - EReference getPolygonStamped_Header(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getPolygon <em>Polygon</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Polygon</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getPolygon() - * @see #getPolygonStamped() - * @generated - */ - EReference getPolygonStamped_Polygon(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3 <em>Vector3</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Vector3</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3 - * @generated - */ - EClass getVector3(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getX <em>X</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>X</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getX() - * @see #getVector3() - * @generated - */ - EAttribute getVector3_X(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getY <em>Y</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Y</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getY() - * @see #getVector3() - * @generated - */ - EAttribute getVector3_Y(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getZ <em>Z</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Z</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getZ() - * @see #getVector3() - * @generated - */ - EAttribute getVector3_Z(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped <em>Vector3 Stamped</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Vector3 Stamped</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped - * @generated - */ - EClass getVector3Stamped(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getHeader() - * @see #getVector3Stamped() - * @generated - */ - EReference getVector3Stamped_Header(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getVector <em>Vector</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Vector</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getVector() - * @see #getVector3Stamped() - * @generated - */ - EReference getVector3Stamped_Vector(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion <em>Quaternion</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Quaternion</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion - * @generated - */ - EClass getQuaternion(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getX <em>X</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>X</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getX() - * @see #getQuaternion() - * @generated - */ - EAttribute getQuaternion_X(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getY <em>Y</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Y</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getY() - * @see #getQuaternion() - * @generated - */ - EAttribute getQuaternion_Y(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getZ <em>Z</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Z</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getZ() - * @see #getQuaternion() - * @generated - */ - EAttribute getQuaternion_Z(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getW <em>W</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>W</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getW() - * @see #getQuaternion() - * @generated - */ - EAttribute getQuaternion_W(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose <em>Pose</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Pose</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose - * @generated - */ - EClass getPose(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getPosition <em>Position</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Position</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getPosition() - * @see #getPose() - * @generated - */ - EReference getPose_Position(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getOrientation <em>Orientation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Orientation</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getOrientation() - * @see #getPose() - * @generated - */ - EReference getPose_Orientation(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped <em>Pose Stamped</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Pose Stamped</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped - * @generated - */ - EClass getPoseStamped(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getHeader() - * @see #getPoseStamped() - * @generated - */ - EReference getPoseStamped_Header(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getPose <em>Pose</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Pose</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getPose() - * @see #getPoseStamped() - * @generated - */ - EReference getPoseStamped_Pose(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance <em>Twist With Covariance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Twist With Covariance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance - * @generated - */ - EClass getTwistWithCovariance(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getTwist <em>Twist</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Twist</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getTwist() - * @see #getTwistWithCovariance() - * @generated - */ - EReference getTwistWithCovariance_Twist(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getCovariance <em>Covariance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Covariance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getCovariance() - * @see #getTwistWithCovariance() - * @generated - */ - EAttribute getTwistWithCovariance_Covariance(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist <em>Twist</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Twist</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist - * @generated - */ - EClass getTwist(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getLinear <em>Linear</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Linear</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getLinear() - * @see #getTwist() - * @generated - */ - EReference getTwist_Linear(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getAngular <em>Angular</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Angular</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getAngular() - * @see #getTwist() - * @generated - */ - EReference getTwist_Angular(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped <em>Twist Stamped</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Twist Stamped</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped - * @generated - */ - EClass getTwistStamped(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getHeader() - * @see #getTwistStamped() - * @generated - */ - EReference getTwistStamped_Header(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getTwist <em>Twist</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Twist</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getTwist() - * @see #getTwistStamped() - * @generated - */ - EReference getTwistStamped_Twist(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance <em>Pose With Covariance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Pose With Covariance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance - * @generated - */ - EClass getPoseWithCovariance(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getPose <em>Pose</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Pose</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getPose() - * @see #getPoseWithCovariance() - * @generated - */ - EReference getPoseWithCovariance_Pose(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getCovariance <em>Covariance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Covariance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getCovariance() - * @see #getPoseWithCovariance() - * @generated - */ - EAttribute getPoseWithCovariance_Covariance(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D <em>Pose2 D</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Pose2 D</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D - * @generated - */ - EClass getPose2D(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getX <em>X</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>X</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getX() - * @see #getPose2D() - * @generated - */ - EAttribute getPose2D_X(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getY <em>Y</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Y</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getY() - * @see #getPose2D() - * @generated - */ - EAttribute getPose2D_Y(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getTheta <em>Theta</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Theta</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getTheta() - * @see #getPose2D() - * @generated - */ - EAttribute getPose2D_Theta(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped <em>Pose With Covariance Stamped</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Pose With Covariance Stamped</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped - * @generated - */ - EClass getPoseWithCovarianceStamped(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray <em>Pose Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Pose Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray - * @generated - */ - EClass getPoseArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getHeader() - * @see #getPoseArray() - * @generated - */ - EReference getPoseArray_Header(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getPoses <em>Poses</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Poses</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getPoses() - * @see #getPoseArray() - * @generated - */ - EReference getPoseArray_Poses(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped <em>Quaternion Stamped</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Quaternion Stamped</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped - * @generated - */ - EClass getQuaternionStamped(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getHeader() - * @see #getQuaternionStamped() - * @generated - */ - EReference getQuaternionStamped_Header(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getQuaternion <em>Quaternion</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Quaternion</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getQuaternion() - * @see #getQuaternionStamped() - * @generated - */ - EReference getQuaternionStamped_Quaternion(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform <em>Transform</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Transform</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform - * @generated - */ - EClass getTransform(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getTranslation <em>Translation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Translation</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getTranslation() - * @see #getTransform() - * @generated - */ - EReference getTransform_Translation(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getRotation <em>Rotation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Rotation</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getRotation() - * @see #getTransform() - * @generated - */ - EReference getTransform_Rotation(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped <em>Wrench Stamped</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Wrench Stamped</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped - * @generated - */ - EClass getWrenchStamped(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getHeader() - * @see #getWrenchStamped() - * @generated - */ - EReference getWrenchStamped_Header(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getWrench <em>Wrench</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Wrench</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getWrench() - * @see #getWrenchStamped() - * @generated - */ - EReference getWrenchStamped_Wrench(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench <em>Wrench</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Wrench</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench - * @generated - */ - EClass getWrench(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getForce <em>Force</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Force</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getForce() - * @see #getWrench() - * @generated - */ - EReference getWrench_Force(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getTorque <em>Torque</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Torque</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getTorque() - * @see #getWrench() - * @generated - */ - EReference getWrench_Torque(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - Geometry_datatypesFactory getGeometry_datatypesFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl <em>Point</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPoint() - * @generated - */ - EClass POINT = eINSTANCE.getPoint(); - - /** - * The meta object literal for the '<em><b>X</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT__X = eINSTANCE.getPoint_X(); - - /** - * The meta object literal for the '<em><b>Y</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT__Y = eINSTANCE.getPoint_Y(); - - /** - * The meta object literal for the '<em><b>Z</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT__Z = eINSTANCE.getPoint_Z(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl <em>Point32</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPoint32() - * @generated - */ - EClass POINT32 = eINSTANCE.getPoint32(); - - /** - * The meta object literal for the '<em><b>X</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT32__X = eINSTANCE.getPoint32_X(); - - /** - * The meta object literal for the '<em><b>Y</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT32__Y = eINSTANCE.getPoint32_Y(); - - /** - * The meta object literal for the '<em><b>Z</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT32__Z = eINSTANCE.getPoint32_Z(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointStampedImpl <em>Point Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPointStamped() - * @generated - */ - EClass POINT_STAMPED = eINSTANCE.getPointStamped(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POINT_STAMPED__HEADER = eINSTANCE.getPointStamped_Header(); - - /** - * The meta object literal for the '<em><b>Point</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POINT_STAMPED__POINT = eINSTANCE.getPointStamped_Point(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonImpl <em>Polygon</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPolygon() - * @generated - */ - EClass POLYGON = eINSTANCE.getPolygon(); - - /** - * The meta object literal for the '<em><b>Point</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POLYGON__POINT = eINSTANCE.getPolygon_Point(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonStampedImpl <em>Polygon Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPolygonStamped() - * @generated - */ - EClass POLYGON_STAMPED = eINSTANCE.getPolygonStamped(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POLYGON_STAMPED__HEADER = eINSTANCE.getPolygonStamped_Header(); - - /** - * The meta object literal for the '<em><b>Polygon</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POLYGON_STAMPED__POLYGON = eINSTANCE.getPolygonStamped_Polygon(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl <em>Vector3</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getVector3() - * @generated - */ - EClass VECTOR3 = eINSTANCE.getVector3(); - - /** - * The meta object literal for the '<em><b>X</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute VECTOR3__X = eINSTANCE.getVector3_X(); - - /** - * The meta object literal for the '<em><b>Y</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute VECTOR3__Y = eINSTANCE.getVector3_Y(); - - /** - * The meta object literal for the '<em><b>Z</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute VECTOR3__Z = eINSTANCE.getVector3_Z(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3StampedImpl <em>Vector3 Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3StampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getVector3Stamped() - * @generated - */ - EClass VECTOR3_STAMPED = eINSTANCE.getVector3Stamped(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VECTOR3_STAMPED__HEADER = eINSTANCE.getVector3Stamped_Header(); - - /** - * The meta object literal for the '<em><b>Vector</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VECTOR3_STAMPED__VECTOR = eINSTANCE.getVector3Stamped_Vector(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl <em>Quaternion</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getQuaternion() - * @generated - */ - EClass QUATERNION = eINSTANCE.getQuaternion(); - - /** - * The meta object literal for the '<em><b>X</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute QUATERNION__X = eINSTANCE.getQuaternion_X(); - - /** - * The meta object literal for the '<em><b>Y</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute QUATERNION__Y = eINSTANCE.getQuaternion_Y(); - - /** - * The meta object literal for the '<em><b>Z</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute QUATERNION__Z = eINSTANCE.getQuaternion_Z(); - - /** - * The meta object literal for the '<em><b>W</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute QUATERNION__W = eINSTANCE.getQuaternion_W(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseImpl <em>Pose</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPose() - * @generated - */ - EClass POSE = eINSTANCE.getPose(); - - /** - * The meta object literal for the '<em><b>Position</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POSE__POSITION = eINSTANCE.getPose_Position(); - - /** - * The meta object literal for the '<em><b>Orientation</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POSE__ORIENTATION = eINSTANCE.getPose_Orientation(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseStampedImpl <em>Pose Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPoseStamped() - * @generated - */ - EClass POSE_STAMPED = eINSTANCE.getPoseStamped(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POSE_STAMPED__HEADER = eINSTANCE.getPoseStamped_Header(); - - /** - * The meta object literal for the '<em><b>Pose</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POSE_STAMPED__POSE = eINSTANCE.getPoseStamped_Pose(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistWithCovarianceImpl <em>Twist With Covariance</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistWithCovarianceImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getTwistWithCovariance() - * @generated - */ - EClass TWIST_WITH_COVARIANCE = eINSTANCE.getTwistWithCovariance(); - - /** - * The meta object literal for the '<em><b>Twist</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TWIST_WITH_COVARIANCE__TWIST = eINSTANCE.getTwistWithCovariance_Twist(); - - /** - * The meta object literal for the '<em><b>Covariance</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute TWIST_WITH_COVARIANCE__COVARIANCE = eINSTANCE.getTwistWithCovariance_Covariance(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistImpl <em>Twist</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getTwist() - * @generated - */ - EClass TWIST = eINSTANCE.getTwist(); - - /** - * The meta object literal for the '<em><b>Linear</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TWIST__LINEAR = eINSTANCE.getTwist_Linear(); - - /** - * The meta object literal for the '<em><b>Angular</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TWIST__ANGULAR = eINSTANCE.getTwist_Angular(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistStampedImpl <em>Twist Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getTwistStamped() - * @generated - */ - EClass TWIST_STAMPED = eINSTANCE.getTwistStamped(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TWIST_STAMPED__HEADER = eINSTANCE.getTwistStamped_Header(); - - /** - * The meta object literal for the '<em><b>Twist</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TWIST_STAMPED__TWIST = eINSTANCE.getTwistStamped_Twist(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceImpl <em>Pose With Covariance</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPoseWithCovariance() - * @generated - */ - EClass POSE_WITH_COVARIANCE = eINSTANCE.getPoseWithCovariance(); - - /** - * The meta object literal for the '<em><b>Pose</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POSE_WITH_COVARIANCE__POSE = eINSTANCE.getPoseWithCovariance_Pose(); - - /** - * The meta object literal for the '<em><b>Covariance</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POSE_WITH_COVARIANCE__COVARIANCE = eINSTANCE.getPoseWithCovariance_Covariance(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl <em>Pose2 D</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPose2D() - * @generated - */ - EClass POSE2_D = eINSTANCE.getPose2D(); - - /** - * The meta object literal for the '<em><b>X</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POSE2_D__X = eINSTANCE.getPose2D_X(); - - /** - * The meta object literal for the '<em><b>Y</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POSE2_D__Y = eINSTANCE.getPose2D_Y(); - - /** - * The meta object literal for the '<em><b>Theta</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POSE2_D__THETA = eINSTANCE.getPose2D_Theta(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceStampedImpl <em>Pose With Covariance Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPoseWithCovarianceStamped() - * @generated - */ - EClass POSE_WITH_COVARIANCE_STAMPED = eINSTANCE.getPoseWithCovarianceStamped(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseArrayImpl <em>Pose Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getPoseArray() - * @generated - */ - EClass POSE_ARRAY = eINSTANCE.getPoseArray(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POSE_ARRAY__HEADER = eINSTANCE.getPoseArray_Header(); - - /** - * The meta object literal for the '<em><b>Poses</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POSE_ARRAY__POSES = eINSTANCE.getPoseArray_Poses(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionStampedImpl <em>Quaternion Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getQuaternionStamped() - * @generated - */ - EClass QUATERNION_STAMPED = eINSTANCE.getQuaternionStamped(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference QUATERNION_STAMPED__HEADER = eINSTANCE.getQuaternionStamped_Header(); - - /** - * The meta object literal for the '<em><b>Quaternion</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference QUATERNION_STAMPED__QUATERNION = eINSTANCE.getQuaternionStamped_Quaternion(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TransformImpl <em>Transform</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TransformImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getTransform() - * @generated - */ - EClass TRANSFORM = eINSTANCE.getTransform(); - - /** - * The meta object literal for the '<em><b>Translation</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TRANSFORM__TRANSLATION = eINSTANCE.getTransform_Translation(); - - /** - * The meta object literal for the '<em><b>Rotation</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TRANSFORM__ROTATION = eINSTANCE.getTransform_Rotation(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchStampedImpl <em>Wrench Stamped</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchStampedImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getWrenchStamped() - * @generated - */ - EClass WRENCH_STAMPED = eINSTANCE.getWrenchStamped(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference WRENCH_STAMPED__HEADER = eINSTANCE.getWrenchStamped_Header(); - - /** - * The meta object literal for the '<em><b>Wrench</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference WRENCH_STAMPED__WRENCH = eINSTANCE.getWrenchStamped_Wrench(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchImpl <em>Wrench</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl#getWrench() - * @generated - */ - EClass WRENCH = eINSTANCE.getWrench(); - - /** - * The meta object literal for the '<em><b>Force</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference WRENCH__FORCE = eINSTANCE.getWrench_Force(); - - /** - * The meta object literal for the '<em><b>Torque</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference WRENCH__TORQUE = eINSTANCE.getWrench_Torque(); - - } - -} // Geometry_datatypesPackage diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Point.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Point.java deleted file mode 100644 index e5766a7e840..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Point.java +++ /dev/null @@ -1,101 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Point</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getX <em>X</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getY <em>Y</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getZ <em>Z</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoint() - * @model - * @generated - */ -public interface Point extends EObject { - /** - * Returns the value of the '<em><b>X</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>X</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>X</em>' attribute. - * @see #setX(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoint_X() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getX(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getX <em>X</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>X</em>' attribute. - * @see #getX() - * @generated - */ - void setX(Object value); - - /** - * Returns the value of the '<em><b>Y</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Y</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Y</em>' attribute. - * @see #setY(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoint_Y() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getY(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getY <em>Y</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Y</em>' attribute. - * @see #getY() - * @generated - */ - void setY(Object value); - - /** - * Returns the value of the '<em><b>Z</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Z</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Z</em>' attribute. - * @see #setZ(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoint_Z() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getZ(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getZ <em>Z</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Z</em>' attribute. - * @see #getZ() - * @generated - */ - void setZ(Object value); - -} // Point diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Point32.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Point32.java deleted file mode 100644 index 1d1bd0036de..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Point32.java +++ /dev/null @@ -1,101 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Point32</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getX <em>X</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getY <em>Y</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getZ <em>Z</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoint32() - * @model - * @generated - */ -public interface Point32 extends EObject { - /** - * Returns the value of the '<em><b>X</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>X</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>X</em>' attribute. - * @see #setX(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoint32_X() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getX(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getX <em>X</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>X</em>' attribute. - * @see #getX() - * @generated - */ - void setX(Object value); - - /** - * Returns the value of the '<em><b>Y</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Y</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Y</em>' attribute. - * @see #setY(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoint32_Y() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getY(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getY <em>Y</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Y</em>' attribute. - * @see #getY() - * @generated - */ - void setY(Object value); - - /** - * Returns the value of the '<em><b>Z</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Z</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Z</em>' attribute. - * @see #setZ(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoint32_Z() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getZ(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getZ <em>Z</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Z</em>' attribute. - * @see #getZ() - * @generated - */ - void setZ(Object value); - -} // Point32 diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PointStamped.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PointStamped.java deleted file mode 100644 index 95305e0c04e..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PointStamped.java +++ /dev/null @@ -1,76 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Point Stamped</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getPoint <em>Point</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPointStamped() - * @model - * @generated - */ -public interface PointStamped extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPointStamped_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Point</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Point</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Point</em>' containment reference. - * @see #setPoint(Point) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPointStamped_Point() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Point getPoint(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getPoint <em>Point</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Point</em>' containment reference. - * @see #getPoint() - * @generated - */ - void setPoint(Point value); - -} // PointStamped diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Polygon.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Polygon.java deleted file mode 100644 index fbefe799841..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Polygon.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Polygon</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon#getPoint <em>Point</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPolygon() - * @model - * @generated - */ -public interface Polygon extends EObject { - /** - * Returns the value of the '<em><b>Point</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Point</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Point</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPolygon_Point() - * @model containment="true" lower="3" ordered="false" - * @generated - */ - EList<Point32> getPoint(); - -} // Polygon diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PolygonStamped.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PolygonStamped.java deleted file mode 100644 index 12e36af746b..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PolygonStamped.java +++ /dev/null @@ -1,76 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Polygon Stamped</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getPolygon <em>Polygon</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPolygonStamped() - * @model - * @generated - */ -public interface PolygonStamped extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPolygonStamped_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Polygon</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Polygon</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Polygon</em>' containment reference. - * @see #setPolygon(Polygon) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPolygonStamped_Polygon() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Polygon getPolygon(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getPolygon <em>Polygon</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Polygon</em>' containment reference. - * @see #getPolygon() - * @generated - */ - void setPolygon(Polygon value); - -} // PolygonStamped diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Pose.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Pose.java deleted file mode 100644 index 2e9f2121bbc..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Pose.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Pose</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getPosition <em>Position</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getOrientation <em>Orientation</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPose() - * @model - * @generated - */ -public interface Pose extends EObject { - /** - * Returns the value of the '<em><b>Position</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Position</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Position</em>' containment reference. - * @see #setPosition(Point) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPose_Position() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Point getPosition(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getPosition <em>Position</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Position</em>' containment reference. - * @see #getPosition() - * @generated - */ - void setPosition(Point value); - - /** - * Returns the value of the '<em><b>Orientation</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Orientation</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Orientation</em>' containment reference. - * @see #setOrientation(Quaternion) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPose_Orientation() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Quaternion getOrientation(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getOrientation <em>Orientation</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Orientation</em>' containment reference. - * @see #getOrientation() - * @generated - */ - void setOrientation(Quaternion value); - -} // Pose diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Pose2D.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Pose2D.java deleted file mode 100644 index 70946550c39..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Pose2D.java +++ /dev/null @@ -1,101 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Pose2 D</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getX <em>X</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getY <em>Y</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getTheta <em>Theta</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPose2D() - * @model - * @generated - */ -public interface Pose2D extends EObject { - /** - * Returns the value of the '<em><b>X</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>X</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>X</em>' attribute. - * @see #setX(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPose2D_X() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getX(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getX <em>X</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>X</em>' attribute. - * @see #getX() - * @generated - */ - void setX(Object value); - - /** - * Returns the value of the '<em><b>Y</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Y</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Y</em>' attribute. - * @see #setY(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPose2D_Y() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getY(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getY <em>Y</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Y</em>' attribute. - * @see #getY() - * @generated - */ - void setY(Object value); - - /** - * Returns the value of the '<em><b>Theta</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Theta</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Theta</em>' attribute. - * @see #setTheta(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPose2D_Theta() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getTheta(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getTheta <em>Theta</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Theta</em>' attribute. - * @see #getTheta() - * @generated - */ - void setTheta(Object value); - -} // Pose2D diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PoseArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PoseArray.java deleted file mode 100644 index 070e4b84a75..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PoseArray.java +++ /dev/null @@ -1,67 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Pose Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getPoses <em>Poses</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseArray() - * @model - * @generated - */ -public interface PoseArray extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseArray_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Poses</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Poses</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Poses</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseArray_Poses() - * @model containment="true" ordered="false" - * @generated - */ - EList<Pose> getPoses(); - -} // PoseArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PoseStamped.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PoseStamped.java deleted file mode 100644 index d5701c2829a..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PoseStamped.java +++ /dev/null @@ -1,76 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Pose Stamped</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getPose <em>Pose</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseStamped() - * @model - * @generated - */ -public interface PoseStamped extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseStamped_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Pose</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Pose</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Pose</em>' containment reference. - * @see #setPose(Pose) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseStamped_Pose() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Pose getPose(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getPose <em>Pose</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Pose</em>' containment reference. - * @see #getPose() - * @generated - */ - void setPose(Pose value); - -} // PoseStamped diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PoseWithCovariance.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PoseWithCovariance.java deleted file mode 100644 index ea3df497e73..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PoseWithCovariance.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Pose With Covariance</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getPose <em>Pose</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getCovariance <em>Covariance</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseWithCovariance() - * @model - * @generated - */ -public interface PoseWithCovariance extends EObject { - /** - * Returns the value of the '<em><b>Pose</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Pose</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Pose</em>' containment reference. - * @see #setPose(Pose) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseWithCovariance_Pose() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Pose getPose(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getPose <em>Pose</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Pose</em>' containment reference. - * @see #getPose() - * @generated - */ - void setPose(Pose value); - - /** - * Returns the value of the '<em><b>Covariance</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Covariance</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Covariance</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseWithCovariance_Covariance() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="36" upper="36" ordered="false" - * @generated - */ - EList<Object> getCovariance(); - -} // PoseWithCovariance diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PoseWithCovarianceStamped.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PoseWithCovarianceStamped.java deleted file mode 100644 index 009677fa29e..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/PoseWithCovarianceStamped.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Pose With Covariance Stamped</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseWithCovarianceStamped() - * @model - * @generated - */ -public interface PoseWithCovarianceStamped extends EObject { -} // PoseWithCovarianceStamped diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Quaternion.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Quaternion.java deleted file mode 100644 index 54cf1355442..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Quaternion.java +++ /dev/null @@ -1,127 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Quaternion</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getX <em>X</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getY <em>Y</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getZ <em>Z</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getW <em>W</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getQuaternion() - * @model - * @generated - */ -public interface Quaternion extends EObject { - /** - * Returns the value of the '<em><b>X</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>X</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>X</em>' attribute. - * @see #setX(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getQuaternion_X() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getX(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getX <em>X</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>X</em>' attribute. - * @see #getX() - * @generated - */ - void setX(Object value); - - /** - * Returns the value of the '<em><b>Y</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Y</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Y</em>' attribute. - * @see #setY(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getQuaternion_Y() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getY(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getY <em>Y</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Y</em>' attribute. - * @see #getY() - * @generated - */ - void setY(Object value); - - /** - * Returns the value of the '<em><b>Z</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Z</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Z</em>' attribute. - * @see #setZ(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getQuaternion_Z() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getZ(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getZ <em>Z</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Z</em>' attribute. - * @see #getZ() - * @generated - */ - void setZ(Object value); - - /** - * Returns the value of the '<em><b>W</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>W</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>W</em>' attribute. - * @see #setW(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getQuaternion_W() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getW(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getW <em>W</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>W</em>' attribute. - * @see #getW() - * @generated - */ - void setW(Object value); - -} // Quaternion diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/QuaternionStamped.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/QuaternionStamped.java deleted file mode 100644 index b3381285d46..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/QuaternionStamped.java +++ /dev/null @@ -1,76 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Quaternion Stamped</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getQuaternion <em>Quaternion</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getQuaternionStamped() - * @model - * @generated - */ -public interface QuaternionStamped extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getQuaternionStamped_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Quaternion</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Quaternion</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Quaternion</em>' containment reference. - * @see #setQuaternion(Quaternion) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getQuaternionStamped_Quaternion() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Quaternion getQuaternion(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getQuaternion <em>Quaternion</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Quaternion</em>' containment reference. - * @see #getQuaternion() - * @generated - */ - void setQuaternion(Quaternion value); - -} // QuaternionStamped diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Transform.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Transform.java deleted file mode 100644 index 1cd33355ba7..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Transform.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Transform</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getTranslation <em>Translation</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getRotation <em>Rotation</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTransform() - * @model - * @generated - */ -public interface Transform extends EObject { - /** - * Returns the value of the '<em><b>Translation</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Translation</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Translation</em>' containment reference. - * @see #setTranslation(Vector3) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTransform_Translation() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Vector3 getTranslation(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getTranslation <em>Translation</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Translation</em>' containment reference. - * @see #getTranslation() - * @generated - */ - void setTranslation(Vector3 value); - - /** - * Returns the value of the '<em><b>Rotation</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Rotation</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Rotation</em>' containment reference. - * @see #setRotation(Quaternion) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTransform_Rotation() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Quaternion getRotation(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getRotation <em>Rotation</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Rotation</em>' containment reference. - * @see #getRotation() - * @generated - */ - void setRotation(Quaternion value); - -} // Transform diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Twist.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Twist.java deleted file mode 100644 index c0a8156f151..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Twist.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Twist</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getLinear <em>Linear</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getAngular <em>Angular</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwist() - * @model - * @generated - */ -public interface Twist extends EObject { - /** - * Returns the value of the '<em><b>Linear</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Linear</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Linear</em>' containment reference. - * @see #setLinear(Vector3) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwist_Linear() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Vector3 getLinear(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getLinear <em>Linear</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Linear</em>' containment reference. - * @see #getLinear() - * @generated - */ - void setLinear(Vector3 value); - - /** - * Returns the value of the '<em><b>Angular</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Angular</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Angular</em>' containment reference. - * @see #setAngular(Vector3) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwist_Angular() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Vector3 getAngular(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getAngular <em>Angular</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Angular</em>' containment reference. - * @see #getAngular() - * @generated - */ - void setAngular(Vector3 value); - -} // Twist diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/TwistStamped.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/TwistStamped.java deleted file mode 100644 index 7b806fe86a2..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/TwistStamped.java +++ /dev/null @@ -1,76 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Twist Stamped</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getTwist <em>Twist</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwistStamped() - * @model - * @generated - */ -public interface TwistStamped extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwistStamped_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Twist</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Twist</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Twist</em>' containment reference. - * @see #setTwist(Twist) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwistStamped_Twist() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Twist getTwist(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getTwist <em>Twist</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Twist</em>' containment reference. - * @see #getTwist() - * @generated - */ - void setTwist(Twist value); - -} // TwistStamped diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/TwistWithCovariance.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/TwistWithCovariance.java deleted file mode 100644 index 0a9f44f8aa0..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/TwistWithCovariance.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Twist With Covariance</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getTwist <em>Twist</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getCovariance <em>Covariance</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwistWithCovariance() - * @model - * @generated - */ -public interface TwistWithCovariance extends EObject { - /** - * Returns the value of the '<em><b>Twist</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Twist</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Twist</em>' containment reference. - * @see #setTwist(Twist) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwistWithCovariance_Twist() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Twist getTwist(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getTwist <em>Twist</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Twist</em>' containment reference. - * @see #getTwist() - * @generated - */ - void setTwist(Twist value); - - /** - * Returns the value of the '<em><b>Covariance</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Covariance</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Covariance</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwistWithCovariance_Covariance() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="36" upper="36" ordered="false" - * @generated - */ - EList<Object> getCovariance(); - -} // TwistWithCovariance diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Vector3.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Vector3.java deleted file mode 100644 index 94705b928ed..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Vector3.java +++ /dev/null @@ -1,101 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Vector3</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getX <em>X</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getY <em>Y</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getZ <em>Z</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getVector3() - * @model - * @generated - */ -public interface Vector3 extends EObject { - /** - * Returns the value of the '<em><b>X</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>X</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>X</em>' attribute. - * @see #setX(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getVector3_X() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getX(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getX <em>X</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>X</em>' attribute. - * @see #getX() - * @generated - */ - void setX(Object value); - - /** - * Returns the value of the '<em><b>Y</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Y</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Y</em>' attribute. - * @see #setY(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getVector3_Y() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getY(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getY <em>Y</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Y</em>' attribute. - * @see #getY() - * @generated - */ - void setY(Object value); - - /** - * Returns the value of the '<em><b>Z</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Z</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Z</em>' attribute. - * @see #setZ(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getVector3_Z() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getZ(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getZ <em>Z</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Z</em>' attribute. - * @see #getZ() - * @generated - */ - void setZ(Object value); - -} // Vector3 diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Vector3Stamped.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Vector3Stamped.java deleted file mode 100644 index 9d4553bd9cf..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Vector3Stamped.java +++ /dev/null @@ -1,76 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Vector3 Stamped</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getVector <em>Vector</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getVector3Stamped() - * @model - * @generated - */ -public interface Vector3Stamped extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getVector3Stamped_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Vector</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Vector</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Vector</em>' containment reference. - * @see #setVector(Vector3) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getVector3Stamped_Vector() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Vector3 getVector(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getVector <em>Vector</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Vector</em>' containment reference. - * @see #getVector() - * @generated - */ - void setVector(Vector3 value); - -} // Vector3Stamped diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Wrench.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Wrench.java deleted file mode 100644 index 9ee67c07b77..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/Wrench.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Wrench</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getForce <em>Force</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getTorque <em>Torque</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getWrench() - * @model - * @generated - */ -public interface Wrench extends EObject { - /** - * Returns the value of the '<em><b>Force</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Force</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Force</em>' containment reference. - * @see #setForce(Vector3) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getWrench_Force() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Vector3 getForce(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getForce <em>Force</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Force</em>' containment reference. - * @see #getForce() - * @generated - */ - void setForce(Vector3 value); - - /** - * Returns the value of the '<em><b>Torque</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Torque</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Torque</em>' containment reference. - * @see #setTorque(Vector3) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getWrench_Torque() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Vector3 getTorque(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getTorque <em>Torque</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Torque</em>' containment reference. - * @see #getTorque() - * @generated - */ - void setTorque(Vector3 value); - -} // Wrench diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/WrenchStamped.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/WrenchStamped.java deleted file mode 100644 index 9524efcadda..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/WrenchStamped.java +++ /dev/null @@ -1,76 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Wrench Stamped</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getWrench <em>Wrench</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getWrenchStamped() - * @model - * @generated - */ -public interface WrenchStamped extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getWrenchStamped_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Wrench</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Wrench</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Wrench</em>' containment reference. - * @see #setWrench(Wrench) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getWrenchStamped_Wrench() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Wrench getWrench(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getWrench <em>Wrench</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Wrench</em>' containment reference. - * @see #getWrench() - * @generated - */ - void setWrench(Wrench value); - -} // WrenchStamped diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Geometry_datatypesFactoryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Geometry_datatypesFactoryImpl.java deleted file mode 100644 index a19599c4bb0..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Geometry_datatypesFactoryImpl.java +++ /dev/null @@ -1,334 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geometry_datatypesFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static Geometry_datatypesFactory init() { - try { - Geometry_datatypesFactory theGeometry_datatypesFactory = (Geometry_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Geometry_datatypesPackage.eNS_URI); - if (theGeometry_datatypesFactory != null) { - return theGeometry_datatypesFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new Geometry_datatypesFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Geometry_datatypesFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case Geometry_datatypesPackage.POINT: return createPoint(); - case Geometry_datatypesPackage.POINT32: return createPoint32(); - case Geometry_datatypesPackage.POINT_STAMPED: return createPointStamped(); - case Geometry_datatypesPackage.POLYGON: return createPolygon(); - case Geometry_datatypesPackage.POLYGON_STAMPED: return createPolygonStamped(); - case Geometry_datatypesPackage.VECTOR3: return createVector3(); - case Geometry_datatypesPackage.VECTOR3_STAMPED: return createVector3Stamped(); - case Geometry_datatypesPackage.QUATERNION: return createQuaternion(); - case Geometry_datatypesPackage.POSE: return createPose(); - case Geometry_datatypesPackage.POSE_STAMPED: return createPoseStamped(); - case Geometry_datatypesPackage.TWIST_WITH_COVARIANCE: return createTwistWithCovariance(); - case Geometry_datatypesPackage.TWIST: return createTwist(); - case Geometry_datatypesPackage.TWIST_STAMPED: return createTwistStamped(); - case Geometry_datatypesPackage.POSE_WITH_COVARIANCE: return createPoseWithCovariance(); - case Geometry_datatypesPackage.POSE2_D: return createPose2D(); - case Geometry_datatypesPackage.POSE_WITH_COVARIANCE_STAMPED: return createPoseWithCovarianceStamped(); - case Geometry_datatypesPackage.POSE_ARRAY: return createPoseArray(); - case Geometry_datatypesPackage.QUATERNION_STAMPED: return createQuaternionStamped(); - case Geometry_datatypesPackage.TRANSFORM: return createTransform(); - case Geometry_datatypesPackage.WRENCH_STAMPED: return createWrenchStamped(); - case Geometry_datatypesPackage.WRENCH: return createWrench(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Point createPoint() { - PointImpl point = new PointImpl(); - return point; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Point32 createPoint32() { - Point32Impl point32 = new Point32Impl(); - return point32; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PointStamped createPointStamped() { - PointStampedImpl pointStamped = new PointStampedImpl(); - return pointStamped; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Polygon createPolygon() { - PolygonImpl polygon = new PolygonImpl(); - return polygon; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PolygonStamped createPolygonStamped() { - PolygonStampedImpl polygonStamped = new PolygonStampedImpl(); - return polygonStamped; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Vector3 createVector3() { - Vector3Impl vector3 = new Vector3Impl(); - return vector3; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Vector3Stamped createVector3Stamped() { - Vector3StampedImpl vector3Stamped = new Vector3StampedImpl(); - return vector3Stamped; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Quaternion createQuaternion() { - QuaternionImpl quaternion = new QuaternionImpl(); - return quaternion; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Pose createPose() { - PoseImpl pose = new PoseImpl(); - return pose; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PoseStamped createPoseStamped() { - PoseStampedImpl poseStamped = new PoseStampedImpl(); - return poseStamped; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TwistWithCovariance createTwistWithCovariance() { - TwistWithCovarianceImpl twistWithCovariance = new TwistWithCovarianceImpl(); - return twistWithCovariance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Twist createTwist() { - TwistImpl twist = new TwistImpl(); - return twist; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TwistStamped createTwistStamped() { - TwistStampedImpl twistStamped = new TwistStampedImpl(); - return twistStamped; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PoseWithCovariance createPoseWithCovariance() { - PoseWithCovarianceImpl poseWithCovariance = new PoseWithCovarianceImpl(); - return poseWithCovariance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Pose2D createPose2D() { - Pose2DImpl pose2D = new Pose2DImpl(); - return pose2D; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PoseWithCovarianceStamped createPoseWithCovarianceStamped() { - PoseWithCovarianceStampedImpl poseWithCovarianceStamped = new PoseWithCovarianceStampedImpl(); - return poseWithCovarianceStamped; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PoseArray createPoseArray() { - PoseArrayImpl poseArray = new PoseArrayImpl(); - return poseArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public QuaternionStamped createQuaternionStamped() { - QuaternionStampedImpl quaternionStamped = new QuaternionStampedImpl(); - return quaternionStamped; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Transform createTransform() { - TransformImpl transform = new TransformImpl(); - return transform; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WrenchStamped createWrenchStamped() { - WrenchStampedImpl wrenchStamped = new WrenchStampedImpl(); - return wrenchStamped; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Wrench createWrench() { - WrenchImpl wrench = new WrenchImpl(); - return wrench; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Geometry_datatypesPackage getGeometry_datatypesPackage() { - return (Geometry_datatypesPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static Geometry_datatypesPackage getPackage() { - return Geometry_datatypesPackage.eINSTANCE; - } - -} // Geometry_datatypesFactoryImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Geometry_datatypesPackageImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Geometry_datatypesPackageImpl.java deleted file mode 100644 index 3f14ce0c65a..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Geometry_datatypesPackageImpl.java +++ /dev/null @@ -1,1128 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.papyrus.RobotML.RobotMLPackage; -import org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geometry_datatypesPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass pointEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass point32EClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass pointStampedEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass polygonEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass polygonStampedEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass vector3EClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass vector3StampedEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass quaternionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass poseEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass poseStampedEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass twistWithCovarianceEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass twistEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass twistStampedEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass poseWithCovarianceEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass pose2DEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass poseWithCovarianceStampedEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass poseArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass quaternionStampedEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass transformEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass wrenchStampedEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass wrenchEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#eNS_URI - * @see #init() - * @generated - */ - private Geometry_datatypesPackageImpl() { - super(eNS_URI, Geometry_datatypesFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link Geometry_datatypesPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> <!-- - * end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static Geometry_datatypesPackage init() { - if (isInited) return (Geometry_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI); - - // Obtain or create and register package - Geometry_datatypesPackageImpl theGeometry_datatypesPackage = (Geometry_datatypesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Geometry_datatypesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Geometry_datatypesPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - RobotMLPackageImpl theRobotMLPackage = (RobotMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) instanceof RobotMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) : RobotMLPackage.eINSTANCE); - Diagnostic_datatypesPackageImpl theDiagnostic_datatypesPackage = (Diagnostic_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) instanceof Diagnostic_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) : Diagnostic_datatypesPackage.eINSTANCE); - Nav_datatypesPackageImpl theNav_datatypesPackage = (Nav_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) instanceof Nav_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) : Nav_datatypesPackage.eINSTANCE); - Sensor_datatypesPackageImpl theSensor_datatypesPackage = (Sensor_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) instanceof Sensor_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) : Sensor_datatypesPackage.eINSTANCE); - Actionlib_datatypesPackageImpl theActionlib_datatypesPackage = (Actionlib_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) instanceof Actionlib_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) : Actionlib_datatypesPackage.eINSTANCE); - Oarp1_datatypesPackageImpl theOarp1_datatypesPackage = (Oarp1_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) instanceof Oarp1_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) : Oarp1_datatypesPackage.eINSTANCE); - Oarp4_datatypesPackageImpl theOarp4_datatypesPackage = (Oarp4_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) instanceof Oarp4_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) : Oarp4_datatypesPackage.eINSTANCE); - Std_datatypesPackageImpl theStd_datatypesPackage = (Std_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) instanceof Std_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) : Std_datatypesPackage.eINSTANCE); - - // Create package meta-data objects - theGeometry_datatypesPackage.createPackageContents(); - theRobotMLPackage.createPackageContents(); - theDiagnostic_datatypesPackage.createPackageContents(); - theNav_datatypesPackage.createPackageContents(); - theSensor_datatypesPackage.createPackageContents(); - theActionlib_datatypesPackage.createPackageContents(); - theOarp1_datatypesPackage.createPackageContents(); - theOarp4_datatypesPackage.createPackageContents(); - theStd_datatypesPackage.createPackageContents(); - - // Initialize created meta-data - theGeometry_datatypesPackage.initializePackageContents(); - theRobotMLPackage.initializePackageContents(); - theDiagnostic_datatypesPackage.initializePackageContents(); - theNav_datatypesPackage.initializePackageContents(); - theSensor_datatypesPackage.initializePackageContents(); - theActionlib_datatypesPackage.initializePackageContents(); - theOarp1_datatypesPackage.initializePackageContents(); - theOarp4_datatypesPackage.initializePackageContents(); - theStd_datatypesPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theGeometry_datatypesPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(Geometry_datatypesPackage.eNS_URI, theGeometry_datatypesPackage); - return theGeometry_datatypesPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPoint() { - return pointEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPoint_X() { - return (EAttribute)pointEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPoint_Y() { - return (EAttribute)pointEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPoint_Z() { - return (EAttribute)pointEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPoint32() { - return point32EClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPoint32_X() { - return (EAttribute)point32EClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPoint32_Y() { - return (EAttribute)point32EClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPoint32_Z() { - return (EAttribute)point32EClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPointStamped() { - return pointStampedEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPointStamped_Header() { - return (EReference)pointStampedEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPointStamped_Point() { - return (EReference)pointStampedEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPolygon() { - return polygonEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPolygon_Point() { - return (EReference)polygonEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPolygonStamped() { - return polygonStampedEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPolygonStamped_Header() { - return (EReference)polygonStampedEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPolygonStamped_Polygon() { - return (EReference)polygonStampedEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getVector3() { - return vector3EClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVector3_X() { - return (EAttribute)vector3EClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVector3_Y() { - return (EAttribute)vector3EClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVector3_Z() { - return (EAttribute)vector3EClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getVector3Stamped() { - return vector3StampedEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getVector3Stamped_Header() { - return (EReference)vector3StampedEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getVector3Stamped_Vector() { - return (EReference)vector3StampedEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getQuaternion() { - return quaternionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getQuaternion_X() { - return (EAttribute)quaternionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getQuaternion_Y() { - return (EAttribute)quaternionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getQuaternion_Z() { - return (EAttribute)quaternionEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getQuaternion_W() { - return (EAttribute)quaternionEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPose() { - return poseEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPose_Position() { - return (EReference)poseEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPose_Orientation() { - return (EReference)poseEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPoseStamped() { - return poseStampedEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPoseStamped_Header() { - return (EReference)poseStampedEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPoseStamped_Pose() { - return (EReference)poseStampedEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getTwistWithCovariance() { - return twistWithCovarianceEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTwistWithCovariance_Twist() { - return (EReference)twistWithCovarianceEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getTwistWithCovariance_Covariance() { - return (EAttribute)twistWithCovarianceEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getTwist() { - return twistEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTwist_Linear() { - return (EReference)twistEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTwist_Angular() { - return (EReference)twistEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getTwistStamped() { - return twistStampedEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTwistStamped_Header() { - return (EReference)twistStampedEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTwistStamped_Twist() { - return (EReference)twistStampedEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPoseWithCovariance() { - return poseWithCovarianceEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPoseWithCovariance_Pose() { - return (EReference)poseWithCovarianceEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPoseWithCovariance_Covariance() { - return (EAttribute)poseWithCovarianceEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPose2D() { - return pose2DEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPose2D_X() { - return (EAttribute)pose2DEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPose2D_Y() { - return (EAttribute)pose2DEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPose2D_Theta() { - return (EAttribute)pose2DEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPoseWithCovarianceStamped() { - return poseWithCovarianceStampedEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPoseArray() { - return poseArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPoseArray_Header() { - return (EReference)poseArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPoseArray_Poses() { - return (EReference)poseArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getQuaternionStamped() { - return quaternionStampedEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getQuaternionStamped_Header() { - return (EReference)quaternionStampedEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getQuaternionStamped_Quaternion() { - return (EReference)quaternionStampedEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getTransform() { - return transformEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTransform_Translation() { - return (EReference)transformEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTransform_Rotation() { - return (EReference)transformEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getWrenchStamped() { - return wrenchStampedEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getWrenchStamped_Header() { - return (EReference)wrenchStampedEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getWrenchStamped_Wrench() { - return (EReference)wrenchStampedEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getWrench() { - return wrenchEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getWrench_Force() { - return (EReference)wrenchEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getWrench_Torque() { - return (EReference)wrenchEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Geometry_datatypesFactory getGeometry_datatypesFactory() { - return (Geometry_datatypesFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - pointEClass = createEClass(POINT); - createEAttribute(pointEClass, POINT__X); - createEAttribute(pointEClass, POINT__Y); - createEAttribute(pointEClass, POINT__Z); - - point32EClass = createEClass(POINT32); - createEAttribute(point32EClass, POINT32__X); - createEAttribute(point32EClass, POINT32__Y); - createEAttribute(point32EClass, POINT32__Z); - - pointStampedEClass = createEClass(POINT_STAMPED); - createEReference(pointStampedEClass, POINT_STAMPED__HEADER); - createEReference(pointStampedEClass, POINT_STAMPED__POINT); - - polygonEClass = createEClass(POLYGON); - createEReference(polygonEClass, POLYGON__POINT); - - polygonStampedEClass = createEClass(POLYGON_STAMPED); - createEReference(polygonStampedEClass, POLYGON_STAMPED__HEADER); - createEReference(polygonStampedEClass, POLYGON_STAMPED__POLYGON); - - vector3EClass = createEClass(VECTOR3); - createEAttribute(vector3EClass, VECTOR3__X); - createEAttribute(vector3EClass, VECTOR3__Y); - createEAttribute(vector3EClass, VECTOR3__Z); - - vector3StampedEClass = createEClass(VECTOR3_STAMPED); - createEReference(vector3StampedEClass, VECTOR3_STAMPED__HEADER); - createEReference(vector3StampedEClass, VECTOR3_STAMPED__VECTOR); - - quaternionEClass = createEClass(QUATERNION); - createEAttribute(quaternionEClass, QUATERNION__X); - createEAttribute(quaternionEClass, QUATERNION__Y); - createEAttribute(quaternionEClass, QUATERNION__Z); - createEAttribute(quaternionEClass, QUATERNION__W); - - poseEClass = createEClass(POSE); - createEReference(poseEClass, POSE__POSITION); - createEReference(poseEClass, POSE__ORIENTATION); - - poseStampedEClass = createEClass(POSE_STAMPED); - createEReference(poseStampedEClass, POSE_STAMPED__HEADER); - createEReference(poseStampedEClass, POSE_STAMPED__POSE); - - twistWithCovarianceEClass = createEClass(TWIST_WITH_COVARIANCE); - createEReference(twistWithCovarianceEClass, TWIST_WITH_COVARIANCE__TWIST); - createEAttribute(twistWithCovarianceEClass, TWIST_WITH_COVARIANCE__COVARIANCE); - - twistEClass = createEClass(TWIST); - createEReference(twistEClass, TWIST__LINEAR); - createEReference(twistEClass, TWIST__ANGULAR); - - twistStampedEClass = createEClass(TWIST_STAMPED); - createEReference(twistStampedEClass, TWIST_STAMPED__HEADER); - createEReference(twistStampedEClass, TWIST_STAMPED__TWIST); - - poseWithCovarianceEClass = createEClass(POSE_WITH_COVARIANCE); - createEReference(poseWithCovarianceEClass, POSE_WITH_COVARIANCE__POSE); - createEAttribute(poseWithCovarianceEClass, POSE_WITH_COVARIANCE__COVARIANCE); - - pose2DEClass = createEClass(POSE2_D); - createEAttribute(pose2DEClass, POSE2_D__X); - createEAttribute(pose2DEClass, POSE2_D__Y); - createEAttribute(pose2DEClass, POSE2_D__THETA); - - poseWithCovarianceStampedEClass = createEClass(POSE_WITH_COVARIANCE_STAMPED); - - poseArrayEClass = createEClass(POSE_ARRAY); - createEReference(poseArrayEClass, POSE_ARRAY__HEADER); - createEReference(poseArrayEClass, POSE_ARRAY__POSES); - - quaternionStampedEClass = createEClass(QUATERNION_STAMPED); - createEReference(quaternionStampedEClass, QUATERNION_STAMPED__HEADER); - createEReference(quaternionStampedEClass, QUATERNION_STAMPED__QUATERNION); - - transformEClass = createEClass(TRANSFORM); - createEReference(transformEClass, TRANSFORM__TRANSLATION); - createEReference(transformEClass, TRANSFORM__ROTATION); - - wrenchStampedEClass = createEClass(WRENCH_STAMPED); - createEReference(wrenchStampedEClass, WRENCH_STAMPED__HEADER); - createEReference(wrenchStampedEClass, WRENCH_STAMPED__WRENCH); - - wrenchEClass = createEClass(WRENCH); - createEReference(wrenchEClass, WRENCH__FORCE); - createEReference(wrenchEClass, WRENCH__TORQUE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - Std_datatypesPackage theStd_datatypesPackage = (Std_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(pointEClass, Point.class, "Point", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getPoint_X(), theStd_datatypesPackage.getFloat64(), "x", null, 1, 1, Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPoint_Y(), theStd_datatypesPackage.getFloat64(), "y", null, 1, 1, Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPoint_Z(), theStd_datatypesPackage.getFloat64(), "z", null, 1, 1, Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(point32EClass, Point32.class, "Point32", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getPoint32_X(), theStd_datatypesPackage.getFloat32(), "x", null, 1, 1, Point32.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPoint32_Y(), theStd_datatypesPackage.getFloat32(), "y", null, 1, 1, Point32.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPoint32_Z(), theStd_datatypesPackage.getFloat32(), "z", null, 1, 1, Point32.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(pointStampedEClass, PointStamped.class, "PointStamped", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPointStamped_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, PointStamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getPointStamped_Point(), this.getPoint(), null, "point", null, 1, 1, PointStamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(polygonEClass, Polygon.class, "Polygon", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPolygon_Point(), this.getPoint32(), null, "point", null, 3, -1, Polygon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(polygonStampedEClass, PolygonStamped.class, "PolygonStamped", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPolygonStamped_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, PolygonStamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getPolygonStamped_Polygon(), this.getPolygon(), null, "polygon", null, 1, 1, PolygonStamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(vector3EClass, Vector3.class, "Vector3", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getVector3_X(), theStd_datatypesPackage.getFloat64(), "x", null, 1, 1, Vector3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getVector3_Y(), theStd_datatypesPackage.getFloat64(), "y", null, 1, 1, Vector3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getVector3_Z(), theStd_datatypesPackage.getFloat64(), "z", null, 1, 1, Vector3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(vector3StampedEClass, Vector3Stamped.class, "Vector3Stamped", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getVector3Stamped_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, Vector3Stamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getVector3Stamped_Vector(), this.getVector3(), null, "vector", null, 1, 1, Vector3Stamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(quaternionEClass, Quaternion.class, "Quaternion", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getQuaternion_X(), theStd_datatypesPackage.getFloat64(), "x", null, 1, 1, Quaternion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getQuaternion_Y(), theStd_datatypesPackage.getFloat64(), "y", null, 1, 1, Quaternion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getQuaternion_Z(), theStd_datatypesPackage.getFloat64(), "z", null, 1, 1, Quaternion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getQuaternion_W(), theStd_datatypesPackage.getFloat64(), "w", null, 1, 1, Quaternion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(poseEClass, Pose.class, "Pose", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPose_Position(), this.getPoint(), null, "position", null, 1, 1, Pose.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getPose_Orientation(), this.getQuaternion(), null, "orientation", null, 1, 1, Pose.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(poseStampedEClass, PoseStamped.class, "PoseStamped", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPoseStamped_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, PoseStamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getPoseStamped_Pose(), this.getPose(), null, "pose", null, 1, 1, PoseStamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(twistWithCovarianceEClass, TwistWithCovariance.class, "TwistWithCovariance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getTwistWithCovariance_Twist(), this.getTwist(), null, "twist", null, 1, 1, TwistWithCovariance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getTwistWithCovariance_Covariance(), theStd_datatypesPackage.getFloat64(), "covariance", null, 36, 36, TwistWithCovariance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(twistEClass, Twist.class, "Twist", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getTwist_Linear(), this.getVector3(), null, "linear", null, 1, 1, Twist.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getTwist_Angular(), this.getVector3(), null, "angular", null, 1, 1, Twist.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(twistStampedEClass, TwistStamped.class, "TwistStamped", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getTwistStamped_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, TwistStamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getTwistStamped_Twist(), this.getTwist(), null, "twist", null, 1, 1, TwistStamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(poseWithCovarianceEClass, PoseWithCovariance.class, "PoseWithCovariance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPoseWithCovariance_Pose(), this.getPose(), null, "pose", null, 1, 1, PoseWithCovariance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPoseWithCovariance_Covariance(), theStd_datatypesPackage.getFloat64(), "covariance", null, 36, 36, PoseWithCovariance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(pose2DEClass, Pose2D.class, "Pose2D", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getPose2D_X(), theStd_datatypesPackage.getFloat64(), "x", null, 1, 1, Pose2D.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPose2D_Y(), theStd_datatypesPackage.getFloat64(), "y", null, 1, 1, Pose2D.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPose2D_Theta(), theStd_datatypesPackage.getFloat64(), "theta", null, 1, 1, Pose2D.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(poseWithCovarianceStampedEClass, PoseWithCovarianceStamped.class, "PoseWithCovarianceStamped", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(poseArrayEClass, PoseArray.class, "PoseArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPoseArray_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, PoseArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getPoseArray_Poses(), this.getPose(), null, "poses", null, 0, -1, PoseArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(quaternionStampedEClass, QuaternionStamped.class, "QuaternionStamped", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getQuaternionStamped_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, QuaternionStamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getQuaternionStamped_Quaternion(), this.getQuaternion(), null, "quaternion", null, 1, 1, QuaternionStamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(transformEClass, Transform.class, "Transform", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getTransform_Translation(), this.getVector3(), null, "translation", null, 1, 1, Transform.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getTransform_Rotation(), this.getQuaternion(), null, "rotation", null, 1, 1, Transform.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(wrenchStampedEClass, WrenchStamped.class, "WrenchStamped", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getWrenchStamped_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, WrenchStamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getWrenchStamped_Wrench(), this.getWrench(), null, "wrench", null, 1, 1, WrenchStamped.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(wrenchEClass, Wrench.class, "Wrench", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getWrench_Force(), this.getVector3(), null, "force", null, 1, 1, Wrench.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getWrench_Torque(), this.getVector3(), null, "torque", null, 1, 1, Wrench.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} // Geometry_datatypesPackageImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Point32Impl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Point32Impl.java deleted file mode 100644 index 0871f2462d0..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Point32Impl.java +++ /dev/null @@ -1,268 +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.Point32; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Point32</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.Point32Impl#getX <em>X</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl#getY <em>Y</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl#getZ <em>Z</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Point32Impl extends MinimalEObjectImpl.Container implements Point32 { - /** - * 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; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Point32Impl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.POINT32; - } - - /** - * <!-- 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.POINT32__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.POINT32__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.POINT32__Z, oldZ, z)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Geometry_datatypesPackage.POINT32__X: - return getX(); - case Geometry_datatypesPackage.POINT32__Y: - return getY(); - case Geometry_datatypesPackage.POINT32__Z: - return getZ(); - } - 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.POINT32__X: - setX((Object)newValue); - return; - case Geometry_datatypesPackage.POINT32__Y: - setY((Object)newValue); - return; - case Geometry_datatypesPackage.POINT32__Z: - setZ((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.POINT32__X: - setX(X_EDEFAULT); - return; - case Geometry_datatypesPackage.POINT32__Y: - setY(Y_EDEFAULT); - return; - case Geometry_datatypesPackage.POINT32__Z: - setZ(Z_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POINT32__X: - return X_EDEFAULT == null ? x != null : !X_EDEFAULT.equals(x); - case Geometry_datatypesPackage.POINT32__Y: - return Y_EDEFAULT == null ? y != null : !Y_EDEFAULT.equals(y); - case Geometry_datatypesPackage.POINT32__Z: - return Z_EDEFAULT == null ? z != null : !Z_EDEFAULT.equals(z); - } - 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(')'); - return result.toString(); - } - -} // Point32Impl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PointImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PointImpl.java deleted file mode 100644 index d8f39e91285..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PointImpl.java +++ /dev/null @@ -1,268 +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.Point; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Point</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.PointImpl#getX <em>X</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl#getY <em>Y</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl#getZ <em>Z</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PointImpl extends MinimalEObjectImpl.Container implements Point { - /** - * 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; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PointImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.POINT; - } - - /** - * <!-- 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.POINT__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.POINT__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.POINT__Z, oldZ, z)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Geometry_datatypesPackage.POINT__X: - return getX(); - case Geometry_datatypesPackage.POINT__Y: - return getY(); - case Geometry_datatypesPackage.POINT__Z: - return getZ(); - } - 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.POINT__X: - setX((Object)newValue); - return; - case Geometry_datatypesPackage.POINT__Y: - setY((Object)newValue); - return; - case Geometry_datatypesPackage.POINT__Z: - setZ((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.POINT__X: - setX(X_EDEFAULT); - return; - case Geometry_datatypesPackage.POINT__Y: - setY(Y_EDEFAULT); - return; - case Geometry_datatypesPackage.POINT__Z: - setZ(Z_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POINT__X: - return X_EDEFAULT == null ? x != null : !X_EDEFAULT.equals(x); - case Geometry_datatypesPackage.POINT__Y: - return Y_EDEFAULT == null ? y != null : !Y_EDEFAULT.equals(y); - case Geometry_datatypesPackage.POINT__Z: - return Z_EDEFAULT == null ? z != null : !Z_EDEFAULT.equals(z); - } - 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(')'); - return result.toString(); - } - -} // PointImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PointStampedImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PointStampedImpl.java deleted file mode 100644 index 7a1f312cd91..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PointStampedImpl.java +++ /dev/null @@ -1,240 +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.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.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.Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Point Stamped</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.PointStampedImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointStampedImpl#getPoint <em>Point</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PointStampedImpl extends MinimalEObjectImpl.Container implements PointStamped { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getPoint() <em>Point</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPoint() - * @generated - * @ordered - */ - protected Point point; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PointStampedImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.POINT_STAMPED; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POINT_STAMPED__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POINT_STAMPED__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POINT_STAMPED__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POINT_STAMPED__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Point getPoint() { - return point; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPoint(Point newPoint, NotificationChain msgs) { - Point oldPoint = point; - point = newPoint; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POINT_STAMPED__POINT, oldPoint, newPoint); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPoint(Point newPoint) { - if (newPoint != point) { - NotificationChain msgs = null; - if (point != null) - msgs = ((InternalEObject)point).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POINT_STAMPED__POINT, null, msgs); - if (newPoint != null) - msgs = ((InternalEObject)newPoint).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POINT_STAMPED__POINT, null, msgs); - msgs = basicSetPoint(newPoint, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POINT_STAMPED__POINT, newPoint, newPoint)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.POINT_STAMPED__HEADER: - return basicSetHeader(null, msgs); - case Geometry_datatypesPackage.POINT_STAMPED__POINT: - return basicSetPoint(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 Geometry_datatypesPackage.POINT_STAMPED__HEADER: - return getHeader(); - case Geometry_datatypesPackage.POINT_STAMPED__POINT: - return getPoint(); - } - 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.POINT_STAMPED__HEADER: - setHeader((Header)newValue); - return; - case Geometry_datatypesPackage.POINT_STAMPED__POINT: - setPoint((Point)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POINT_STAMPED__HEADER: - setHeader((Header)null); - return; - case Geometry_datatypesPackage.POINT_STAMPED__POINT: - setPoint((Point)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POINT_STAMPED__HEADER: - return header != null; - case Geometry_datatypesPackage.POINT_STAMPED__POINT: - return point != null; - } - return super.eIsSet(featureID); - } - -} // PointStampedImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PolygonImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PolygonImpl.java deleted file mode 100644 index 6349c3b05a4..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PolygonImpl.java +++ /dev/null @@ -1,147 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl; - -import java.util.Collection; - -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.MinimalEObjectImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Polygon</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.PolygonImpl#getPoint <em>Point</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PolygonImpl extends MinimalEObjectImpl.Container implements Polygon { - /** - * The cached value of the '{@link #getPoint() <em>Point</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPoint() - * @generated - * @ordered - */ - protected EList<Point32> point; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PolygonImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.POLYGON; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Point32> getPoint() { - if (point == null) { - point = new EObjectContainmentEList<Point32>(Point32.class, this, Geometry_datatypesPackage.POLYGON__POINT); - } - return point; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.POLYGON__POINT: - return ((InternalEList<?>)getPoint()).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 Geometry_datatypesPackage.POLYGON__POINT: - return getPoint(); - } - 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 Geometry_datatypesPackage.POLYGON__POINT: - getPoint().clear(); - getPoint().addAll((Collection<? extends Point32>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POLYGON__POINT: - getPoint().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POLYGON__POINT: - return point != null && !point.isEmpty(); - } - return super.eIsSet(featureID); - } - -} // PolygonImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PolygonStampedImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PolygonStampedImpl.java deleted file mode 100644 index e431ea2a07c..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PolygonStampedImpl.java +++ /dev/null @@ -1,240 +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.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.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.Polygon; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Polygon Stamped</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.PolygonStampedImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonStampedImpl#getPolygon <em>Polygon</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PolygonStampedImpl extends MinimalEObjectImpl.Container implements PolygonStamped { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getPolygon() <em>Polygon</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPolygon() - * @generated - * @ordered - */ - protected Polygon polygon; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PolygonStampedImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.POLYGON_STAMPED; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POLYGON_STAMPED__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POLYGON_STAMPED__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POLYGON_STAMPED__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POLYGON_STAMPED__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Polygon getPolygon() { - return polygon; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPolygon(Polygon newPolygon, NotificationChain msgs) { - Polygon oldPolygon = polygon; - polygon = newPolygon; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON, oldPolygon, newPolygon); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPolygon(Polygon newPolygon) { - if (newPolygon != polygon) { - NotificationChain msgs = null; - if (polygon != null) - msgs = ((InternalEObject)polygon).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON, null, msgs); - if (newPolygon != null) - msgs = ((InternalEObject)newPolygon).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON, null, msgs); - msgs = basicSetPolygon(newPolygon, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON, newPolygon, newPolygon)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.POLYGON_STAMPED__HEADER: - return basicSetHeader(null, msgs); - case Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON: - return basicSetPolygon(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 Geometry_datatypesPackage.POLYGON_STAMPED__HEADER: - return getHeader(); - case Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON: - return getPolygon(); - } - 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.POLYGON_STAMPED__HEADER: - setHeader((Header)newValue); - return; - case Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON: - setPolygon((Polygon)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POLYGON_STAMPED__HEADER: - setHeader((Header)null); - return; - case Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON: - setPolygon((Polygon)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POLYGON_STAMPED__HEADER: - return header != null; - case Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON: - return polygon != null; - } - return super.eIsSet(featureID); - } - -} // PolygonStampedImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Pose2DImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Pose2DImpl.java deleted file mode 100644 index 02e114b2bc7..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Pose2DImpl.java +++ /dev/null @@ -1,268 +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.Pose2D; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Pose2 D</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.Pose2DImpl#getX <em>X</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl#getY <em>Y</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl#getTheta <em>Theta</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Pose2DImpl extends MinimalEObjectImpl.Container implements Pose2D { - /** - * 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 #getTheta() <em>Theta</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTheta() - * @generated - * @ordered - */ - protected static final Object THETA_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTheta() <em>Theta</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTheta() - * @generated - * @ordered - */ - protected Object theta = THETA_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Pose2DImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.POSE2_D; - } - - /** - * <!-- 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.POSE2_D__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.POSE2_D__Y, oldY, y)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getTheta() { - return theta; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTheta(Object newTheta) { - Object oldTheta = theta; - theta = newTheta; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE2_D__THETA, oldTheta, theta)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Geometry_datatypesPackage.POSE2_D__X: - return getX(); - case Geometry_datatypesPackage.POSE2_D__Y: - return getY(); - case Geometry_datatypesPackage.POSE2_D__THETA: - return getTheta(); - } - 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.POSE2_D__X: - setX((Object)newValue); - return; - case Geometry_datatypesPackage.POSE2_D__Y: - setY((Object)newValue); - return; - case Geometry_datatypesPackage.POSE2_D__THETA: - setTheta((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.POSE2_D__X: - setX(X_EDEFAULT); - return; - case Geometry_datatypesPackage.POSE2_D__Y: - setY(Y_EDEFAULT); - return; - case Geometry_datatypesPackage.POSE2_D__THETA: - setTheta(THETA_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POSE2_D__X: - return X_EDEFAULT == null ? x != null : !X_EDEFAULT.equals(x); - case Geometry_datatypesPackage.POSE2_D__Y: - return Y_EDEFAULT == null ? y != null : !Y_EDEFAULT.equals(y); - case Geometry_datatypesPackage.POSE2_D__THETA: - return THETA_EDEFAULT == null ? theta != null : !THETA_EDEFAULT.equals(theta); - } - 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(", theta: "); - result.append(theta); - result.append(')'); - return result.toString(); - } - -} // Pose2DImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseArrayImpl.java deleted file mode 100644 index 8fa022b1dbf..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseArrayImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.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.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Pose Array</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.PoseArrayImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseArrayImpl#getPoses <em>Poses</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PoseArrayImpl extends MinimalEObjectImpl.Container implements PoseArray { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getPoses() <em>Poses</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPoses() - * @generated - * @ordered - */ - protected EList<Pose> poses; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PoseArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.POSE_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE_ARRAY__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE_ARRAY__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE_ARRAY__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE_ARRAY__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Pose> getPoses() { - if (poses == null) { - poses = new EObjectContainmentEList<Pose>(Pose.class, this, Geometry_datatypesPackage.POSE_ARRAY__POSES); - } - return poses; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.POSE_ARRAY__HEADER: - return basicSetHeader(null, msgs); - case Geometry_datatypesPackage.POSE_ARRAY__POSES: - return ((InternalEList<?>)getPoses()).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 Geometry_datatypesPackage.POSE_ARRAY__HEADER: - return getHeader(); - case Geometry_datatypesPackage.POSE_ARRAY__POSES: - return getPoses(); - } - 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 Geometry_datatypesPackage.POSE_ARRAY__HEADER: - setHeader((Header)newValue); - return; - case Geometry_datatypesPackage.POSE_ARRAY__POSES: - getPoses().clear(); - getPoses().addAll((Collection<? extends Pose>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POSE_ARRAY__HEADER: - setHeader((Header)null); - return; - case Geometry_datatypesPackage.POSE_ARRAY__POSES: - getPoses().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POSE_ARRAY__HEADER: - return header != null; - case Geometry_datatypesPackage.POSE_ARRAY__POSES: - return poses != null && !poses.isEmpty(); - } - return super.eIsSet(featureID); - } - -} // PoseArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseImpl.java deleted file mode 100644 index 96bcafa9fc3..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseImpl.java +++ /dev/null @@ -1,240 +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.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.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.Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Pose</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.PoseImpl#getPosition <em>Position</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseImpl#getOrientation <em>Orientation</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PoseImpl extends MinimalEObjectImpl.Container implements Pose { - /** - * The cached value of the '{@link #getPosition() <em>Position</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPosition() - * @generated - * @ordered - */ - protected Point position; - - /** - * The cached value of the '{@link #getOrientation() <em>Orientation</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOrientation() - * @generated - * @ordered - */ - protected Quaternion orientation; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PoseImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.POSE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Point getPosition() { - return position; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPosition(Point newPosition, NotificationChain msgs) { - Point oldPosition = position; - position = newPosition; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE__POSITION, oldPosition, newPosition); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPosition(Point newPosition) { - if (newPosition != position) { - NotificationChain msgs = null; - if (position != null) - msgs = ((InternalEObject)position).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE__POSITION, null, msgs); - if (newPosition != null) - msgs = ((InternalEObject)newPosition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE__POSITION, null, msgs); - msgs = basicSetPosition(newPosition, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE__POSITION, newPosition, newPosition)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Quaternion getOrientation() { - return orientation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOrientation(Quaternion newOrientation, NotificationChain msgs) { - Quaternion oldOrientation = orientation; - orientation = newOrientation; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE__ORIENTATION, oldOrientation, newOrientation); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOrientation(Quaternion newOrientation) { - if (newOrientation != orientation) { - NotificationChain msgs = null; - if (orientation != null) - msgs = ((InternalEObject)orientation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE__ORIENTATION, null, msgs); - if (newOrientation != null) - msgs = ((InternalEObject)newOrientation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE__ORIENTATION, null, msgs); - msgs = basicSetOrientation(newOrientation, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE__ORIENTATION, newOrientation, newOrientation)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.POSE__POSITION: - return basicSetPosition(null, msgs); - case Geometry_datatypesPackage.POSE__ORIENTATION: - return basicSetOrientation(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 Geometry_datatypesPackage.POSE__POSITION: - return getPosition(); - case Geometry_datatypesPackage.POSE__ORIENTATION: - return getOrientation(); - } - 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.POSE__POSITION: - setPosition((Point)newValue); - return; - case Geometry_datatypesPackage.POSE__ORIENTATION: - setOrientation((Quaternion)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POSE__POSITION: - setPosition((Point)null); - return; - case Geometry_datatypesPackage.POSE__ORIENTATION: - setOrientation((Quaternion)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POSE__POSITION: - return position != null; - case Geometry_datatypesPackage.POSE__ORIENTATION: - return orientation != null; - } - return super.eIsSet(featureID); - } - -} // PoseImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseStampedImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseStampedImpl.java deleted file mode 100644 index d71d18791fd..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseStampedImpl.java +++ /dev/null @@ -1,240 +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.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.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.Pose; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Pose Stamped</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.PoseStampedImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseStampedImpl#getPose <em>Pose</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PoseStampedImpl extends MinimalEObjectImpl.Container implements PoseStamped { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getPose() <em>Pose</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPose() - * @generated - * @ordered - */ - protected Pose pose; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PoseStampedImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.POSE_STAMPED; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE_STAMPED__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE_STAMPED__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE_STAMPED__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE_STAMPED__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Pose getPose() { - return pose; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPose(Pose newPose, NotificationChain msgs) { - Pose oldPose = pose; - pose = newPose; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE_STAMPED__POSE, oldPose, newPose); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPose(Pose newPose) { - if (newPose != pose) { - NotificationChain msgs = null; - if (pose != null) - msgs = ((InternalEObject)pose).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE_STAMPED__POSE, null, msgs); - if (newPose != null) - msgs = ((InternalEObject)newPose).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE_STAMPED__POSE, null, msgs); - msgs = basicSetPose(newPose, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE_STAMPED__POSE, newPose, newPose)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.POSE_STAMPED__HEADER: - return basicSetHeader(null, msgs); - case Geometry_datatypesPackage.POSE_STAMPED__POSE: - return basicSetPose(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 Geometry_datatypesPackage.POSE_STAMPED__HEADER: - return getHeader(); - case Geometry_datatypesPackage.POSE_STAMPED__POSE: - return getPose(); - } - 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.POSE_STAMPED__HEADER: - setHeader((Header)newValue); - return; - case Geometry_datatypesPackage.POSE_STAMPED__POSE: - setPose((Pose)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POSE_STAMPED__HEADER: - setHeader((Header)null); - return; - case Geometry_datatypesPackage.POSE_STAMPED__POSE: - setPose((Pose)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POSE_STAMPED__HEADER: - return header != null; - case Geometry_datatypesPackage.POSE_STAMPED__POSE: - return pose != null; - } - return super.eIsSet(featureID); - } - -} // PoseStampedImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseWithCovarianceImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseWithCovarianceImpl.java deleted file mode 100644 index 191daa80c9f..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseWithCovarianceImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Pose With Covariance</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.PoseWithCovarianceImpl#getPose <em>Pose</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceImpl#getCovariance <em>Covariance</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PoseWithCovarianceImpl extends MinimalEObjectImpl.Container implements PoseWithCovariance { - /** - * The cached value of the '{@link #getPose() <em>Pose</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPose() - * @generated - * @ordered - */ - protected Pose pose; - - /** - * The cached value of the '{@link #getCovariance() <em>Covariance</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCovariance() - * @generated - * @ordered - */ - protected EList<Object> covariance; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PoseWithCovarianceImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.POSE_WITH_COVARIANCE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Pose getPose() { - return pose; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPose(Pose newPose, NotificationChain msgs) { - Pose oldPose = pose; - pose = newPose; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE_WITH_COVARIANCE__POSE, oldPose, newPose); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPose(Pose newPose) { - if (newPose != pose) { - NotificationChain msgs = null; - if (pose != null) - msgs = ((InternalEObject)pose).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE_WITH_COVARIANCE__POSE, null, msgs); - if (newPose != null) - msgs = ((InternalEObject)newPose).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE_WITH_COVARIANCE__POSE, null, msgs); - msgs = basicSetPose(newPose, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE_WITH_COVARIANCE__POSE, newPose, newPose)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getCovariance() { - if (covariance == null) { - covariance = new EDataTypeUniqueEList<Object>(Object.class, this, Geometry_datatypesPackage.POSE_WITH_COVARIANCE__COVARIANCE); - } - return covariance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.POSE_WITH_COVARIANCE__POSE: - return basicSetPose(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 Geometry_datatypesPackage.POSE_WITH_COVARIANCE__POSE: - return getPose(); - case Geometry_datatypesPackage.POSE_WITH_COVARIANCE__COVARIANCE: - return getCovariance(); - } - 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 Geometry_datatypesPackage.POSE_WITH_COVARIANCE__POSE: - setPose((Pose)newValue); - return; - case Geometry_datatypesPackage.POSE_WITH_COVARIANCE__COVARIANCE: - getCovariance().clear(); - getCovariance().addAll((Collection<? extends 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.POSE_WITH_COVARIANCE__POSE: - setPose((Pose)null); - return; - case Geometry_datatypesPackage.POSE_WITH_COVARIANCE__COVARIANCE: - getCovariance().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.POSE_WITH_COVARIANCE__POSE: - return pose != null; - case Geometry_datatypesPackage.POSE_WITH_COVARIANCE__COVARIANCE: - return covariance != null && !covariance.isEmpty(); - } - 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(" (covariance: "); - result.append(covariance); - result.append(')'); - return result.toString(); - } - -} // PoseWithCovarianceImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseWithCovarianceStampedImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseWithCovarianceStampedImpl.java deleted file mode 100644 index cea56426291..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/PoseWithCovarianceStampedImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl; - -import org.eclipse.emf.ecore.EClass; -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.PoseWithCovarianceStamped; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Pose With Covariance Stamped</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class PoseWithCovarianceStampedImpl extends MinimalEObjectImpl.Container implements PoseWithCovarianceStamped { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PoseWithCovarianceStampedImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.POSE_WITH_COVARIANCE_STAMPED; - } - -} // PoseWithCovarianceStampedImpl 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 diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/QuaternionStampedImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/QuaternionStampedImpl.java deleted file mode 100644 index 77db5cb22d5..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/QuaternionStampedImpl.java +++ /dev/null @@ -1,240 +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.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.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; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Quaternion Stamped</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.QuaternionStampedImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionStampedImpl#getQuaternion <em>Quaternion</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class QuaternionStampedImpl extends MinimalEObjectImpl.Container implements QuaternionStamped { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getQuaternion() <em>Quaternion</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getQuaternion() - * @generated - * @ordered - */ - protected Quaternion quaternion; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected QuaternionStampedImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.QUATERNION_STAMPED; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION_STAMPED__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.QUATERNION_STAMPED__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.QUATERNION_STAMPED__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION_STAMPED__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Quaternion getQuaternion() { - return quaternion; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetQuaternion(Quaternion newQuaternion, NotificationChain msgs) { - Quaternion oldQuaternion = quaternion; - quaternion = newQuaternion; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION, oldQuaternion, newQuaternion); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setQuaternion(Quaternion newQuaternion) { - if (newQuaternion != quaternion) { - NotificationChain msgs = null; - if (quaternion != null) - msgs = ((InternalEObject)quaternion).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION, null, msgs); - if (newQuaternion != null) - msgs = ((InternalEObject)newQuaternion).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION, null, msgs); - msgs = basicSetQuaternion(newQuaternion, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION, newQuaternion, newQuaternion)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.QUATERNION_STAMPED__HEADER: - return basicSetHeader(null, msgs); - case Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION: - return basicSetQuaternion(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 Geometry_datatypesPackage.QUATERNION_STAMPED__HEADER: - return getHeader(); - case Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION: - return getQuaternion(); - } - 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_STAMPED__HEADER: - setHeader((Header)newValue); - return; - case Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION: - setQuaternion((Quaternion)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_STAMPED__HEADER: - setHeader((Header)null); - return; - case Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION: - setQuaternion((Quaternion)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.QUATERNION_STAMPED__HEADER: - return header != null; - case Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION: - return quaternion != null; - } - return super.eIsSet(featureID); - } - -} // QuaternionStampedImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/TransformImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/TransformImpl.java deleted file mode 100644 index af92237d6c0..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/TransformImpl.java +++ /dev/null @@ -1,240 +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.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.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; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Transform</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.TransformImpl#getTranslation <em>Translation</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TransformImpl#getRotation <em>Rotation</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class TransformImpl extends MinimalEObjectImpl.Container implements Transform { - /** - * The cached value of the '{@link #getTranslation() <em>Translation</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTranslation() - * @generated - * @ordered - */ - protected Vector3 translation; - - /** - * The cached value of the '{@link #getRotation() <em>Rotation</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRotation() - * @generated - * @ordered - */ - protected Quaternion rotation; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TransformImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.TRANSFORM; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Vector3 getTranslation() { - return translation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetTranslation(Vector3 newTranslation, NotificationChain msgs) { - Vector3 oldTranslation = translation; - translation = newTranslation; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TRANSFORM__TRANSLATION, oldTranslation, newTranslation); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTranslation(Vector3 newTranslation) { - if (newTranslation != translation) { - NotificationChain msgs = null; - if (translation != null) - msgs = ((InternalEObject)translation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TRANSFORM__TRANSLATION, null, msgs); - if (newTranslation != null) - msgs = ((InternalEObject)newTranslation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TRANSFORM__TRANSLATION, null, msgs); - msgs = basicSetTranslation(newTranslation, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TRANSFORM__TRANSLATION, newTranslation, newTranslation)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Quaternion getRotation() { - return rotation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRotation(Quaternion newRotation, NotificationChain msgs) { - Quaternion oldRotation = rotation; - rotation = newRotation; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TRANSFORM__ROTATION, oldRotation, newRotation); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRotation(Quaternion newRotation) { - if (newRotation != rotation) { - NotificationChain msgs = null; - if (rotation != null) - msgs = ((InternalEObject)rotation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TRANSFORM__ROTATION, null, msgs); - if (newRotation != null) - msgs = ((InternalEObject)newRotation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TRANSFORM__ROTATION, null, msgs); - msgs = basicSetRotation(newRotation, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TRANSFORM__ROTATION, newRotation, newRotation)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.TRANSFORM__TRANSLATION: - return basicSetTranslation(null, msgs); - case Geometry_datatypesPackage.TRANSFORM__ROTATION: - return basicSetRotation(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 Geometry_datatypesPackage.TRANSFORM__TRANSLATION: - return getTranslation(); - case Geometry_datatypesPackage.TRANSFORM__ROTATION: - return getRotation(); - } - 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.TRANSFORM__TRANSLATION: - setTranslation((Vector3)newValue); - return; - case Geometry_datatypesPackage.TRANSFORM__ROTATION: - setRotation((Quaternion)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.TRANSFORM__TRANSLATION: - setTranslation((Vector3)null); - return; - case Geometry_datatypesPackage.TRANSFORM__ROTATION: - setRotation((Quaternion)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.TRANSFORM__TRANSLATION: - return translation != null; - case Geometry_datatypesPackage.TRANSFORM__ROTATION: - return rotation != null; - } - return super.eIsSet(featureID); - } - -} // TransformImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/TwistImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/TwistImpl.java deleted file mode 100644 index b4b00716e20..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/TwistImpl.java +++ /dev/null @@ -1,239 +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.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.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.Twist; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Twist</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.TwistImpl#getLinear <em>Linear</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistImpl#getAngular <em>Angular</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class TwistImpl extends MinimalEObjectImpl.Container implements Twist { - /** - * The cached value of the '{@link #getLinear() <em>Linear</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLinear() - * @generated - * @ordered - */ - protected Vector3 linear; - - /** - * The cached value of the '{@link #getAngular() <em>Angular</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAngular() - * @generated - * @ordered - */ - protected Vector3 angular; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TwistImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.TWIST; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Vector3 getLinear() { - return linear; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLinear(Vector3 newLinear, NotificationChain msgs) { - Vector3 oldLinear = linear; - linear = newLinear; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST__LINEAR, oldLinear, newLinear); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLinear(Vector3 newLinear) { - if (newLinear != linear) { - NotificationChain msgs = null; - if (linear != null) - msgs = ((InternalEObject)linear).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST__LINEAR, null, msgs); - if (newLinear != null) - msgs = ((InternalEObject)newLinear).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST__LINEAR, null, msgs); - msgs = basicSetLinear(newLinear, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST__LINEAR, newLinear, newLinear)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Vector3 getAngular() { - return angular; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetAngular(Vector3 newAngular, NotificationChain msgs) { - Vector3 oldAngular = angular; - angular = newAngular; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST__ANGULAR, oldAngular, newAngular); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAngular(Vector3 newAngular) { - if (newAngular != angular) { - NotificationChain msgs = null; - if (angular != null) - msgs = ((InternalEObject)angular).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST__ANGULAR, null, msgs); - if (newAngular != null) - msgs = ((InternalEObject)newAngular).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST__ANGULAR, null, msgs); - msgs = basicSetAngular(newAngular, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST__ANGULAR, newAngular, newAngular)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.TWIST__LINEAR: - return basicSetLinear(null, msgs); - case Geometry_datatypesPackage.TWIST__ANGULAR: - return basicSetAngular(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 Geometry_datatypesPackage.TWIST__LINEAR: - return getLinear(); - case Geometry_datatypesPackage.TWIST__ANGULAR: - return getAngular(); - } - 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.TWIST__LINEAR: - setLinear((Vector3)newValue); - return; - case Geometry_datatypesPackage.TWIST__ANGULAR: - setAngular((Vector3)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.TWIST__LINEAR: - setLinear((Vector3)null); - return; - case Geometry_datatypesPackage.TWIST__ANGULAR: - setAngular((Vector3)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.TWIST__LINEAR: - return linear != null; - case Geometry_datatypesPackage.TWIST__ANGULAR: - return angular != null; - } - return super.eIsSet(featureID); - } - -} // TwistImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/TwistStampedImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/TwistStampedImpl.java deleted file mode 100644 index dc6a4863ce2..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/TwistStampedImpl.java +++ /dev/null @@ -1,240 +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.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.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.Twist; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Twist Stamped</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.TwistStampedImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistStampedImpl#getTwist <em>Twist</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class TwistStampedImpl extends MinimalEObjectImpl.Container implements TwistStamped { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getTwist() <em>Twist</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTwist() - * @generated - * @ordered - */ - protected Twist twist; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TwistStampedImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.TWIST_STAMPED; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST_STAMPED__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST_STAMPED__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST_STAMPED__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST_STAMPED__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Twist getTwist() { - return twist; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetTwist(Twist newTwist, NotificationChain msgs) { - Twist oldTwist = twist; - twist = newTwist; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST_STAMPED__TWIST, oldTwist, newTwist); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTwist(Twist newTwist) { - if (newTwist != twist) { - NotificationChain msgs = null; - if (twist != null) - msgs = ((InternalEObject)twist).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST_STAMPED__TWIST, null, msgs); - if (newTwist != null) - msgs = ((InternalEObject)newTwist).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST_STAMPED__TWIST, null, msgs); - msgs = basicSetTwist(newTwist, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST_STAMPED__TWIST, newTwist, newTwist)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.TWIST_STAMPED__HEADER: - return basicSetHeader(null, msgs); - case Geometry_datatypesPackage.TWIST_STAMPED__TWIST: - return basicSetTwist(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 Geometry_datatypesPackage.TWIST_STAMPED__HEADER: - return getHeader(); - case Geometry_datatypesPackage.TWIST_STAMPED__TWIST: - return getTwist(); - } - 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.TWIST_STAMPED__HEADER: - setHeader((Header)newValue); - return; - case Geometry_datatypesPackage.TWIST_STAMPED__TWIST: - setTwist((Twist)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.TWIST_STAMPED__HEADER: - setHeader((Header)null); - return; - case Geometry_datatypesPackage.TWIST_STAMPED__TWIST: - setTwist((Twist)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.TWIST_STAMPED__HEADER: - return header != null; - case Geometry_datatypesPackage.TWIST_STAMPED__TWIST: - return twist != null; - } - return super.eIsSet(featureID); - } - -} // TwistStampedImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/TwistWithCovarianceImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/TwistWithCovarianceImpl.java deleted file mode 100644 index cfaf003055f..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/TwistWithCovarianceImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Twist With Covariance</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.TwistWithCovarianceImpl#getTwist <em>Twist</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistWithCovarianceImpl#getCovariance <em>Covariance</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class TwistWithCovarianceImpl extends MinimalEObjectImpl.Container implements TwistWithCovariance { - /** - * The cached value of the '{@link #getTwist() <em>Twist</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTwist() - * @generated - * @ordered - */ - protected Twist twist; - - /** - * The cached value of the '{@link #getCovariance() <em>Covariance</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCovariance() - * @generated - * @ordered - */ - protected EList<Object> covariance; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TwistWithCovarianceImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.TWIST_WITH_COVARIANCE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Twist getTwist() { - return twist; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetTwist(Twist newTwist, NotificationChain msgs) { - Twist oldTwist = twist; - twist = newTwist; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__TWIST, oldTwist, newTwist); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTwist(Twist newTwist) { - if (newTwist != twist) { - NotificationChain msgs = null; - if (twist != null) - msgs = ((InternalEObject)twist).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__TWIST, null, msgs); - if (newTwist != null) - msgs = ((InternalEObject)newTwist).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__TWIST, null, msgs); - msgs = basicSetTwist(newTwist, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__TWIST, newTwist, newTwist)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getCovariance() { - if (covariance == null) { - covariance = new EDataTypeUniqueEList<Object>(Object.class, this, Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__COVARIANCE); - } - return covariance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__TWIST: - return basicSetTwist(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 Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__TWIST: - return getTwist(); - case Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__COVARIANCE: - return getCovariance(); - } - 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 Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__TWIST: - setTwist((Twist)newValue); - return; - case Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__COVARIANCE: - getCovariance().clear(); - getCovariance().addAll((Collection<? extends 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.TWIST_WITH_COVARIANCE__TWIST: - setTwist((Twist)null); - return; - case Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__COVARIANCE: - getCovariance().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__TWIST: - return twist != null; - case Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__COVARIANCE: - return covariance != null && !covariance.isEmpty(); - } - 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(" (covariance: "); - result.append(covariance); - result.append(')'); - return result.toString(); - } - -} // TwistWithCovarianceImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Vector3Impl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Vector3Impl.java deleted file mode 100644 index aa452c3439e..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Vector3Impl.java +++ /dev/null @@ -1,268 +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.Vector3; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Vector3</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.Vector3Impl#getX <em>X</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl#getY <em>Y</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl#getZ <em>Z</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Vector3Impl extends MinimalEObjectImpl.Container implements Vector3 { - /** - * 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; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Vector3Impl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.VECTOR3; - } - - /** - * <!-- 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.VECTOR3__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.VECTOR3__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.VECTOR3__Z, oldZ, z)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Geometry_datatypesPackage.VECTOR3__X: - return getX(); - case Geometry_datatypesPackage.VECTOR3__Y: - return getY(); - case Geometry_datatypesPackage.VECTOR3__Z: - return getZ(); - } - 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.VECTOR3__X: - setX((Object)newValue); - return; - case Geometry_datatypesPackage.VECTOR3__Y: - setY((Object)newValue); - return; - case Geometry_datatypesPackage.VECTOR3__Z: - setZ((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.VECTOR3__X: - setX(X_EDEFAULT); - return; - case Geometry_datatypesPackage.VECTOR3__Y: - setY(Y_EDEFAULT); - return; - case Geometry_datatypesPackage.VECTOR3__Z: - setZ(Z_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.VECTOR3__X: - return X_EDEFAULT == null ? x != null : !X_EDEFAULT.equals(x); - case Geometry_datatypesPackage.VECTOR3__Y: - return Y_EDEFAULT == null ? y != null : !Y_EDEFAULT.equals(y); - case Geometry_datatypesPackage.VECTOR3__Z: - return Z_EDEFAULT == null ? z != null : !Z_EDEFAULT.equals(z); - } - 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(')'); - return result.toString(); - } - -} // Vector3Impl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Vector3StampedImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Vector3StampedImpl.java deleted file mode 100644 index 5071037a0dd..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/Vector3StampedImpl.java +++ /dev/null @@ -1,240 +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.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.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.Vector3; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Vector3 Stamped</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.Vector3StampedImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3StampedImpl#getVector <em>Vector</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Vector3StampedImpl extends MinimalEObjectImpl.Container implements Vector3Stamped { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getVector() <em>Vector</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVector() - * @generated - * @ordered - */ - protected Vector3 vector; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Vector3StampedImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.VECTOR3_STAMPED; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.VECTOR3_STAMPED__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.VECTOR3_STAMPED__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.VECTOR3_STAMPED__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.VECTOR3_STAMPED__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Vector3 getVector() { - return vector; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetVector(Vector3 newVector, NotificationChain msgs) { - Vector3 oldVector = vector; - vector = newVector; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR, oldVector, newVector); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVector(Vector3 newVector) { - if (newVector != vector) { - NotificationChain msgs = null; - if (vector != null) - msgs = ((InternalEObject)vector).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR, null, msgs); - if (newVector != null) - msgs = ((InternalEObject)newVector).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR, null, msgs); - msgs = basicSetVector(newVector, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR, newVector, newVector)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.VECTOR3_STAMPED__HEADER: - return basicSetHeader(null, msgs); - case Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR: - return basicSetVector(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 Geometry_datatypesPackage.VECTOR3_STAMPED__HEADER: - return getHeader(); - case Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR: - return getVector(); - } - 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.VECTOR3_STAMPED__HEADER: - setHeader((Header)newValue); - return; - case Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR: - setVector((Vector3)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.VECTOR3_STAMPED__HEADER: - setHeader((Header)null); - return; - case Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR: - setVector((Vector3)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.VECTOR3_STAMPED__HEADER: - return header != null; - case Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR: - return vector != null; - } - return super.eIsSet(featureID); - } - -} // Vector3StampedImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/WrenchImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/WrenchImpl.java deleted file mode 100644 index 3237c0891ad..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/WrenchImpl.java +++ /dev/null @@ -1,239 +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.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.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.Vector3; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Wrench</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.WrenchImpl#getForce <em>Force</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchImpl#getTorque <em>Torque</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class WrenchImpl extends MinimalEObjectImpl.Container implements Wrench { - /** - * The cached value of the '{@link #getForce() <em>Force</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getForce() - * @generated - * @ordered - */ - protected Vector3 force; - - /** - * The cached value of the '{@link #getTorque() <em>Torque</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTorque() - * @generated - * @ordered - */ - protected Vector3 torque; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected WrenchImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.WRENCH; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Vector3 getForce() { - return force; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetForce(Vector3 newForce, NotificationChain msgs) { - Vector3 oldForce = force; - force = newForce; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH__FORCE, oldForce, newForce); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setForce(Vector3 newForce) { - if (newForce != force) { - NotificationChain msgs = null; - if (force != null) - msgs = ((InternalEObject)force).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.WRENCH__FORCE, null, msgs); - if (newForce != null) - msgs = ((InternalEObject)newForce).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.WRENCH__FORCE, null, msgs); - msgs = basicSetForce(newForce, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH__FORCE, newForce, newForce)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Vector3 getTorque() { - return torque; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetTorque(Vector3 newTorque, NotificationChain msgs) { - Vector3 oldTorque = torque; - torque = newTorque; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH__TORQUE, oldTorque, newTorque); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTorque(Vector3 newTorque) { - if (newTorque != torque) { - NotificationChain msgs = null; - if (torque != null) - msgs = ((InternalEObject)torque).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.WRENCH__TORQUE, null, msgs); - if (newTorque != null) - msgs = ((InternalEObject)newTorque).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.WRENCH__TORQUE, null, msgs); - msgs = basicSetTorque(newTorque, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH__TORQUE, newTorque, newTorque)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.WRENCH__FORCE: - return basicSetForce(null, msgs); - case Geometry_datatypesPackage.WRENCH__TORQUE: - return basicSetTorque(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 Geometry_datatypesPackage.WRENCH__FORCE: - return getForce(); - case Geometry_datatypesPackage.WRENCH__TORQUE: - return getTorque(); - } - 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.WRENCH__FORCE: - setForce((Vector3)newValue); - return; - case Geometry_datatypesPackage.WRENCH__TORQUE: - setTorque((Vector3)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.WRENCH__FORCE: - setForce((Vector3)null); - return; - case Geometry_datatypesPackage.WRENCH__TORQUE: - setTorque((Vector3)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.WRENCH__FORCE: - return force != null; - case Geometry_datatypesPackage.WRENCH__TORQUE: - return torque != null; - } - return super.eIsSet(featureID); - } - -} // WrenchImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/WrenchStampedImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/WrenchStampedImpl.java deleted file mode 100644 index 2fdf051cde3..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/impl/WrenchStampedImpl.java +++ /dev/null @@ -1,240 +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.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.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.Wrench; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Wrench Stamped</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.WrenchStampedImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchStampedImpl#getWrench <em>Wrench</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class WrenchStampedImpl extends MinimalEObjectImpl.Container implements WrenchStamped { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getWrench() <em>Wrench</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWrench() - * @generated - * @ordered - */ - protected Wrench wrench; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected WrenchStampedImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Geometry_datatypesPackage.Literals.WRENCH_STAMPED; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH_STAMPED__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.WRENCH_STAMPED__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.WRENCH_STAMPED__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH_STAMPED__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Wrench getWrench() { - return wrench; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetWrench(Wrench newWrench, NotificationChain msgs) { - Wrench oldWrench = wrench; - wrench = newWrench; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH, oldWrench, newWrench); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWrench(Wrench newWrench) { - if (newWrench != wrench) { - NotificationChain msgs = null; - if (wrench != null) - msgs = ((InternalEObject)wrench).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH, null, msgs); - if (newWrench != null) - msgs = ((InternalEObject)newWrench).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH, null, msgs); - msgs = basicSetWrench(newWrench, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH, newWrench, newWrench)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Geometry_datatypesPackage.WRENCH_STAMPED__HEADER: - return basicSetHeader(null, msgs); - case Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH: - return basicSetWrench(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 Geometry_datatypesPackage.WRENCH_STAMPED__HEADER: - return getHeader(); - case Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH: - return getWrench(); - } - 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.WRENCH_STAMPED__HEADER: - setHeader((Header)newValue); - return; - case Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH: - setWrench((Wrench)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.WRENCH_STAMPED__HEADER: - setHeader((Header)null); - return; - case Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH: - setWrench((Wrench)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Geometry_datatypesPackage.WRENCH_STAMPED__HEADER: - return header != null; - case Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH: - return wrench != null; - } - return super.eIsSet(featureID); - } - -} // WrenchStampedImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/util/Geometry_datatypesAdapterFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/util/Geometry_datatypesAdapterFactory.java deleted file mode 100644 index 52c8d058536..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/util/Geometry_datatypesAdapterFactory.java +++ /dev/null @@ -1,498 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage - * @generated - */ -public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Geometry_datatypesPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Geometry_datatypesAdapterFactory() { - if (modelPackage == null) { - modelPackage = Geometry_datatypesPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Geometry_datatypesSwitch<Adapter> modelSwitch = - new Geometry_datatypesSwitch<Adapter>() { - @Override - public Adapter casePoint(Point object) { - return createPointAdapter(); - } - @Override - public Adapter casePoint32(Point32 object) { - return createPoint32Adapter(); - } - @Override - public Adapter casePointStamped(PointStamped object) { - return createPointStampedAdapter(); - } - @Override - public Adapter casePolygon(Polygon object) { - return createPolygonAdapter(); - } - @Override - public Adapter casePolygonStamped(PolygonStamped object) { - return createPolygonStampedAdapter(); - } - @Override - public Adapter caseVector3(Vector3 object) { - return createVector3Adapter(); - } - @Override - public Adapter caseVector3Stamped(Vector3Stamped object) { - return createVector3StampedAdapter(); - } - @Override - public Adapter caseQuaternion(Quaternion object) { - return createQuaternionAdapter(); - } - @Override - public Adapter casePose(Pose object) { - return createPoseAdapter(); - } - @Override - public Adapter casePoseStamped(PoseStamped object) { - return createPoseStampedAdapter(); - } - @Override - public Adapter caseTwistWithCovariance(TwistWithCovariance object) { - return createTwistWithCovarianceAdapter(); - } - @Override - public Adapter caseTwist(Twist object) { - return createTwistAdapter(); - } - @Override - public Adapter caseTwistStamped(TwistStamped object) { - return createTwistStampedAdapter(); - } - @Override - public Adapter casePoseWithCovariance(PoseWithCovariance object) { - return createPoseWithCovarianceAdapter(); - } - @Override - public Adapter casePose2D(Pose2D object) { - return createPose2DAdapter(); - } - @Override - public Adapter casePoseWithCovarianceStamped(PoseWithCovarianceStamped object) { - return createPoseWithCovarianceStampedAdapter(); - } - @Override - public Adapter casePoseArray(PoseArray object) { - return createPoseArrayAdapter(); - } - @Override - public Adapter caseQuaternionStamped(QuaternionStamped object) { - return createQuaternionStampedAdapter(); - } - @Override - public Adapter caseTransform(Transform object) { - return createTransformAdapter(); - } - @Override - public Adapter caseWrenchStamped(WrenchStamped object) { - return createWrenchStampedAdapter(); - } - @Override - public Adapter caseWrench(Wrench object) { - return createWrenchAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point <em>Point</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point - * @generated - */ - public Adapter createPointAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32 <em>Point32</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32 - * @generated - */ - public Adapter createPoint32Adapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped <em>Point Stamped</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped - * @generated - */ - public Adapter createPointStampedAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon <em>Polygon</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon - * @generated - */ - public Adapter createPolygonAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped <em>Polygon Stamped</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped - * @generated - */ - public Adapter createPolygonStampedAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3 <em>Vector3</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3 - * @generated - */ - public Adapter createVector3Adapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped <em>Vector3 Stamped</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped - * @generated - */ - public Adapter createVector3StampedAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion <em>Quaternion</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion - * @generated - */ - public Adapter createQuaternionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose <em>Pose</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose - * @generated - */ - public Adapter createPoseAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped <em>Pose Stamped</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped - * @generated - */ - public Adapter createPoseStampedAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance <em>Twist With Covariance</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance - * @generated - */ - public Adapter createTwistWithCovarianceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist <em>Twist</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist - * @generated - */ - public Adapter createTwistAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped <em>Twist Stamped</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped - * @generated - */ - public Adapter createTwistStampedAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance <em>Pose With Covariance</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance - * @generated - */ - public Adapter createPoseWithCovarianceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D <em>Pose2 D</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D - * @generated - */ - public Adapter createPose2DAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped <em>Pose With Covariance Stamped</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped - * @generated - */ - public Adapter createPoseWithCovarianceStampedAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray <em>Pose Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray - * @generated - */ - public Adapter createPoseArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped <em>Quaternion Stamped</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped - * @generated - */ - public Adapter createQuaternionStampedAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform <em>Transform</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform - * @generated - */ - public Adapter createTransformAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped <em>Wrench Stamped</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped - * @generated - */ - public Adapter createWrenchStampedAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench <em>Wrench</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench - * @generated - */ - public Adapter createWrenchAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} // Geometry_datatypesAdapterFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/util/Geometry_datatypesSwitch.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/util/Geometry_datatypesSwitch.java deleted file mode 100644 index ba4f05e18d1..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes/util/Geometry_datatypesSwitch.java +++ /dev/null @@ -1,548 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.util.Switch; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage - * @generated - */ -public class Geometry_datatypesSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Geometry_datatypesPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Geometry_datatypesSwitch() { - if (modelPackage == null) { - modelPackage = Geometry_datatypesPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case Geometry_datatypesPackage.POINT: { - Point point = (Point)theEObject; - T result = casePoint(point); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.POINT32: { - Point32 point32 = (Point32)theEObject; - T result = casePoint32(point32); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.POINT_STAMPED: { - PointStamped pointStamped = (PointStamped)theEObject; - T result = casePointStamped(pointStamped); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.POLYGON: { - Polygon polygon = (Polygon)theEObject; - T result = casePolygon(polygon); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.POLYGON_STAMPED: { - PolygonStamped polygonStamped = (PolygonStamped)theEObject; - T result = casePolygonStamped(polygonStamped); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.VECTOR3: { - Vector3 vector3 = (Vector3)theEObject; - T result = caseVector3(vector3); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.VECTOR3_STAMPED: { - Vector3Stamped vector3Stamped = (Vector3Stamped)theEObject; - T result = caseVector3Stamped(vector3Stamped); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.QUATERNION: { - Quaternion quaternion = (Quaternion)theEObject; - T result = caseQuaternion(quaternion); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.POSE: { - Pose pose = (Pose)theEObject; - T result = casePose(pose); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.POSE_STAMPED: { - PoseStamped poseStamped = (PoseStamped)theEObject; - T result = casePoseStamped(poseStamped); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.TWIST_WITH_COVARIANCE: { - TwistWithCovariance twistWithCovariance = (TwistWithCovariance)theEObject; - T result = caseTwistWithCovariance(twistWithCovariance); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.TWIST: { - Twist twist = (Twist)theEObject; - T result = caseTwist(twist); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.TWIST_STAMPED: { - TwistStamped twistStamped = (TwistStamped)theEObject; - T result = caseTwistStamped(twistStamped); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.POSE_WITH_COVARIANCE: { - PoseWithCovariance poseWithCovariance = (PoseWithCovariance)theEObject; - T result = casePoseWithCovariance(poseWithCovariance); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.POSE2_D: { - Pose2D pose2D = (Pose2D)theEObject; - T result = casePose2D(pose2D); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.POSE_WITH_COVARIANCE_STAMPED: { - PoseWithCovarianceStamped poseWithCovarianceStamped = (PoseWithCovarianceStamped)theEObject; - T result = casePoseWithCovarianceStamped(poseWithCovarianceStamped); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.POSE_ARRAY: { - PoseArray poseArray = (PoseArray)theEObject; - T result = casePoseArray(poseArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.QUATERNION_STAMPED: { - QuaternionStamped quaternionStamped = (QuaternionStamped)theEObject; - T result = caseQuaternionStamped(quaternionStamped); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.TRANSFORM: { - Transform transform = (Transform)theEObject; - T result = caseTransform(transform); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.WRENCH_STAMPED: { - WrenchStamped wrenchStamped = (WrenchStamped)theEObject; - T result = caseWrenchStamped(wrenchStamped); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Geometry_datatypesPackage.WRENCH: { - Wrench wrench = (Wrench)theEObject; - T result = caseWrench(wrench); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Point</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Point</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePoint(Point object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Point32</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Point32</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePoint32(Point32 object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Point Stamped</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Point Stamped</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePointStamped(PointStamped object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Polygon</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Polygon</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePolygon(Polygon object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Polygon Stamped</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Polygon Stamped</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePolygonStamped(PolygonStamped object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Vector3</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Vector3</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseVector3(Vector3 object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Vector3 Stamped</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Vector3 Stamped</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseVector3Stamped(Vector3Stamped object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Quaternion</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Quaternion</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseQuaternion(Quaternion object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Pose</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Pose</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePose(Pose object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Pose Stamped</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Pose Stamped</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePoseStamped(PoseStamped object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Twist With Covariance</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Twist With Covariance</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTwistWithCovariance(TwistWithCovariance object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Twist</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Twist</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTwist(Twist object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Twist Stamped</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Twist Stamped</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTwistStamped(TwistStamped object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Pose With Covariance</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Pose With Covariance</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePoseWithCovariance(PoseWithCovariance object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Pose2 D</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Pose2 D</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePose2D(Pose2D object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Pose With Covariance Stamped</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Pose With Covariance Stamped</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePoseWithCovarianceStamped(PoseWithCovarianceStamped object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Pose Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Pose Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePoseArray(PoseArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Quaternion Stamped</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Quaternion Stamped</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseQuaternionStamped(QuaternionStamped object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Transform</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Transform</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTransform(Transform object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Wrench Stamped</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Wrench Stamped</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseWrenchStamped(WrenchStamped object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Wrench</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Wrench</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseWrench(Wrench object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} // Geometry_datatypesSwitch diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/GridCells.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/GridCells.java deleted file mode 100644 index d7d2e5c4943..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/GridCells.java +++ /dev/null @@ -1,120 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Grid Cells</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_width <em>Cell width</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_height <em>Cell height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCells <em>Cells</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getGridCells() - * @model - * @generated - */ -public interface GridCells extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getGridCells_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Cell width</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Cell width</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Cell width</em>' attribute. - * @see #setCell_width(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getGridCells_Cell_width() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getCell_width(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_width <em>Cell width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Cell width</em>' attribute. - * @see #getCell_width() - * @generated - */ - void setCell_width(Object value); - - /** - * Returns the value of the '<em><b>Cell height</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Cell height</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Cell height</em>' attribute. - * @see #setCell_height(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getGridCells_Cell_height() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getCell_height(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_height <em>Cell height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Cell height</em>' attribute. - * @see #getCell_height() - * @generated - */ - void setCell_height(Object value); - - /** - * Returns the value of the '<em><b>Cells</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Cells</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Cells</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getGridCells_Cells() - * @model containment="true" ordered="false" - * @generated - */ - EList<Point> getCells(); - -} // GridCells diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/MapMetaData.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/MapMetaData.java deleted file mode 100644 index f1f6263b828..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/MapMetaData.java +++ /dev/null @@ -1,128 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Map Meta Data</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getMap_load_time <em>Map load time</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getResolution <em>Resolution</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getWidth <em>Width</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getOrigin <em>Origin</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getMapMetaData() - * @model - * @generated - */ -public interface MapMetaData extends EObject { - /** - * Returns the value of the '<em><b>Map load time</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Map load time</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Map load time</em>' attribute. - * @see #setMap_load_time(Time) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getMapMetaData_Map_load_time() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Time" required="true" ordered="false" - * @generated - */ - Object getMap_load_time(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getMap_load_time <em>Map load time</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Map load time</em>' attribute. - * @see #getMap_load_time() - * @generated - */ - void setMap_load_time(Object value); - - /** - * Returns the value of the '<em><b>Resolution</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Resolution</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Resolution</em>' attribute. - * @see #setResolution(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getMapMetaData_Resolution() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getResolution(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getResolution <em>Resolution</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Resolution</em>' attribute. - * @see #getResolution() - * @generated - */ - void setResolution(Object value); - - /** - * Returns the value of the '<em><b>Width</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Width</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Width</em>' attribute. - * @see #setWidth(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getMapMetaData_Width() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getWidth(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getWidth <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Width</em>' attribute. - * @see #getWidth() - * @generated - */ - void setWidth(Object value); - - /** - * Returns the value of the '<em><b>Origin</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Origin</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Origin</em>' containment reference. - * @see #setOrigin(Pose) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getMapMetaData_Origin() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Pose getOrigin(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getOrigin <em>Origin</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Origin</em>' containment reference. - * @see #getOrigin() - * @generated - */ - void setOrigin(Pose value); - -} // MapMetaData diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/Nav_datatypesFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/Nav_datatypesFactory.java deleted file mode 100644 index 3404aa61349..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/Nav_datatypesFactory.java +++ /dev/null @@ -1,78 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage - * @generated - */ -public interface Nav_datatypesFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Nav_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Path</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Path</em>'. - * @generated - */ - Path createPath(); - - /** - * Returns a new object of class '<em>Odometry</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Odometry</em>'. - * @generated - */ - Odometry createOdometry(); - - /** - * Returns a new object of class '<em>Map Meta Data</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Map Meta Data</em>'. - * @generated - */ - MapMetaData createMapMetaData(); - - /** - * Returns a new object of class '<em>Occupancy Grid</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Occupancy Grid</em>'. - * @generated - */ - OccupancyGrid createOccupancyGrid(); - - /** - * Returns a new object of class '<em>Grid Cells</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Grid Cells</em>'. - * @generated - */ - GridCells createGridCells(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - Nav_datatypesPackage getNav_datatypesPackage(); - -} // Nav_datatypesFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/Nav_datatypesPackage.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/Nav_datatypesPackage.java deleted file mode 100644 index 1bbd74288de..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/Nav_datatypesPackage.java +++ /dev/null @@ -1,801 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesFactory - * @model kind="package" - * @generated - */ -public interface Nav_datatypesPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "nav_datatypes"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes.ecore"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Nav_datatypesPackage eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl <em>Path</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl#getPath() - * @generated - */ - int PATH = 0; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PATH__HEADER = 0; - - /** - * The feature id for the '<em><b>Poses</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PATH__POSES = 1; - - /** - * The number of structural features of the '<em>Path</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PATH_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Path</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PATH_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl <em>Odometry</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl#getOdometry() - * @generated - */ - int ODOMETRY = 1; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETRY__HEADER = 0; - - /** - * The feature id for the '<em><b>Child frame id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETRY__CHILD_FRAME_ID = 1; - - /** - * The feature id for the '<em><b>Pose</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETRY__POSE = 2; - - /** - * The feature id for the '<em><b>Twist</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETRY__TWIST = 3; - - /** - * The number of structural features of the '<em>Odometry</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETRY_FEATURE_COUNT = 4; - - /** - * The number of operations of the '<em>Odometry</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETRY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl <em>Map Meta Data</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl#getMapMetaData() - * @generated - */ - int MAP_META_DATA = 2; - - /** - * The feature id for the '<em><b>Map load time</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MAP_META_DATA__MAP_LOAD_TIME = 0; - - /** - * The feature id for the '<em><b>Resolution</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MAP_META_DATA__RESOLUTION = 1; - - /** - * The feature id for the '<em><b>Width</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MAP_META_DATA__WIDTH = 2; - - /** - * The feature id for the '<em><b>Origin</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MAP_META_DATA__ORIGIN = 3; - - /** - * The number of structural features of the '<em>Map Meta Data</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MAP_META_DATA_FEATURE_COUNT = 4; - - /** - * The number of operations of the '<em>Map Meta Data</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MAP_META_DATA_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl <em>Occupancy Grid</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl#getOccupancyGrid() - * @generated - */ - int OCCUPANCY_GRID = 3; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OCCUPANCY_GRID__HEADER = 0; - - /** - * The feature id for the '<em><b>Info</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OCCUPANCY_GRID__INFO = 1; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OCCUPANCY_GRID__DATA = 2; - - /** - * The number of structural features of the '<em>Occupancy Grid</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OCCUPANCY_GRID_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Occupancy Grid</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OCCUPANCY_GRID_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl <em>Grid Cells</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl#getGridCells() - * @generated - */ - int GRID_CELLS = 4; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GRID_CELLS__HEADER = 0; - - /** - * The feature id for the '<em><b>Cell width</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GRID_CELLS__CELL_WIDTH = 1; - - /** - * The feature id for the '<em><b>Cell height</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GRID_CELLS__CELL_HEIGHT = 2; - - /** - * The feature id for the '<em><b>Cells</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GRID_CELLS__CELLS = 3; - - /** - * The number of structural features of the '<em>Grid Cells</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GRID_CELLS_FEATURE_COUNT = 4; - - /** - * The number of operations of the '<em>Grid Cells</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int GRID_CELLS_OPERATION_COUNT = 0; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path <em>Path</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Path</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path - * @generated - */ - EClass getPath(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getHeader() - * @see #getPath() - * @generated - */ - EReference getPath_Header(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getPoses <em>Poses</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Poses</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getPoses() - * @see #getPath() - * @generated - */ - EReference getPath_Poses(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry <em>Odometry</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Odometry</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry - * @generated - */ - EClass getOdometry(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getHeader() - * @see #getOdometry() - * @generated - */ - EReference getOdometry_Header(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getChild_frame_id <em>Child frame id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Child frame id</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getChild_frame_id() - * @see #getOdometry() - * @generated - */ - EAttribute getOdometry_Child_frame_id(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getPose <em>Pose</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Pose</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getPose() - * @see #getOdometry() - * @generated - */ - EReference getOdometry_Pose(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getTwist <em>Twist</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Twist</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getTwist() - * @see #getOdometry() - * @generated - */ - EReference getOdometry_Twist(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData <em>Map Meta Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Map Meta Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData - * @generated - */ - EClass getMapMetaData(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getMap_load_time <em>Map load time</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Map load time</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getMap_load_time() - * @see #getMapMetaData() - * @generated - */ - EAttribute getMapMetaData_Map_load_time(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getResolution <em>Resolution</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Resolution</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getResolution() - * @see #getMapMetaData() - * @generated - */ - EAttribute getMapMetaData_Resolution(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getWidth <em>Width</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Width</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getWidth() - * @see #getMapMetaData() - * @generated - */ - EAttribute getMapMetaData_Width(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getOrigin <em>Origin</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Origin</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getOrigin() - * @see #getMapMetaData() - * @generated - */ - EReference getMapMetaData_Origin(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid <em>Occupancy Grid</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Occupancy Grid</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid - * @generated - */ - EClass getOccupancyGrid(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getHeader() - * @see #getOccupancyGrid() - * @generated - */ - EReference getOccupancyGrid_Header(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getInfo <em>Info</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Info</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getInfo() - * @see #getOccupancyGrid() - * @generated - */ - EReference getOccupancyGrid_Info(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getData() - * @see #getOccupancyGrid() - * @generated - */ - EAttribute getOccupancyGrid_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells <em>Grid Cells</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Grid Cells</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells - * @generated - */ - EClass getGridCells(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getHeader() - * @see #getGridCells() - * @generated - */ - EReference getGridCells_Header(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_width <em>Cell width</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Cell width</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_width() - * @see #getGridCells() - * @generated - */ - EAttribute getGridCells_Cell_width(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_height <em>Cell height</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Cell height</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_height() - * @see #getGridCells() - * @generated - */ - EAttribute getGridCells_Cell_height(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCells <em>Cells</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Cells</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCells() - * @see #getGridCells() - * @generated - */ - EReference getGridCells_Cells(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - Nav_datatypesFactory getNav_datatypesFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl <em>Path</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl#getPath() - * @generated - */ - EClass PATH = eINSTANCE.getPath(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PATH__HEADER = eINSTANCE.getPath_Header(); - - /** - * The meta object literal for the '<em><b>Poses</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PATH__POSES = eINSTANCE.getPath_Poses(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl <em>Odometry</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl#getOdometry() - * @generated - */ - EClass ODOMETRY = eINSTANCE.getOdometry(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ODOMETRY__HEADER = eINSTANCE.getOdometry_Header(); - - /** - * The meta object literal for the '<em><b>Child frame id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ODOMETRY__CHILD_FRAME_ID = eINSTANCE.getOdometry_Child_frame_id(); - - /** - * The meta object literal for the '<em><b>Pose</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ODOMETRY__POSE = eINSTANCE.getOdometry_Pose(); - - /** - * The meta object literal for the '<em><b>Twist</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ODOMETRY__TWIST = eINSTANCE.getOdometry_Twist(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl <em>Map Meta Data</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl#getMapMetaData() - * @generated - */ - EClass MAP_META_DATA = eINSTANCE.getMapMetaData(); - - /** - * The meta object literal for the '<em><b>Map load time</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MAP_META_DATA__MAP_LOAD_TIME = eINSTANCE.getMapMetaData_Map_load_time(); - - /** - * The meta object literal for the '<em><b>Resolution</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MAP_META_DATA__RESOLUTION = eINSTANCE.getMapMetaData_Resolution(); - - /** - * The meta object literal for the '<em><b>Width</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MAP_META_DATA__WIDTH = eINSTANCE.getMapMetaData_Width(); - - /** - * The meta object literal for the '<em><b>Origin</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference MAP_META_DATA__ORIGIN = eINSTANCE.getMapMetaData_Origin(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl <em>Occupancy Grid</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl#getOccupancyGrid() - * @generated - */ - EClass OCCUPANCY_GRID = eINSTANCE.getOccupancyGrid(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OCCUPANCY_GRID__HEADER = eINSTANCE.getOccupancyGrid_Header(); - - /** - * The meta object literal for the '<em><b>Info</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OCCUPANCY_GRID__INFO = eINSTANCE.getOccupancyGrid_Info(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute OCCUPANCY_GRID__DATA = eINSTANCE.getOccupancyGrid_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl <em>Grid Cells</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl#getGridCells() - * @generated - */ - EClass GRID_CELLS = eINSTANCE.getGridCells(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference GRID_CELLS__HEADER = eINSTANCE.getGridCells_Header(); - - /** - * The meta object literal for the '<em><b>Cell width</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GRID_CELLS__CELL_WIDTH = eINSTANCE.getGridCells_Cell_width(); - - /** - * The meta object literal for the '<em><b>Cell height</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute GRID_CELLS__CELL_HEIGHT = eINSTANCE.getGridCells_Cell_height(); - - /** - * The meta object literal for the '<em><b>Cells</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference GRID_CELLS__CELLS = eINSTANCE.getGridCells_Cells(); - - } - -} // Nav_datatypesPackage diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/OccupancyGrid.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/OccupancyGrid.java deleted file mode 100644 index d18ce506009..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/OccupancyGrid.java +++ /dev/null @@ -1,93 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Occupancy Grid</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getInfo <em>Info</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOccupancyGrid() - * @model - * @generated - */ -public interface OccupancyGrid extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOccupancyGrid_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Info</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Info</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Info</em>' containment reference. - * @see #setInfo(MapMetaData) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOccupancyGrid_Info() - * @model containment="true" required="true" ordered="false" - * @generated - */ - MapMetaData getInfo(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getInfo <em>Info</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Info</em>' containment reference. - * @see #getInfo() - * @generated - */ - void setInfo(MapMetaData value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOccupancyGrid_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // OccupancyGrid diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/Odometry.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/Odometry.java deleted file mode 100644 index c1cff4a4ca3..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/Odometry.java +++ /dev/null @@ -1,130 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Odometry</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getChild_frame_id <em>Child frame id</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getPose <em>Pose</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getTwist <em>Twist</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOdometry() - * @model - * @generated - */ -public interface Odometry extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOdometry_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Child frame id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Child frame id</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Child frame id</em>' attribute. - * @see #setChild_frame_id(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOdometry_Child_frame_id() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getChild_frame_id(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getChild_frame_id <em>Child frame id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Child frame id</em>' attribute. - * @see #getChild_frame_id() - * @generated - */ - void setChild_frame_id(Object value); - - /** - * Returns the value of the '<em><b>Pose</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Pose</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Pose</em>' containment reference. - * @see #setPose(PoseWithCovariance) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOdometry_Pose() - * @model containment="true" required="true" ordered="false" - * @generated - */ - PoseWithCovariance getPose(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getPose <em>Pose</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Pose</em>' containment reference. - * @see #getPose() - * @generated - */ - void setPose(PoseWithCovariance value); - - /** - * Returns the value of the '<em><b>Twist</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Twist</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Twist</em>' containment reference. - * @see #setTwist(TwistWithCovariance) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOdometry_Twist() - * @model containment="true" required="true" ordered="false" - * @generated - */ - TwistWithCovariance getTwist(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getTwist <em>Twist</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Twist</em>' containment reference. - * @see #getTwist() - * @generated - */ - void setTwist(TwistWithCovariance value); - -} // Odometry diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/Path.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/Path.java deleted file mode 100644 index 21c7926eb5d..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/Path.java +++ /dev/null @@ -1,68 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Path</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getPoses <em>Poses</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getPath() - * @model - * @generated - */ -public interface Path extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getPath_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Poses</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Poses</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Poses</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getPath_Poses() - * @model containment="true" ordered="false" - * @generated - */ - EList<PoseStamped> getPoses(); - -} // Path diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/GridCellsImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/GridCellsImpl.java deleted file mode 100644 index c015f4671de..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/GridCellsImpl.java +++ /dev/null @@ -1,338 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.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.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Grid Cells</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl#getCell_width <em>Cell width</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl#getCell_height <em>Cell height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl#getCells <em>Cells</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class GridCellsImpl extends MinimalEObjectImpl.Container implements GridCells { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The default value of the '{@link #getCell_width() <em>Cell width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCell_width() - * @generated - * @ordered - */ - protected static final Object CELL_WIDTH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCell_width() <em>Cell width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCell_width() - * @generated - * @ordered - */ - protected Object cell_width = CELL_WIDTH_EDEFAULT; - - /** - * The default value of the '{@link #getCell_height() <em>Cell height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCell_height() - * @generated - * @ordered - */ - protected static final Object CELL_HEIGHT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCell_height() <em>Cell height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCell_height() - * @generated - * @ordered - */ - protected Object cell_height = CELL_HEIGHT_EDEFAULT; - - /** - * The cached value of the '{@link #getCells() <em>Cells</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCells() - * @generated - * @ordered - */ - protected EList<Point> cells; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected GridCellsImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Nav_datatypesPackage.Literals.GRID_CELLS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.GRID_CELLS__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.GRID_CELLS__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.GRID_CELLS__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.GRID_CELLS__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getCell_width() { - return cell_width; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setCell_width(Object newCell_width) { - Object oldCell_width = cell_width; - cell_width = newCell_width; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.GRID_CELLS__CELL_WIDTH, oldCell_width, cell_width)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getCell_height() { - return cell_height; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setCell_height(Object newCell_height) { - Object oldCell_height = cell_height; - cell_height = newCell_height; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.GRID_CELLS__CELL_HEIGHT, oldCell_height, cell_height)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Point> getCells() { - if (cells == null) { - cells = new EObjectContainmentEList<Point>(Point.class, this, Nav_datatypesPackage.GRID_CELLS__CELLS); - } - return cells; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Nav_datatypesPackage.GRID_CELLS__HEADER: - return basicSetHeader(null, msgs); - case Nav_datatypesPackage.GRID_CELLS__CELLS: - return ((InternalEList<?>)getCells()).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 Nav_datatypesPackage.GRID_CELLS__HEADER: - return getHeader(); - case Nav_datatypesPackage.GRID_CELLS__CELL_WIDTH: - return getCell_width(); - case Nav_datatypesPackage.GRID_CELLS__CELL_HEIGHT: - return getCell_height(); - case Nav_datatypesPackage.GRID_CELLS__CELLS: - return getCells(); - } - 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 Nav_datatypesPackage.GRID_CELLS__HEADER: - setHeader((Header)newValue); - return; - case Nav_datatypesPackage.GRID_CELLS__CELL_WIDTH: - setCell_width((Object)newValue); - return; - case Nav_datatypesPackage.GRID_CELLS__CELL_HEIGHT: - setCell_height((Object)newValue); - return; - case Nav_datatypesPackage.GRID_CELLS__CELLS: - getCells().clear(); - getCells().addAll((Collection<? extends Point>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Nav_datatypesPackage.GRID_CELLS__HEADER: - setHeader((Header)null); - return; - case Nav_datatypesPackage.GRID_CELLS__CELL_WIDTH: - setCell_width(CELL_WIDTH_EDEFAULT); - return; - case Nav_datatypesPackage.GRID_CELLS__CELL_HEIGHT: - setCell_height(CELL_HEIGHT_EDEFAULT); - return; - case Nav_datatypesPackage.GRID_CELLS__CELLS: - getCells().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Nav_datatypesPackage.GRID_CELLS__HEADER: - return header != null; - case Nav_datatypesPackage.GRID_CELLS__CELL_WIDTH: - return CELL_WIDTH_EDEFAULT == null ? cell_width != null : !CELL_WIDTH_EDEFAULT.equals(cell_width); - case Nav_datatypesPackage.GRID_CELLS__CELL_HEIGHT: - return CELL_HEIGHT_EDEFAULT == null ? cell_height != null : !CELL_HEIGHT_EDEFAULT.equals(cell_height); - case Nav_datatypesPackage.GRID_CELLS__CELLS: - return cells != null && !cells.isEmpty(); - } - 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(" (cell_width: "); - result.append(cell_width); - result.append(", cell_height: "); - result.append(cell_height); - result.append(')'); - return result.toString(); - } - -} // GridCellsImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/MapMetaDataImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/MapMetaDataImpl.java deleted file mode 100644 index 9ddf8c1c820..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/MapMetaDataImpl.java +++ /dev/null @@ -1,349 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Map Meta Data</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl#getMap_load_time <em>Map load time</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl#getResolution <em>Resolution</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl#getWidth <em>Width</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl#getOrigin <em>Origin</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class MapMetaDataImpl extends MinimalEObjectImpl.Container implements MapMetaData { - /** - * The default value of the '{@link #getMap_load_time() <em>Map load time</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMap_load_time() - * @generated - * @ordered - */ - protected static final Object MAP_LOAD_TIME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMap_load_time() <em>Map load time</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMap_load_time() - * @generated - * @ordered - */ - protected Object map_load_time = MAP_LOAD_TIME_EDEFAULT; - - /** - * The default value of the '{@link #getResolution() <em>Resolution</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResolution() - * @generated - * @ordered - */ - protected static final Object RESOLUTION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getResolution() <em>Resolution</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResolution() - * @generated - * @ordered - */ - protected Object resolution = RESOLUTION_EDEFAULT; - - /** - * The default value of the '{@link #getWidth() <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWidth() - * @generated - * @ordered - */ - protected static final Object WIDTH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWidth() - * @generated - * @ordered - */ - protected Object width = WIDTH_EDEFAULT; - - /** - * The cached value of the '{@link #getOrigin() <em>Origin</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOrigin() - * @generated - * @ordered - */ - protected Pose origin; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected MapMetaDataImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Nav_datatypesPackage.Literals.MAP_META_DATA; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getMap_load_time() { - return map_load_time; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMap_load_time(Object newMap_load_time) { - Object oldMap_load_time = map_load_time; - map_load_time = newMap_load_time; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.MAP_META_DATA__MAP_LOAD_TIME, oldMap_load_time, map_load_time)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getResolution() { - return resolution; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setResolution(Object newResolution) { - Object oldResolution = resolution; - resolution = newResolution; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.MAP_META_DATA__RESOLUTION, oldResolution, resolution)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getWidth() { - return width; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWidth(Object newWidth) { - Object oldWidth = width; - width = newWidth; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.MAP_META_DATA__WIDTH, oldWidth, width)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Pose getOrigin() { - return origin; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOrigin(Pose newOrigin, NotificationChain msgs) { - Pose oldOrigin = origin; - origin = newOrigin; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.MAP_META_DATA__ORIGIN, oldOrigin, newOrigin); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOrigin(Pose newOrigin) { - if (newOrigin != origin) { - NotificationChain msgs = null; - if (origin != null) - msgs = ((InternalEObject)origin).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.MAP_META_DATA__ORIGIN, null, msgs); - if (newOrigin != null) - msgs = ((InternalEObject)newOrigin).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.MAP_META_DATA__ORIGIN, null, msgs); - msgs = basicSetOrigin(newOrigin, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.MAP_META_DATA__ORIGIN, newOrigin, newOrigin)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Nav_datatypesPackage.MAP_META_DATA__ORIGIN: - return basicSetOrigin(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 Nav_datatypesPackage.MAP_META_DATA__MAP_LOAD_TIME: - return getMap_load_time(); - case Nav_datatypesPackage.MAP_META_DATA__RESOLUTION: - return getResolution(); - case Nav_datatypesPackage.MAP_META_DATA__WIDTH: - return getWidth(); - case Nav_datatypesPackage.MAP_META_DATA__ORIGIN: - return getOrigin(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Nav_datatypesPackage.MAP_META_DATA__MAP_LOAD_TIME: - setMap_load_time((Object)newValue); - return; - case Nav_datatypesPackage.MAP_META_DATA__RESOLUTION: - setResolution((Object)newValue); - return; - case Nav_datatypesPackage.MAP_META_DATA__WIDTH: - setWidth((Object)newValue); - return; - case Nav_datatypesPackage.MAP_META_DATA__ORIGIN: - setOrigin((Pose)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Nav_datatypesPackage.MAP_META_DATA__MAP_LOAD_TIME: - setMap_load_time(MAP_LOAD_TIME_EDEFAULT); - return; - case Nav_datatypesPackage.MAP_META_DATA__RESOLUTION: - setResolution(RESOLUTION_EDEFAULT); - return; - case Nav_datatypesPackage.MAP_META_DATA__WIDTH: - setWidth(WIDTH_EDEFAULT); - return; - case Nav_datatypesPackage.MAP_META_DATA__ORIGIN: - setOrigin((Pose)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Nav_datatypesPackage.MAP_META_DATA__MAP_LOAD_TIME: - return MAP_LOAD_TIME_EDEFAULT == null ? map_load_time != null : !MAP_LOAD_TIME_EDEFAULT.equals(map_load_time); - case Nav_datatypesPackage.MAP_META_DATA__RESOLUTION: - return RESOLUTION_EDEFAULT == null ? resolution != null : !RESOLUTION_EDEFAULT.equals(resolution); - case Nav_datatypesPackage.MAP_META_DATA__WIDTH: - return WIDTH_EDEFAULT == null ? width != null : !WIDTH_EDEFAULT.equals(width); - case Nav_datatypesPackage.MAP_META_DATA__ORIGIN: - return origin != null; - } - 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(" (map_load_time: "); - result.append(map_load_time); - result.append(", resolution: "); - result.append(resolution); - result.append(", width: "); - result.append(width); - result.append(')'); - return result.toString(); - } - -} // MapMetaDataImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/Nav_datatypesFactoryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/Nav_datatypesFactoryImpl.java deleted file mode 100644 index 9e09fc28b0a..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/Nav_datatypesFactoryImpl.java +++ /dev/null @@ -1,142 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Nav_datatypesFactoryImpl extends EFactoryImpl implements Nav_datatypesFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static Nav_datatypesFactory init() { - try { - Nav_datatypesFactory theNav_datatypesFactory = (Nav_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Nav_datatypesPackage.eNS_URI); - if (theNav_datatypesFactory != null) { - return theNav_datatypesFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new Nav_datatypesFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Nav_datatypesFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case Nav_datatypesPackage.PATH: return createPath(); - case Nav_datatypesPackage.ODOMETRY: return createOdometry(); - case Nav_datatypesPackage.MAP_META_DATA: return createMapMetaData(); - case Nav_datatypesPackage.OCCUPANCY_GRID: return createOccupancyGrid(); - case Nav_datatypesPackage.GRID_CELLS: return createGridCells(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Path createPath() { - PathImpl path = new PathImpl(); - return path; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Odometry createOdometry() { - OdometryImpl odometry = new OdometryImpl(); - return odometry; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MapMetaData createMapMetaData() { - MapMetaDataImpl mapMetaData = new MapMetaDataImpl(); - return mapMetaData; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OccupancyGrid createOccupancyGrid() { - OccupancyGridImpl occupancyGrid = new OccupancyGridImpl(); - return occupancyGrid; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public GridCells createGridCells() { - GridCellsImpl gridCells = new GridCellsImpl(); - return gridCells; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Nav_datatypesPackage getNav_datatypesPackage() { - return (Nav_datatypesPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static Nav_datatypesPackage getPackage() { - return Nav_datatypesPackage.eINSTANCE; - } - -} // Nav_datatypesFactoryImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/Nav_datatypesPackageImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/Nav_datatypesPackageImpl.java deleted file mode 100644 index c983c3b69cd..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/Nav_datatypesPackageImpl.java +++ /dev/null @@ -1,485 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.papyrus.RobotML.RobotMLPackage; -import org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_datatypesPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass pathEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass odometryEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass mapMetaDataEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass occupancyGridEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass gridCellsEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#eNS_URI - * @see #init() - * @generated - */ - private Nav_datatypesPackageImpl() { - super(eNS_URI, Nav_datatypesFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p> - * This method is used to initialize {@link Nav_datatypesPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static Nav_datatypesPackage init() { - if (isInited) return (Nav_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI); - - // Obtain or create and register package - Nav_datatypesPackageImpl theNav_datatypesPackage = (Nav_datatypesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Nav_datatypesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Nav_datatypesPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - RobotMLPackageImpl theRobotMLPackage = (RobotMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) instanceof RobotMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) : RobotMLPackage.eINSTANCE); - Diagnostic_datatypesPackageImpl theDiagnostic_datatypesPackage = (Diagnostic_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) instanceof Diagnostic_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) : Diagnostic_datatypesPackage.eINSTANCE); - Geometry_datatypesPackageImpl theGeometry_datatypesPackage = (Geometry_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) instanceof Geometry_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) : Geometry_datatypesPackage.eINSTANCE); - Sensor_datatypesPackageImpl theSensor_datatypesPackage = (Sensor_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) instanceof Sensor_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) : Sensor_datatypesPackage.eINSTANCE); - Actionlib_datatypesPackageImpl theActionlib_datatypesPackage = (Actionlib_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) instanceof Actionlib_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) : Actionlib_datatypesPackage.eINSTANCE); - Oarp1_datatypesPackageImpl theOarp1_datatypesPackage = (Oarp1_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) instanceof Oarp1_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) : Oarp1_datatypesPackage.eINSTANCE); - Oarp4_datatypesPackageImpl theOarp4_datatypesPackage = (Oarp4_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) instanceof Oarp4_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) : Oarp4_datatypesPackage.eINSTANCE); - Std_datatypesPackageImpl theStd_datatypesPackage = (Std_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) instanceof Std_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) : Std_datatypesPackage.eINSTANCE); - - // Create package meta-data objects - theNav_datatypesPackage.createPackageContents(); - theRobotMLPackage.createPackageContents(); - theDiagnostic_datatypesPackage.createPackageContents(); - theGeometry_datatypesPackage.createPackageContents(); - theSensor_datatypesPackage.createPackageContents(); - theActionlib_datatypesPackage.createPackageContents(); - theOarp1_datatypesPackage.createPackageContents(); - theOarp4_datatypesPackage.createPackageContents(); - theStd_datatypesPackage.createPackageContents(); - - // Initialize created meta-data - theNav_datatypesPackage.initializePackageContents(); - theRobotMLPackage.initializePackageContents(); - theDiagnostic_datatypesPackage.initializePackageContents(); - theGeometry_datatypesPackage.initializePackageContents(); - theSensor_datatypesPackage.initializePackageContents(); - theActionlib_datatypesPackage.initializePackageContents(); - theOarp1_datatypesPackage.initializePackageContents(); - theOarp4_datatypesPackage.initializePackageContents(); - theStd_datatypesPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theNav_datatypesPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(Nav_datatypesPackage.eNS_URI, theNav_datatypesPackage); - return theNav_datatypesPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPath() { - return pathEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPath_Header() { - return (EReference)pathEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPath_Poses() { - return (EReference)pathEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOdometry() { - return odometryEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOdometry_Header() { - return (EReference)odometryEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getOdometry_Child_frame_id() { - return (EAttribute)odometryEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOdometry_Pose() { - return (EReference)odometryEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOdometry_Twist() { - return (EReference)odometryEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getMapMetaData() { - return mapMetaDataEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMapMetaData_Map_load_time() { - return (EAttribute)mapMetaDataEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMapMetaData_Resolution() { - return (EAttribute)mapMetaDataEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMapMetaData_Width() { - return (EAttribute)mapMetaDataEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getMapMetaData_Origin() { - return (EReference)mapMetaDataEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOccupancyGrid() { - return occupancyGridEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOccupancyGrid_Header() { - return (EReference)occupancyGridEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOccupancyGrid_Info() { - return (EReference)occupancyGridEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getOccupancyGrid_Data() { - return (EAttribute)occupancyGridEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getGridCells() { - return gridCellsEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getGridCells_Header() { - return (EReference)gridCellsEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGridCells_Cell_width() { - return (EAttribute)gridCellsEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getGridCells_Cell_height() { - return (EAttribute)gridCellsEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getGridCells_Cells() { - return (EReference)gridCellsEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Nav_datatypesFactory getNav_datatypesFactory() { - return (Nav_datatypesFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - pathEClass = createEClass(PATH); - createEReference(pathEClass, PATH__HEADER); - createEReference(pathEClass, PATH__POSES); - - odometryEClass = createEClass(ODOMETRY); - createEReference(odometryEClass, ODOMETRY__HEADER); - createEAttribute(odometryEClass, ODOMETRY__CHILD_FRAME_ID); - createEReference(odometryEClass, ODOMETRY__POSE); - createEReference(odometryEClass, ODOMETRY__TWIST); - - mapMetaDataEClass = createEClass(MAP_META_DATA); - createEAttribute(mapMetaDataEClass, MAP_META_DATA__MAP_LOAD_TIME); - createEAttribute(mapMetaDataEClass, MAP_META_DATA__RESOLUTION); - createEAttribute(mapMetaDataEClass, MAP_META_DATA__WIDTH); - createEReference(mapMetaDataEClass, MAP_META_DATA__ORIGIN); - - occupancyGridEClass = createEClass(OCCUPANCY_GRID); - createEReference(occupancyGridEClass, OCCUPANCY_GRID__HEADER); - createEReference(occupancyGridEClass, OCCUPANCY_GRID__INFO); - createEAttribute(occupancyGridEClass, OCCUPANCY_GRID__DATA); - - gridCellsEClass = createEClass(GRID_CELLS); - createEReference(gridCellsEClass, GRID_CELLS__HEADER); - createEAttribute(gridCellsEClass, GRID_CELLS__CELL_WIDTH); - createEAttribute(gridCellsEClass, GRID_CELLS__CELL_HEIGHT); - createEReference(gridCellsEClass, GRID_CELLS__CELLS); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - Std_datatypesPackage theStd_datatypesPackage = (Std_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI); - Geometry_datatypesPackage theGeometry_datatypesPackage = (Geometry_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(pathEClass, Path.class, "Path", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPath_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, Path.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getPath_Poses(), theGeometry_datatypesPackage.getPoseStamped(), null, "poses", null, 0, -1, Path.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(odometryEClass, Odometry.class, "Odometry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getOdometry_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, Odometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getOdometry_Child_frame_id(), theStd_datatypesPackage.getString(), "child_frame_id", null, 1, 1, Odometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getOdometry_Pose(), theGeometry_datatypesPackage.getPoseWithCovariance(), null, "pose", null, 1, 1, Odometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getOdometry_Twist(), theGeometry_datatypesPackage.getTwistWithCovariance(), null, "twist", null, 1, 1, Odometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(mapMetaDataEClass, MapMetaData.class, "MapMetaData", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMapMetaData_Map_load_time(), theStd_datatypesPackage.getTime(), "map_load_time", null, 1, 1, MapMetaData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getMapMetaData_Resolution(), theStd_datatypesPackage.getFloat32(), "resolution", null, 1, 1, MapMetaData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getMapMetaData_Width(), theStd_datatypesPackage.getUInt32(), "width", null, 1, 1, MapMetaData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getMapMetaData_Origin(), theGeometry_datatypesPackage.getPose(), null, "origin", null, 1, 1, MapMetaData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(occupancyGridEClass, OccupancyGrid.class, "OccupancyGrid", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getOccupancyGrid_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, OccupancyGrid.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getOccupancyGrid_Info(), this.getMapMetaData(), null, "info", null, 1, 1, OccupancyGrid.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getOccupancyGrid_Data(), theStd_datatypesPackage.getInt8(), "data", null, 0, -1, OccupancyGrid.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(gridCellsEClass, GridCells.class, "GridCells", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getGridCells_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, GridCells.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGridCells_Cell_width(), theStd_datatypesPackage.getFloat32(), "cell_width", null, 1, 1, GridCells.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getGridCells_Cell_height(), theStd_datatypesPackage.getFloat32(), "cell_height", null, 1, 1, GridCells.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getGridCells_Cells(), theGeometry_datatypesPackage.getPoint(), null, "cells", null, 0, -1, GridCells.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} // Nav_datatypesPackageImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/OccupancyGridImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/OccupancyGridImpl.java deleted file mode 100644 index 30f9648478b..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/OccupancyGridImpl.java +++ /dev/null @@ -1,295 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Occupancy Grid</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl#getInfo <em>Info</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class OccupancyGridImpl extends MinimalEObjectImpl.Container implements OccupancyGrid { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getInfo() <em>Info</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInfo() - * @generated - * @ordered - */ - protected MapMetaData info; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OccupancyGridImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Nav_datatypesPackage.Literals.OCCUPANCY_GRID; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.OCCUPANCY_GRID__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.OCCUPANCY_GRID__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.OCCUPANCY_GRID__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.OCCUPANCY_GRID__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MapMetaData getInfo() { - return info; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetInfo(MapMetaData newInfo, NotificationChain msgs) { - MapMetaData oldInfo = info; - info = newInfo; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.OCCUPANCY_GRID__INFO, oldInfo, newInfo); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setInfo(MapMetaData newInfo) { - if (newInfo != info) { - NotificationChain msgs = null; - if (info != null) - msgs = ((InternalEObject)info).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.OCCUPANCY_GRID__INFO, null, msgs); - if (newInfo != null) - msgs = ((InternalEObject)newInfo).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.OCCUPANCY_GRID__INFO, null, msgs); - msgs = basicSetInfo(newInfo, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.OCCUPANCY_GRID__INFO, newInfo, newInfo)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Nav_datatypesPackage.OCCUPANCY_GRID__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Nav_datatypesPackage.OCCUPANCY_GRID__HEADER: - return basicSetHeader(null, msgs); - case Nav_datatypesPackage.OCCUPANCY_GRID__INFO: - return basicSetInfo(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 Nav_datatypesPackage.OCCUPANCY_GRID__HEADER: - return getHeader(); - case Nav_datatypesPackage.OCCUPANCY_GRID__INFO: - return getInfo(); - case Nav_datatypesPackage.OCCUPANCY_GRID__DATA: - return getData(); - } - 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 Nav_datatypesPackage.OCCUPANCY_GRID__HEADER: - setHeader((Header)newValue); - return; - case Nav_datatypesPackage.OCCUPANCY_GRID__INFO: - setInfo((MapMetaData)newValue); - return; - case Nav_datatypesPackage.OCCUPANCY_GRID__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Nav_datatypesPackage.OCCUPANCY_GRID__HEADER: - setHeader((Header)null); - return; - case Nav_datatypesPackage.OCCUPANCY_GRID__INFO: - setInfo((MapMetaData)null); - return; - case Nav_datatypesPackage.OCCUPANCY_GRID__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Nav_datatypesPackage.OCCUPANCY_GRID__HEADER: - return header != null; - case Nav_datatypesPackage.OCCUPANCY_GRID__INFO: - return info != null; - case Nav_datatypesPackage.OCCUPANCY_GRID__DATA: - return data != null && !data.isEmpty(); - } - 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(" (data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // OccupancyGridImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/OdometryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/OdometryImpl.java deleted file mode 100644 index 7e17bcd5c42..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/OdometryImpl.java +++ /dev/null @@ -1,375 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Odometry</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl#getChild_frame_id <em>Child frame id</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl#getPose <em>Pose</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl#getTwist <em>Twist</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class OdometryImpl extends MinimalEObjectImpl.Container implements Odometry { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The default value of the '{@link #getChild_frame_id() <em>Child frame id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getChild_frame_id() - * @generated - * @ordered - */ - protected static final Object CHILD_FRAME_ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getChild_frame_id() <em>Child frame id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getChild_frame_id() - * @generated - * @ordered - */ - protected Object child_frame_id = CHILD_FRAME_ID_EDEFAULT; - - /** - * The cached value of the '{@link #getPose() <em>Pose</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPose() - * @generated - * @ordered - */ - protected PoseWithCovariance pose; - - /** - * The cached value of the '{@link #getTwist() <em>Twist</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTwist() - * @generated - * @ordered - */ - protected TwistWithCovariance twist; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OdometryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Nav_datatypesPackage.Literals.ODOMETRY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.ODOMETRY__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.ODOMETRY__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getChild_frame_id() { - return child_frame_id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setChild_frame_id(Object newChild_frame_id) { - Object oldChild_frame_id = child_frame_id; - child_frame_id = newChild_frame_id; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__CHILD_FRAME_ID, oldChild_frame_id, child_frame_id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PoseWithCovariance getPose() { - return pose; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPose(PoseWithCovariance newPose, NotificationChain msgs) { - PoseWithCovariance oldPose = pose; - pose = newPose; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__POSE, oldPose, newPose); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPose(PoseWithCovariance newPose) { - if (newPose != pose) { - NotificationChain msgs = null; - if (pose != null) - msgs = ((InternalEObject)pose).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.ODOMETRY__POSE, null, msgs); - if (newPose != null) - msgs = ((InternalEObject)newPose).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.ODOMETRY__POSE, null, msgs); - msgs = basicSetPose(newPose, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__POSE, newPose, newPose)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TwistWithCovariance getTwist() { - return twist; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetTwist(TwistWithCovariance newTwist, NotificationChain msgs) { - TwistWithCovariance oldTwist = twist; - twist = newTwist; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__TWIST, oldTwist, newTwist); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTwist(TwistWithCovariance newTwist) { - if (newTwist != twist) { - NotificationChain msgs = null; - if (twist != null) - msgs = ((InternalEObject)twist).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.ODOMETRY__TWIST, null, msgs); - if (newTwist != null) - msgs = ((InternalEObject)newTwist).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.ODOMETRY__TWIST, null, msgs); - msgs = basicSetTwist(newTwist, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__TWIST, newTwist, newTwist)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Nav_datatypesPackage.ODOMETRY__HEADER: - return basicSetHeader(null, msgs); - case Nav_datatypesPackage.ODOMETRY__POSE: - return basicSetPose(null, msgs); - case Nav_datatypesPackage.ODOMETRY__TWIST: - return basicSetTwist(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 Nav_datatypesPackage.ODOMETRY__HEADER: - return getHeader(); - case Nav_datatypesPackage.ODOMETRY__CHILD_FRAME_ID: - return getChild_frame_id(); - case Nav_datatypesPackage.ODOMETRY__POSE: - return getPose(); - case Nav_datatypesPackage.ODOMETRY__TWIST: - return getTwist(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Nav_datatypesPackage.ODOMETRY__HEADER: - setHeader((Header)newValue); - return; - case Nav_datatypesPackage.ODOMETRY__CHILD_FRAME_ID: - setChild_frame_id((Object)newValue); - return; - case Nav_datatypesPackage.ODOMETRY__POSE: - setPose((PoseWithCovariance)newValue); - return; - case Nav_datatypesPackage.ODOMETRY__TWIST: - setTwist((TwistWithCovariance)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Nav_datatypesPackage.ODOMETRY__HEADER: - setHeader((Header)null); - return; - case Nav_datatypesPackage.ODOMETRY__CHILD_FRAME_ID: - setChild_frame_id(CHILD_FRAME_ID_EDEFAULT); - return; - case Nav_datatypesPackage.ODOMETRY__POSE: - setPose((PoseWithCovariance)null); - return; - case Nav_datatypesPackage.ODOMETRY__TWIST: - setTwist((TwistWithCovariance)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Nav_datatypesPackage.ODOMETRY__HEADER: - return header != null; - case Nav_datatypesPackage.ODOMETRY__CHILD_FRAME_ID: - return CHILD_FRAME_ID_EDEFAULT == null ? child_frame_id != null : !CHILD_FRAME_ID_EDEFAULT.equals(child_frame_id); - case Nav_datatypesPackage.ODOMETRY__POSE: - return pose != null; - case Nav_datatypesPackage.ODOMETRY__TWIST: - return twist != null; - } - 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(" (child_frame_id: "); - result.append(child_frame_id); - result.append(')'); - return result.toString(); - } - -} // OdometryImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/PathImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/PathImpl.java deleted file mode 100644 index e8981596662..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/impl/PathImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.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.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Path</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl#getPoses <em>Poses</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PathImpl extends MinimalEObjectImpl.Container implements Path { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getPoses() <em>Poses</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPoses() - * @generated - * @ordered - */ - protected EList<PoseStamped> poses; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PathImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Nav_datatypesPackage.Literals.PATH; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.PATH__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.PATH__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.PATH__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.PATH__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<PoseStamped> getPoses() { - if (poses == null) { - poses = new EObjectContainmentEList<PoseStamped>(PoseStamped.class, this, Nav_datatypesPackage.PATH__POSES); - } - return poses; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Nav_datatypesPackage.PATH__HEADER: - return basicSetHeader(null, msgs); - case Nav_datatypesPackage.PATH__POSES: - return ((InternalEList<?>)getPoses()).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 Nav_datatypesPackage.PATH__HEADER: - return getHeader(); - case Nav_datatypesPackage.PATH__POSES: - return getPoses(); - } - 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 Nav_datatypesPackage.PATH__HEADER: - setHeader((Header)newValue); - return; - case Nav_datatypesPackage.PATH__POSES: - getPoses().clear(); - getPoses().addAll((Collection<? extends PoseStamped>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Nav_datatypesPackage.PATH__HEADER: - setHeader((Header)null); - return; - case Nav_datatypesPackage.PATH__POSES: - getPoses().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Nav_datatypesPackage.PATH__HEADER: - return header != null; - case Nav_datatypesPackage.PATH__POSES: - return poses != null && !poses.isEmpty(); - } - return super.eIsSet(featureID); - } - -} // PathImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/util/Nav_datatypesAdapterFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/util/Nav_datatypesAdapterFactory.java deleted file mode 100644 index db97bf36e85..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/util/Nav_datatypesAdapterFactory.java +++ /dev/null @@ -1,194 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage - * @generated - */ -public class Nav_datatypesAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Nav_datatypesPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Nav_datatypesAdapterFactory() { - if (modelPackage == null) { - modelPackage = Nav_datatypesPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Nav_datatypesSwitch<Adapter> modelSwitch = - new Nav_datatypesSwitch<Adapter>() { - @Override - public Adapter casePath(Path object) { - return createPathAdapter(); - } - @Override - public Adapter caseOdometry(Odometry object) { - return createOdometryAdapter(); - } - @Override - public Adapter caseMapMetaData(MapMetaData object) { - return createMapMetaDataAdapter(); - } - @Override - public Adapter caseOccupancyGrid(OccupancyGrid object) { - return createOccupancyGridAdapter(); - } - @Override - public Adapter caseGridCells(GridCells object) { - return createGridCellsAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path <em>Path</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path - * @generated - */ - public Adapter createPathAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry <em>Odometry</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry - * @generated - */ - public Adapter createOdometryAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData <em>Map Meta Data</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData - * @generated - */ - public Adapter createMapMetaDataAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid <em>Occupancy Grid</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid - * @generated - */ - public Adapter createOccupancyGridAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells <em>Grid Cells</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells - * @generated - */ - public Adapter createGridCellsAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} // Nav_datatypesAdapterFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/util/Nav_datatypesSwitch.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/util/Nav_datatypesSwitch.java deleted file mode 100644 index e4c96037357..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes/util/Nav_datatypesSwitch.java +++ /dev/null @@ -1,196 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.util.Switch; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage - * @generated - */ -public class Nav_datatypesSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Nav_datatypesPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Nav_datatypesSwitch() { - if (modelPackage == null) { - modelPackage = Nav_datatypesPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case Nav_datatypesPackage.PATH: { - Path path = (Path)theEObject; - T result = casePath(path); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Nav_datatypesPackage.ODOMETRY: { - Odometry odometry = (Odometry)theEObject; - T result = caseOdometry(odometry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Nav_datatypesPackage.MAP_META_DATA: { - MapMetaData mapMetaData = (MapMetaData)theEObject; - T result = caseMapMetaData(mapMetaData); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Nav_datatypesPackage.OCCUPANCY_GRID: { - OccupancyGrid occupancyGrid = (OccupancyGrid)theEObject; - T result = caseOccupancyGrid(occupancyGrid); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Nav_datatypesPackage.GRID_CELLS: { - GridCells gridCells = (GridCells)theEObject; - T result = caseGridCells(gridCells); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Path</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Path</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePath(Path object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Odometry</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Odometry</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOdometry(Odometry object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Map Meta Data</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Map Meta Data</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMapMetaData(MapMetaData object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Occupancy Grid</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Occupancy Grid</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOccupancyGrid(OccupancyGrid object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Grid Cells</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Grid Cells</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGridCells(GridCells object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} // Nav_datatypesSwitch diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/CarLikeCommand.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/CarLikeCommand.java deleted file mode 100644 index 54d32d0896a..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/CarLikeCommand.java +++ /dev/null @@ -1,77 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Car Like Command</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getVelocity <em>Velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getSteeringAngle <em>Steering Angle</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#getCarLikeCommand() - * @model - * @generated - */ -public interface CarLikeCommand extends EObject { - /** - * Returns the value of the '<em><b>Velocity</b></em>' attribute. - * The default value is <code>"0"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Velocity</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Velocity</em>' attribute. - * @see #setVelocity(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#getCarLikeCommand_Velocity() - * @model default="0" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getVelocity(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getVelocity <em>Velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Velocity</em>' attribute. - * @see #getVelocity() - * @generated - */ - void setVelocity(Object value); - - /** - * Returns the value of the '<em><b>Steering Angle</b></em>' attribute. - * The default value is <code>"0"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Steering Angle</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Steering Angle</em>' attribute. - * @see #setSteeringAngle(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#getCarLikeCommand_SteeringAngle() - * @model default="0" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getSteeringAngle(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getSteeringAngle <em>Steering Angle</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Steering Angle</em>' attribute. - * @see #getSteeringAngle() - * @generated - */ - void setSteeringAngle(Object value); - -} // CarLikeCommand diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/ExtentedLidarScan.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/ExtentedLidarScan.java deleted file mode 100644 index 4bc5b54d017..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/ExtentedLidarScan.java +++ /dev/null @@ -1,102 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Extented Lidar Scan</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getScan <em>Scan</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerId <em>Layer Id</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerAngle <em>Layer Angle</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#getExtentedLidarScan() - * @model - * @generated - */ -public interface ExtentedLidarScan extends EObject { - /** - * Returns the value of the '<em><b>Scan</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Scan</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Scan</em>' containment reference. - * @see #setScan(LaserScan) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#getExtentedLidarScan_Scan() - * @model containment="true" required="true" ordered="false" - * @generated - */ - LaserScan getScan(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getScan <em>Scan</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Scan</em>' containment reference. - * @see #getScan() - * @generated - */ - void setScan(LaserScan value); - - /** - * Returns the value of the '<em><b>Layer Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layer Id</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layer Id</em>' attribute. - * @see #setLayerId(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#getExtentedLidarScan_LayerId() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getLayerId(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerId <em>Layer Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layer Id</em>' attribute. - * @see #getLayerId() - * @generated - */ - void setLayerId(Object value); - - /** - * Returns the value of the '<em><b>Layer Angle</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layer Angle</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layer Angle</em>' attribute. - * @see #setLayerAngle(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#getExtentedLidarScan_LayerAngle() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getLayerAngle(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerAngle <em>Layer Angle</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layer Angle</em>' attribute. - * @see #getLayerAngle() - * @generated - */ - void setLayerAngle(Object value); - -} // ExtentedLidarScan diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/MultiLayerLidarScan.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/MultiLayerLidarScan.java deleted file mode 100644 index 3c7d9e98d92..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/MultiLayerLidarScan.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Multi Layer Lidar Scan</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getLayers <em>Layers</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getNbLayer <em>Nb Layer</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#getMultiLayerLidarScan() - * @model - * @generated - */ -public interface MultiLayerLidarScan extends EObject { - /** - * Returns the value of the '<em><b>Layers</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layers</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layers</em>' containment reference. - * @see #setLayers(ExtentedLidarScan) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#getMultiLayerLidarScan_Layers() - * @model containment="true" required="true" ordered="false" - * @generated - */ - ExtentedLidarScan getLayers(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getLayers <em>Layers</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layers</em>' containment reference. - * @see #getLayers() - * @generated - */ - void setLayers(ExtentedLidarScan value); - - /** - * Returns the value of the '<em><b>Nb Layer</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Nb Layer</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Nb Layer</em>' attribute. - * @see #setNbLayer(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#getMultiLayerLidarScan_NbLayer() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getNbLayer(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getNbLayer <em>Nb Layer</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Nb Layer</em>' attribute. - * @see #getNbLayer() - * @generated - */ - void setNbLayer(Object value); - -} // MultiLayerLidarScan diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/Oarp1_datatypesFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/Oarp1_datatypesFactory.java deleted file mode 100644 index f78302ce146..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/Oarp1_datatypesFactory.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage - * @generated - */ -public interface Oarp1_datatypesFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Oarp1_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Car Like Command</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Car Like Command</em>'. - * @generated - */ - CarLikeCommand createCarLikeCommand(); - - /** - * Returns a new object of class '<em>Multi Layer Lidar Scan</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Multi Layer Lidar Scan</em>'. - * @generated - */ - MultiLayerLidarScan createMultiLayerLidarScan(); - - /** - * Returns a new object of class '<em>Extented Lidar Scan</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Extented Lidar Scan</em>'. - * @generated - */ - ExtentedLidarScan createExtentedLidarScan(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - Oarp1_datatypesPackage getOarp1_datatypesPackage(); - -} // Oarp1_datatypesFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/Oarp1_datatypesPackage.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/Oarp1_datatypesPackage.java deleted file mode 100644 index 0158a1e3560..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/Oarp1_datatypesPackage.java +++ /dev/null @@ -1,425 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesFactory - * @model kind="package" - * @generated - */ -public interface Oarp1_datatypesPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "oarp1_datatypes"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes.ecore"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Oarp1_datatypesPackage eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl <em>Car Like Command</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl#getCarLikeCommand() - * @generated - */ - int CAR_LIKE_COMMAND = 0; - - /** - * The feature id for the '<em><b>Velocity</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAR_LIKE_COMMAND__VELOCITY = 0; - - /** - * The feature id for the '<em><b>Steering Angle</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAR_LIKE_COMMAND__STEERING_ANGLE = 1; - - /** - * The number of structural features of the '<em>Car Like Command</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAR_LIKE_COMMAND_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Car Like Command</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAR_LIKE_COMMAND_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.MultiLayerLidarScanImpl <em>Multi Layer Lidar Scan</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.MultiLayerLidarScanImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl#getMultiLayerLidarScan() - * @generated - */ - int MULTI_LAYER_LIDAR_SCAN = 1; - - /** - * The feature id for the '<em><b>Layers</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_LAYER_LIDAR_SCAN__LAYERS = 0; - - /** - * The feature id for the '<em><b>Nb Layer</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_LAYER_LIDAR_SCAN__NB_LAYER = 1; - - /** - * The number of structural features of the '<em>Multi Layer Lidar Scan</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_LAYER_LIDAR_SCAN_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Multi Layer Lidar Scan</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_LAYER_LIDAR_SCAN_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl <em>Extented Lidar Scan</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl#getExtentedLidarScan() - * @generated - */ - int EXTENTED_LIDAR_SCAN = 2; - - /** - * The feature id for the '<em><b>Scan</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXTENTED_LIDAR_SCAN__SCAN = 0; - - /** - * The feature id for the '<em><b>Layer Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXTENTED_LIDAR_SCAN__LAYER_ID = 1; - - /** - * The feature id for the '<em><b>Layer Angle</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXTENTED_LIDAR_SCAN__LAYER_ANGLE = 2; - - /** - * The number of structural features of the '<em>Extented Lidar Scan</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXTENTED_LIDAR_SCAN_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Extented Lidar Scan</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXTENTED_LIDAR_SCAN_OPERATION_COUNT = 0; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand <em>Car Like Command</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Car Like Command</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand - * @generated - */ - EClass getCarLikeCommand(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getVelocity <em>Velocity</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Velocity</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getVelocity() - * @see #getCarLikeCommand() - * @generated - */ - EAttribute getCarLikeCommand_Velocity(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getSteeringAngle <em>Steering Angle</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Steering Angle</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getSteeringAngle() - * @see #getCarLikeCommand() - * @generated - */ - EAttribute getCarLikeCommand_SteeringAngle(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan <em>Multi Layer Lidar Scan</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Multi Layer Lidar Scan</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan - * @generated - */ - EClass getMultiLayerLidarScan(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getLayers <em>Layers</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Layers</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getLayers() - * @see #getMultiLayerLidarScan() - * @generated - */ - EReference getMultiLayerLidarScan_Layers(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getNbLayer <em>Nb Layer</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Nb Layer</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getNbLayer() - * @see #getMultiLayerLidarScan() - * @generated - */ - EAttribute getMultiLayerLidarScan_NbLayer(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan <em>Extented Lidar Scan</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Extented Lidar Scan</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan - * @generated - */ - EClass getExtentedLidarScan(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getScan <em>Scan</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Scan</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getScan() - * @see #getExtentedLidarScan() - * @generated - */ - EReference getExtentedLidarScan_Scan(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerId <em>Layer Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Layer Id</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerId() - * @see #getExtentedLidarScan() - * @generated - */ - EAttribute getExtentedLidarScan_LayerId(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerAngle <em>Layer Angle</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Layer Angle</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerAngle() - * @see #getExtentedLidarScan() - * @generated - */ - EAttribute getExtentedLidarScan_LayerAngle(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - Oarp1_datatypesFactory getOarp1_datatypesFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl <em>Car Like Command</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl#getCarLikeCommand() - * @generated - */ - EClass CAR_LIKE_COMMAND = eINSTANCE.getCarLikeCommand(); - - /** - * The meta object literal for the '<em><b>Velocity</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAR_LIKE_COMMAND__VELOCITY = eINSTANCE.getCarLikeCommand_Velocity(); - - /** - * The meta object literal for the '<em><b>Steering Angle</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAR_LIKE_COMMAND__STEERING_ANGLE = eINSTANCE.getCarLikeCommand_SteeringAngle(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.MultiLayerLidarScanImpl <em>Multi Layer Lidar Scan</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.MultiLayerLidarScanImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl#getMultiLayerLidarScan() - * @generated - */ - EClass MULTI_LAYER_LIDAR_SCAN = eINSTANCE.getMultiLayerLidarScan(); - - /** - * The meta object literal for the '<em><b>Layers</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference MULTI_LAYER_LIDAR_SCAN__LAYERS = eINSTANCE.getMultiLayerLidarScan_Layers(); - - /** - * The meta object literal for the '<em><b>Nb Layer</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MULTI_LAYER_LIDAR_SCAN__NB_LAYER = eINSTANCE.getMultiLayerLidarScan_NbLayer(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl <em>Extented Lidar Scan</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl#getExtentedLidarScan() - * @generated - */ - EClass EXTENTED_LIDAR_SCAN = eINSTANCE.getExtentedLidarScan(); - - /** - * The meta object literal for the '<em><b>Scan</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference EXTENTED_LIDAR_SCAN__SCAN = eINSTANCE.getExtentedLidarScan_Scan(); - - /** - * The meta object literal for the '<em><b>Layer Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EXTENTED_LIDAR_SCAN__LAYER_ID = eINSTANCE.getExtentedLidarScan_LayerId(); - - /** - * The meta object literal for the '<em><b>Layer Angle</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EXTENTED_LIDAR_SCAN__LAYER_ANGLE = eINSTANCE.getExtentedLidarScan_LayerAngle(); - - } - -} // Oarp1_datatypesPackage diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/CarLikeCommandImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/CarLikeCommandImpl.java deleted file mode 100644 index 551f4d351ef..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/CarLikeCommandImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_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.oarps_datatypes.oarp1_datatypes.CarLikeCommand; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Car Like Command</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl#getVelocity <em>Velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl#getSteeringAngle <em>Steering Angle</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class CarLikeCommandImpl extends MinimalEObjectImpl.Container implements CarLikeCommand { - /** - * The default value of the '{@link #getVelocity() <em>Velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVelocity() - * @generated - * @ordered - */ - protected static final Object VELOCITY_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getFloat64(), "0"); - - /** - * The cached value of the '{@link #getVelocity() <em>Velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVelocity() - * @generated - * @ordered - */ - protected Object velocity = VELOCITY_EDEFAULT; - - /** - * The default value of the '{@link #getSteeringAngle() <em>Steering Angle</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSteeringAngle() - * @generated - * @ordered - */ - protected static final Object STEERING_ANGLE_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getFloat64(), "0"); - - /** - * The cached value of the '{@link #getSteeringAngle() <em>Steering Angle</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSteeringAngle() - * @generated - * @ordered - */ - protected Object steeringAngle = STEERING_ANGLE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CarLikeCommandImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp1_datatypesPackage.Literals.CAR_LIKE_COMMAND; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getVelocity() { - return velocity; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVelocity(Object newVelocity) { - Object oldVelocity = velocity; - velocity = newVelocity; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.CAR_LIKE_COMMAND__VELOCITY, oldVelocity, velocity)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSteeringAngle() { - return steeringAngle; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSteeringAngle(Object newSteeringAngle) { - Object oldSteeringAngle = steeringAngle; - steeringAngle = newSteeringAngle; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.CAR_LIKE_COMMAND__STEERING_ANGLE, oldSteeringAngle, steeringAngle)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__VELOCITY: - return getVelocity(); - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__STEERING_ANGLE: - return getSteeringAngle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__VELOCITY: - setVelocity((Object)newValue); - return; - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__STEERING_ANGLE: - setSteeringAngle((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__VELOCITY: - setVelocity(VELOCITY_EDEFAULT); - return; - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__STEERING_ANGLE: - setSteeringAngle(STEERING_ANGLE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__VELOCITY: - return VELOCITY_EDEFAULT == null ? velocity != null : !VELOCITY_EDEFAULT.equals(velocity); - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__STEERING_ANGLE: - return STEERING_ANGLE_EDEFAULT == null ? steeringAngle != null : !STEERING_ANGLE_EDEFAULT.equals(steeringAngle); - } - 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(" (velocity: "); - result.append(velocity); - result.append(", steeringAngle: "); - result.append(steeringAngle); - result.append(')'); - return result.toString(); - } - -} // CarLikeCommandImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/ExtentedLidarScanImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/ExtentedLidarScanImpl.java deleted file mode 100644 index b0d94d84ca3..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/ExtentedLidarScanImpl.java +++ /dev/null @@ -1,295 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Extented Lidar Scan</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl#getScan <em>Scan</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl#getLayerId <em>Layer Id</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl#getLayerAngle <em>Layer Angle</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ExtentedLidarScanImpl extends MinimalEObjectImpl.Container implements ExtentedLidarScan { - /** - * The cached value of the '{@link #getScan() <em>Scan</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getScan() - * @generated - * @ordered - */ - protected LaserScan scan; - - /** - * The default value of the '{@link #getLayerId() <em>Layer Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayerId() - * @generated - * @ordered - */ - protected static final Object LAYER_ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLayerId() <em>Layer Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayerId() - * @generated - * @ordered - */ - protected Object layerId = LAYER_ID_EDEFAULT; - - /** - * The default value of the '{@link #getLayerAngle() <em>Layer Angle</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayerAngle() - * @generated - * @ordered - */ - protected static final Object LAYER_ANGLE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLayerAngle() <em>Layer Angle</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayerAngle() - * @generated - * @ordered - */ - protected Object layerAngle = LAYER_ANGLE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ExtentedLidarScanImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp1_datatypesPackage.Literals.EXTENTED_LIDAR_SCAN; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public LaserScan getScan() { - return scan; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetScan(LaserScan newScan, NotificationChain msgs) { - LaserScan oldScan = scan; - scan = newScan; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN, oldScan, newScan); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setScan(LaserScan newScan) { - if (newScan != scan) { - NotificationChain msgs = null; - if (scan != null) - msgs = ((InternalEObject)scan).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN, null, msgs); - if (newScan != null) - msgs = ((InternalEObject)newScan).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN, null, msgs); - msgs = basicSetScan(newScan, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN, newScan, newScan)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getLayerId() { - return layerId; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayerId(Object newLayerId) { - Object oldLayerId = layerId; - layerId = newLayerId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ID, oldLayerId, layerId)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getLayerAngle() { - return layerAngle; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayerAngle(Object newLayerAngle) { - Object oldLayerAngle = layerAngle; - layerAngle = newLayerAngle; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ANGLE, oldLayerAngle, layerAngle)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN: - return basicSetScan(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 Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN: - return getScan(); - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ID: - return getLayerId(); - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ANGLE: - return getLayerAngle(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN: - setScan((LaserScan)newValue); - return; - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ID: - setLayerId((Object)newValue); - return; - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ANGLE: - setLayerAngle((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN: - setScan((LaserScan)null); - return; - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ID: - setLayerId(LAYER_ID_EDEFAULT); - return; - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ANGLE: - setLayerAngle(LAYER_ANGLE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN: - return scan != null; - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ID: - return LAYER_ID_EDEFAULT == null ? layerId != null : !LAYER_ID_EDEFAULT.equals(layerId); - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ANGLE: - return LAYER_ANGLE_EDEFAULT == null ? layerAngle != null : !LAYER_ANGLE_EDEFAULT.equals(layerAngle); - } - 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(" (layerId: "); - result.append(layerId); - result.append(", layerAngle: "); - result.append(layerAngle); - result.append(')'); - return result.toString(); - } - -} // ExtentedLidarScanImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/MultiLayerLidarScanImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/MultiLayerLidarScanImpl.java deleted file mode 100644 index d05a4cd003e..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/MultiLayerLidarScanImpl.java +++ /dev/null @@ -1,241 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Multi Layer Lidar Scan</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.MultiLayerLidarScanImpl#getLayers <em>Layers</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.MultiLayerLidarScanImpl#getNbLayer <em>Nb Layer</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class MultiLayerLidarScanImpl extends MinimalEObjectImpl.Container implements MultiLayerLidarScan { - /** - * The cached value of the '{@link #getLayers() <em>Layers</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayers() - * @generated - * @ordered - */ - protected ExtentedLidarScan layers; - - /** - * The default value of the '{@link #getNbLayer() <em>Nb Layer</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getNbLayer() - * @generated - * @ordered - */ - protected static final Object NB_LAYER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getNbLayer() <em>Nb Layer</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getNbLayer() - * @generated - * @ordered - */ - protected Object nbLayer = NB_LAYER_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected MultiLayerLidarScanImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp1_datatypesPackage.Literals.MULTI_LAYER_LIDAR_SCAN; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ExtentedLidarScan getLayers() { - return layers; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLayers(ExtentedLidarScan newLayers, NotificationChain msgs) { - ExtentedLidarScan oldLayers = layers; - layers = newLayers; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS, oldLayers, newLayers); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayers(ExtentedLidarScan newLayers) { - if (newLayers != layers) { - NotificationChain msgs = null; - if (layers != null) - msgs = ((InternalEObject)layers).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS, null, msgs); - if (newLayers != null) - msgs = ((InternalEObject)newLayers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS, null, msgs); - msgs = basicSetLayers(newLayers, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS, newLayers, newLayers)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getNbLayer() { - return nbLayer; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setNbLayer(Object newNbLayer) { - Object oldNbLayer = nbLayer; - nbLayer = newNbLayer; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__NB_LAYER, oldNbLayer, nbLayer)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS: - return basicSetLayers(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 Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS: - return getLayers(); - case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__NB_LAYER: - return getNbLayer(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS: - setLayers((ExtentedLidarScan)newValue); - return; - case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__NB_LAYER: - setNbLayer((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS: - setLayers((ExtentedLidarScan)null); - return; - case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__NB_LAYER: - setNbLayer(NB_LAYER_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS: - return layers != null; - case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__NB_LAYER: - return NB_LAYER_EDEFAULT == null ? nbLayer != null : !NB_LAYER_EDEFAULT.equals(nbLayer); - } - 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(" (nbLayer: "); - result.append(nbLayer); - result.append(')'); - return result.toString(); - } - -} // MultiLayerLidarScanImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/Oarp1_datatypesFactoryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/Oarp1_datatypesFactoryImpl.java deleted file mode 100644 index 0a5f2287720..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/Oarp1_datatypesFactoryImpl.java +++ /dev/null @@ -1,118 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Oarp1_datatypesFactoryImpl extends EFactoryImpl implements Oarp1_datatypesFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static Oarp1_datatypesFactory init() { - try { - Oarp1_datatypesFactory theOarp1_datatypesFactory = (Oarp1_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Oarp1_datatypesPackage.eNS_URI); - if (theOarp1_datatypesFactory != null) { - return theOarp1_datatypesFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new Oarp1_datatypesFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Oarp1_datatypesFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND: return createCarLikeCommand(); - case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN: return createMultiLayerLidarScan(); - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN: return createExtentedLidarScan(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public CarLikeCommand createCarLikeCommand() { - CarLikeCommandImpl carLikeCommand = new CarLikeCommandImpl(); - return carLikeCommand; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiLayerLidarScan createMultiLayerLidarScan() { - MultiLayerLidarScanImpl multiLayerLidarScan = new MultiLayerLidarScanImpl(); - return multiLayerLidarScan; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ExtentedLidarScan createExtentedLidarScan() { - ExtentedLidarScanImpl extentedLidarScan = new ExtentedLidarScanImpl(); - return extentedLidarScan; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Oarp1_datatypesPackage getOarp1_datatypesPackage() { - return (Oarp1_datatypesPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static Oarp1_datatypesPackage getPackage() { - return Oarp1_datatypesPackage.eINSTANCE; - } - -} // Oarp1_datatypesFactoryImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/Oarp1_datatypesPackageImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/Oarp1_datatypesPackageImpl.java deleted file mode 100644 index dbd5d60369c..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/impl/Oarp1_datatypesPackageImpl.java +++ /dev/null @@ -1,333 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.papyrus.RobotML.RobotMLPackage; -import org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_datatypesPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass carLikeCommandEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass multiLayerLidarScanEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass extentedLidarScanEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#eNS_URI - * @see #init() - * @generated - */ - private Oarp1_datatypesPackageImpl() { - super(eNS_URI, Oarp1_datatypesFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p> - * This method is used to initialize {@link Oarp1_datatypesPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static Oarp1_datatypesPackage init() { - if (isInited) return (Oarp1_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI); - - // Obtain or create and register package - Oarp1_datatypesPackageImpl theOarp1_datatypesPackage = (Oarp1_datatypesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Oarp1_datatypesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Oarp1_datatypesPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - RobotMLPackageImpl theRobotMLPackage = (RobotMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) instanceof RobotMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) : RobotMLPackage.eINSTANCE); - Diagnostic_datatypesPackageImpl theDiagnostic_datatypesPackage = (Diagnostic_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) instanceof Diagnostic_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) : Diagnostic_datatypesPackage.eINSTANCE); - Geometry_datatypesPackageImpl theGeometry_datatypesPackage = (Geometry_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) instanceof Geometry_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) : Geometry_datatypesPackage.eINSTANCE); - Nav_datatypesPackageImpl theNav_datatypesPackage = (Nav_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) instanceof Nav_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) : Nav_datatypesPackage.eINSTANCE); - Sensor_datatypesPackageImpl theSensor_datatypesPackage = (Sensor_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) instanceof Sensor_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) : Sensor_datatypesPackage.eINSTANCE); - Actionlib_datatypesPackageImpl theActionlib_datatypesPackage = (Actionlib_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) instanceof Actionlib_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) : Actionlib_datatypesPackage.eINSTANCE); - Oarp4_datatypesPackageImpl theOarp4_datatypesPackage = (Oarp4_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) instanceof Oarp4_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) : Oarp4_datatypesPackage.eINSTANCE); - Std_datatypesPackageImpl theStd_datatypesPackage = (Std_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) instanceof Std_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) : Std_datatypesPackage.eINSTANCE); - - // Create package meta-data objects - theOarp1_datatypesPackage.createPackageContents(); - theRobotMLPackage.createPackageContents(); - theDiagnostic_datatypesPackage.createPackageContents(); - theGeometry_datatypesPackage.createPackageContents(); - theNav_datatypesPackage.createPackageContents(); - theSensor_datatypesPackage.createPackageContents(); - theActionlib_datatypesPackage.createPackageContents(); - theOarp4_datatypesPackage.createPackageContents(); - theStd_datatypesPackage.createPackageContents(); - - // Initialize created meta-data - theOarp1_datatypesPackage.initializePackageContents(); - theRobotMLPackage.initializePackageContents(); - theDiagnostic_datatypesPackage.initializePackageContents(); - theGeometry_datatypesPackage.initializePackageContents(); - theNav_datatypesPackage.initializePackageContents(); - theSensor_datatypesPackage.initializePackageContents(); - theActionlib_datatypesPackage.initializePackageContents(); - theOarp4_datatypesPackage.initializePackageContents(); - theStd_datatypesPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theOarp1_datatypesPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(Oarp1_datatypesPackage.eNS_URI, theOarp1_datatypesPackage); - return theOarp1_datatypesPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getCarLikeCommand() { - return carLikeCommandEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCarLikeCommand_Velocity() { - return (EAttribute)carLikeCommandEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCarLikeCommand_SteeringAngle() { - return (EAttribute)carLikeCommandEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getMultiLayerLidarScan() { - return multiLayerLidarScanEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getMultiLayerLidarScan_Layers() { - return (EReference)multiLayerLidarScanEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMultiLayerLidarScan_NbLayer() { - return (EAttribute)multiLayerLidarScanEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getExtentedLidarScan() { - return extentedLidarScanEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getExtentedLidarScan_Scan() { - return (EReference)extentedLidarScanEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExtentedLidarScan_LayerId() { - return (EAttribute)extentedLidarScanEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExtentedLidarScan_LayerAngle() { - return (EAttribute)extentedLidarScanEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Oarp1_datatypesFactory getOarp1_datatypesFactory() { - return (Oarp1_datatypesFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - carLikeCommandEClass = createEClass(CAR_LIKE_COMMAND); - createEAttribute(carLikeCommandEClass, CAR_LIKE_COMMAND__VELOCITY); - createEAttribute(carLikeCommandEClass, CAR_LIKE_COMMAND__STEERING_ANGLE); - - multiLayerLidarScanEClass = createEClass(MULTI_LAYER_LIDAR_SCAN); - createEReference(multiLayerLidarScanEClass, MULTI_LAYER_LIDAR_SCAN__LAYERS); - createEAttribute(multiLayerLidarScanEClass, MULTI_LAYER_LIDAR_SCAN__NB_LAYER); - - extentedLidarScanEClass = createEClass(EXTENTED_LIDAR_SCAN); - createEReference(extentedLidarScanEClass, EXTENTED_LIDAR_SCAN__SCAN); - createEAttribute(extentedLidarScanEClass, EXTENTED_LIDAR_SCAN__LAYER_ID); - createEAttribute(extentedLidarScanEClass, EXTENTED_LIDAR_SCAN__LAYER_ANGLE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - Std_datatypesPackage theStd_datatypesPackage = (Std_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI); - Sensor_datatypesPackage theSensor_datatypesPackage = (Sensor_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(carLikeCommandEClass, CarLikeCommand.class, "CarLikeCommand", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getCarLikeCommand_Velocity(), theStd_datatypesPackage.getFloat64(), "velocity", "0", 1, 1, CarLikeCommand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCarLikeCommand_SteeringAngle(), theStd_datatypesPackage.getFloat64(), "steeringAngle", "0", 1, 1, CarLikeCommand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(multiLayerLidarScanEClass, MultiLayerLidarScan.class, "MultiLayerLidarScan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getMultiLayerLidarScan_Layers(), this.getExtentedLidarScan(), null, "layers", null, 1, 1, MultiLayerLidarScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getMultiLayerLidarScan_NbLayer(), theStd_datatypesPackage.getUInt8(), "nbLayer", null, 1, 1, MultiLayerLidarScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(extentedLidarScanEClass, ExtentedLidarScan.class, "ExtentedLidarScan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getExtentedLidarScan_Scan(), theSensor_datatypesPackage.getLaserScan(), null, "scan", null, 1, 1, ExtentedLidarScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getExtentedLidarScan_LayerId(), theStd_datatypesPackage.getUInt8(), "layerId", null, 1, 1, ExtentedLidarScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getExtentedLidarScan_LayerAngle(), theStd_datatypesPackage.getFloat32(), "layerAngle", null, 1, 1, ExtentedLidarScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} // Oarp1_datatypesPackageImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/util/Oarp1_datatypesAdapterFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/util/Oarp1_datatypesAdapterFactory.java deleted file mode 100644 index 03c8783f784..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/util/Oarp1_datatypesAdapterFactory.java +++ /dev/null @@ -1,156 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage - * @generated - */ -public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Oarp1_datatypesPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Oarp1_datatypesAdapterFactory() { - if (modelPackage == null) { - modelPackage = Oarp1_datatypesPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Oarp1_datatypesSwitch<Adapter> modelSwitch = - new Oarp1_datatypesSwitch<Adapter>() { - @Override - public Adapter caseCarLikeCommand(CarLikeCommand object) { - return createCarLikeCommandAdapter(); - } - @Override - public Adapter caseMultiLayerLidarScan(MultiLayerLidarScan object) { - return createMultiLayerLidarScanAdapter(); - } - @Override - public Adapter caseExtentedLidarScan(ExtentedLidarScan object) { - return createExtentedLidarScanAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand <em>Car Like Command</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand - * @generated - */ - public Adapter createCarLikeCommandAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan <em>Multi Layer Lidar Scan</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan - * @generated - */ - public Adapter createMultiLayerLidarScanAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan <em>Extented Lidar Scan</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan - * @generated - */ - public Adapter createExtentedLidarScanAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} // Oarp1_datatypesAdapterFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/util/Oarp1_datatypesSwitch.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/util/Oarp1_datatypesSwitch.java deleted file mode 100644 index 7a3ac7dc2ee..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes/util/Oarp1_datatypesSwitch.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.util.Switch; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage - * @generated - */ -public class Oarp1_datatypesSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Oarp1_datatypesPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Oarp1_datatypesSwitch() { - if (modelPackage == null) { - modelPackage = Oarp1_datatypesPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND: { - CarLikeCommand carLikeCommand = (CarLikeCommand)theEObject; - T result = caseCarLikeCommand(carLikeCommand); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN: { - MultiLayerLidarScan multiLayerLidarScan = (MultiLayerLidarScan)theEObject; - T result = caseMultiLayerLidarScan(multiLayerLidarScan); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN: { - ExtentedLidarScan extentedLidarScan = (ExtentedLidarScan)theEObject; - T result = caseExtentedLidarScan(extentedLidarScan); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Car Like Command</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Car Like Command</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCarLikeCommand(CarLikeCommand object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Multi Layer Lidar Scan</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Multi Layer Lidar Scan</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMultiLayerLidarScan(MultiLayerLidarScan object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Extented Lidar Scan</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Extented Lidar Scan</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExtentedLidarScan(ExtentedLidarScan object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} // Oarp1_datatypesSwitch diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Angular.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Angular.java deleted file mode 100644 index ba9f9b84096..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Angular.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Angular</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getAngular() - * @model - * @generated - */ -public interface Angular extends EObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getAngular_Value() - * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getValue(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(Object value); - -} // Angular diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Art_Set_Point.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Art_Set_Point.java deleted file mode 100644 index 8214d41e451..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Art_Set_Point.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Art Set Point</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_left <em>Omega left</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_right <em>Omega right</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getArt_Set_Point() - * @model - * @generated - */ -public interface Art_Set_Point extends EObject { - /** - * Returns the value of the '<em><b>Omega left</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Omega left</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Omega left</em>' containment reference. - * @see #setOmega_left(Velocity_Angular) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getArt_Set_Point_Omega_left() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Velocity_Angular getOmega_left(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_left <em>Omega left</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Omega left</em>' containment reference. - * @see #getOmega_left() - * @generated - */ - void setOmega_left(Velocity_Angular value); - - /** - * Returns the value of the '<em><b>Omega right</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Omega right</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Omega right</em>' containment reference. - * @see #setOmega_right(Velocity_Angular) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getArt_Set_Point_Omega_right() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Velocity_Angular getOmega_right(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_right <em>Omega right</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Omega right</em>' containment reference. - * @see #getOmega_right() - * @generated - */ - void setOmega_right(Velocity_Angular value); - -} // Art_Set_Point diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Distance.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Distance.java deleted file mode 100644 index 66c8f4871a0..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Distance.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Distance</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getDistance() - * @model - * @generated - */ -public interface Distance extends EObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getDistance_Value() - * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getValue(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(Object value); - -} // Distance diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Metric.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Metric.java deleted file mode 100644 index e1fde9d88b0..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Metric.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Metric</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getMetric() - * @model - * @generated - */ -public interface Metric extends EObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getMetric_Value() - * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getValue(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(Object value); - -} // Metric diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Milli_Amp.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Milli_Amp.java deleted file mode 100644 index 649c73e1f3b..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Milli_Amp.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Milli Amp</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getMilli_Amp() - * @model - * @generated - */ -public interface Milli_Amp extends EObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getMilli_Amp_Value() - * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getValue(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(Object value); - -} // Milli_Amp diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Oarp4_datatypesFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Oarp4_datatypesFactory.java deleted file mode 100644 index 6d2f9c66b61..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Oarp4_datatypesFactory.java +++ /dev/null @@ -1,177 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage - * @generated - */ -public interface Oarp4_datatypesFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Oarp4_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Velocity Linear</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Velocity Linear</em>'. - * @generated - */ - Velocity_Linear createVelocity_Linear(); - - /** - * Returns a new object of class '<em>Art Set Point</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Art Set Point</em>'. - * @generated - */ - Art_Set_Point createArt_Set_Point(); - - /** - * Returns a new object of class '<em>Velocity Angular</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Velocity Angular</em>'. - * @generated - */ - Velocity_Angular createVelocity_Angular(); - - /** - * Returns a new object of class '<em>Distance</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Distance</em>'. - * @generated - */ - Distance createDistance(); - - /** - * Returns a new object of class '<em>Metric</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Metric</em>'. - * @generated - */ - Metric createMetric(); - - /** - * Returns a new object of class '<em>Angular</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Angular</em>'. - * @generated - */ - Angular createAngular(); - - /** - * Returns a new object of class '<em>Op Set Point</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Op Set Point</em>'. - * @generated - */ - Op_Set_Point createOp_Set_Point(); - - /** - * Returns a new object of class '<em>Speed Tics Left Right</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Speed Tics Left Right</em>'. - * @generated - */ - Speed_Tics_Left_Right createSpeed_Tics_Left_Right(); - - /** - * Returns a new object of class '<em>Speed Tics</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Speed Tics</em>'. - * @generated - */ - Speed_Tics createSpeed_Tics(); - - /** - * Returns a new object of class '<em>Odometer Tics</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Odometer Tics</em>'. - * @generated - */ - Odometer_Tics createOdometer_Tics(); - - /** - * Returns a new object of class '<em>Odometer Tics Left Right</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Odometer Tics Left Right</em>'. - * @generated - */ - Odometer_Tics_Left_Right createOdometer_Tics_Left_Right(); - - /** - * Returns a new object of class '<em>Proxi Left Right</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Proxi Left Right</em>'. - * @generated - */ - Proxi_Left_Right createProxi_Left_Right(); - - /** - * Returns a new object of class '<em>Milli Amp</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Milli Amp</em>'. - * @generated - */ - Milli_Amp createMilli_Amp(); - - /** - * Returns a new object of class '<em>Odometer Linear Left Right</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Odometer Linear Left Right</em>'. - * @generated - */ - Odometer_Linear_Left_Right createOdometer_Linear_Left_Right(); - - /** - * Returns a new object of class '<em>Velocity Angular Left Right</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Velocity Angular Left Right</em>'. - * @generated - */ - Velocity_Angular_Left_Right createVelocity_Angular_Left_Right(); - - /** - * Returns a new object of class '<em>Velocity</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Velocity</em>'. - * @generated - */ - Velocity createVelocity(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - Oarp4_datatypesPackage getOarp4_datatypesPackage(); - -} // Oarp4_datatypesFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Oarp4_datatypesPackage.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Oarp4_datatypesPackage.java deleted file mode 100644 index 7dffda6844d..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Oarp4_datatypesPackage.java +++ /dev/null @@ -1,1525 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesFactory - * @model kind="package" - * @generated - */ -public interface Oarp4_datatypesPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "oarp4_datatypes"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes.ecore"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Oarp4_datatypesPackage eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_LinearImpl <em>Velocity Linear</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_LinearImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getVelocity_Linear() - * @generated - */ - int VELOCITY_LINEAR = 0; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY_LINEAR__VALUE = 0; - - /** - * The number of structural features of the '<em>Velocity Linear</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY_LINEAR_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Velocity Linear</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY_LINEAR_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Art_Set_PointImpl <em>Art Set Point</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Art_Set_PointImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getArt_Set_Point() - * @generated - */ - int ART_SET_POINT = 1; - - /** - * The feature id for the '<em><b>Omega left</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ART_SET_POINT__OMEGA_LEFT = 0; - - /** - * The feature id for the '<em><b>Omega right</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ART_SET_POINT__OMEGA_RIGHT = 1; - - /** - * The number of structural features of the '<em>Art Set Point</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ART_SET_POINT_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Art Set Point</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ART_SET_POINT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_AngularImpl <em>Velocity Angular</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_AngularImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getVelocity_Angular() - * @generated - */ - int VELOCITY_ANGULAR = 2; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY_ANGULAR__VALUE = 0; - - /** - * The number of structural features of the '<em>Velocity Angular</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY_ANGULAR_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Velocity Angular</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY_ANGULAR_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.DistanceImpl <em>Distance</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.DistanceImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getDistance() - * @generated - */ - int DISTANCE = 3; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISTANCE__VALUE = 0; - - /** - * The number of structural features of the '<em>Distance</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISTANCE_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Distance</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISTANCE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.MetricImpl <em>Metric</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.MetricImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getMetric() - * @generated - */ - int METRIC = 4; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METRIC__VALUE = 0; - - /** - * The number of structural features of the '<em>Metric</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METRIC_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Metric</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int METRIC_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.AngularImpl <em>Angular</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.AngularImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getAngular() - * @generated - */ - int ANGULAR = 5; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ANGULAR__VALUE = 0; - - /** - * The number of structural features of the '<em>Angular</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ANGULAR_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Angular</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ANGULAR_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Op_Set_PointImpl <em>Op Set Point</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Op_Set_PointImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getOp_Set_Point() - * @generated - */ - int OP_SET_POINT = 6; - - /** - * The feature id for the '<em><b>Velocity</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OP_SET_POINT__VELOCITY = 0; - - /** - * The feature id for the '<em><b>Orientation</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OP_SET_POINT__ORIENTATION = 1; - - /** - * The number of structural features of the '<em>Op Set Point</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OP_SET_POINT_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Op Set Point</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OP_SET_POINT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_Tics_Left_RightImpl <em>Speed Tics Left Right</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_Tics_Left_RightImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getSpeed_Tics_Left_Right() - * @generated - */ - int SPEED_TICS_LEFT_RIGHT = 7; - - /** - * The feature id for the '<em><b>Speed tics left</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT = 0; - - /** - * The feature id for the '<em><b>Speed tics right</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SPEED_TICS_LEFT_RIGHT__SPEED_TICS_RIGHT = 1; - - /** - * The number of structural features of the '<em>Speed Tics Left Right</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SPEED_TICS_LEFT_RIGHT_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Speed Tics Left Right</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SPEED_TICS_LEFT_RIGHT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_TicsImpl <em>Speed Tics</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_TicsImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getSpeed_Tics() - * @generated - */ - int SPEED_TICS = 8; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SPEED_TICS__VALUE = 0; - - /** - * The number of structural features of the '<em>Speed Tics</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SPEED_TICS_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Speed Tics</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SPEED_TICS_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_TicsImpl <em>Odometer Tics</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_TicsImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getOdometer_Tics() - * @generated - */ - int ODOMETER_TICS = 9; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETER_TICS__VALUE = 0; - - /** - * The number of structural features of the '<em>Odometer Tics</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETER_TICS_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Odometer Tics</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETER_TICS_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Tics_Left_RightImpl <em>Odometer Tics Left Right</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Tics_Left_RightImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getOdometer_Tics_Left_Right() - * @generated - */ - int ODOMETER_TICS_LEFT_RIGHT = 10; - - /** - * The feature id for the '<em><b>Odometer tics left</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT = 0; - - /** - * The feature id for the '<em><b>Odometer tics right</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_RIGHT = 1; - - /** - * The number of structural features of the '<em>Odometer Tics Left Right</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETER_TICS_LEFT_RIGHT_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Odometer Tics Left Right</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETER_TICS_LEFT_RIGHT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Proxi_Left_RightImpl <em>Proxi Left Right</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Proxi_Left_RightImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getProxi_Left_Right() - * @generated - */ - int PROXI_LEFT_RIGHT = 11; - - /** - * The feature id for the '<em><b>Proxi left</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROXI_LEFT_RIGHT__PROXI_LEFT = 0; - - /** - * The feature id for the '<em><b>Proxi right</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROXI_LEFT_RIGHT__PROXI_RIGHT = 1; - - /** - * The number of structural features of the '<em>Proxi Left Right</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROXI_LEFT_RIGHT_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Proxi Left Right</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROXI_LEFT_RIGHT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Milli_AmpImpl <em>Milli Amp</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Milli_AmpImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getMilli_Amp() - * @generated - */ - int MILLI_AMP = 12; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MILLI_AMP__VALUE = 0; - - /** - * The number of structural features of the '<em>Milli Amp</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MILLI_AMP_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Milli Amp</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MILLI_AMP_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Linear_Left_RightImpl <em>Odometer Linear Left Right</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Linear_Left_RightImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getOdometer_Linear_Left_Right() - * @generated - */ - int ODOMETER_LINEAR_LEFT_RIGHT = 13; - - /** - * The feature id for the '<em><b>Odometer linear left</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT = 0; - - /** - * The feature id for the '<em><b>Odometer linear right</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_RIGHT = 1; - - /** - * The number of structural features of the '<em>Odometer Linear Left Right</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETER_LINEAR_LEFT_RIGHT_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Odometer Linear Left Right</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ODOMETER_LINEAR_LEFT_RIGHT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_Angular_Left_RightImpl <em>Velocity Angular Left Right</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_Angular_Left_RightImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getVelocity_Angular_Left_Right() - * @generated - */ - int VELOCITY_ANGULAR_LEFT_RIGHT = 14; - - /** - * The feature id for the '<em><b>Velocity angular left</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT = 0; - - /** - * The feature id for the '<em><b>Velocity angular right</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_RIGHT = 1; - - /** - * The number of structural features of the '<em>Velocity Angular Left Right</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY_ANGULAR_LEFT_RIGHT_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Velocity Angular Left Right</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY_ANGULAR_LEFT_RIGHT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.VelocityImpl <em>Velocity</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.VelocityImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getVelocity() - * @generated - */ - int VELOCITY = 15; - - /** - * The feature id for the '<em><b>Velocity linear</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY__VELOCITY_LINEAR = 0; - - /** - * The feature id for the '<em><b>Velocity angular</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY__VELOCITY_ANGULAR = 1; - - /** - * The number of structural features of the '<em>Velocity</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Velocity</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VELOCITY_OPERATION_COUNT = 0; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear <em>Velocity Linear</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Velocity Linear</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear - * @generated - */ - EClass getVelocity_Linear(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear#getValue() - * @see #getVelocity_Linear() - * @generated - */ - EAttribute getVelocity_Linear_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point <em>Art Set Point</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Art Set Point</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point - * @generated - */ - EClass getArt_Set_Point(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_left <em>Omega left</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Omega left</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_left() - * @see #getArt_Set_Point() - * @generated - */ - EReference getArt_Set_Point_Omega_left(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_right <em>Omega right</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Omega right</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_right() - * @see #getArt_Set_Point() - * @generated - */ - EReference getArt_Set_Point_Omega_right(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular <em>Velocity Angular</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Velocity Angular</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular - * @generated - */ - EClass getVelocity_Angular(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular#getValue() - * @see #getVelocity_Angular() - * @generated - */ - EAttribute getVelocity_Angular_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance <em>Distance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Distance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance - * @generated - */ - EClass getDistance(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance#getValue() - * @see #getDistance() - * @generated - */ - EAttribute getDistance_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric <em>Metric</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Metric</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric - * @generated - */ - EClass getMetric(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric#getValue() - * @see #getMetric() - * @generated - */ - EAttribute getMetric_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular <em>Angular</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Angular</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular - * @generated - */ - EClass getAngular(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular#getValue() - * @see #getAngular() - * @generated - */ - EAttribute getAngular_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point <em>Op Set Point</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Op Set Point</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point - * @generated - */ - EClass getOp_Set_Point(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getVelocity <em>Velocity</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Velocity</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getVelocity() - * @see #getOp_Set_Point() - * @generated - */ - EReference getOp_Set_Point_Velocity(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getOrientation <em>Orientation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Orientation</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getOrientation() - * @see #getOp_Set_Point() - * @generated - */ - EReference getOp_Set_Point_Orientation(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right <em>Speed Tics Left Right</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Speed Tics Left Right</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right - * @generated - */ - EClass getSpeed_Tics_Left_Right(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right#getSpeed_tics_left <em>Speed tics left</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Speed tics left</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right#getSpeed_tics_left() - * @see #getSpeed_Tics_Left_Right() - * @generated - */ - EReference getSpeed_Tics_Left_Right_Speed_tics_left(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right#getSpeed_tics_right <em>Speed tics right</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Speed tics right</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right#getSpeed_tics_right() - * @see #getSpeed_Tics_Left_Right() - * @generated - */ - EReference getSpeed_Tics_Left_Right_Speed_tics_right(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics <em>Speed Tics</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Speed Tics</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics - * @generated - */ - EClass getSpeed_Tics(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics#getValue() - * @see #getSpeed_Tics() - * @generated - */ - EAttribute getSpeed_Tics_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics <em>Odometer Tics</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Odometer Tics</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics - * @generated - */ - EClass getOdometer_Tics(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics#getValue() - * @see #getOdometer_Tics() - * @generated - */ - EAttribute getOdometer_Tics_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right <em>Odometer Tics Left Right</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Odometer Tics Left Right</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right - * @generated - */ - EClass getOdometer_Tics_Left_Right(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right#getOdometer_tics_left <em>Odometer tics left</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Odometer tics left</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right#getOdometer_tics_left() - * @see #getOdometer_Tics_Left_Right() - * @generated - */ - EReference getOdometer_Tics_Left_Right_Odometer_tics_left(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right#getOdometer_tics_right <em>Odometer tics right</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Odometer tics right</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right#getOdometer_tics_right() - * @see #getOdometer_Tics_Left_Right() - * @generated - */ - EReference getOdometer_Tics_Left_Right_Odometer_tics_right(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right <em>Proxi Left Right</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Proxi Left Right</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right - * @generated - */ - EClass getProxi_Left_Right(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_left <em>Proxi left</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Proxi left</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_left() - * @see #getProxi_Left_Right() - * @generated - */ - EReference getProxi_Left_Right_Proxi_left(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_right <em>Proxi right</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Proxi right</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_right() - * @see #getProxi_Left_Right() - * @generated - */ - EReference getProxi_Left_Right_Proxi_right(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp <em>Milli Amp</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Milli Amp</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp - * @generated - */ - EClass getMilli_Amp(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp#getValue() - * @see #getMilli_Amp() - * @generated - */ - EAttribute getMilli_Amp_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right <em>Odometer Linear Left Right</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Odometer Linear Left Right</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right - * @generated - */ - EClass getOdometer_Linear_Left_Right(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right#getOdometer_linear_left <em>Odometer linear left</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Odometer linear left</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right#getOdometer_linear_left() - * @see #getOdometer_Linear_Left_Right() - * @generated - */ - EReference getOdometer_Linear_Left_Right_Odometer_linear_left(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right#getOdometer_linear_right <em>Odometer linear right</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Odometer linear right</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right#getOdometer_linear_right() - * @see #getOdometer_Linear_Left_Right() - * @generated - */ - EReference getOdometer_Linear_Left_Right_Odometer_linear_right(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right <em>Velocity Angular Left Right</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Velocity Angular Left Right</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right - * @generated - */ - EClass getVelocity_Angular_Left_Right(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right#getVelocity_angular_left <em>Velocity angular left</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Velocity angular left</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right#getVelocity_angular_left() - * @see #getVelocity_Angular_Left_Right() - * @generated - */ - EReference getVelocity_Angular_Left_Right_Velocity_angular_left(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right#getVelocity_angular_right <em>Velocity angular right</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Velocity angular right</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right#getVelocity_angular_right() - * @see #getVelocity_Angular_Left_Right() - * @generated - */ - EReference getVelocity_Angular_Left_Right_Velocity_angular_right(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity <em>Velocity</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Velocity</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity - * @generated - */ - EClass getVelocity(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_linear <em>Velocity linear</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Velocity linear</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_linear() - * @see #getVelocity() - * @generated - */ - EReference getVelocity_Velocity_linear(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_angular <em>Velocity angular</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Velocity angular</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_angular() - * @see #getVelocity() - * @generated - */ - EReference getVelocity_Velocity_angular(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - Oarp4_datatypesFactory getOarp4_datatypesFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_LinearImpl <em>Velocity Linear</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_LinearImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getVelocity_Linear() - * @generated - */ - EClass VELOCITY_LINEAR = eINSTANCE.getVelocity_Linear(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute VELOCITY_LINEAR__VALUE = eINSTANCE.getVelocity_Linear_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Art_Set_PointImpl <em>Art Set Point</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Art_Set_PointImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getArt_Set_Point() - * @generated - */ - EClass ART_SET_POINT = eINSTANCE.getArt_Set_Point(); - - /** - * The meta object literal for the '<em><b>Omega left</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ART_SET_POINT__OMEGA_LEFT = eINSTANCE.getArt_Set_Point_Omega_left(); - - /** - * The meta object literal for the '<em><b>Omega right</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ART_SET_POINT__OMEGA_RIGHT = eINSTANCE.getArt_Set_Point_Omega_right(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_AngularImpl <em>Velocity Angular</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_AngularImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getVelocity_Angular() - * @generated - */ - EClass VELOCITY_ANGULAR = eINSTANCE.getVelocity_Angular(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute VELOCITY_ANGULAR__VALUE = eINSTANCE.getVelocity_Angular_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.DistanceImpl <em>Distance</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.DistanceImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getDistance() - * @generated - */ - EClass DISTANCE = eINSTANCE.getDistance(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DISTANCE__VALUE = eINSTANCE.getDistance_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.MetricImpl <em>Metric</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.MetricImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getMetric() - * @generated - */ - EClass METRIC = eINSTANCE.getMetric(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute METRIC__VALUE = eINSTANCE.getMetric_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.AngularImpl <em>Angular</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.AngularImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getAngular() - * @generated - */ - EClass ANGULAR = eINSTANCE.getAngular(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ANGULAR__VALUE = eINSTANCE.getAngular_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Op_Set_PointImpl <em>Op Set Point</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Op_Set_PointImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getOp_Set_Point() - * @generated - */ - EClass OP_SET_POINT = eINSTANCE.getOp_Set_Point(); - - /** - * The meta object literal for the '<em><b>Velocity</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OP_SET_POINT__VELOCITY = eINSTANCE.getOp_Set_Point_Velocity(); - - /** - * The meta object literal for the '<em><b>Orientation</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OP_SET_POINT__ORIENTATION = eINSTANCE.getOp_Set_Point_Orientation(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_Tics_Left_RightImpl <em>Speed Tics Left Right</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_Tics_Left_RightImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getSpeed_Tics_Left_Right() - * @generated - */ - EClass SPEED_TICS_LEFT_RIGHT = eINSTANCE.getSpeed_Tics_Left_Right(); - - /** - * The meta object literal for the '<em><b>Speed tics left</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT = eINSTANCE.getSpeed_Tics_Left_Right_Speed_tics_left(); - - /** - * The meta object literal for the '<em><b>Speed tics right</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SPEED_TICS_LEFT_RIGHT__SPEED_TICS_RIGHT = eINSTANCE.getSpeed_Tics_Left_Right_Speed_tics_right(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_TicsImpl <em>Speed Tics</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_TicsImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getSpeed_Tics() - * @generated - */ - EClass SPEED_TICS = eINSTANCE.getSpeed_Tics(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SPEED_TICS__VALUE = eINSTANCE.getSpeed_Tics_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_TicsImpl <em>Odometer Tics</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_TicsImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getOdometer_Tics() - * @generated - */ - EClass ODOMETER_TICS = eINSTANCE.getOdometer_Tics(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ODOMETER_TICS__VALUE = eINSTANCE.getOdometer_Tics_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Tics_Left_RightImpl <em>Odometer Tics Left Right</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Tics_Left_RightImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getOdometer_Tics_Left_Right() - * @generated - */ - EClass ODOMETER_TICS_LEFT_RIGHT = eINSTANCE.getOdometer_Tics_Left_Right(); - - /** - * The meta object literal for the '<em><b>Odometer tics left</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT = eINSTANCE.getOdometer_Tics_Left_Right_Odometer_tics_left(); - - /** - * The meta object literal for the '<em><b>Odometer tics right</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_RIGHT = eINSTANCE.getOdometer_Tics_Left_Right_Odometer_tics_right(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Proxi_Left_RightImpl <em>Proxi Left Right</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Proxi_Left_RightImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getProxi_Left_Right() - * @generated - */ - EClass PROXI_LEFT_RIGHT = eINSTANCE.getProxi_Left_Right(); - - /** - * The meta object literal for the '<em><b>Proxi left</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PROXI_LEFT_RIGHT__PROXI_LEFT = eINSTANCE.getProxi_Left_Right_Proxi_left(); - - /** - * The meta object literal for the '<em><b>Proxi right</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PROXI_LEFT_RIGHT__PROXI_RIGHT = eINSTANCE.getProxi_Left_Right_Proxi_right(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Milli_AmpImpl <em>Milli Amp</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Milli_AmpImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getMilli_Amp() - * @generated - */ - EClass MILLI_AMP = eINSTANCE.getMilli_Amp(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MILLI_AMP__VALUE = eINSTANCE.getMilli_Amp_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Linear_Left_RightImpl <em>Odometer Linear Left Right</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Linear_Left_RightImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getOdometer_Linear_Left_Right() - * @generated - */ - EClass ODOMETER_LINEAR_LEFT_RIGHT = eINSTANCE.getOdometer_Linear_Left_Right(); - - /** - * The meta object literal for the '<em><b>Odometer linear left</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT = eINSTANCE.getOdometer_Linear_Left_Right_Odometer_linear_left(); - - /** - * The meta object literal for the '<em><b>Odometer linear right</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_RIGHT = eINSTANCE.getOdometer_Linear_Left_Right_Odometer_linear_right(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_Angular_Left_RightImpl <em>Velocity Angular Left Right</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_Angular_Left_RightImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getVelocity_Angular_Left_Right() - * @generated - */ - EClass VELOCITY_ANGULAR_LEFT_RIGHT = eINSTANCE.getVelocity_Angular_Left_Right(); - - /** - * The meta object literal for the '<em><b>Velocity angular left</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT = eINSTANCE.getVelocity_Angular_Left_Right_Velocity_angular_left(); - - /** - * The meta object literal for the '<em><b>Velocity angular right</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_RIGHT = eINSTANCE.getVelocity_Angular_Left_Right_Velocity_angular_right(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.VelocityImpl <em>Velocity</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.VelocityImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl#getVelocity() - * @generated - */ - EClass VELOCITY = eINSTANCE.getVelocity(); - - /** - * The meta object literal for the '<em><b>Velocity linear</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VELOCITY__VELOCITY_LINEAR = eINSTANCE.getVelocity_Velocity_linear(); - - /** - * The meta object literal for the '<em><b>Velocity angular</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VELOCITY__VELOCITY_ANGULAR = eINSTANCE.getVelocity_Velocity_angular(); - - } - -} // Oarp4_datatypesPackage diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Odometer_Linear_Left_Right.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Odometer_Linear_Left_Right.java deleted file mode 100644 index 41abfe3ff70..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Odometer_Linear_Left_Right.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Odometer Linear Left Right</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right#getOdometer_linear_left <em>Odometer linear left</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right#getOdometer_linear_right <em>Odometer linear right</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getOdometer_Linear_Left_Right() - * @model - * @generated - */ -public interface Odometer_Linear_Left_Right extends EObject { - /** - * Returns the value of the '<em><b>Odometer linear left</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Odometer linear left</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Odometer linear left</em>' containment reference. - * @see #setOdometer_linear_left(Metric) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getOdometer_Linear_Left_Right_Odometer_linear_left() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Metric getOdometer_linear_left(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right#getOdometer_linear_left <em>Odometer linear left</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Odometer linear left</em>' containment reference. - * @see #getOdometer_linear_left() - * @generated - */ - void setOdometer_linear_left(Metric value); - - /** - * Returns the value of the '<em><b>Odometer linear right</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Odometer linear right</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Odometer linear right</em>' containment reference. - * @see #setOdometer_linear_right(Metric) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getOdometer_Linear_Left_Right_Odometer_linear_right() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Metric getOdometer_linear_right(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right#getOdometer_linear_right <em>Odometer linear right</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Odometer linear right</em>' containment reference. - * @see #getOdometer_linear_right() - * @generated - */ - void setOdometer_linear_right(Metric value); - -} // Odometer_Linear_Left_Right diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Odometer_Tics.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Odometer_Tics.java deleted file mode 100644 index e328331415f..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Odometer_Tics.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Odometer Tics</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getOdometer_Tics() - * @model - * @generated - */ -public interface Odometer_Tics extends EObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(Int32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getOdometer_Tics_Value() - * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32" required="true" ordered="false" - * @generated - */ - Object getValue(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(Object value); - -} // Odometer_Tics diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Odometer_Tics_Left_Right.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Odometer_Tics_Left_Right.java deleted file mode 100644 index d5ce8e59d11..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Odometer_Tics_Left_Right.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Odometer Tics Left Right</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right#getOdometer_tics_left <em>Odometer tics left</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right#getOdometer_tics_right <em>Odometer tics right</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getOdometer_Tics_Left_Right() - * @model - * @generated - */ -public interface Odometer_Tics_Left_Right extends EObject { - /** - * Returns the value of the '<em><b>Odometer tics left</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Odometer tics left</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Odometer tics left</em>' containment reference. - * @see #setOdometer_tics_left(Odometer_Tics) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getOdometer_Tics_Left_Right_Odometer_tics_left() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Odometer_Tics getOdometer_tics_left(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right#getOdometer_tics_left <em>Odometer tics left</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Odometer tics left</em>' containment reference. - * @see #getOdometer_tics_left() - * @generated - */ - void setOdometer_tics_left(Odometer_Tics value); - - /** - * Returns the value of the '<em><b>Odometer tics right</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Odometer tics right</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Odometer tics right</em>' containment reference. - * @see #setOdometer_tics_right(Odometer_Tics) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getOdometer_Tics_Left_Right_Odometer_tics_right() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Odometer_Tics getOdometer_tics_right(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right#getOdometer_tics_right <em>Odometer tics right</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Odometer tics right</em>' containment reference. - * @see #getOdometer_tics_right() - * @generated - */ - void setOdometer_tics_right(Odometer_Tics value); - -} // Odometer_Tics_Left_Right diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Op_Set_Point.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Op_Set_Point.java deleted file mode 100644 index 6e191e3eaba..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Op_Set_Point.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Op Set Point</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getVelocity <em>Velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getOrientation <em>Orientation</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getOp_Set_Point() - * @model - * @generated - */ -public interface Op_Set_Point extends EObject { - /** - * Returns the value of the '<em><b>Velocity</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Velocity</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Velocity</em>' containment reference. - * @see #setVelocity(Velocity_Linear) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getOp_Set_Point_Velocity() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Velocity_Linear getVelocity(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getVelocity <em>Velocity</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Velocity</em>' containment reference. - * @see #getVelocity() - * @generated - */ - void setVelocity(Velocity_Linear value); - - /** - * Returns the value of the '<em><b>Orientation</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Orientation</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Orientation</em>' containment reference. - * @see #setOrientation(Angular) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getOp_Set_Point_Orientation() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Angular getOrientation(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getOrientation <em>Orientation</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Orientation</em>' containment reference. - * @see #getOrientation() - * @generated - */ - void setOrientation(Angular value); - -} // Op_Set_Point diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Proxi_Left_Right.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Proxi_Left_Right.java deleted file mode 100644 index 7176510c8be..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Proxi_Left_Right.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Proxi Left Right</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_left <em>Proxi left</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_right <em>Proxi right</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getProxi_Left_Right() - * @model - * @generated - */ -public interface Proxi_Left_Right extends EObject { - /** - * Returns the value of the '<em><b>Proxi left</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Proxi left</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Proxi left</em>' containment reference. - * @see #setProxi_left(Distance) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getProxi_Left_Right_Proxi_left() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Distance getProxi_left(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_left <em>Proxi left</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Proxi left</em>' containment reference. - * @see #getProxi_left() - * @generated - */ - void setProxi_left(Distance value); - - /** - * Returns the value of the '<em><b>Proxi right</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Proxi right</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Proxi right</em>' containment reference. - * @see #setProxi_right(Distance) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getProxi_Left_Right_Proxi_right() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Distance getProxi_right(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_right <em>Proxi right</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Proxi right</em>' containment reference. - * @see #getProxi_right() - * @generated - */ - void setProxi_right(Distance value); - -} // Proxi_Left_Right diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Speed_Tics.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Speed_Tics.java deleted file mode 100644 index 7887ff8d60d..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Speed_Tics.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Speed Tics</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getSpeed_Tics() - * @model - * @generated - */ -public interface Speed_Tics extends EObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(Int32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getSpeed_Tics_Value() - * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32" required="true" ordered="false" - * @generated - */ - Object getValue(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(Object value); - -} // Speed_Tics diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Speed_Tics_Left_Right.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Speed_Tics_Left_Right.java deleted file mode 100644 index 9445d4b4db4..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Speed_Tics_Left_Right.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Speed Tics Left Right</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right#getSpeed_tics_left <em>Speed tics left</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right#getSpeed_tics_right <em>Speed tics right</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getSpeed_Tics_Left_Right() - * @model - * @generated - */ -public interface Speed_Tics_Left_Right extends EObject { - /** - * Returns the value of the '<em><b>Speed tics left</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Speed tics left</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Speed tics left</em>' containment reference. - * @see #setSpeed_tics_left(Speed_Tics) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getSpeed_Tics_Left_Right_Speed_tics_left() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Speed_Tics getSpeed_tics_left(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right#getSpeed_tics_left <em>Speed tics left</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Speed tics left</em>' containment reference. - * @see #getSpeed_tics_left() - * @generated - */ - void setSpeed_tics_left(Speed_Tics value); - - /** - * Returns the value of the '<em><b>Speed tics right</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Speed tics right</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Speed tics right</em>' containment reference. - * @see #setSpeed_tics_right(Speed_Tics) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getSpeed_Tics_Left_Right_Speed_tics_right() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Speed_Tics getSpeed_tics_right(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right#getSpeed_tics_right <em>Speed tics right</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Speed tics right</em>' containment reference. - * @see #getSpeed_tics_right() - * @generated - */ - void setSpeed_tics_right(Speed_Tics value); - -} // Speed_Tics_Left_Right diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Velocity.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Velocity.java deleted file mode 100644 index 15998b1e610..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Velocity.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Velocity</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_linear <em>Velocity linear</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_angular <em>Velocity angular</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getVelocity() - * @model - * @generated - */ -public interface Velocity extends EObject { - /** - * Returns the value of the '<em><b>Velocity linear</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Velocity linear</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Velocity linear</em>' containment reference. - * @see #setVelocity_linear(Velocity_Linear) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getVelocity_Velocity_linear() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Velocity_Linear getVelocity_linear(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_linear <em>Velocity linear</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Velocity linear</em>' containment reference. - * @see #getVelocity_linear() - * @generated - */ - void setVelocity_linear(Velocity_Linear value); - - /** - * Returns the value of the '<em><b>Velocity angular</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Velocity angular</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Velocity angular</em>' containment reference. - * @see #setVelocity_angular(Velocity_Angular) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getVelocity_Velocity_angular() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Velocity_Angular getVelocity_angular(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_angular <em>Velocity angular</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Velocity angular</em>' containment reference. - * @see #getVelocity_angular() - * @generated - */ - void setVelocity_angular(Velocity_Angular value); - -} // Velocity diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Velocity_Angular.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Velocity_Angular.java deleted file mode 100644 index c71e359322d..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Velocity_Angular.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Velocity Angular</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getVelocity_Angular() - * @model - * @generated - */ -public interface Velocity_Angular extends EObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getVelocity_Angular_Value() - * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getValue(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(Object value); - -} // Velocity_Angular diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Velocity_Angular_Left_Right.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Velocity_Angular_Left_Right.java deleted file mode 100644 index b0c2fd432a4..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Velocity_Angular_Left_Right.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Velocity Angular Left Right</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right#getVelocity_angular_left <em>Velocity angular left</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right#getVelocity_angular_right <em>Velocity angular right</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getVelocity_Angular_Left_Right() - * @model - * @generated - */ -public interface Velocity_Angular_Left_Right extends EObject { - /** - * Returns the value of the '<em><b>Velocity angular left</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Velocity angular left</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Velocity angular left</em>' containment reference. - * @see #setVelocity_angular_left(Velocity_Angular) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getVelocity_Angular_Left_Right_Velocity_angular_left() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Velocity_Angular getVelocity_angular_left(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right#getVelocity_angular_left <em>Velocity angular left</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Velocity angular left</em>' containment reference. - * @see #getVelocity_angular_left() - * @generated - */ - void setVelocity_angular_left(Velocity_Angular value); - - /** - * Returns the value of the '<em><b>Velocity angular right</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Velocity angular right</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Velocity angular right</em>' containment reference. - * @see #setVelocity_angular_right(Velocity_Angular) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getVelocity_Angular_Left_Right_Velocity_angular_right() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Velocity_Angular getVelocity_angular_right(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right#getVelocity_angular_right <em>Velocity angular right</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Velocity angular right</em>' containment reference. - * @see #getVelocity_angular_right() - * @generated - */ - void setVelocity_angular_right(Velocity_Angular value); - -} // Velocity_Angular_Left_Right diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Velocity_Linear.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Velocity_Linear.java deleted file mode 100644 index 53f0368d6ff..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/Velocity_Linear.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Velocity Linear</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getVelocity_Linear() - * @model - * @generated - */ -public interface Velocity_Linear extends EObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(Int32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getVelocity_Linear_Value() - * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32" required="true" ordered="false" - * @generated - */ - Object getValue(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(Object value); - -} // Velocity_Linear diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/AngularImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/AngularImpl.java deleted file mode 100644 index 12d8710090e..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/AngularImpl.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_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.oarps_datatypes.oarp4_datatypes.Angular; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Angular</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.AngularImpl#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class AngularImpl extends MinimalEObjectImpl.Container implements Angular { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final Object VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected Object value = VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AngularImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.ANGULAR; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(Object newValue) { - Object oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ANGULAR__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Oarp4_datatypesPackage.ANGULAR__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.ANGULAR__VALUE: - setValue((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.ANGULAR__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.ANGULAR__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - 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(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} // AngularImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Art_Set_PointImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Art_Set_PointImpl.java deleted file mode 100644 index 8c094cbe48e..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Art_Set_PointImpl.java +++ /dev/null @@ -1,239 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Art Set Point</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Art_Set_PointImpl#getOmega_left <em>Omega left</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Art_Set_PointImpl#getOmega_right <em>Omega right</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Art_Set_PointImpl extends MinimalEObjectImpl.Container implements Art_Set_Point { - /** - * The cached value of the '{@link #getOmega_left() <em>Omega left</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOmega_left() - * @generated - * @ordered - */ - protected Velocity_Angular omega_left; - - /** - * The cached value of the '{@link #getOmega_right() <em>Omega right</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOmega_right() - * @generated - * @ordered - */ - protected Velocity_Angular omega_right; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Art_Set_PointImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.ART_SET_POINT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Velocity_Angular getOmega_left() { - return omega_left; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOmega_left(Velocity_Angular newOmega_left, NotificationChain msgs) { - Velocity_Angular oldOmega_left = omega_left; - omega_left = newOmega_left; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_LEFT, oldOmega_left, newOmega_left); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOmega_left(Velocity_Angular newOmega_left) { - if (newOmega_left != omega_left) { - NotificationChain msgs = null; - if (omega_left != null) - msgs = ((InternalEObject)omega_left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_LEFT, null, msgs); - if (newOmega_left != null) - msgs = ((InternalEObject)newOmega_left).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_LEFT, null, msgs); - msgs = basicSetOmega_left(newOmega_left, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_LEFT, newOmega_left, newOmega_left)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Velocity_Angular getOmega_right() { - return omega_right; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOmega_right(Velocity_Angular newOmega_right, NotificationChain msgs) { - Velocity_Angular oldOmega_right = omega_right; - omega_right = newOmega_right; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_RIGHT, oldOmega_right, newOmega_right); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOmega_right(Velocity_Angular newOmega_right) { - if (newOmega_right != omega_right) { - NotificationChain msgs = null; - if (omega_right != null) - msgs = ((InternalEObject)omega_right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_RIGHT, null, msgs); - if (newOmega_right != null) - msgs = ((InternalEObject)newOmega_right).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_RIGHT, null, msgs); - msgs = basicSetOmega_right(newOmega_right, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_RIGHT, newOmega_right, newOmega_right)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_LEFT: - return basicSetOmega_left(null, msgs); - case Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_RIGHT: - return basicSetOmega_right(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 Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_LEFT: - return getOmega_left(); - case Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_RIGHT: - return getOmega_right(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_LEFT: - setOmega_left((Velocity_Angular)newValue); - return; - case Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_RIGHT: - setOmega_right((Velocity_Angular)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_LEFT: - setOmega_left((Velocity_Angular)null); - return; - case Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_RIGHT: - setOmega_right((Velocity_Angular)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_LEFT: - return omega_left != null; - case Oarp4_datatypesPackage.ART_SET_POINT__OMEGA_RIGHT: - return omega_right != null; - } - return super.eIsSet(featureID); - } - -} // Art_Set_PointImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/DistanceImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/DistanceImpl.java deleted file mode 100644 index 058725c99a9..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/DistanceImpl.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_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.oarps_datatypes.oarp4_datatypes.Distance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Distance</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.DistanceImpl#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DistanceImpl extends MinimalEObjectImpl.Container implements Distance { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final Object VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected Object value = VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DistanceImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.DISTANCE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(Object newValue) { - Object oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.DISTANCE__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Oarp4_datatypesPackage.DISTANCE__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.DISTANCE__VALUE: - setValue((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.DISTANCE__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.DISTANCE__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - 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(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} // DistanceImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/MetricImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/MetricImpl.java deleted file mode 100644 index 8f404f2cb6f..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/MetricImpl.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_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.oarps_datatypes.oarp4_datatypes.Metric; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Metric</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.MetricImpl#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class MetricImpl extends MinimalEObjectImpl.Container implements Metric { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final Object VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected Object value = VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected MetricImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.METRIC; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(Object newValue) { - Object oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.METRIC__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Oarp4_datatypesPackage.METRIC__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.METRIC__VALUE: - setValue((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.METRIC__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.METRIC__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - 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(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} // MetricImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Milli_AmpImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Milli_AmpImpl.java deleted file mode 100644 index 0ed4e692826..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Milli_AmpImpl.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_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.oarps_datatypes.oarp4_datatypes.Milli_Amp; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Milli Amp</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Milli_AmpImpl#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Milli_AmpImpl extends MinimalEObjectImpl.Container implements Milli_Amp { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final Object VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected Object value = VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Milli_AmpImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.MILLI_AMP; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(Object newValue) { - Object oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.MILLI_AMP__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Oarp4_datatypesPackage.MILLI_AMP__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.MILLI_AMP__VALUE: - setValue((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.MILLI_AMP__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.MILLI_AMP__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - 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(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} // Milli_AmpImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Oarp4_datatypesFactoryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Oarp4_datatypesFactoryImpl.java deleted file mode 100644 index 05068108c3a..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Oarp4_datatypesFactoryImpl.java +++ /dev/null @@ -1,274 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_datatypesFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static Oarp4_datatypesFactory init() { - try { - Oarp4_datatypesFactory theOarp4_datatypesFactory = (Oarp4_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Oarp4_datatypesPackage.eNS_URI); - if (theOarp4_datatypesFactory != null) { - return theOarp4_datatypesFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new Oarp4_datatypesFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Oarp4_datatypesFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case Oarp4_datatypesPackage.VELOCITY_LINEAR: return createVelocity_Linear(); - case Oarp4_datatypesPackage.ART_SET_POINT: return createArt_Set_Point(); - case Oarp4_datatypesPackage.VELOCITY_ANGULAR: return createVelocity_Angular(); - case Oarp4_datatypesPackage.DISTANCE: return createDistance(); - case Oarp4_datatypesPackage.METRIC: return createMetric(); - case Oarp4_datatypesPackage.ANGULAR: return createAngular(); - case Oarp4_datatypesPackage.OP_SET_POINT: return createOp_Set_Point(); - case Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT: return createSpeed_Tics_Left_Right(); - case Oarp4_datatypesPackage.SPEED_TICS: return createSpeed_Tics(); - case Oarp4_datatypesPackage.ODOMETER_TICS: return createOdometer_Tics(); - case Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT: return createOdometer_Tics_Left_Right(); - case Oarp4_datatypesPackage.PROXI_LEFT_RIGHT: return createProxi_Left_Right(); - case Oarp4_datatypesPackage.MILLI_AMP: return createMilli_Amp(); - case Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT: return createOdometer_Linear_Left_Right(); - case Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT: return createVelocity_Angular_Left_Right(); - case Oarp4_datatypesPackage.VELOCITY: return createVelocity(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Velocity_Linear createVelocity_Linear() { - Velocity_LinearImpl velocity_Linear = new Velocity_LinearImpl(); - return velocity_Linear; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Art_Set_Point createArt_Set_Point() { - Art_Set_PointImpl art_Set_Point = new Art_Set_PointImpl(); - return art_Set_Point; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Velocity_Angular createVelocity_Angular() { - Velocity_AngularImpl velocity_Angular = new Velocity_AngularImpl(); - return velocity_Angular; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Distance createDistance() { - DistanceImpl distance = new DistanceImpl(); - return distance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Metric createMetric() { - MetricImpl metric = new MetricImpl(); - return metric; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Angular createAngular() { - AngularImpl angular = new AngularImpl(); - return angular; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Op_Set_Point createOp_Set_Point() { - Op_Set_PointImpl op_Set_Point = new Op_Set_PointImpl(); - return op_Set_Point; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Speed_Tics_Left_Right createSpeed_Tics_Left_Right() { - Speed_Tics_Left_RightImpl speed_Tics_Left_Right = new Speed_Tics_Left_RightImpl(); - return speed_Tics_Left_Right; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Speed_Tics createSpeed_Tics() { - Speed_TicsImpl speed_Tics = new Speed_TicsImpl(); - return speed_Tics; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Odometer_Tics createOdometer_Tics() { - Odometer_TicsImpl odometer_Tics = new Odometer_TicsImpl(); - return odometer_Tics; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Odometer_Tics_Left_Right createOdometer_Tics_Left_Right() { - Odometer_Tics_Left_RightImpl odometer_Tics_Left_Right = new Odometer_Tics_Left_RightImpl(); - return odometer_Tics_Left_Right; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Proxi_Left_Right createProxi_Left_Right() { - Proxi_Left_RightImpl proxi_Left_Right = new Proxi_Left_RightImpl(); - return proxi_Left_Right; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Milli_Amp createMilli_Amp() { - Milli_AmpImpl milli_Amp = new Milli_AmpImpl(); - return milli_Amp; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Odometer_Linear_Left_Right createOdometer_Linear_Left_Right() { - Odometer_Linear_Left_RightImpl odometer_Linear_Left_Right = new Odometer_Linear_Left_RightImpl(); - return odometer_Linear_Left_Right; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Velocity_Angular_Left_Right createVelocity_Angular_Left_Right() { - Velocity_Angular_Left_RightImpl velocity_Angular_Left_Right = new Velocity_Angular_Left_RightImpl(); - return velocity_Angular_Left_Right; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Velocity createVelocity() { - VelocityImpl velocity = new VelocityImpl(); - return velocity; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Oarp4_datatypesPackage getOarp4_datatypesPackage() { - return (Oarp4_datatypesPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static Oarp4_datatypesPackage getPackage() { - return Oarp4_datatypesPackage.eINSTANCE; - } - -} // Oarp4_datatypesFactoryImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Oarp4_datatypesPackageImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Oarp4_datatypesPackageImpl.java deleted file mode 100644 index ef67f29bd6b..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Oarp4_datatypesPackageImpl.java +++ /dev/null @@ -1,792 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.papyrus.RobotML.RobotMLPackage; -import org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_datatypesPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass velocity_LinearEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass art_Set_PointEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass velocity_AngularEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass distanceEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass metricEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass angularEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass op_Set_PointEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass speed_Tics_Left_RightEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass speed_TicsEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass odometer_TicsEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass odometer_Tics_Left_RightEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass proxi_Left_RightEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass milli_AmpEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass odometer_Linear_Left_RightEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass velocity_Angular_Left_RightEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass velocityEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#eNS_URI - * @see #init() - * @generated - */ - private Oarp4_datatypesPackageImpl() { - super(eNS_URI, Oarp4_datatypesFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p> - * This method is used to initialize {@link Oarp4_datatypesPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static Oarp4_datatypesPackage init() { - if (isInited) return (Oarp4_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI); - - // Obtain or create and register package - Oarp4_datatypesPackageImpl theOarp4_datatypesPackage = (Oarp4_datatypesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Oarp4_datatypesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Oarp4_datatypesPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - RobotMLPackageImpl theRobotMLPackage = (RobotMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) instanceof RobotMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) : RobotMLPackage.eINSTANCE); - Diagnostic_datatypesPackageImpl theDiagnostic_datatypesPackage = (Diagnostic_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) instanceof Diagnostic_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) : Diagnostic_datatypesPackage.eINSTANCE); - Geometry_datatypesPackageImpl theGeometry_datatypesPackage = (Geometry_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) instanceof Geometry_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) : Geometry_datatypesPackage.eINSTANCE); - Nav_datatypesPackageImpl theNav_datatypesPackage = (Nav_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) instanceof Nav_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) : Nav_datatypesPackage.eINSTANCE); - Sensor_datatypesPackageImpl theSensor_datatypesPackage = (Sensor_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) instanceof Sensor_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) : Sensor_datatypesPackage.eINSTANCE); - Actionlib_datatypesPackageImpl theActionlib_datatypesPackage = (Actionlib_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) instanceof Actionlib_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) : Actionlib_datatypesPackage.eINSTANCE); - Oarp1_datatypesPackageImpl theOarp1_datatypesPackage = (Oarp1_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) instanceof Oarp1_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) : Oarp1_datatypesPackage.eINSTANCE); - Std_datatypesPackageImpl theStd_datatypesPackage = (Std_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) instanceof Std_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) : Std_datatypesPackage.eINSTANCE); - - // Create package meta-data objects - theOarp4_datatypesPackage.createPackageContents(); - theRobotMLPackage.createPackageContents(); - theDiagnostic_datatypesPackage.createPackageContents(); - theGeometry_datatypesPackage.createPackageContents(); - theNav_datatypesPackage.createPackageContents(); - theSensor_datatypesPackage.createPackageContents(); - theActionlib_datatypesPackage.createPackageContents(); - theOarp1_datatypesPackage.createPackageContents(); - theStd_datatypesPackage.createPackageContents(); - - // Initialize created meta-data - theOarp4_datatypesPackage.initializePackageContents(); - theRobotMLPackage.initializePackageContents(); - theDiagnostic_datatypesPackage.initializePackageContents(); - theGeometry_datatypesPackage.initializePackageContents(); - theNav_datatypesPackage.initializePackageContents(); - theSensor_datatypesPackage.initializePackageContents(); - theActionlib_datatypesPackage.initializePackageContents(); - theOarp1_datatypesPackage.initializePackageContents(); - theStd_datatypesPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theOarp4_datatypesPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(Oarp4_datatypesPackage.eNS_URI, theOarp4_datatypesPackage); - return theOarp4_datatypesPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getVelocity_Linear() { - return velocity_LinearEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVelocity_Linear_Value() { - return (EAttribute)velocity_LinearEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getArt_Set_Point() { - return art_Set_PointEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getArt_Set_Point_Omega_left() { - return (EReference)art_Set_PointEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getArt_Set_Point_Omega_right() { - return (EReference)art_Set_PointEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getVelocity_Angular() { - return velocity_AngularEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVelocity_Angular_Value() { - return (EAttribute)velocity_AngularEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDistance() { - return distanceEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDistance_Value() { - return (EAttribute)distanceEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getMetric() { - return metricEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMetric_Value() { - return (EAttribute)metricEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getAngular() { - return angularEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getAngular_Value() { - return (EAttribute)angularEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOp_Set_Point() { - return op_Set_PointEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOp_Set_Point_Velocity() { - return (EReference)op_Set_PointEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOp_Set_Point_Orientation() { - return (EReference)op_Set_PointEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getSpeed_Tics_Left_Right() { - return speed_Tics_Left_RightEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getSpeed_Tics_Left_Right_Speed_tics_left() { - return (EReference)speed_Tics_Left_RightEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getSpeed_Tics_Left_Right_Speed_tics_right() { - return (EReference)speed_Tics_Left_RightEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getSpeed_Tics() { - return speed_TicsEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSpeed_Tics_Value() { - return (EAttribute)speed_TicsEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOdometer_Tics() { - return odometer_TicsEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getOdometer_Tics_Value() { - return (EAttribute)odometer_TicsEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOdometer_Tics_Left_Right() { - return odometer_Tics_Left_RightEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOdometer_Tics_Left_Right_Odometer_tics_left() { - return (EReference)odometer_Tics_Left_RightEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOdometer_Tics_Left_Right_Odometer_tics_right() { - return (EReference)odometer_Tics_Left_RightEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getProxi_Left_Right() { - return proxi_Left_RightEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getProxi_Left_Right_Proxi_left() { - return (EReference)proxi_Left_RightEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getProxi_Left_Right_Proxi_right() { - return (EReference)proxi_Left_RightEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getMilli_Amp() { - return milli_AmpEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMilli_Amp_Value() { - return (EAttribute)milli_AmpEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOdometer_Linear_Left_Right() { - return odometer_Linear_Left_RightEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOdometer_Linear_Left_Right_Odometer_linear_left() { - return (EReference)odometer_Linear_Left_RightEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOdometer_Linear_Left_Right_Odometer_linear_right() { - return (EReference)odometer_Linear_Left_RightEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getVelocity_Angular_Left_Right() { - return velocity_Angular_Left_RightEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getVelocity_Angular_Left_Right_Velocity_angular_left() { - return (EReference)velocity_Angular_Left_RightEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getVelocity_Angular_Left_Right_Velocity_angular_right() { - return (EReference)velocity_Angular_Left_RightEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getVelocity() { - return velocityEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getVelocity_Velocity_linear() { - return (EReference)velocityEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getVelocity_Velocity_angular() { - return (EReference)velocityEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Oarp4_datatypesFactory getOarp4_datatypesFactory() { - return (Oarp4_datatypesFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - velocity_LinearEClass = createEClass(VELOCITY_LINEAR); - createEAttribute(velocity_LinearEClass, VELOCITY_LINEAR__VALUE); - - art_Set_PointEClass = createEClass(ART_SET_POINT); - createEReference(art_Set_PointEClass, ART_SET_POINT__OMEGA_LEFT); - createEReference(art_Set_PointEClass, ART_SET_POINT__OMEGA_RIGHT); - - velocity_AngularEClass = createEClass(VELOCITY_ANGULAR); - createEAttribute(velocity_AngularEClass, VELOCITY_ANGULAR__VALUE); - - distanceEClass = createEClass(DISTANCE); - createEAttribute(distanceEClass, DISTANCE__VALUE); - - metricEClass = createEClass(METRIC); - createEAttribute(metricEClass, METRIC__VALUE); - - angularEClass = createEClass(ANGULAR); - createEAttribute(angularEClass, ANGULAR__VALUE); - - op_Set_PointEClass = createEClass(OP_SET_POINT); - createEReference(op_Set_PointEClass, OP_SET_POINT__VELOCITY); - createEReference(op_Set_PointEClass, OP_SET_POINT__ORIENTATION); - - speed_Tics_Left_RightEClass = createEClass(SPEED_TICS_LEFT_RIGHT); - createEReference(speed_Tics_Left_RightEClass, SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT); - createEReference(speed_Tics_Left_RightEClass, SPEED_TICS_LEFT_RIGHT__SPEED_TICS_RIGHT); - - speed_TicsEClass = createEClass(SPEED_TICS); - createEAttribute(speed_TicsEClass, SPEED_TICS__VALUE); - - odometer_TicsEClass = createEClass(ODOMETER_TICS); - createEAttribute(odometer_TicsEClass, ODOMETER_TICS__VALUE); - - odometer_Tics_Left_RightEClass = createEClass(ODOMETER_TICS_LEFT_RIGHT); - createEReference(odometer_Tics_Left_RightEClass, ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT); - createEReference(odometer_Tics_Left_RightEClass, ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_RIGHT); - - proxi_Left_RightEClass = createEClass(PROXI_LEFT_RIGHT); - createEReference(proxi_Left_RightEClass, PROXI_LEFT_RIGHT__PROXI_LEFT); - createEReference(proxi_Left_RightEClass, PROXI_LEFT_RIGHT__PROXI_RIGHT); - - milli_AmpEClass = createEClass(MILLI_AMP); - createEAttribute(milli_AmpEClass, MILLI_AMP__VALUE); - - odometer_Linear_Left_RightEClass = createEClass(ODOMETER_LINEAR_LEFT_RIGHT); - createEReference(odometer_Linear_Left_RightEClass, ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT); - createEReference(odometer_Linear_Left_RightEClass, ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_RIGHT); - - velocity_Angular_Left_RightEClass = createEClass(VELOCITY_ANGULAR_LEFT_RIGHT); - createEReference(velocity_Angular_Left_RightEClass, VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT); - createEReference(velocity_Angular_Left_RightEClass, VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_RIGHT); - - velocityEClass = createEClass(VELOCITY); - createEReference(velocityEClass, VELOCITY__VELOCITY_LINEAR); - createEReference(velocityEClass, VELOCITY__VELOCITY_ANGULAR); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - Std_datatypesPackage theStd_datatypesPackage = (Std_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(velocity_LinearEClass, Velocity_Linear.class, "Velocity_Linear", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getVelocity_Linear_Value(), theStd_datatypesPackage.getInt32(), "value", null, 1, 1, Velocity_Linear.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(art_Set_PointEClass, Art_Set_Point.class, "Art_Set_Point", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getArt_Set_Point_Omega_left(), this.getVelocity_Angular(), null, "omega_left", null, 1, 1, Art_Set_Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getArt_Set_Point_Omega_right(), this.getVelocity_Angular(), null, "omega_right", null, 1, 1, Art_Set_Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(velocity_AngularEClass, Velocity_Angular.class, "Velocity_Angular", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getVelocity_Angular_Value(), theStd_datatypesPackage.getFloat64(), "value", null, 1, 1, Velocity_Angular.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(distanceEClass, Distance.class, "Distance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDistance_Value(), theStd_datatypesPackage.getUInt32(), "value", null, 1, 1, Distance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(metricEClass, Metric.class, "Metric", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMetric_Value(), theStd_datatypesPackage.getFloat64(), "value", null, 1, 1, Metric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(angularEClass, Angular.class, "Angular", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getAngular_Value(), theStd_datatypesPackage.getUInt32(), "value", null, 1, 1, Angular.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(op_Set_PointEClass, Op_Set_Point.class, "Op_Set_Point", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getOp_Set_Point_Velocity(), this.getVelocity_Linear(), null, "velocity", null, 1, 1, Op_Set_Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getOp_Set_Point_Orientation(), this.getAngular(), null, "orientation", null, 1, 1, Op_Set_Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(speed_Tics_Left_RightEClass, Speed_Tics_Left_Right.class, "Speed_Tics_Left_Right", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getSpeed_Tics_Left_Right_Speed_tics_left(), this.getSpeed_Tics(), null, "speed_tics_left", null, 1, 1, Speed_Tics_Left_Right.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getSpeed_Tics_Left_Right_Speed_tics_right(), this.getSpeed_Tics(), null, "speed_tics_right", null, 1, 1, Speed_Tics_Left_Right.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(speed_TicsEClass, Speed_Tics.class, "Speed_Tics", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSpeed_Tics_Value(), theStd_datatypesPackage.getInt32(), "value", null, 1, 1, Speed_Tics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(odometer_TicsEClass, Odometer_Tics.class, "Odometer_Tics", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getOdometer_Tics_Value(), theStd_datatypesPackage.getInt32(), "value", null, 1, 1, Odometer_Tics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(odometer_Tics_Left_RightEClass, Odometer_Tics_Left_Right.class, "Odometer_Tics_Left_Right", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getOdometer_Tics_Left_Right_Odometer_tics_left(), this.getOdometer_Tics(), null, "odometer_tics_left", null, 1, 1, Odometer_Tics_Left_Right.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getOdometer_Tics_Left_Right_Odometer_tics_right(), this.getOdometer_Tics(), null, "odometer_tics_right", null, 1, 1, Odometer_Tics_Left_Right.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(proxi_Left_RightEClass, Proxi_Left_Right.class, "Proxi_Left_Right", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getProxi_Left_Right_Proxi_left(), this.getDistance(), null, "proxi_left", null, 1, 1, Proxi_Left_Right.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getProxi_Left_Right_Proxi_right(), this.getDistance(), null, "proxi_right", null, 1, 1, Proxi_Left_Right.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(milli_AmpEClass, Milli_Amp.class, "Milli_Amp", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMilli_Amp_Value(), theStd_datatypesPackage.getUInt32(), "value", null, 1, 1, Milli_Amp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(odometer_Linear_Left_RightEClass, Odometer_Linear_Left_Right.class, "Odometer_Linear_Left_Right", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getOdometer_Linear_Left_Right_Odometer_linear_left(), this.getMetric(), null, "odometer_linear_left", null, 1, 1, Odometer_Linear_Left_Right.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getOdometer_Linear_Left_Right_Odometer_linear_right(), this.getMetric(), null, "odometer_linear_right", null, 1, 1, Odometer_Linear_Left_Right.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(velocity_Angular_Left_RightEClass, Velocity_Angular_Left_Right.class, "Velocity_Angular_Left_Right", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getVelocity_Angular_Left_Right_Velocity_angular_left(), this.getVelocity_Angular(), null, "velocity_angular_left", null, 1, 1, Velocity_Angular_Left_Right.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getVelocity_Angular_Left_Right_Velocity_angular_right(), this.getVelocity_Angular(), null, "velocity_angular_right", null, 1, 1, Velocity_Angular_Left_Right.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(velocityEClass, Velocity.class, "Velocity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getVelocity_Velocity_linear(), this.getVelocity_Linear(), null, "velocity_linear", null, 1, 1, Velocity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getVelocity_Velocity_angular(), this.getVelocity_Angular(), null, "velocity_angular", null, 1, 1, Velocity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} // Oarp4_datatypesPackageImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Odometer_Linear_Left_RightImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Odometer_Linear_Left_RightImpl.java deleted file mode 100644 index 0e67fcce568..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Odometer_Linear_Left_RightImpl.java +++ /dev/null @@ -1,239 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Odometer Linear Left Right</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Linear_Left_RightImpl#getOdometer_linear_left <em>Odometer linear left</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Linear_Left_RightImpl#getOdometer_linear_right <em>Odometer linear right</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Odometer_Linear_Left_RightImpl extends MinimalEObjectImpl.Container implements Odometer_Linear_Left_Right { - /** - * The cached value of the '{@link #getOdometer_linear_left() <em>Odometer linear left</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOdometer_linear_left() - * @generated - * @ordered - */ - protected Metric odometer_linear_left; - - /** - * The cached value of the '{@link #getOdometer_linear_right() <em>Odometer linear right</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOdometer_linear_right() - * @generated - * @ordered - */ - protected Metric odometer_linear_right; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Odometer_Linear_Left_RightImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.ODOMETER_LINEAR_LEFT_RIGHT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Metric getOdometer_linear_left() { - return odometer_linear_left; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOdometer_linear_left(Metric newOdometer_linear_left, NotificationChain msgs) { - Metric oldOdometer_linear_left = odometer_linear_left; - odometer_linear_left = newOdometer_linear_left; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT, oldOdometer_linear_left, newOdometer_linear_left); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOdometer_linear_left(Metric newOdometer_linear_left) { - if (newOdometer_linear_left != odometer_linear_left) { - NotificationChain msgs = null; - if (odometer_linear_left != null) - msgs = ((InternalEObject)odometer_linear_left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT, null, msgs); - if (newOdometer_linear_left != null) - msgs = ((InternalEObject)newOdometer_linear_left).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT, null, msgs); - msgs = basicSetOdometer_linear_left(newOdometer_linear_left, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT, newOdometer_linear_left, newOdometer_linear_left)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Metric getOdometer_linear_right() { - return odometer_linear_right; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOdometer_linear_right(Metric newOdometer_linear_right, NotificationChain msgs) { - Metric oldOdometer_linear_right = odometer_linear_right; - odometer_linear_right = newOdometer_linear_right; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_RIGHT, oldOdometer_linear_right, newOdometer_linear_right); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOdometer_linear_right(Metric newOdometer_linear_right) { - if (newOdometer_linear_right != odometer_linear_right) { - NotificationChain msgs = null; - if (odometer_linear_right != null) - msgs = ((InternalEObject)odometer_linear_right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_RIGHT, null, msgs); - if (newOdometer_linear_right != null) - msgs = ((InternalEObject)newOdometer_linear_right).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_RIGHT, null, msgs); - msgs = basicSetOdometer_linear_right(newOdometer_linear_right, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_RIGHT, newOdometer_linear_right, newOdometer_linear_right)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT: - return basicSetOdometer_linear_left(null, msgs); - case Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_RIGHT: - return basicSetOdometer_linear_right(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 Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT: - return getOdometer_linear_left(); - case Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_RIGHT: - return getOdometer_linear_right(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT: - setOdometer_linear_left((Metric)newValue); - return; - case Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_RIGHT: - setOdometer_linear_right((Metric)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT: - setOdometer_linear_left((Metric)null); - return; - case Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_RIGHT: - setOdometer_linear_right((Metric)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT: - return odometer_linear_left != null; - case Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_RIGHT: - return odometer_linear_right != null; - } - return super.eIsSet(featureID); - } - -} // Odometer_Linear_Left_RightImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Odometer_TicsImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Odometer_TicsImpl.java deleted file mode 100644 index 5dc9160316d..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Odometer_TicsImpl.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_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.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Odometer Tics</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_TicsImpl#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Odometer_TicsImpl extends MinimalEObjectImpl.Container implements Odometer_Tics { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final Object VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected Object value = VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Odometer_TicsImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.ODOMETER_TICS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(Object newValue) { - Object oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ODOMETER_TICS__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE: - setValue((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - 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(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} // Odometer_TicsImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Odometer_Tics_Left_RightImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Odometer_Tics_Left_RightImpl.java deleted file mode 100644 index f820c713722..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Odometer_Tics_Left_RightImpl.java +++ /dev/null @@ -1,239 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Odometer Tics Left Right</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Tics_Left_RightImpl#getOdometer_tics_left <em>Odometer tics left</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Tics_Left_RightImpl#getOdometer_tics_right <em>Odometer tics right</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Odometer_Tics_Left_RightImpl extends MinimalEObjectImpl.Container implements Odometer_Tics_Left_Right { - /** - * The cached value of the '{@link #getOdometer_tics_left() <em>Odometer tics left</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOdometer_tics_left() - * @generated - * @ordered - */ - protected Odometer_Tics odometer_tics_left; - - /** - * The cached value of the '{@link #getOdometer_tics_right() <em>Odometer tics right</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOdometer_tics_right() - * @generated - * @ordered - */ - protected Odometer_Tics odometer_tics_right; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Odometer_Tics_Left_RightImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.ODOMETER_TICS_LEFT_RIGHT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Odometer_Tics getOdometer_tics_left() { - return odometer_tics_left; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOdometer_tics_left(Odometer_Tics newOdometer_tics_left, NotificationChain msgs) { - Odometer_Tics oldOdometer_tics_left = odometer_tics_left; - odometer_tics_left = newOdometer_tics_left; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT, oldOdometer_tics_left, newOdometer_tics_left); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOdometer_tics_left(Odometer_Tics newOdometer_tics_left) { - if (newOdometer_tics_left != odometer_tics_left) { - NotificationChain msgs = null; - if (odometer_tics_left != null) - msgs = ((InternalEObject)odometer_tics_left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT, null, msgs); - if (newOdometer_tics_left != null) - msgs = ((InternalEObject)newOdometer_tics_left).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT, null, msgs); - msgs = basicSetOdometer_tics_left(newOdometer_tics_left, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT, newOdometer_tics_left, newOdometer_tics_left)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Odometer_Tics getOdometer_tics_right() { - return odometer_tics_right; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOdometer_tics_right(Odometer_Tics newOdometer_tics_right, NotificationChain msgs) { - Odometer_Tics oldOdometer_tics_right = odometer_tics_right; - odometer_tics_right = newOdometer_tics_right; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_RIGHT, oldOdometer_tics_right, newOdometer_tics_right); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOdometer_tics_right(Odometer_Tics newOdometer_tics_right) { - if (newOdometer_tics_right != odometer_tics_right) { - NotificationChain msgs = null; - if (odometer_tics_right != null) - msgs = ((InternalEObject)odometer_tics_right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_RIGHT, null, msgs); - if (newOdometer_tics_right != null) - msgs = ((InternalEObject)newOdometer_tics_right).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_RIGHT, null, msgs); - msgs = basicSetOdometer_tics_right(newOdometer_tics_right, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_RIGHT, newOdometer_tics_right, newOdometer_tics_right)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT: - return basicSetOdometer_tics_left(null, msgs); - case Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_RIGHT: - return basicSetOdometer_tics_right(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 Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT: - return getOdometer_tics_left(); - case Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_RIGHT: - return getOdometer_tics_right(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT: - setOdometer_tics_left((Odometer_Tics)newValue); - return; - case Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_RIGHT: - setOdometer_tics_right((Odometer_Tics)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT: - setOdometer_tics_left((Odometer_Tics)null); - return; - case Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_RIGHT: - setOdometer_tics_right((Odometer_Tics)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT: - return odometer_tics_left != null; - case Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_RIGHT: - return odometer_tics_right != null; - } - return super.eIsSet(featureID); - } - -} // Odometer_Tics_Left_RightImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Op_Set_PointImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Op_Set_PointImpl.java deleted file mode 100644 index 78f521197f0..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Op_Set_PointImpl.java +++ /dev/null @@ -1,240 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Op Set Point</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Op_Set_PointImpl#getVelocity <em>Velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Op_Set_PointImpl#getOrientation <em>Orientation</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Op_Set_PointImpl extends MinimalEObjectImpl.Container implements Op_Set_Point { - /** - * The cached value of the '{@link #getVelocity() <em>Velocity</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVelocity() - * @generated - * @ordered - */ - protected Velocity_Linear velocity; - - /** - * The cached value of the '{@link #getOrientation() <em>Orientation</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOrientation() - * @generated - * @ordered - */ - protected Angular orientation; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Op_Set_PointImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.OP_SET_POINT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Velocity_Linear getVelocity() { - return velocity; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetVelocity(Velocity_Linear newVelocity, NotificationChain msgs) { - Velocity_Linear oldVelocity = velocity; - velocity = newVelocity; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.OP_SET_POINT__VELOCITY, oldVelocity, newVelocity); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVelocity(Velocity_Linear newVelocity) { - if (newVelocity != velocity) { - NotificationChain msgs = null; - if (velocity != null) - msgs = ((InternalEObject)velocity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.OP_SET_POINT__VELOCITY, null, msgs); - if (newVelocity != null) - msgs = ((InternalEObject)newVelocity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.OP_SET_POINT__VELOCITY, null, msgs); - msgs = basicSetVelocity(newVelocity, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.OP_SET_POINT__VELOCITY, newVelocity, newVelocity)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Angular getOrientation() { - return orientation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOrientation(Angular newOrientation, NotificationChain msgs) { - Angular oldOrientation = orientation; - orientation = newOrientation; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.OP_SET_POINT__ORIENTATION, oldOrientation, newOrientation); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOrientation(Angular newOrientation) { - if (newOrientation != orientation) { - NotificationChain msgs = null; - if (orientation != null) - msgs = ((InternalEObject)orientation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.OP_SET_POINT__ORIENTATION, null, msgs); - if (newOrientation != null) - msgs = ((InternalEObject)newOrientation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.OP_SET_POINT__ORIENTATION, null, msgs); - msgs = basicSetOrientation(newOrientation, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.OP_SET_POINT__ORIENTATION, newOrientation, newOrientation)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Oarp4_datatypesPackage.OP_SET_POINT__VELOCITY: - return basicSetVelocity(null, msgs); - case Oarp4_datatypesPackage.OP_SET_POINT__ORIENTATION: - return basicSetOrientation(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 Oarp4_datatypesPackage.OP_SET_POINT__VELOCITY: - return getVelocity(); - case Oarp4_datatypesPackage.OP_SET_POINT__ORIENTATION: - return getOrientation(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.OP_SET_POINT__VELOCITY: - setVelocity((Velocity_Linear)newValue); - return; - case Oarp4_datatypesPackage.OP_SET_POINT__ORIENTATION: - setOrientation((Angular)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.OP_SET_POINT__VELOCITY: - setVelocity((Velocity_Linear)null); - return; - case Oarp4_datatypesPackage.OP_SET_POINT__ORIENTATION: - setOrientation((Angular)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.OP_SET_POINT__VELOCITY: - return velocity != null; - case Oarp4_datatypesPackage.OP_SET_POINT__ORIENTATION: - return orientation != null; - } - return super.eIsSet(featureID); - } - -} // Op_Set_PointImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Proxi_Left_RightImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Proxi_Left_RightImpl.java deleted file mode 100644 index 0b05e2896dc..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Proxi_Left_RightImpl.java +++ /dev/null @@ -1,239 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Proxi Left Right</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Proxi_Left_RightImpl#getProxi_left <em>Proxi left</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Proxi_Left_RightImpl#getProxi_right <em>Proxi right</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Proxi_Left_RightImpl extends MinimalEObjectImpl.Container implements Proxi_Left_Right { - /** - * The cached value of the '{@link #getProxi_left() <em>Proxi left</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getProxi_left() - * @generated - * @ordered - */ - protected Distance proxi_left; - - /** - * The cached value of the '{@link #getProxi_right() <em>Proxi right</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getProxi_right() - * @generated - * @ordered - */ - protected Distance proxi_right; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Proxi_Left_RightImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.PROXI_LEFT_RIGHT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Distance getProxi_left() { - return proxi_left; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetProxi_left(Distance newProxi_left, NotificationChain msgs) { - Distance oldProxi_left = proxi_left; - proxi_left = newProxi_left; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_LEFT, oldProxi_left, newProxi_left); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setProxi_left(Distance newProxi_left) { - if (newProxi_left != proxi_left) { - NotificationChain msgs = null; - if (proxi_left != null) - msgs = ((InternalEObject)proxi_left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_LEFT, null, msgs); - if (newProxi_left != null) - msgs = ((InternalEObject)newProxi_left).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_LEFT, null, msgs); - msgs = basicSetProxi_left(newProxi_left, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_LEFT, newProxi_left, newProxi_left)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Distance getProxi_right() { - return proxi_right; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetProxi_right(Distance newProxi_right, NotificationChain msgs) { - Distance oldProxi_right = proxi_right; - proxi_right = newProxi_right; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_RIGHT, oldProxi_right, newProxi_right); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setProxi_right(Distance newProxi_right) { - if (newProxi_right != proxi_right) { - NotificationChain msgs = null; - if (proxi_right != null) - msgs = ((InternalEObject)proxi_right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_RIGHT, null, msgs); - if (newProxi_right != null) - msgs = ((InternalEObject)newProxi_right).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_RIGHT, null, msgs); - msgs = basicSetProxi_right(newProxi_right, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_RIGHT, newProxi_right, newProxi_right)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_LEFT: - return basicSetProxi_left(null, msgs); - case Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_RIGHT: - return basicSetProxi_right(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 Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_LEFT: - return getProxi_left(); - case Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_RIGHT: - return getProxi_right(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_LEFT: - setProxi_left((Distance)newValue); - return; - case Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_RIGHT: - setProxi_right((Distance)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_LEFT: - setProxi_left((Distance)null); - return; - case Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_RIGHT: - setProxi_right((Distance)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_LEFT: - return proxi_left != null; - case Oarp4_datatypesPackage.PROXI_LEFT_RIGHT__PROXI_RIGHT: - return proxi_right != null; - } - return super.eIsSet(featureID); - } - -} // Proxi_Left_RightImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Speed_TicsImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Speed_TicsImpl.java deleted file mode 100644 index 4dfd2e53c39..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Speed_TicsImpl.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_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.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Speed Tics</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_TicsImpl#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Speed_TicsImpl extends MinimalEObjectImpl.Container implements Speed_Tics { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final Object VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected Object value = VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Speed_TicsImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.SPEED_TICS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(Object newValue) { - Object oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.SPEED_TICS__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Oarp4_datatypesPackage.SPEED_TICS__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.SPEED_TICS__VALUE: - setValue((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.SPEED_TICS__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.SPEED_TICS__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - 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(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} // Speed_TicsImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Speed_Tics_Left_RightImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Speed_Tics_Left_RightImpl.java deleted file mode 100644 index 9c05e534244..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Speed_Tics_Left_RightImpl.java +++ /dev/null @@ -1,239 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Speed Tics Left Right</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_Tics_Left_RightImpl#getSpeed_tics_left <em>Speed tics left</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_Tics_Left_RightImpl#getSpeed_tics_right <em>Speed tics right</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Speed_Tics_Left_RightImpl extends MinimalEObjectImpl.Container implements Speed_Tics_Left_Right { - /** - * The cached value of the '{@link #getSpeed_tics_left() <em>Speed tics left</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSpeed_tics_left() - * @generated - * @ordered - */ - protected Speed_Tics speed_tics_left; - - /** - * The cached value of the '{@link #getSpeed_tics_right() <em>Speed tics right</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSpeed_tics_right() - * @generated - * @ordered - */ - protected Speed_Tics speed_tics_right; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Speed_Tics_Left_RightImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.SPEED_TICS_LEFT_RIGHT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Speed_Tics getSpeed_tics_left() { - return speed_tics_left; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSpeed_tics_left(Speed_Tics newSpeed_tics_left, NotificationChain msgs) { - Speed_Tics oldSpeed_tics_left = speed_tics_left; - speed_tics_left = newSpeed_tics_left; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT, oldSpeed_tics_left, newSpeed_tics_left); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSpeed_tics_left(Speed_Tics newSpeed_tics_left) { - if (newSpeed_tics_left != speed_tics_left) { - NotificationChain msgs = null; - if (speed_tics_left != null) - msgs = ((InternalEObject)speed_tics_left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT, null, msgs); - if (newSpeed_tics_left != null) - msgs = ((InternalEObject)newSpeed_tics_left).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT, null, msgs); - msgs = basicSetSpeed_tics_left(newSpeed_tics_left, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT, newSpeed_tics_left, newSpeed_tics_left)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Speed_Tics getSpeed_tics_right() { - return speed_tics_right; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSpeed_tics_right(Speed_Tics newSpeed_tics_right, NotificationChain msgs) { - Speed_Tics oldSpeed_tics_right = speed_tics_right; - speed_tics_right = newSpeed_tics_right; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_RIGHT, oldSpeed_tics_right, newSpeed_tics_right); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSpeed_tics_right(Speed_Tics newSpeed_tics_right) { - if (newSpeed_tics_right != speed_tics_right) { - NotificationChain msgs = null; - if (speed_tics_right != null) - msgs = ((InternalEObject)speed_tics_right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_RIGHT, null, msgs); - if (newSpeed_tics_right != null) - msgs = ((InternalEObject)newSpeed_tics_right).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_RIGHT, null, msgs); - msgs = basicSetSpeed_tics_right(newSpeed_tics_right, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_RIGHT, newSpeed_tics_right, newSpeed_tics_right)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT: - return basicSetSpeed_tics_left(null, msgs); - case Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_RIGHT: - return basicSetSpeed_tics_right(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 Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT: - return getSpeed_tics_left(); - case Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_RIGHT: - return getSpeed_tics_right(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT: - setSpeed_tics_left((Speed_Tics)newValue); - return; - case Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_RIGHT: - setSpeed_tics_right((Speed_Tics)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT: - setSpeed_tics_left((Speed_Tics)null); - return; - case Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_RIGHT: - setSpeed_tics_right((Speed_Tics)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT: - return speed_tics_left != null; - case Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT__SPEED_TICS_RIGHT: - return speed_tics_right != null; - } - return super.eIsSet(featureID); - } - -} // Speed_Tics_Left_RightImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/VelocityImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/VelocityImpl.java deleted file mode 100644 index 7e193767ed2..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/VelocityImpl.java +++ /dev/null @@ -1,240 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Velocity</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.VelocityImpl#getVelocity_linear <em>Velocity linear</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.VelocityImpl#getVelocity_angular <em>Velocity angular</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class VelocityImpl extends MinimalEObjectImpl.Container implements Velocity { - /** - * The cached value of the '{@link #getVelocity_linear() <em>Velocity linear</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVelocity_linear() - * @generated - * @ordered - */ - protected Velocity_Linear velocity_linear; - - /** - * The cached value of the '{@link #getVelocity_angular() <em>Velocity angular</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVelocity_angular() - * @generated - * @ordered - */ - protected Velocity_Angular velocity_angular; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected VelocityImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.VELOCITY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Velocity_Linear getVelocity_linear() { - return velocity_linear; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetVelocity_linear(Velocity_Linear newVelocity_linear, NotificationChain msgs) { - Velocity_Linear oldVelocity_linear = velocity_linear; - velocity_linear = newVelocity_linear; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY__VELOCITY_LINEAR, oldVelocity_linear, newVelocity_linear); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVelocity_linear(Velocity_Linear newVelocity_linear) { - if (newVelocity_linear != velocity_linear) { - NotificationChain msgs = null; - if (velocity_linear != null) - msgs = ((InternalEObject)velocity_linear).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.VELOCITY__VELOCITY_LINEAR, null, msgs); - if (newVelocity_linear != null) - msgs = ((InternalEObject)newVelocity_linear).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.VELOCITY__VELOCITY_LINEAR, null, msgs); - msgs = basicSetVelocity_linear(newVelocity_linear, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY__VELOCITY_LINEAR, newVelocity_linear, newVelocity_linear)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Velocity_Angular getVelocity_angular() { - return velocity_angular; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetVelocity_angular(Velocity_Angular newVelocity_angular, NotificationChain msgs) { - Velocity_Angular oldVelocity_angular = velocity_angular; - velocity_angular = newVelocity_angular; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY__VELOCITY_ANGULAR, oldVelocity_angular, newVelocity_angular); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVelocity_angular(Velocity_Angular newVelocity_angular) { - if (newVelocity_angular != velocity_angular) { - NotificationChain msgs = null; - if (velocity_angular != null) - msgs = ((InternalEObject)velocity_angular).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.VELOCITY__VELOCITY_ANGULAR, null, msgs); - if (newVelocity_angular != null) - msgs = ((InternalEObject)newVelocity_angular).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.VELOCITY__VELOCITY_ANGULAR, null, msgs); - msgs = basicSetVelocity_angular(newVelocity_angular, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY__VELOCITY_ANGULAR, newVelocity_angular, newVelocity_angular)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY__VELOCITY_LINEAR: - return basicSetVelocity_linear(null, msgs); - case Oarp4_datatypesPackage.VELOCITY__VELOCITY_ANGULAR: - return basicSetVelocity_angular(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 Oarp4_datatypesPackage.VELOCITY__VELOCITY_LINEAR: - return getVelocity_linear(); - case Oarp4_datatypesPackage.VELOCITY__VELOCITY_ANGULAR: - return getVelocity_angular(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY__VELOCITY_LINEAR: - setVelocity_linear((Velocity_Linear)newValue); - return; - case Oarp4_datatypesPackage.VELOCITY__VELOCITY_ANGULAR: - setVelocity_angular((Velocity_Angular)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY__VELOCITY_LINEAR: - setVelocity_linear((Velocity_Linear)null); - return; - case Oarp4_datatypesPackage.VELOCITY__VELOCITY_ANGULAR: - setVelocity_angular((Velocity_Angular)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY__VELOCITY_LINEAR: - return velocity_linear != null; - case Oarp4_datatypesPackage.VELOCITY__VELOCITY_ANGULAR: - return velocity_angular != null; - } - return super.eIsSet(featureID); - } - -} // VelocityImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Velocity_AngularImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Velocity_AngularImpl.java deleted file mode 100644 index 2883c096a8e..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Velocity_AngularImpl.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_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.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Velocity Angular</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_AngularImpl#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Velocity_AngularImpl extends MinimalEObjectImpl.Container implements Velocity_Angular { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final Object VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected Object value = VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Velocity_AngularImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.VELOCITY_ANGULAR; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(Object newValue) { - Object oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE: - setValue((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - 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(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} // Velocity_AngularImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Velocity_Angular_Left_RightImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Velocity_Angular_Left_RightImpl.java deleted file mode 100644 index e55b61088cf..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Velocity_Angular_Left_RightImpl.java +++ /dev/null @@ -1,239 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Velocity Angular Left Right</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_Angular_Left_RightImpl#getVelocity_angular_left <em>Velocity angular left</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_Angular_Left_RightImpl#getVelocity_angular_right <em>Velocity angular right</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Velocity_Angular_Left_RightImpl extends MinimalEObjectImpl.Container implements Velocity_Angular_Left_Right { - /** - * The cached value of the '{@link #getVelocity_angular_left() <em>Velocity angular left</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVelocity_angular_left() - * @generated - * @ordered - */ - protected Velocity_Angular velocity_angular_left; - - /** - * The cached value of the '{@link #getVelocity_angular_right() <em>Velocity angular right</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVelocity_angular_right() - * @generated - * @ordered - */ - protected Velocity_Angular velocity_angular_right; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Velocity_Angular_Left_RightImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.VELOCITY_ANGULAR_LEFT_RIGHT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Velocity_Angular getVelocity_angular_left() { - return velocity_angular_left; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetVelocity_angular_left(Velocity_Angular newVelocity_angular_left, NotificationChain msgs) { - Velocity_Angular oldVelocity_angular_left = velocity_angular_left; - velocity_angular_left = newVelocity_angular_left; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT, oldVelocity_angular_left, newVelocity_angular_left); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVelocity_angular_left(Velocity_Angular newVelocity_angular_left) { - if (newVelocity_angular_left != velocity_angular_left) { - NotificationChain msgs = null; - if (velocity_angular_left != null) - msgs = ((InternalEObject)velocity_angular_left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT, null, msgs); - if (newVelocity_angular_left != null) - msgs = ((InternalEObject)newVelocity_angular_left).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT, null, msgs); - msgs = basicSetVelocity_angular_left(newVelocity_angular_left, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT, newVelocity_angular_left, newVelocity_angular_left)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Velocity_Angular getVelocity_angular_right() { - return velocity_angular_right; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetVelocity_angular_right(Velocity_Angular newVelocity_angular_right, NotificationChain msgs) { - Velocity_Angular oldVelocity_angular_right = velocity_angular_right; - velocity_angular_right = newVelocity_angular_right; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_RIGHT, oldVelocity_angular_right, newVelocity_angular_right); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVelocity_angular_right(Velocity_Angular newVelocity_angular_right) { - if (newVelocity_angular_right != velocity_angular_right) { - NotificationChain msgs = null; - if (velocity_angular_right != null) - msgs = ((InternalEObject)velocity_angular_right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_RIGHT, null, msgs); - if (newVelocity_angular_right != null) - msgs = ((InternalEObject)newVelocity_angular_right).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_RIGHT, null, msgs); - msgs = basicSetVelocity_angular_right(newVelocity_angular_right, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_RIGHT, newVelocity_angular_right, newVelocity_angular_right)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT: - return basicSetVelocity_angular_left(null, msgs); - case Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_RIGHT: - return basicSetVelocity_angular_right(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 Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT: - return getVelocity_angular_left(); - case Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_RIGHT: - return getVelocity_angular_right(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT: - setVelocity_angular_left((Velocity_Angular)newValue); - return; - case Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_RIGHT: - setVelocity_angular_right((Velocity_Angular)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT: - setVelocity_angular_left((Velocity_Angular)null); - return; - case Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_RIGHT: - setVelocity_angular_right((Velocity_Angular)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT: - return velocity_angular_left != null; - case Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_RIGHT: - return velocity_angular_right != null; - } - return super.eIsSet(featureID); - } - -} // Velocity_Angular_Left_RightImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Velocity_LinearImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Velocity_LinearImpl.java deleted file mode 100644 index 7e78075384f..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Velocity_LinearImpl.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_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.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Velocity Linear</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_LinearImpl#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Velocity_LinearImpl extends MinimalEObjectImpl.Container implements Velocity_Linear { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final Object VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected Object value = VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Velocity_LinearImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Oarp4_datatypesPackage.Literals.VELOCITY_LINEAR; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(Object newValue) { - Object oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE: - setValue((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - 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(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} // Velocity_LinearImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/util/Oarp4_datatypesAdapterFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/util/Oarp4_datatypesAdapterFactory.java deleted file mode 100644 index 4bb2d43e429..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/util/Oarp4_datatypesAdapterFactory.java +++ /dev/null @@ -1,403 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage - * @generated - */ -public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Oarp4_datatypesPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Oarp4_datatypesAdapterFactory() { - if (modelPackage == null) { - modelPackage = Oarp4_datatypesPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Oarp4_datatypesSwitch<Adapter> modelSwitch = - new Oarp4_datatypesSwitch<Adapter>() { - @Override - public Adapter caseVelocity_Linear(Velocity_Linear object) { - return createVelocity_LinearAdapter(); - } - @Override - public Adapter caseArt_Set_Point(Art_Set_Point object) { - return createArt_Set_PointAdapter(); - } - @Override - public Adapter caseVelocity_Angular(Velocity_Angular object) { - return createVelocity_AngularAdapter(); - } - @Override - public Adapter caseDistance(Distance object) { - return createDistanceAdapter(); - } - @Override - public Adapter caseMetric(Metric object) { - return createMetricAdapter(); - } - @Override - public Adapter caseAngular(Angular object) { - return createAngularAdapter(); - } - @Override - public Adapter caseOp_Set_Point(Op_Set_Point object) { - return createOp_Set_PointAdapter(); - } - @Override - public Adapter caseSpeed_Tics_Left_Right(Speed_Tics_Left_Right object) { - return createSpeed_Tics_Left_RightAdapter(); - } - @Override - public Adapter caseSpeed_Tics(Speed_Tics object) { - return createSpeed_TicsAdapter(); - } - @Override - public Adapter caseOdometer_Tics(Odometer_Tics object) { - return createOdometer_TicsAdapter(); - } - @Override - public Adapter caseOdometer_Tics_Left_Right(Odometer_Tics_Left_Right object) { - return createOdometer_Tics_Left_RightAdapter(); - } - @Override - public Adapter caseProxi_Left_Right(Proxi_Left_Right object) { - return createProxi_Left_RightAdapter(); - } - @Override - public Adapter caseMilli_Amp(Milli_Amp object) { - return createMilli_AmpAdapter(); - } - @Override - public Adapter caseOdometer_Linear_Left_Right(Odometer_Linear_Left_Right object) { - return createOdometer_Linear_Left_RightAdapter(); - } - @Override - public Adapter caseVelocity_Angular_Left_Right(Velocity_Angular_Left_Right object) { - return createVelocity_Angular_Left_RightAdapter(); - } - @Override - public Adapter caseVelocity(Velocity object) { - return createVelocityAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear <em>Velocity Linear</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear - * @generated - */ - public Adapter createVelocity_LinearAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point <em>Art Set Point</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point - * @generated - */ - public Adapter createArt_Set_PointAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular <em>Velocity Angular</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular - * @generated - */ - public Adapter createVelocity_AngularAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance <em>Distance</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance - * @generated - */ - public Adapter createDistanceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric <em>Metric</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric - * @generated - */ - public Adapter createMetricAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular <em>Angular</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular - * @generated - */ - public Adapter createAngularAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point <em>Op Set Point</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point - * @generated - */ - public Adapter createOp_Set_PointAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right <em>Speed Tics Left Right</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right - * @generated - */ - public Adapter createSpeed_Tics_Left_RightAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics <em>Speed Tics</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics - * @generated - */ - public Adapter createSpeed_TicsAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics <em>Odometer Tics</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics - * @generated - */ - public Adapter createOdometer_TicsAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right <em>Odometer Tics Left Right</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right - * @generated - */ - public Adapter createOdometer_Tics_Left_RightAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right <em>Proxi Left Right</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right - * @generated - */ - public Adapter createProxi_Left_RightAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp <em>Milli Amp</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp - * @generated - */ - public Adapter createMilli_AmpAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right <em>Odometer Linear Left Right</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right - * @generated - */ - public Adapter createOdometer_Linear_Left_RightAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right <em>Velocity Angular Left Right</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right - * @generated - */ - public Adapter createVelocity_Angular_Left_RightAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity <em>Velocity</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity - * @generated - */ - public Adapter createVelocityAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} // Oarp4_datatypesAdapterFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/util/Oarp4_datatypesSwitch.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/util/Oarp4_datatypesSwitch.java deleted file mode 100644 index 8d1f36e999f..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/util/Oarp4_datatypesSwitch.java +++ /dev/null @@ -1,438 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.util.Switch; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage - * @generated - */ -public class Oarp4_datatypesSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Oarp4_datatypesPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Oarp4_datatypesSwitch() { - if (modelPackage == null) { - modelPackage = Oarp4_datatypesPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case Oarp4_datatypesPackage.VELOCITY_LINEAR: { - Velocity_Linear velocity_Linear = (Velocity_Linear)theEObject; - T result = caseVelocity_Linear(velocity_Linear); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.ART_SET_POINT: { - Art_Set_Point art_Set_Point = (Art_Set_Point)theEObject; - T result = caseArt_Set_Point(art_Set_Point); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.VELOCITY_ANGULAR: { - Velocity_Angular velocity_Angular = (Velocity_Angular)theEObject; - T result = caseVelocity_Angular(velocity_Angular); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.DISTANCE: { - Distance distance = (Distance)theEObject; - T result = caseDistance(distance); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.METRIC: { - Metric metric = (Metric)theEObject; - T result = caseMetric(metric); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.ANGULAR: { - Angular angular = (Angular)theEObject; - T result = caseAngular(angular); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.OP_SET_POINT: { - Op_Set_Point op_Set_Point = (Op_Set_Point)theEObject; - T result = caseOp_Set_Point(op_Set_Point); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.SPEED_TICS_LEFT_RIGHT: { - Speed_Tics_Left_Right speed_Tics_Left_Right = (Speed_Tics_Left_Right)theEObject; - T result = caseSpeed_Tics_Left_Right(speed_Tics_Left_Right); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.SPEED_TICS: { - Speed_Tics speed_Tics = (Speed_Tics)theEObject; - T result = caseSpeed_Tics(speed_Tics); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.ODOMETER_TICS: { - Odometer_Tics odometer_Tics = (Odometer_Tics)theEObject; - T result = caseOdometer_Tics(odometer_Tics); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.ODOMETER_TICS_LEFT_RIGHT: { - Odometer_Tics_Left_Right odometer_Tics_Left_Right = (Odometer_Tics_Left_Right)theEObject; - T result = caseOdometer_Tics_Left_Right(odometer_Tics_Left_Right); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.PROXI_LEFT_RIGHT: { - Proxi_Left_Right proxi_Left_Right = (Proxi_Left_Right)theEObject; - T result = caseProxi_Left_Right(proxi_Left_Right); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.MILLI_AMP: { - Milli_Amp milli_Amp = (Milli_Amp)theEObject; - T result = caseMilli_Amp(milli_Amp); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.ODOMETER_LINEAR_LEFT_RIGHT: { - Odometer_Linear_Left_Right odometer_Linear_Left_Right = (Odometer_Linear_Left_Right)theEObject; - T result = caseOdometer_Linear_Left_Right(odometer_Linear_Left_Right); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.VELOCITY_ANGULAR_LEFT_RIGHT: { - Velocity_Angular_Left_Right velocity_Angular_Left_Right = (Velocity_Angular_Left_Right)theEObject; - T result = caseVelocity_Angular_Left_Right(velocity_Angular_Left_Right); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Oarp4_datatypesPackage.VELOCITY: { - Velocity velocity = (Velocity)theEObject; - T result = caseVelocity(velocity); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Velocity Linear</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Velocity Linear</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseVelocity_Linear(Velocity_Linear object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Art Set Point</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Art Set Point</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseArt_Set_Point(Art_Set_Point object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Velocity Angular</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Velocity Angular</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseVelocity_Angular(Velocity_Angular object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Distance</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Distance</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDistance(Distance object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Metric</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Metric</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetric(Metric object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Angular</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Angular</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAngular(Angular object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Op Set Point</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Op Set Point</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOp_Set_Point(Op_Set_Point object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Speed Tics Left Right</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Speed Tics Left Right</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSpeed_Tics_Left_Right(Speed_Tics_Left_Right object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Speed Tics</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Speed Tics</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSpeed_Tics(Speed_Tics object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Odometer Tics</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Odometer Tics</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOdometer_Tics(Odometer_Tics object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Odometer Tics Left Right</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Odometer Tics Left Right</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOdometer_Tics_Left_Right(Odometer_Tics_Left_Right object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Proxi Left Right</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Proxi Left Right</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseProxi_Left_Right(Proxi_Left_Right object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Milli Amp</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Milli Amp</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMilli_Amp(Milli_Amp object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Odometer Linear Left Right</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Odometer Linear Left Right</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOdometer_Linear_Left_Right(Odometer_Linear_Left_Right object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Velocity Angular Left Right</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Velocity Angular Left Right</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseVelocity_Angular_Left_Right(Velocity_Angular_Left_Right object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Velocity</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Velocity</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseVelocity(Velocity object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} // Oarp4_datatypesSwitch diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/COVARIANCE_TYPE.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/COVARIANCE_TYPE.java deleted file mode 100644 index 0bd520a990e..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/COVARIANCE_TYPE.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>COVARIANCE TYPE</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCOVARIANCE_TYPE() - * @model - * @generated - */ -public enum COVARIANCE_TYPE implements Enumerator { - /** - * The '<em><b>COVARIANCE TYPE UNKNOWN</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #COVARIANCE_TYPE_UNKNOWN_VALUE - * @generated - * @ordered - */ - COVARIANCE_TYPE_UNKNOWN(0, "COVARIANCE_TYPE_UNKNOWN", "COVARIANCE_TYPE_UNKNOWN"), - - /** - * The '<em><b>COVARIANCE TYPE APPROXIMATED</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #COVARIANCE_TYPE_APPROXIMATED_VALUE - * @generated - * @ordered - */ - COVARIANCE_TYPE_APPROXIMATED(1, "COVARIANCE_TYPE_APPROXIMATED", "COVARIANCE_TYPE_APPROXIMATED"), - - /** - * The '<em><b>COVARIANCE TYPE DIAGONAL KNOWN</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #_COVARIANCE_TYPE_DIAGONAL_KNOWN_VALUE - * @generated - * @ordered - */ - _COVARIANCE_TYPE_DIAGONAL_KNOWN(2, "_COVARIANCE_TYPE_DIAGONAL_KNOWN", "_COVARIANCE_TYPE_DIAGONAL_KNOWN"), - - /** - * The '<em><b>COVARIANCE TYPE KNOWN</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #COVARIANCE_TYPE_KNOWN_VALUE - * @generated - * @ordered - */ - COVARIANCE_TYPE_KNOWN(3, "COVARIANCE_TYPE_KNOWN", "COVARIANCE_TYPE_KNOWN"); - - /** - * The '<em><b>COVARIANCE TYPE UNKNOWN</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>COVARIANCE TYPE UNKNOWN</b></em>' literal object isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #COVARIANCE_TYPE_UNKNOWN - * @model - * @generated - * @ordered - */ - public static final int COVARIANCE_TYPE_UNKNOWN_VALUE = 0; - - /** - * The '<em><b>COVARIANCE TYPE APPROXIMATED</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>COVARIANCE TYPE APPROXIMATED</b></em>' literal object isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #COVARIANCE_TYPE_APPROXIMATED - * @model - * @generated - * @ordered - */ - public static final int COVARIANCE_TYPE_APPROXIMATED_VALUE = 1; - - /** - * The '<em><b>COVARIANCE TYPE DIAGONAL KNOWN</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>COVARIANCE TYPE DIAGONAL KNOWN</b></em>' literal object isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #_COVARIANCE_TYPE_DIAGONAL_KNOWN - * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName=' COVARIANCE_TYPE_DIAGONAL_KNOWN'" - * @generated - * @ordered - */ - public static final int _COVARIANCE_TYPE_DIAGONAL_KNOWN_VALUE = 2; - - /** - * The '<em><b>COVARIANCE TYPE KNOWN</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>COVARIANCE TYPE KNOWN</b></em>' literal object isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #COVARIANCE_TYPE_KNOWN - * @model - * @generated - * @ordered - */ - public static final int COVARIANCE_TYPE_KNOWN_VALUE = 3; - - /** - * An array of all the '<em><b>COVARIANCE TYPE</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final COVARIANCE_TYPE[] VALUES_ARRAY = - new COVARIANCE_TYPE[] { - COVARIANCE_TYPE_UNKNOWN, - COVARIANCE_TYPE_APPROXIMATED, - _COVARIANCE_TYPE_DIAGONAL_KNOWN, - COVARIANCE_TYPE_KNOWN, - }; - - /** - * A public read-only list of all the '<em><b>COVARIANCE TYPE</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<COVARIANCE_TYPE> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>COVARIANCE TYPE</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static COVARIANCE_TYPE get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - COVARIANCE_TYPE result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>COVARIANCE TYPE</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static COVARIANCE_TYPE getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - COVARIANCE_TYPE result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>COVARIANCE TYPE</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static COVARIANCE_TYPE get(int value) { - switch (value) { - case COVARIANCE_TYPE_UNKNOWN_VALUE: return COVARIANCE_TYPE_UNKNOWN; - case COVARIANCE_TYPE_APPROXIMATED_VALUE: return COVARIANCE_TYPE_APPROXIMATED; - case _COVARIANCE_TYPE_DIAGONAL_KNOWN_VALUE: return _COVARIANCE_TYPE_DIAGONAL_KNOWN; - case COVARIANCE_TYPE_KNOWN_VALUE: return COVARIANCE_TYPE_KNOWN; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private COVARIANCE_TYPE(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } - -} // COVARIANCE_TYPE diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/CameraInfo.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/CameraInfo.java deleted file mode 100644 index 3577a46a2d7..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/CameraInfo.java +++ /dev/null @@ -1,271 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Camera Info</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeight <em>Height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getWidth <em>Width</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getDistorsion_model <em>Distorsion model</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getD <em>D</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getK <em>K</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getR <em>R</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getP <em>P</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_x <em>Binning x</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_y <em>Binning y</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getRoi <em>Roi</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo() - * @model - * @generated - */ -public interface CameraInfo extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Height</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Height</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Height</em>' attribute. - * @see #setHeight(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_Height() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getHeight(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeight <em>Height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Height</em>' attribute. - * @see #getHeight() - * @generated - */ - void setHeight(Object value); - - /** - * Returns the value of the '<em><b>Width</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Width</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Width</em>' attribute. - * @see #setWidth(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_Width() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getWidth(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getWidth <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Width</em>' attribute. - * @see #getWidth() - * @generated - */ - void setWidth(Object value); - - /** - * Returns the value of the '<em><b>Distorsion model</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Distorsion model</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Distorsion model</em>' attribute. - * @see #setDistorsion_model(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_Distorsion_model() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getDistorsion_model(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getDistorsion_model <em>Distorsion model</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Distorsion model</em>' attribute. - * @see #getDistorsion_model() - * @generated - */ - void setDistorsion_model(Object value); - - /** - * Returns the value of the '<em><b>D</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>D</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>D</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_D() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" ordered="false" - * @generated - */ - EList<Object> getD(); - - /** - * Returns the value of the '<em><b>K</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>K</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>K</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_K() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="9" upper="9" ordered="false" - * @generated - */ - EList<Object> getK(); - - /** - * Returns the value of the '<em><b>R</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>R</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>R</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_R() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="9" upper="9" ordered="false" - * @generated - */ - EList<Object> getR(); - - /** - * Returns the value of the '<em><b>P</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>P</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>P</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_P() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="12" upper="12" ordered="false" - * @generated - */ - EList<Object> getP(); - - /** - * Returns the value of the '<em><b>Binning x</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Binning x</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Binning x</em>' attribute. - * @see #setBinning_x(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_Binning_x() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getBinning_x(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_x <em>Binning x</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Binning x</em>' attribute. - * @see #getBinning_x() - * @generated - */ - void setBinning_x(Object value); - - /** - * Returns the value of the '<em><b>Binning y</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Binning y</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Binning y</em>' attribute. - * @see #setBinning_y(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_Binning_y() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getBinning_y(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_y <em>Binning y</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Binning y</em>' attribute. - * @see #getBinning_y() - * @generated - */ - void setBinning_y(Object value); - - /** - * Returns the value of the '<em><b>Roi</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Roi</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Roi</em>' containment reference. - * @see #setRoi(RegionOfInterest) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_Roi() - * @model containment="true" required="true" ordered="false" - * @generated - */ - RegionOfInterest getRoi(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getRoi <em>Roi</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Roi</em>' containment reference. - * @see #getRoi() - * @generated - */ - void setRoi(RegionOfInterest value); - -} // CameraInfo diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/CarLikeOdometry.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/CarLikeOdometry.java deleted file mode 100644 index b4ed89fe23f..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/CarLikeOdometry.java +++ /dev/null @@ -1,180 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Car Like Odometry</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getSteering_angle <em>Steering angle</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_distance <em>Left rear wheel distance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_distance <em>Right rear wheel distance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_velocity <em>Right rear wheel velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_velocity <em>Left rear wheel velocity</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCarLikeOdometry() - * @model - * @generated - */ -public interface CarLikeOdometry extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCarLikeOdometry_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Steering angle</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Steering angle</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Steering angle</em>' attribute. - * @see #setSteering_angle(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCarLikeOdometry_Steering_angle() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getSteering_angle(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getSteering_angle <em>Steering angle</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Steering angle</em>' attribute. - * @see #getSteering_angle() - * @generated - */ - void setSteering_angle(Object value); - - /** - * Returns the value of the '<em><b>Left rear wheel distance</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Left rear wheel distance</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Left rear wheel distance</em>' attribute. - * @see #setLeft_rear_wheel_distance(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCarLikeOdometry_Left_rear_wheel_distance() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getLeft_rear_wheel_distance(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_distance <em>Left rear wheel distance</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Left rear wheel distance</em>' attribute. - * @see #getLeft_rear_wheel_distance() - * @generated - */ - void setLeft_rear_wheel_distance(Object value); - - /** - * Returns the value of the '<em><b>Right rear wheel distance</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Right rear wheel distance</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Right rear wheel distance</em>' attribute. - * @see #setRight_rear_wheel_distance(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCarLikeOdometry_Right_rear_wheel_distance() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getRight_rear_wheel_distance(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_distance <em>Right rear wheel distance</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Right rear wheel distance</em>' attribute. - * @see #getRight_rear_wheel_distance() - * @generated - */ - void setRight_rear_wheel_distance(Object value); - - /** - * Returns the value of the '<em><b>Right rear wheel velocity</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Right rear wheel velocity</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Right rear wheel velocity</em>' attribute. - * @see #setRight_rear_wheel_velocity(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCarLikeOdometry_Right_rear_wheel_velocity() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getRight_rear_wheel_velocity(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_velocity <em>Right rear wheel velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Right rear wheel velocity</em>' attribute. - * @see #getRight_rear_wheel_velocity() - * @generated - */ - void setRight_rear_wheel_velocity(Object value); - - /** - * Returns the value of the '<em><b>Left rear wheel velocity</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Left rear wheel velocity</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Left rear wheel velocity</em>' attribute. - * @see #setLeft_rear_wheel_velocity(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCarLikeOdometry_Left_rear_wheel_velocity() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getLeft_rear_wheel_velocity(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_velocity <em>Left rear wheel velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Left rear wheel velocity</em>' attribute. - * @see #getLeft_rear_wheel_velocity() - * @generated - */ - void setLeft_rear_wheel_velocity(Object value); - -} // CarLikeOdometry diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/ChannelFloat32.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/ChannelFloat32.java deleted file mode 100644 index 355e051a65c..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/ChannelFloat32.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Channel Float32</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getValues <em>Values</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getChannelFloat32() - * @model - * @generated - */ -public interface ChannelFloat32 extends EObject { - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getChannelFloat32_Name() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getName(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(Object value); - - /** - * Returns the value of the '<em><b>Values</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Values</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Values</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getChannelFloat32_Values() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" ordered="false" - * @generated - */ - EList<Object> getValues(); - -} // ChannelFloat32 diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/CompressedImage.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/CompressedImage.java deleted file mode 100644 index e9f635c49da..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/CompressedImage.java +++ /dev/null @@ -1,93 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Compressed Image</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getFormat <em>Format</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCompressedImage() - * @model - * @generated - */ -public interface CompressedImage extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCompressedImage_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Format</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Format</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Format</em>' attribute. - * @see #setFormat(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCompressedImage_Format() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getFormat(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getFormat <em>Format</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Format</em>' attribute. - * @see #getFormat() - * @generated - */ - void setFormat(Object value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCompressedImage_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // CompressedImage diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/DifferentialOdometry.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/DifferentialOdometry.java deleted file mode 100644 index 2ecd3f008f2..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/DifferentialOdometry.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Differential Odometry</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_distance <em>Right distance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_distance <em>Left distance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_velocity <em>Left velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_velocity <em>Right velocity</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getDifferentialOdometry() - * @model - * @generated - */ -public interface DifferentialOdometry extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getDifferentialOdometry_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Right distance</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Right distance</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Right distance</em>' attribute. - * @see #setRight_distance(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getDifferentialOdometry_Right_distance() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getRight_distance(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_distance <em>Right distance</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Right distance</em>' attribute. - * @see #getRight_distance() - * @generated - */ - void setRight_distance(Object value); - - /** - * Returns the value of the '<em><b>Left distance</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Left distance</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Left distance</em>' attribute. - * @see #setLeft_distance(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getDifferentialOdometry_Left_distance() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getLeft_distance(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_distance <em>Left distance</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Left distance</em>' attribute. - * @see #getLeft_distance() - * @generated - */ - void setLeft_distance(Object value); - - /** - * Returns the value of the '<em><b>Left velocity</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Left velocity</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Left velocity</em>' attribute. - * @see #setLeft_velocity(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getDifferentialOdometry_Left_velocity() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getLeft_velocity(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_velocity <em>Left velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Left velocity</em>' attribute. - * @see #getLeft_velocity() - * @generated - */ - void setLeft_velocity(Object value); - - /** - * Returns the value of the '<em><b>Right velocity</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Right velocity</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Right velocity</em>' attribute. - * @see #setRight_velocity(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getDifferentialOdometry_Right_velocity() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getRight_velocity(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_velocity <em>Right velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Right velocity</em>' attribute. - * @see #getRight_velocity() - * @generated - */ - void setRight_velocity(Object value); - -} // DifferentialOdometry diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Image.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Image.java deleted file mode 100644 index 9d7bba9e541..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Image.java +++ /dev/null @@ -1,197 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Image</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeight <em>Height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getWidth <em>Width</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getEncoding <em>Encoding</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getIs_bigendian <em>Is bigendian</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getStep <em>Step</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImage() - * @model - * @generated - */ -public interface Image extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImage_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Height</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Height</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Height</em>' attribute. - * @see #setHeight(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImage_Height() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getHeight(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeight <em>Height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Height</em>' attribute. - * @see #getHeight() - * @generated - */ - void setHeight(Object value); - - /** - * Returns the value of the '<em><b>Width</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Width</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Width</em>' attribute. - * @see #setWidth(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImage_Width() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getWidth(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getWidth <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Width</em>' attribute. - * @see #getWidth() - * @generated - */ - void setWidth(Object value); - - /** - * Returns the value of the '<em><b>Encoding</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Encoding</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Encoding</em>' attribute. - * @see #setEncoding(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImage_Encoding() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getEncoding(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getEncoding <em>Encoding</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Encoding</em>' attribute. - * @see #getEncoding() - * @generated - */ - void setEncoding(Object value); - - /** - * Returns the value of the '<em><b>Is bigendian</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Is bigendian</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Is bigendian</em>' attribute. - * @see #setIs_bigendian(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImage_Is_bigendian() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getIs_bigendian(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getIs_bigendian <em>Is bigendian</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Is bigendian</em>' attribute. - * @see #getIs_bigendian() - * @generated - */ - void setIs_bigendian(Object value); - - /** - * Returns the value of the '<em><b>Step</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Step</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Step</em>' attribute. - * @see #setStep(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImage_Step() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getStep(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getStep <em>Step</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Step</em>' attribute. - * @see #getStep() - * @generated - */ - void setStep(Object value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImage_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // Image diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Imu.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Imu.java deleted file mode 100644 index fa1ac19afd3..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Imu.java +++ /dev/null @@ -1,179 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Imu</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation <em>Orientation</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation_covariance <em>Orientation covariance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity <em>Angular velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity_covariance <em>Angular velocity covariance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration <em>Linear acceleration</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration_covariance <em>Linear acceleration covariance</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImu() - * @model - * @generated - */ -public interface Imu extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImu_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Orientation</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Orientation</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Orientation</em>' containment reference. - * @see #setOrientation(Quaternion) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImu_Orientation() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Quaternion getOrientation(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation <em>Orientation</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Orientation</em>' containment reference. - * @see #getOrientation() - * @generated - */ - void setOrientation(Quaternion value); - - /** - * Returns the value of the '<em><b>Orientation covariance</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Orientation covariance</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Orientation covariance</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImu_Orientation_covariance() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="9" upper="9" ordered="false" - * @generated - */ - EList<Object> getOrientation_covariance(); - - /** - * Returns the value of the '<em><b>Angular velocity</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Angular velocity</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Angular velocity</em>' containment reference. - * @see #setAngular_velocity(Vector3) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImu_Angular_velocity() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Vector3 getAngular_velocity(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity <em>Angular velocity</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Angular velocity</em>' containment reference. - * @see #getAngular_velocity() - * @generated - */ - void setAngular_velocity(Vector3 value); - - /** - * Returns the value of the '<em><b>Angular velocity covariance</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Angular velocity covariance</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Angular velocity covariance</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImu_Angular_velocity_covariance() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="9" upper="9" ordered="false" - * @generated - */ - EList<Object> getAngular_velocity_covariance(); - - /** - * Returns the value of the '<em><b>Linear acceleration</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Linear acceleration</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Linear acceleration</em>' containment reference. - * @see #setLinear_acceleration(Vector3) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImu_Linear_acceleration() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Vector3 getLinear_acceleration(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration <em>Linear acceleration</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Linear acceleration</em>' containment reference. - * @see #getLinear_acceleration() - * @generated - */ - void setLinear_acceleration(Vector3 value); - - /** - * Returns the value of the '<em><b>Linear acceleration covariance</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Linear acceleration covariance</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Linear acceleration covariance</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImu_Linear_acceleration_covariance() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="9" upper="9" ordered="false" - * @generated - */ - EList<Object> getLinear_acceleration_covariance(); - -} // Imu diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/JointState.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/JointState.java deleted file mode 100644 index 0e16467bee9..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/JointState.java +++ /dev/null @@ -1,88 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Joint State</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getPosition <em>Position</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getVelocity <em>Velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getEffort <em>Effort</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJointState() - * @model - * @generated - */ -public interface JointState extends EObject { - /** - * Returns the value of the '<em><b>Name</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Name</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJointState_Name() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" ordered="false" - * @generated - */ - EList<Object> getName(); - - /** - * Returns the value of the '<em><b>Position</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Position</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Position</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJointState_Position() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" ordered="false" - * @generated - */ - EList<Object> getPosition(); - - /** - * Returns the value of the '<em><b>Velocity</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Velocity</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Velocity</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJointState_Velocity() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" ordered="false" - * @generated - */ - EList<Object> getVelocity(); - - /** - * Returns the value of the '<em><b>Effort</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Effort</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Effort</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJointState_Effort() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" ordered="false" - * @generated - */ - EList<Object> getEffort(); - -} // JointState diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Joy.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Joy.java deleted file mode 100644 index 1f2f2412967..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Joy.java +++ /dev/null @@ -1,83 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Joy</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getAxes <em>Axes</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getButtons <em>Buttons</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoy() - * @model - * @generated - */ -public interface Joy extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoy_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Axes</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Axes</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Axes</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoy_Axes() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" ordered="false" - * @generated - */ - EList<Object> getAxes(); - - /** - * Returns the value of the '<em><b>Buttons</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Buttons</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Buttons</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoy_Buttons() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32" ordered="false" - * @generated - */ - EList<Object> getButtons(); - -} // Joy diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/JoyFeedback.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/JoyFeedback.java deleted file mode 100644 index 46ccc84f9c4..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/JoyFeedback.java +++ /dev/null @@ -1,182 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Joy Feedback</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_LED <em>TYPE LED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_RUMBLE <em>TYPE RUMBLE</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_BUZZER <em>TYPE BUZZER</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getType <em>Type</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getIntensity <em>Intensity</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoyFeedback() - * @model - * @generated - */ -public interface JoyFeedback extends EObject { - /** - * Returns the value of the '<em><b>TYPE LED</b></em>' attribute. - * The default value is <code>"0"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>TYPE LED</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>TYPE LED</em>' attribute. - * @see #setTYPE_LED(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoyFeedback_TYPE_LED() - * @model default="0" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getTYPE_LED(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_LED <em>TYPE LED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>TYPE LED</em>' attribute. - * @see #getTYPE_LED() - * @generated - */ - void setTYPE_LED(Object value); - - /** - * Returns the value of the '<em><b>TYPE RUMBLE</b></em>' attribute. - * The default value is <code>"1"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>TYPE RUMBLE</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>TYPE RUMBLE</em>' attribute. - * @see #setTYPE_RUMBLE(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoyFeedback_TYPE_RUMBLE() - * @model default="1" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getTYPE_RUMBLE(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_RUMBLE <em>TYPE RUMBLE</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>TYPE RUMBLE</em>' attribute. - * @see #getTYPE_RUMBLE() - * @generated - */ - void setTYPE_RUMBLE(Object value); - - /** - * Returns the value of the '<em><b>TYPE BUZZER</b></em>' attribute. - * The default value is <code>"2"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>TYPE BUZZER</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>TYPE BUZZER</em>' attribute. - * @see #setTYPE_BUZZER(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoyFeedback_TYPE_BUZZER() - * @model default="2" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getTYPE_BUZZER(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_BUZZER <em>TYPE BUZZER</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>TYPE BUZZER</em>' attribute. - * @see #getTYPE_BUZZER() - * @generated - */ - void setTYPE_BUZZER(Object value); - - /** - * Returns the value of the '<em><b>Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Type</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Type</em>' attribute. - * @see #setType(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoyFeedback_Type() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getType(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getType <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Type</em>' attribute. - * @see #getType() - * @generated - */ - void setType(Object value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoyFeedback_Id() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getId(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(Object value); - - /** - * Returns the value of the '<em><b>Intensity</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Intensity</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Intensity</em>' attribute. - * @see #setIntensity(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoyFeedback_Intensity() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getIntensity(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getIntensity <em>Intensity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Intensity</em>' attribute. - * @see #getIntensity() - * @generated - */ - void setIntensity(Object value); - -} // JoyFeedback diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/JoyFeedbackArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/JoyFeedbackArray.java deleted file mode 100644 index be383417b26..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/JoyFeedbackArray.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Joy Feedback Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray#getArray <em>Array</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoyFeedbackArray() - * @model - * @generated - */ -public interface JoyFeedbackArray extends EObject { - /** - * Returns the value of the '<em><b>Array</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Array</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Array</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoyFeedbackArray_Array() - * @model containment="true" ordered="false" - * @generated - */ - EList<JoyFeedback> getArray(); - -} // JoyFeedbackArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/LaserScan.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/LaserScan.java deleted file mode 100644 index 74203cf7f3a..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/LaserScan.java +++ /dev/null @@ -1,265 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Laser Scan</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_min <em>Angle min</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_max <em>Angle max</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_increment <em>Angle increment</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getTime_increment <em>Time increment</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getScan_time <em>Scan time</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_min <em>Range min</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_max <em>Range max</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange <em>Range</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getIntensities <em>Intensities</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getLaserScan() - * @model - * @generated - */ -public interface LaserScan extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getLaserScan_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Angle min</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Angle min</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Angle min</em>' attribute. - * @see #setAngle_min(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getLaserScan_Angle_min() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getAngle_min(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_min <em>Angle min</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Angle min</em>' attribute. - * @see #getAngle_min() - * @generated - */ - void setAngle_min(Object value); - - /** - * Returns the value of the '<em><b>Angle max</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Angle max</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Angle max</em>' attribute. - * @see #setAngle_max(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getLaserScan_Angle_max() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getAngle_max(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_max <em>Angle max</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Angle max</em>' attribute. - * @see #getAngle_max() - * @generated - */ - void setAngle_max(Object value); - - /** - * Returns the value of the '<em><b>Angle increment</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Angle increment</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Angle increment</em>' attribute. - * @see #setAngle_increment(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getLaserScan_Angle_increment() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getAngle_increment(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_increment <em>Angle increment</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Angle increment</em>' attribute. - * @see #getAngle_increment() - * @generated - */ - void setAngle_increment(Object value); - - /** - * Returns the value of the '<em><b>Time increment</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Time increment</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Time increment</em>' attribute. - * @see #setTime_increment(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getLaserScan_Time_increment() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getTime_increment(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getTime_increment <em>Time increment</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Time increment</em>' attribute. - * @see #getTime_increment() - * @generated - */ - void setTime_increment(Object value); - - /** - * Returns the value of the '<em><b>Scan time</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Scan time</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Scan time</em>' attribute. - * @see #setScan_time(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getLaserScan_Scan_time() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getScan_time(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getScan_time <em>Scan time</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Scan time</em>' attribute. - * @see #getScan_time() - * @generated - */ - void setScan_time(Object value); - - /** - * Returns the value of the '<em><b>Range min</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Range min</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Range min</em>' attribute. - * @see #setRange_min(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getLaserScan_Range_min() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getRange_min(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_min <em>Range min</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Range min</em>' attribute. - * @see #getRange_min() - * @generated - */ - void setRange_min(Object value); - - /** - * Returns the value of the '<em><b>Range max</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Range max</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Range max</em>' attribute. - * @see #setRange_max(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getLaserScan_Range_max() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getRange_max(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_max <em>Range max</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Range max</em>' attribute. - * @see #getRange_max() - * @generated - */ - void setRange_max(Object value); - - /** - * Returns the value of the '<em><b>Range</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Range</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Range</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getLaserScan_Range() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" ordered="false" - * @generated - */ - EList<Object> getRange(); - - /** - * Returns the value of the '<em><b>Intensities</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Intensities</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Intensities</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getLaserScan_Intensities() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" ordered="false" - * @generated - */ - EList<Object> getIntensities(); - -} // LaserScan diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/NavSatFix.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/NavSatFix.java deleted file mode 100644 index 062ea86c228..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/NavSatFix.java +++ /dev/null @@ -1,232 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Nav Sat Fix</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getStatus <em>Status</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getService <em>Service</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLatitude <em>Latitude</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLongitude <em>Longitude</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getAltitude <em>Altitude</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance <em>Position covariance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance_type <em>Position covariance type</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatFix() - * @model - * @generated - */ -public interface NavSatFix extends EObject { - /** - * Returns the value of the '<em><b>Status</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Status</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Status</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE - * @see #setStatus(STATUS_TYPE) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatFix_Status() - * @model required="true" ordered="false" - * @generated - */ - STATUS_TYPE getStatus(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getStatus <em>Status</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Status</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE - * @see #getStatus() - * @generated - */ - void setStatus(STATUS_TYPE value); - - /** - * Returns the value of the '<em><b>Service</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Service</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Service</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE - * @see #setService(SERVICE_TYPE) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatFix_Service() - * @model required="true" ordered="false" - * @generated - */ - SERVICE_TYPE getService(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getService <em>Service</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Service</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE - * @see #getService() - * @generated - */ - void setService(SERVICE_TYPE value); - - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatFix_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Latitude</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Latitude</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Latitude</em>' attribute. - * @see #setLatitude(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatFix_Latitude() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getLatitude(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLatitude <em>Latitude</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Latitude</em>' attribute. - * @see #getLatitude() - * @generated - */ - void setLatitude(Object value); - - /** - * Returns the value of the '<em><b>Longitude</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Longitude</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Longitude</em>' attribute. - * @see #setLongitude(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatFix_Longitude() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getLongitude(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLongitude <em>Longitude</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Longitude</em>' attribute. - * @see #getLongitude() - * @generated - */ - void setLongitude(Object value); - - /** - * Returns the value of the '<em><b>Altitude</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Altitude</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Altitude</em>' attribute. - * @see #setAltitude(Float64) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatFix_Altitude() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" - * @generated - */ - Object getAltitude(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getAltitude <em>Altitude</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Altitude</em>' attribute. - * @see #getAltitude() - * @generated - */ - void setAltitude(Object value); - - /** - * Returns the value of the '<em><b>Position covariance</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Position covariance</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Position covariance</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatFix_Position_covariance() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="9" upper="9" ordered="false" - * @generated - */ - EList<Object> getPosition_covariance(); - - /** - * Returns the value of the '<em><b>Position covariance type</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Position covariance type</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Position covariance type</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE - * @see #setPosition_covariance_type(COVARIANCE_TYPE) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatFix_Position_covariance_type() - * @model required="true" ordered="false" - * @generated - */ - COVARIANCE_TYPE getPosition_covariance_type(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance_type <em>Position covariance type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Position covariance type</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE - * @see #getPosition_covariance_type() - * @generated - */ - void setPosition_covariance_type(COVARIANCE_TYPE value); - -} // NavSatFix diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/NavSatStatus.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/NavSatStatus.java deleted file mode 100644 index cb02aa7cdac..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/NavSatStatus.java +++ /dev/null @@ -1,203 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Nav Sat Status</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_NO_FIX <em>STATUS NO FIX</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_FIX <em>STATUS FIX</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_SBAS_FIX <em>STATUS SBAS FIX</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_GBAS_FIX <em>STATUS GBAS FIX</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getStatus <em>Status</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GPS <em>SERVICE GPS</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GLONASS <em>SERVICE GLONASS</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_COMPASS <em>SERVICE COMPASS</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GALILEO <em>SERVICE GALILEO</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getService <em>Service</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatStatus() - * @model - * @generated - */ -public interface NavSatStatus extends EObject { - /** - * Returns the value of the '<em><b>STATUS NO FIX</b></em>' attribute. - * The default value is <code>"-1"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>STATUS NO FIX</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>STATUS NO FIX</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatStatus_STATUS_NO_FIX() - * @model default="-1" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8" required="true" changeable="false" ordered="false" - * @generated - */ - Object getSTATUS_NO_FIX(); - - /** - * Returns the value of the '<em><b>STATUS FIX</b></em>' attribute. - * The default value is <code>"0"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>STATUS FIX</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>STATUS FIX</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatStatus_STATUS_FIX() - * @model default="0" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8" required="true" changeable="false" ordered="false" - * @generated - */ - Object getSTATUS_FIX(); - - /** - * Returns the value of the '<em><b>STATUS SBAS FIX</b></em>' attribute. - * The default value is <code>"1"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>STATUS SBAS FIX</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>STATUS SBAS FIX</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatStatus_STATUS_SBAS_FIX() - * @model default="1" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8" required="true" changeable="false" ordered="false" - * @generated - */ - Object getSTATUS_SBAS_FIX(); - - /** - * Returns the value of the '<em><b>STATUS GBAS FIX</b></em>' attribute. - * The default value is <code>"2"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>STATUS GBAS FIX</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>STATUS GBAS FIX</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatStatus_STATUS_GBAS_FIX() - * @model default="2" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8" required="true" changeable="false" ordered="false" - * @generated - */ - Object getSTATUS_GBAS_FIX(); - - /** - * Returns the value of the '<em><b>Status</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Status</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Status</em>' attribute. - * @see #setStatus(Int8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatStatus_Status() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8" required="true" ordered="false" - * @generated - */ - Object getStatus(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getStatus <em>Status</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Status</em>' attribute. - * @see #getStatus() - * @generated - */ - void setStatus(Object value); - - /** - * Returns the value of the '<em><b>SERVICE GPS</b></em>' attribute. - * The default value is <code>"1"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>SERVICE GPS</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>SERVICE GPS</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatStatus_SERVICE_GPS() - * @model default="1" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16" required="true" changeable="false" ordered="false" - * @generated - */ - Object getSERVICE_GPS(); - - /** - * Returns the value of the '<em><b>SERVICE GLONASS</b></em>' attribute. - * The default value is <code>"2"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>SERVICE GLONASS</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>SERVICE GLONASS</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatStatus_SERVICE_GLONASS() - * @model default="2" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16" required="true" changeable="false" ordered="false" - * @generated - */ - Object getSERVICE_GLONASS(); - - /** - * Returns the value of the '<em><b>SERVICE COMPASS</b></em>' attribute. - * The default value is <code>"4"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>SERVICE COMPASS</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>SERVICE COMPASS</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatStatus_SERVICE_COMPASS() - * @model default="4" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16" required="true" changeable="false" ordered="false" - * @generated - */ - Object getSERVICE_COMPASS(); - - /** - * Returns the value of the '<em><b>SERVICE GALILEO</b></em>' attribute. - * The default value is <code>"8"</code>. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>SERVICE GALILEO</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>SERVICE GALILEO</em>' attribute. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatStatus_SERVICE_GALILEO() - * @model default="8" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16" required="true" changeable="false" ordered="false" - * @generated - */ - Object getSERVICE_GALILEO(); - - /** - * Returns the value of the '<em><b>Service</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Service</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Service</em>' attribute. - * @see #setService(UInt16) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatStatus_Service() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16" required="true" ordered="false" - * @generated - */ - Object getService(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getService <em>Service</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Service</em>' attribute. - * @see #getService() - * @generated - */ - void setService(Object value); - -} // NavSatStatus diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/PointCloud.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/PointCloud.java deleted file mode 100644 index 15c284aadce..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/PointCloud.java +++ /dev/null @@ -1,84 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Point Cloud</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getPoints <em>Points</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getChannels <em>Channels</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud() - * @model - * @generated - */ -public interface PointCloud extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Points</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Points</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Points</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud_Points() - * @model containment="true" ordered="false" - * @generated - */ - EList<Point32> getPoints(); - - /** - * Returns the value of the '<em><b>Channels</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Channels</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Channels</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud_Channels() - * @model containment="true" ordered="false" - * @generated - */ - EList<ChannelFloat32> getChannels(); - -} // PointCloud diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/PointCloud2.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/PointCloud2.java deleted file mode 100644 index 441e2e34dc1..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/PointCloud2.java +++ /dev/null @@ -1,241 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Point Cloud2</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeight <em>Height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getWidth <em>Width</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getFields <em>Fields</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getIs_bigendian <em>Is bigendian</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getPoint_step <em>Point step</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getRow_step <em>Row step</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getData <em>Data</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getIs_dense <em>Is dense</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud2() - * @model - * @generated - */ -public interface PointCloud2 extends EObject { - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud2_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Height</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Height</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Height</em>' attribute. - * @see #setHeight(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud2_Height() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getHeight(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeight <em>Height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Height</em>' attribute. - * @see #getHeight() - * @generated - */ - void setHeight(Object value); - - /** - * Returns the value of the '<em><b>Width</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Width</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Width</em>' attribute. - * @see #setWidth(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud2_Width() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getWidth(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getWidth <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Width</em>' attribute. - * @see #getWidth() - * @generated - */ - void setWidth(Object value); - - /** - * Returns the value of the '<em><b>Fields</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Fields</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Fields</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud2_Fields() - * @model containment="true" ordered="false" - * @generated - */ - EList<PointField> getFields(); - - /** - * Returns the value of the '<em><b>Is bigendian</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Is bigendian</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Is bigendian</em>' attribute. - * @see #setIs_bigendian(Bool) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud2_Is_bigendian() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Bool" required="true" ordered="false" - * @generated - */ - Object getIs_bigendian(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getIs_bigendian <em>Is bigendian</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Is bigendian</em>' attribute. - * @see #getIs_bigendian() - * @generated - */ - void setIs_bigendian(Object value); - - /** - * Returns the value of the '<em><b>Point step</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Point step</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Point step</em>' attribute. - * @see #setPoint_step(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud2_Point_step() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getPoint_step(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getPoint_step <em>Point step</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Point step</em>' attribute. - * @see #getPoint_step() - * @generated - */ - void setPoint_step(Object value); - - /** - * Returns the value of the '<em><b>Row step</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Row step</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Row step</em>' attribute. - * @see #setRow_step(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud2_Row_step() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getRow_step(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getRow_step <em>Row step</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Row step</em>' attribute. - * @see #getRow_step() - * @generated - */ - void setRow_step(Object value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud2_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" ordered="false" - * @generated - */ - EList<Object> getData(); - - /** - * Returns the value of the '<em><b>Is dense</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Is dense</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Is dense</em>' attribute. - * @see #setIs_dense(Bool) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud2_Is_dense() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Bool" required="true" ordered="false" - * @generated - */ - Object getIs_dense(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getIs_dense <em>Is dense</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Is dense</em>' attribute. - * @see #getIs_dense() - * @generated - */ - void setIs_dense(Object value); - -} // PointCloud2 diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/PointField.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/PointField.java deleted file mode 100644 index 11118407ce4..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/PointField.java +++ /dev/null @@ -1,127 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Point Field</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getOffset <em>Offset</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getDatatype <em>Datatype</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getCount <em>Count</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointField() - * @model - * @generated - */ -public interface PointField extends EObject { - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointField_Name() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getName(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(Object value); - - /** - * Returns the value of the '<em><b>Offset</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Offset</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Offset</em>' attribute. - * @see #setOffset(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointField_Offset() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getOffset(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getOffset <em>Offset</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Offset</em>' attribute. - * @see #getOffset() - * @generated - */ - void setOffset(Object value); - - /** - * Returns the value of the '<em><b>Datatype</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Datatype</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Datatype</em>' attribute. - * @see #setDatatype(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointField_Datatype() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getDatatype(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getDatatype <em>Datatype</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Datatype</em>' attribute. - * @see #getDatatype() - * @generated - */ - void setDatatype(Object value); - - /** - * Returns the value of the '<em><b>Count</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Count</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Count</em>' attribute. - * @see #setCount(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointField_Count() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getCount(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getCount <em>Count</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Count</em>' attribute. - * @see #getCount() - * @generated - */ - void setCount(Object value); - -} // PointField diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Range.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Range.java deleted file mode 100644 index 5306b6e008b..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Range.java +++ /dev/null @@ -1,232 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Range</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getULTRASOUND <em>ULTRASOUND</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getINFRARED <em>INFRARED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRadiation_type <em>Radiation type</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getField_of_view <em>Field of view</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMin_range <em>Min range</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMax_range <em>Max range</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRange <em>Range</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRange() - * @model - * @generated - */ -public interface Range extends EObject { - /** - * Returns the value of the '<em><b>ULTRASOUND</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>ULTRASOUND</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>ULTRASOUND</em>' attribute. - * @see #setULTRASOUND(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRange_ULTRASOUND() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getULTRASOUND(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getULTRASOUND <em>ULTRASOUND</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>ULTRASOUND</em>' attribute. - * @see #getULTRASOUND() - * @generated - */ - void setULTRASOUND(Object value); - - /** - * Returns the value of the '<em><b>INFRARED</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>INFRARED</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>INFRARED</em>' attribute. - * @see #setINFRARED(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRange_INFRARED() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getINFRARED(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getINFRARED <em>INFRARED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>INFRARED</em>' attribute. - * @see #getINFRARED() - * @generated - */ - void setINFRARED(Object value); - - /** - * Returns the value of the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Header</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Header</em>' containment reference. - * @see #setHeader(Header) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRange_Header() - * @model containment="true" required="true" ordered="false" - * @generated - */ - Header getHeader(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getHeader <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Header</em>' containment reference. - * @see #getHeader() - * @generated - */ - void setHeader(Header value); - - /** - * Returns the value of the '<em><b>Radiation type</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Radiation type</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Radiation type</em>' attribute. - * @see #setRadiation_type(UInt8) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRange_Radiation_type() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" - * @generated - */ - Object getRadiation_type(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRadiation_type <em>Radiation type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Radiation type</em>' attribute. - * @see #getRadiation_type() - * @generated - */ - void setRadiation_type(Object value); - - /** - * Returns the value of the '<em><b>Field of view</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Field of view</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Field of view</em>' attribute. - * @see #setField_of_view(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRange_Field_of_view() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getField_of_view(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getField_of_view <em>Field of view</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Field of view</em>' attribute. - * @see #getField_of_view() - * @generated - */ - void setField_of_view(Object value); - - /** - * Returns the value of the '<em><b>Min range</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Min range</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Min range</em>' attribute. - * @see #setMin_range(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRange_Min_range() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getMin_range(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMin_range <em>Min range</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Min range</em>' attribute. - * @see #getMin_range() - * @generated - */ - void setMin_range(Object value); - - /** - * Returns the value of the '<em><b>Max range</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Max range</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Max range</em>' attribute. - * @see #setMax_range(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRange_Max_range() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getMax_range(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMax_range <em>Max range</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Max range</em>' attribute. - * @see #getMax_range() - * @generated - */ - void setMax_range(Object value); - - /** - * Returns the value of the '<em><b>Range</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Range</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Range</em>' attribute. - * @see #setRange(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRange_Range() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getRange(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRange <em>Range</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Range</em>' attribute. - * @see #getRange() - * @generated - */ - void setRange(Object value); - -} // Range diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/RegionOfInterest.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/RegionOfInterest.java deleted file mode 100644 index 567e7f4a3ce..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/RegionOfInterest.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Region Of Interest</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getX_offset <em>Xoffset</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getY_offset <em>Yoffset</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getHeight <em>Height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getDo_rectify <em>Do rectify</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getWidth <em>Width</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRegionOfInterest() - * @model - * @generated - */ -public interface RegionOfInterest extends EObject { - /** - * Returns the value of the '<em><b>Xoffset</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Xoffset</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Xoffset</em>' attribute. - * @see #setX_offset(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRegionOfInterest_X_offset() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getX_offset(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getX_offset <em>Xoffset</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Xoffset</em>' attribute. - * @see #getX_offset() - * @generated - */ - void setX_offset(Object value); - - /** - * Returns the value of the '<em><b>Yoffset</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Yoffset</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Yoffset</em>' attribute. - * @see #setY_offset(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRegionOfInterest_Y_offset() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getY_offset(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getY_offset <em>Yoffset</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Yoffset</em>' attribute. - * @see #getY_offset() - * @generated - */ - void setY_offset(Object value); - - /** - * Returns the value of the '<em><b>Height</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Height</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Height</em>' attribute. - * @see #setHeight(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRegionOfInterest_Height() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getHeight(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getHeight <em>Height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Height</em>' attribute. - * @see #getHeight() - * @generated - */ - void setHeight(Object value); - - /** - * Returns the value of the '<em><b>Do rectify</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Do rectify</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Do rectify</em>' attribute. - * @see #setDo_rectify(Bool) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRegionOfInterest_Do_rectify() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Bool" required="true" ordered="false" - * @generated - */ - Object getDo_rectify(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getDo_rectify <em>Do rectify</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Do rectify</em>' attribute. - * @see #getDo_rectify() - * @generated - */ - void setDo_rectify(Object value); - - /** - * Returns the value of the '<em><b>Width</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Width</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Width</em>' attribute. - * @see #setWidth(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRegionOfInterest_Width() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getWidth(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getWidth <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Width</em>' attribute. - * @see #getWidth() - * @generated - */ - void setWidth(Object value); - -} // RegionOfInterest diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/SERVICE_TYPE.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/SERVICE_TYPE.java deleted file mode 100644 index 5ee86157ea9..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/SERVICE_TYPE.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>SERVICE TYPE</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getSERVICE_TYPE() - * @model - * @generated - */ -public enum SERVICE_TYPE implements Enumerator { - /** - * The '<em><b>SERVICE GPS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #SERVICE_GPS_VALUE - * @generated - * @ordered - */ - SERVICE_GPS(0, "SERVICE_GPS", "SERVICE_GPS"), - - /** - * The '<em><b>SERVICE GLONASS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #SERVICE_GLONASS_VALUE - * @generated - * @ordered - */ - SERVICE_GLONASS(1, "SERVICE_GLONASS", "SERVICE_GLONASS"), - - /** - * The '<em><b>SERVICE COMPASS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #SERVICE_COMPASS_VALUE - * @generated - * @ordered - */ - SERVICE_COMPASS(2, "SERVICE_COMPASS", "SERVICE_COMPASS"), - - /** - * The '<em><b>SERVICE GALILEO</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #SERVICE_GALILEO_VALUE - * @generated - * @ordered - */ - SERVICE_GALILEO(3, "SERVICE_GALILEO", "SERVICE_GALILEO"); - - /** - * The '<em><b>SERVICE GPS</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>SERVICE GPS</b></em>' literal object isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #SERVICE_GPS - * @model - * @generated - * @ordered - */ - public static final int SERVICE_GPS_VALUE = 0; - - /** - * The '<em><b>SERVICE GLONASS</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>SERVICE GLONASS</b></em>' literal object isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #SERVICE_GLONASS - * @model - * @generated - * @ordered - */ - public static final int SERVICE_GLONASS_VALUE = 1; - - /** - * The '<em><b>SERVICE COMPASS</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>SERVICE COMPASS</b></em>' literal object isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #SERVICE_COMPASS - * @model - * @generated - * @ordered - */ - public static final int SERVICE_COMPASS_VALUE = 2; - - /** - * The '<em><b>SERVICE GALILEO</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>SERVICE GALILEO</b></em>' literal object isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #SERVICE_GALILEO - * @model - * @generated - * @ordered - */ - public static final int SERVICE_GALILEO_VALUE = 3; - - /** - * An array of all the '<em><b>SERVICE TYPE</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final SERVICE_TYPE[] VALUES_ARRAY = - new SERVICE_TYPE[] { - SERVICE_GPS, - SERVICE_GLONASS, - SERVICE_COMPASS, - SERVICE_GALILEO, - }; - - /** - * A public read-only list of all the '<em><b>SERVICE TYPE</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<SERVICE_TYPE> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>SERVICE TYPE</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static SERVICE_TYPE get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - SERVICE_TYPE result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>SERVICE TYPE</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static SERVICE_TYPE getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - SERVICE_TYPE result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>SERVICE TYPE</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static SERVICE_TYPE get(int value) { - switch (value) { - case SERVICE_GPS_VALUE: return SERVICE_GPS; - case SERVICE_GLONASS_VALUE: return SERVICE_GLONASS; - case SERVICE_COMPASS_VALUE: return SERVICE_COMPASS; - case SERVICE_GALILEO_VALUE: return SERVICE_GALILEO; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private SERVICE_TYPE(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } - -} // SERVICE_TYPE diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/STATUS_TYPE.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/STATUS_TYPE.java deleted file mode 100644 index 80e52004aa1..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/STATUS_TYPE.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>STATUS TYPE</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getSTATUS_TYPE() - * @model - * @generated - */ -public enum STATUS_TYPE implements Enumerator { - /** - * The '<em><b>STATUS NO FIX</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #STATUS_NO_FIX_VALUE - * @generated - * @ordered - */ - STATUS_NO_FIX(0, "STATUS_NO_FIX", "STATUS_NO_FIX"), - - /** - * The '<em><b>STATUS FIX</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #STATUS_FIX_VALUE - * @generated - * @ordered - */ - STATUS_FIX(1, "STATUS_FIX", "STATUS_FIX"), - - /** - * The '<em><b>STATUS SBAS FIX</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #STATUS_SBAS_FIX_VALUE - * @generated - * @ordered - */ - STATUS_SBAS_FIX(2, "STATUS_SBAS_FIX", "STATUS_SBAS_FIX"), - - /** - * The '<em><b>STATUS GBAS FIX</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #STATUS_GBAS_FIX_VALUE - * @generated - * @ordered - */ - STATUS_GBAS_FIX(3, "STATUS_GBAS_FIX", "STATUS_GBAS_FIX"); - - /** - * The '<em><b>STATUS NO FIX</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>STATUS NO FIX</b></em>' literal object isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #STATUS_NO_FIX - * @model - * @generated - * @ordered - */ - public static final int STATUS_NO_FIX_VALUE = 0; - - /** - * The '<em><b>STATUS FIX</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>STATUS FIX</b></em>' literal object isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #STATUS_FIX - * @model - * @generated - * @ordered - */ - public static final int STATUS_FIX_VALUE = 1; - - /** - * The '<em><b>STATUS SBAS FIX</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>STATUS SBAS FIX</b></em>' literal object isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #STATUS_SBAS_FIX - * @model - * @generated - * @ordered - */ - public static final int STATUS_SBAS_FIX_VALUE = 2; - - /** - * The '<em><b>STATUS GBAS FIX</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>STATUS GBAS FIX</b></em>' literal object isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #STATUS_GBAS_FIX - * @model - * @generated - * @ordered - */ - public static final int STATUS_GBAS_FIX_VALUE = 3; - - /** - * An array of all the '<em><b>STATUS TYPE</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final STATUS_TYPE[] VALUES_ARRAY = - new STATUS_TYPE[] { - STATUS_NO_FIX, - STATUS_FIX, - STATUS_SBAS_FIX, - STATUS_GBAS_FIX, - }; - - /** - * A public read-only list of all the '<em><b>STATUS TYPE</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<STATUS_TYPE> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>STATUS TYPE</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static STATUS_TYPE get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - STATUS_TYPE result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>STATUS TYPE</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static STATUS_TYPE getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - STATUS_TYPE result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>STATUS TYPE</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static STATUS_TYPE get(int value) { - switch (value) { - case STATUS_NO_FIX_VALUE: return STATUS_NO_FIX; - case STATUS_FIX_VALUE: return STATUS_FIX; - case STATUS_SBAS_FIX_VALUE: return STATUS_SBAS_FIX; - case STATUS_GBAS_FIX_VALUE: return STATUS_GBAS_FIX; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private STATUS_TYPE(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } - -} // STATUS_TYPE diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Sensor_datatypesFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Sensor_datatypesFactory.java deleted file mode 100644 index aaf3063ae65..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Sensor_datatypesFactory.java +++ /dev/null @@ -1,204 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage - * @generated - */ -public interface Sensor_datatypesFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Sensor_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Region Of Interest</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Region Of Interest</em>'. - * @generated - */ - RegionOfInterest createRegionOfInterest(); - - /** - * Returns a new object of class '<em>Range</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Range</em>'. - * @generated - */ - Range createRange(); - - /** - * Returns a new object of class '<em>Camera Info</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Camera Info</em>'. - * @generated - */ - CameraInfo createCameraInfo(); - - /** - * Returns a new object of class '<em>Imu</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Imu</em>'. - * @generated - */ - Imu createImu(); - - /** - * Returns a new object of class '<em>Laser Scan</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Laser Scan</em>'. - * @generated - */ - LaserScan createLaserScan(); - - /** - * Returns a new object of class '<em>Image</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Image</em>'. - * @generated - */ - Image createImage(); - - /** - * Returns a new object of class '<em>Channel Float32</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Channel Float32</em>'. - * @generated - */ - ChannelFloat32 createChannelFloat32(); - - /** - * Returns a new object of class '<em>Compressed Image</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Compressed Image</em>'. - * @generated - */ - CompressedImage createCompressedImage(); - - /** - * Returns a new object of class '<em>Point Cloud</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Point Cloud</em>'. - * @generated - */ - PointCloud createPointCloud(); - - /** - * Returns a new object of class '<em>Point Field</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Point Field</em>'. - * @generated - */ - PointField createPointField(); - - /** - * Returns a new object of class '<em>Point Cloud2</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Point Cloud2</em>'. - * @generated - */ - PointCloud2 createPointCloud2(); - - /** - * Returns a new object of class '<em>Joint State</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Joint State</em>'. - * @generated - */ - JointState createJointState(); - - /** - * Returns a new object of class '<em>Nav Sat Status</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Nav Sat Status</em>'. - * @generated - */ - NavSatStatus createNavSatStatus(); - - /** - * Returns a new object of class '<em>Nav Sat Fix</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Nav Sat Fix</em>'. - * @generated - */ - NavSatFix createNavSatFix(); - - /** - * Returns a new object of class '<em>Joy</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Joy</em>'. - * @generated - */ - Joy createJoy(); - - /** - * Returns a new object of class '<em>Joy Feedback</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Joy Feedback</em>'. - * @generated - */ - JoyFeedback createJoyFeedback(); - - /** - * Returns a new object of class '<em>Joy Feedback Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Joy Feedback Array</em>'. - * @generated - */ - JoyFeedbackArray createJoyFeedbackArray(); - - /** - * Returns a new object of class '<em>Car Like Odometry</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Car Like Odometry</em>'. - * @generated - */ - CarLikeOdometry createCarLikeOdometry(); - - /** - * Returns a new object of class '<em>Differential Odometry</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Differential Odometry</em>'. - * @generated - */ - DifferentialOdometry createDifferentialOdometry(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - Sensor_datatypesPackage getSensor_datatypesPackage(); - -} // Sensor_datatypesFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Sensor_datatypesPackage.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Sensor_datatypesPackage.java deleted file mode 100644 index 399c57519b3..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/Sensor_datatypesPackage.java +++ /dev/null @@ -1,4224 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesFactory - * @model kind="package" - * @generated - */ -public interface Sensor_datatypesPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "sensor_datatypes"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes.ecore"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Sensor_datatypesPackage eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl <em>Region Of Interest</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getRegionOfInterest() - * @generated - */ - int REGION_OF_INTEREST = 0; - - /** - * The feature id for the '<em><b>Xoffset</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REGION_OF_INTEREST__XOFFSET = 0; - - /** - * The feature id for the '<em><b>Yoffset</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REGION_OF_INTEREST__YOFFSET = 1; - - /** - * The feature id for the '<em><b>Height</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REGION_OF_INTEREST__HEIGHT = 2; - - /** - * The feature id for the '<em><b>Do rectify</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REGION_OF_INTEREST__DO_RECTIFY = 3; - - /** - * The feature id for the '<em><b>Width</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REGION_OF_INTEREST__WIDTH = 4; - - /** - * The number of structural features of the '<em>Region Of Interest</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REGION_OF_INTEREST_FEATURE_COUNT = 5; - - /** - * The number of operations of the '<em>Region Of Interest</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REGION_OF_INTEREST_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl <em>Range</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getRange() - * @generated - */ - int RANGE = 1; - - /** - * The feature id for the '<em><b>ULTRASOUND</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RANGE__ULTRASOUND = 0; - - /** - * The feature id for the '<em><b>INFRARED</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RANGE__INFRARED = 1; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RANGE__HEADER = 2; - - /** - * The feature id for the '<em><b>Radiation type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RANGE__RADIATION_TYPE = 3; - - /** - * The feature id for the '<em><b>Field of view</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RANGE__FIELD_OF_VIEW = 4; - - /** - * The feature id for the '<em><b>Min range</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RANGE__MIN_RANGE = 5; - - /** - * The feature id for the '<em><b>Max range</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RANGE__MAX_RANGE = 6; - - /** - * The feature id for the '<em><b>Range</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RANGE__RANGE = 7; - - /** - * The number of structural features of the '<em>Range</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RANGE_FEATURE_COUNT = 8; - - /** - * The number of operations of the '<em>Range</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RANGE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl <em>Camera Info</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getCameraInfo() - * @generated - */ - int CAMERA_INFO = 2; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO__HEADER = 0; - - /** - * The feature id for the '<em><b>Height</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO__HEIGHT = 1; - - /** - * The feature id for the '<em><b>Width</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO__WIDTH = 2; - - /** - * The feature id for the '<em><b>Distorsion model</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO__DISTORSION_MODEL = 3; - - /** - * The feature id for the '<em><b>D</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO__D = 4; - - /** - * The feature id for the '<em><b>K</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO__K = 5; - - /** - * The feature id for the '<em><b>R</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO__R = 6; - - /** - * The feature id for the '<em><b>P</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO__P = 7; - - /** - * The feature id for the '<em><b>Binning x</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO__BINNING_X = 8; - - /** - * The feature id for the '<em><b>Binning y</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO__BINNING_Y = 9; - - /** - * The feature id for the '<em><b>Roi</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO__ROI = 10; - - /** - * The number of structural features of the '<em>Camera Info</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO_FEATURE_COUNT = 11; - - /** - * The number of operations of the '<em>Camera Info</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAMERA_INFO_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl <em>Imu</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getImu() - * @generated - */ - int IMU = 3; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMU__HEADER = 0; - - /** - * The feature id for the '<em><b>Orientation</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMU__ORIENTATION = 1; - - /** - * The feature id for the '<em><b>Orientation covariance</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMU__ORIENTATION_COVARIANCE = 2; - - /** - * The feature id for the '<em><b>Angular velocity</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMU__ANGULAR_VELOCITY = 3; - - /** - * The feature id for the '<em><b>Angular velocity covariance</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMU__ANGULAR_VELOCITY_COVARIANCE = 4; - - /** - * The feature id for the '<em><b>Linear acceleration</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMU__LINEAR_ACCELERATION = 5; - - /** - * The feature id for the '<em><b>Linear acceleration covariance</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMU__LINEAR_ACCELERATION_COVARIANCE = 6; - - /** - * The number of structural features of the '<em>Imu</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMU_FEATURE_COUNT = 7; - - /** - * The number of operations of the '<em>Imu</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMU_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl <em>Laser Scan</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getLaserScan() - * @generated - */ - int LASER_SCAN = 4; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LASER_SCAN__HEADER = 0; - - /** - * The feature id for the '<em><b>Angle min</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LASER_SCAN__ANGLE_MIN = 1; - - /** - * The feature id for the '<em><b>Angle max</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LASER_SCAN__ANGLE_MAX = 2; - - /** - * The feature id for the '<em><b>Angle increment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LASER_SCAN__ANGLE_INCREMENT = 3; - - /** - * The feature id for the '<em><b>Time increment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LASER_SCAN__TIME_INCREMENT = 4; - - /** - * The feature id for the '<em><b>Scan time</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LASER_SCAN__SCAN_TIME = 5; - - /** - * The feature id for the '<em><b>Range min</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LASER_SCAN__RANGE_MIN = 6; - - /** - * The feature id for the '<em><b>Range max</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LASER_SCAN__RANGE_MAX = 7; - - /** - * The feature id for the '<em><b>Range</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LASER_SCAN__RANGE = 8; - - /** - * The feature id for the '<em><b>Intensities</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LASER_SCAN__INTENSITIES = 9; - - /** - * The number of structural features of the '<em>Laser Scan</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LASER_SCAN_FEATURE_COUNT = 10; - - /** - * The number of operations of the '<em>Laser Scan</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LASER_SCAN_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl <em>Image</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getImage() - * @generated - */ - int IMAGE = 5; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMAGE__HEADER = 0; - - /** - * The feature id for the '<em><b>Height</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMAGE__HEIGHT = 1; - - /** - * The feature id for the '<em><b>Width</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMAGE__WIDTH = 2; - - /** - * The feature id for the '<em><b>Encoding</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMAGE__ENCODING = 3; - - /** - * The feature id for the '<em><b>Is bigendian</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMAGE__IS_BIGENDIAN = 4; - - /** - * The feature id for the '<em><b>Step</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMAGE__STEP = 5; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMAGE__DATA = 6; - - /** - * The number of structural features of the '<em>Image</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMAGE_FEATURE_COUNT = 7; - - /** - * The number of operations of the '<em>Image</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMAGE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ChannelFloat32Impl <em>Channel Float32</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ChannelFloat32Impl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getChannelFloat32() - * @generated - */ - int CHANNEL_FLOAT32 = 6; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CHANNEL_FLOAT32__NAME = 0; - - /** - * The feature id for the '<em><b>Values</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CHANNEL_FLOAT32__VALUES = 1; - - /** - * The number of structural features of the '<em>Channel Float32</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CHANNEL_FLOAT32_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Channel Float32</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CHANNEL_FLOAT32_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl <em>Compressed Image</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getCompressedImage() - * @generated - */ - int COMPRESSED_IMAGE = 7; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COMPRESSED_IMAGE__HEADER = 0; - - /** - * The feature id for the '<em><b>Format</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COMPRESSED_IMAGE__FORMAT = 1; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COMPRESSED_IMAGE__DATA = 2; - - /** - * The number of structural features of the '<em>Compressed Image</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COMPRESSED_IMAGE_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Compressed Image</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COMPRESSED_IMAGE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl <em>Point Cloud</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getPointCloud() - * @generated - */ - int POINT_CLOUD = 8; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD__HEADER = 0; - - /** - * The feature id for the '<em><b>Points</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD__POINTS = 1; - - /** - * The feature id for the '<em><b>Channels</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD__CHANNELS = 2; - - /** - * The number of structural features of the '<em>Point Cloud</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Point Cloud</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl <em>Point Field</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getPointField() - * @generated - */ - int POINT_FIELD = 9; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_FIELD__NAME = 0; - - /** - * The feature id for the '<em><b>Offset</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_FIELD__OFFSET = 1; - - /** - * The feature id for the '<em><b>Datatype</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_FIELD__DATATYPE = 2; - - /** - * The feature id for the '<em><b>Count</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_FIELD__COUNT = 3; - - /** - * The number of structural features of the '<em>Point Field</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_FIELD_FEATURE_COUNT = 4; - - /** - * The number of operations of the '<em>Point Field</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_FIELD_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl <em>Point Cloud2</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getPointCloud2() - * @generated - */ - int POINT_CLOUD2 = 10; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD2__HEADER = 0; - - /** - * The feature id for the '<em><b>Height</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD2__HEIGHT = 1; - - /** - * The feature id for the '<em><b>Width</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD2__WIDTH = 2; - - /** - * The feature id for the '<em><b>Fields</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD2__FIELDS = 3; - - /** - * The feature id for the '<em><b>Is bigendian</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD2__IS_BIGENDIAN = 4; - - /** - * The feature id for the '<em><b>Point step</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD2__POINT_STEP = 5; - - /** - * The feature id for the '<em><b>Row step</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD2__ROW_STEP = 6; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD2__DATA = 7; - - /** - * The feature id for the '<em><b>Is dense</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD2__IS_DENSE = 8; - - /** - * The number of structural features of the '<em>Point Cloud2</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD2_FEATURE_COUNT = 9; - - /** - * The number of operations of the '<em>Point Cloud2</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int POINT_CLOUD2_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl <em>Joint State</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getJointState() - * @generated - */ - int JOINT_STATE = 11; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOINT_STATE__NAME = 0; - - /** - * The feature id for the '<em><b>Position</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOINT_STATE__POSITION = 1; - - /** - * The feature id for the '<em><b>Velocity</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOINT_STATE__VELOCITY = 2; - - /** - * The feature id for the '<em><b>Effort</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOINT_STATE__EFFORT = 3; - - /** - * The number of structural features of the '<em>Joint State</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOINT_STATE_FEATURE_COUNT = 4; - - /** - * The number of operations of the '<em>Joint State</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOINT_STATE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl <em>Nav Sat Status</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getNavSatStatus() - * @generated - */ - int NAV_SAT_STATUS = 12; - - /** - * The feature id for the '<em><b>STATUS NO FIX</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_STATUS__STATUS_NO_FIX = 0; - - /** - * The feature id for the '<em><b>STATUS FIX</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_STATUS__STATUS_FIX = 1; - - /** - * The feature id for the '<em><b>STATUS SBAS FIX</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_STATUS__STATUS_SBAS_FIX = 2; - - /** - * The feature id for the '<em><b>STATUS GBAS FIX</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_STATUS__STATUS_GBAS_FIX = 3; - - /** - * The feature id for the '<em><b>Status</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_STATUS__STATUS = 4; - - /** - * The feature id for the '<em><b>SERVICE GPS</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_STATUS__SERVICE_GPS = 5; - - /** - * The feature id for the '<em><b>SERVICE GLONASS</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_STATUS__SERVICE_GLONASS = 6; - - /** - * The feature id for the '<em><b>SERVICE COMPASS</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_STATUS__SERVICE_COMPASS = 7; - - /** - * The feature id for the '<em><b>SERVICE GALILEO</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_STATUS__SERVICE_GALILEO = 8; - - /** - * The feature id for the '<em><b>Service</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_STATUS__SERVICE = 9; - - /** - * The number of structural features of the '<em>Nav Sat Status</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_STATUS_FEATURE_COUNT = 10; - - /** - * The number of operations of the '<em>Nav Sat Status</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_STATUS_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl <em>Nav Sat Fix</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getNavSatFix() - * @generated - */ - int NAV_SAT_FIX = 13; - - /** - * The feature id for the '<em><b>Status</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_FIX__STATUS = 0; - - /** - * The feature id for the '<em><b>Service</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_FIX__SERVICE = 1; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_FIX__HEADER = 2; - - /** - * The feature id for the '<em><b>Latitude</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_FIX__LATITUDE = 3; - - /** - * The feature id for the '<em><b>Longitude</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_FIX__LONGITUDE = 4; - - /** - * The feature id for the '<em><b>Altitude</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_FIX__ALTITUDE = 5; - - /** - * The feature id for the '<em><b>Position covariance</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_FIX__POSITION_COVARIANCE = 6; - - /** - * The feature id for the '<em><b>Position covariance type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_FIX__POSITION_COVARIANCE_TYPE = 7; - - /** - * The number of structural features of the '<em>Nav Sat Fix</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_FIX_FEATURE_COUNT = 8; - - /** - * The number of operations of the '<em>Nav Sat Fix</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NAV_SAT_FIX_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl <em>Joy</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getJoy() - * @generated - */ - int JOY = 14; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY__HEADER = 0; - - /** - * The feature id for the '<em><b>Axes</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY__AXES = 1; - - /** - * The feature id for the '<em><b>Buttons</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY__BUTTONS = 2; - - /** - * The number of structural features of the '<em>Joy</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Joy</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl <em>Joy Feedback</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getJoyFeedback() - * @generated - */ - int JOY_FEEDBACK = 15; - - /** - * The feature id for the '<em><b>TYPE LED</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_FEEDBACK__TYPE_LED = 0; - - /** - * The feature id for the '<em><b>TYPE RUMBLE</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_FEEDBACK__TYPE_RUMBLE = 1; - - /** - * The feature id for the '<em><b>TYPE BUZZER</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_FEEDBACK__TYPE_BUZZER = 2; - - /** - * The feature id for the '<em><b>Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_FEEDBACK__TYPE = 3; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_FEEDBACK__ID = 4; - - /** - * The feature id for the '<em><b>Intensity</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_FEEDBACK__INTENSITY = 5; - - /** - * The number of structural features of the '<em>Joy Feedback</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_FEEDBACK_FEATURE_COUNT = 6; - - /** - * The number of operations of the '<em>Joy Feedback</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_FEEDBACK_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackArrayImpl <em>Joy Feedback Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getJoyFeedbackArray() - * @generated - */ - int JOY_FEEDBACK_ARRAY = 16; - - /** - * The feature id for the '<em><b>Array</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_FEEDBACK_ARRAY__ARRAY = 0; - - /** - * The number of structural features of the '<em>Joy Feedback Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_FEEDBACK_ARRAY_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Joy Feedback Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JOY_FEEDBACK_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl <em>Car Like Odometry</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getCarLikeOdometry() - * @generated - */ - int CAR_LIKE_ODOMETRY = 17; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAR_LIKE_ODOMETRY__HEADER = 0; - - /** - * The feature id for the '<em><b>Steering angle</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAR_LIKE_ODOMETRY__STEERING_ANGLE = 1; - - /** - * The feature id for the '<em><b>Left rear wheel distance</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE = 2; - - /** - * The feature id for the '<em><b>Right rear wheel distance</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE = 3; - - /** - * The feature id for the '<em><b>Right rear wheel velocity</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY = 4; - - /** - * The feature id for the '<em><b>Left rear wheel velocity</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_VELOCITY = 5; - - /** - * The number of structural features of the '<em>Car Like Odometry</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAR_LIKE_ODOMETRY_FEATURE_COUNT = 6; - - /** - * The number of operations of the '<em>Car Like Odometry</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CAR_LIKE_ODOMETRY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl <em>Differential Odometry</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getDifferentialOdometry() - * @generated - */ - int DIFFERENTIAL_ODOMETRY = 18; - - /** - * The feature id for the '<em><b>Header</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIFFERENTIAL_ODOMETRY__HEADER = 0; - - /** - * The feature id for the '<em><b>Right distance</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIFFERENTIAL_ODOMETRY__RIGHT_DISTANCE = 1; - - /** - * The feature id for the '<em><b>Left distance</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE = 2; - - /** - * The feature id for the '<em><b>Left velocity</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY = 3; - - /** - * The feature id for the '<em><b>Right velocity</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY = 4; - - /** - * The number of structural features of the '<em>Differential Odometry</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIFFERENTIAL_ODOMETRY_FEATURE_COUNT = 5; - - /** - * The number of operations of the '<em>Differential Odometry</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIFFERENTIAL_ODOMETRY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE <em>STATUS TYPE</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getSTATUS_TYPE() - * @generated - */ - int STATUS_TYPE = 19; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE <em>SERVICE TYPE</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getSERVICE_TYPE() - * @generated - */ - int SERVICE_TYPE = 20; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE <em>COVARIANCE TYPE</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getCOVARIANCE_TYPE() - * @generated - */ - int COVARIANCE_TYPE = 21; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest <em>Region Of Interest</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Region Of Interest</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest - * @generated - */ - EClass getRegionOfInterest(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getX_offset <em>Xoffset</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Xoffset</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getX_offset() - * @see #getRegionOfInterest() - * @generated - */ - EAttribute getRegionOfInterest_X_offset(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getY_offset <em>Yoffset</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Yoffset</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getY_offset() - * @see #getRegionOfInterest() - * @generated - */ - EAttribute getRegionOfInterest_Y_offset(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getHeight <em>Height</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Height</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getHeight() - * @see #getRegionOfInterest() - * @generated - */ - EAttribute getRegionOfInterest_Height(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getDo_rectify <em>Do rectify</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Do rectify</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getDo_rectify() - * @see #getRegionOfInterest() - * @generated - */ - EAttribute getRegionOfInterest_Do_rectify(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getWidth <em>Width</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Width</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getWidth() - * @see #getRegionOfInterest() - * @generated - */ - EAttribute getRegionOfInterest_Width(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range <em>Range</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Range</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range - * @generated - */ - EClass getRange(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getULTRASOUND <em>ULTRASOUND</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>ULTRASOUND</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getULTRASOUND() - * @see #getRange() - * @generated - */ - EAttribute getRange_ULTRASOUND(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getINFRARED <em>INFRARED</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>INFRARED</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getINFRARED() - * @see #getRange() - * @generated - */ - EAttribute getRange_INFRARED(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getHeader() - * @see #getRange() - * @generated - */ - EReference getRange_Header(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRadiation_type <em>Radiation type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Radiation type</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRadiation_type() - * @see #getRange() - * @generated - */ - EAttribute getRange_Radiation_type(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getField_of_view <em>Field of view</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Field of view</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getField_of_view() - * @see #getRange() - * @generated - */ - EAttribute getRange_Field_of_view(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMin_range <em>Min range</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Min range</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMin_range() - * @see #getRange() - * @generated - */ - EAttribute getRange_Min_range(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMax_range <em>Max range</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Max range</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMax_range() - * @see #getRange() - * @generated - */ - EAttribute getRange_Max_range(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRange <em>Range</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Range</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRange() - * @see #getRange() - * @generated - */ - EAttribute getRange_Range(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo <em>Camera Info</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Camera Info</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo - * @generated - */ - EClass getCameraInfo(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeader() - * @see #getCameraInfo() - * @generated - */ - EReference getCameraInfo_Header(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeight <em>Height</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Height</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeight() - * @see #getCameraInfo() - * @generated - */ - EAttribute getCameraInfo_Height(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getWidth <em>Width</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Width</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getWidth() - * @see #getCameraInfo() - * @generated - */ - EAttribute getCameraInfo_Width(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getDistorsion_model <em>Distorsion model</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Distorsion model</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getDistorsion_model() - * @see #getCameraInfo() - * @generated - */ - EAttribute getCameraInfo_Distorsion_model(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getD <em>D</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>D</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getD() - * @see #getCameraInfo() - * @generated - */ - EAttribute getCameraInfo_D(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getK <em>K</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>K</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getK() - * @see #getCameraInfo() - * @generated - */ - EAttribute getCameraInfo_K(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getR <em>R</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>R</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getR() - * @see #getCameraInfo() - * @generated - */ - EAttribute getCameraInfo_R(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getP <em>P</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>P</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getP() - * @see #getCameraInfo() - * @generated - */ - EAttribute getCameraInfo_P(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_x <em>Binning x</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Binning x</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_x() - * @see #getCameraInfo() - * @generated - */ - EAttribute getCameraInfo_Binning_x(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_y <em>Binning y</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Binning y</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_y() - * @see #getCameraInfo() - * @generated - */ - EAttribute getCameraInfo_Binning_y(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getRoi <em>Roi</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Roi</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getRoi() - * @see #getCameraInfo() - * @generated - */ - EReference getCameraInfo_Roi(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu <em>Imu</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Imu</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu - * @generated - */ - EClass getImu(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getHeader() - * @see #getImu() - * @generated - */ - EReference getImu_Header(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation <em>Orientation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Orientation</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation() - * @see #getImu() - * @generated - */ - EReference getImu_Orientation(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation_covariance <em>Orientation covariance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Orientation covariance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation_covariance() - * @see #getImu() - * @generated - */ - EAttribute getImu_Orientation_covariance(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity <em>Angular velocity</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Angular velocity</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity() - * @see #getImu() - * @generated - */ - EReference getImu_Angular_velocity(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity_covariance <em>Angular velocity covariance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Angular velocity covariance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity_covariance() - * @see #getImu() - * @generated - */ - EAttribute getImu_Angular_velocity_covariance(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration <em>Linear acceleration</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Linear acceleration</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration() - * @see #getImu() - * @generated - */ - EReference getImu_Linear_acceleration(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration_covariance <em>Linear acceleration covariance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Linear acceleration covariance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration_covariance() - * @see #getImu() - * @generated - */ - EAttribute getImu_Linear_acceleration_covariance(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan <em>Laser Scan</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Laser Scan</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan - * @generated - */ - EClass getLaserScan(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getHeader() - * @see #getLaserScan() - * @generated - */ - EReference getLaserScan_Header(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_min <em>Angle min</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Angle min</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_min() - * @see #getLaserScan() - * @generated - */ - EAttribute getLaserScan_Angle_min(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_max <em>Angle max</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Angle max</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_max() - * @see #getLaserScan() - * @generated - */ - EAttribute getLaserScan_Angle_max(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_increment <em>Angle increment</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Angle increment</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_increment() - * @see #getLaserScan() - * @generated - */ - EAttribute getLaserScan_Angle_increment(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getTime_increment <em>Time increment</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Time increment</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getTime_increment() - * @see #getLaserScan() - * @generated - */ - EAttribute getLaserScan_Time_increment(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getScan_time <em>Scan time</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Scan time</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getScan_time() - * @see #getLaserScan() - * @generated - */ - EAttribute getLaserScan_Scan_time(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_min <em>Range min</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Range min</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_min() - * @see #getLaserScan() - * @generated - */ - EAttribute getLaserScan_Range_min(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_max <em>Range max</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Range max</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_max() - * @see #getLaserScan() - * @generated - */ - EAttribute getLaserScan_Range_max(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange <em>Range</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Range</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange() - * @see #getLaserScan() - * @generated - */ - EAttribute getLaserScan_Range(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getIntensities <em>Intensities</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Intensities</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getIntensities() - * @see #getLaserScan() - * @generated - */ - EAttribute getLaserScan_Intensities(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image <em>Image</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Image</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image - * @generated - */ - EClass getImage(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeader() - * @see #getImage() - * @generated - */ - EReference getImage_Header(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeight <em>Height</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Height</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeight() - * @see #getImage() - * @generated - */ - EAttribute getImage_Height(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getWidth <em>Width</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Width</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getWidth() - * @see #getImage() - * @generated - */ - EAttribute getImage_Width(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getEncoding <em>Encoding</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Encoding</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getEncoding() - * @see #getImage() - * @generated - */ - EAttribute getImage_Encoding(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getIs_bigendian <em>Is bigendian</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Is bigendian</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getIs_bigendian() - * @see #getImage() - * @generated - */ - EAttribute getImage_Is_bigendian(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getStep <em>Step</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Step</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getStep() - * @see #getImage() - * @generated - */ - EAttribute getImage_Step(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getData() - * @see #getImage() - * @generated - */ - EAttribute getImage_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32 <em>Channel Float32</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Channel Float32</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32 - * @generated - */ - EClass getChannelFloat32(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getName() - * @see #getChannelFloat32() - * @generated - */ - EAttribute getChannelFloat32_Name(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getValues <em>Values</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Values</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getValues() - * @see #getChannelFloat32() - * @generated - */ - EAttribute getChannelFloat32_Values(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage <em>Compressed Image</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Compressed Image</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage - * @generated - */ - EClass getCompressedImage(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getHeader() - * @see #getCompressedImage() - * @generated - */ - EReference getCompressedImage_Header(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getFormat <em>Format</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Format</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getFormat() - * @see #getCompressedImage() - * @generated - */ - EAttribute getCompressedImage_Format(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getData() - * @see #getCompressedImage() - * @generated - */ - EAttribute getCompressedImage_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud <em>Point Cloud</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Point Cloud</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud - * @generated - */ - EClass getPointCloud(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getHeader() - * @see #getPointCloud() - * @generated - */ - EReference getPointCloud_Header(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getPoints <em>Points</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Points</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getPoints() - * @see #getPointCloud() - * @generated - */ - EReference getPointCloud_Points(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getChannels <em>Channels</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Channels</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getChannels() - * @see #getPointCloud() - * @generated - */ - EReference getPointCloud_Channels(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField <em>Point Field</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Point Field</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField - * @generated - */ - EClass getPointField(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getName() - * @see #getPointField() - * @generated - */ - EAttribute getPointField_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getOffset <em>Offset</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Offset</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getOffset() - * @see #getPointField() - * @generated - */ - EAttribute getPointField_Offset(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getDatatype <em>Datatype</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Datatype</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getDatatype() - * @see #getPointField() - * @generated - */ - EAttribute getPointField_Datatype(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getCount <em>Count</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Count</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getCount() - * @see #getPointField() - * @generated - */ - EAttribute getPointField_Count(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2 <em>Point Cloud2</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Point Cloud2</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2 - * @generated - */ - EClass getPointCloud2(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeader() - * @see #getPointCloud2() - * @generated - */ - EReference getPointCloud2_Header(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeight <em>Height</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Height</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeight() - * @see #getPointCloud2() - * @generated - */ - EAttribute getPointCloud2_Height(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getWidth <em>Width</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Width</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getWidth() - * @see #getPointCloud2() - * @generated - */ - EAttribute getPointCloud2_Width(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getFields <em>Fields</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Fields</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getFields() - * @see #getPointCloud2() - * @generated - */ - EReference getPointCloud2_Fields(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getIs_bigendian <em>Is bigendian</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Is bigendian</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getIs_bigendian() - * @see #getPointCloud2() - * @generated - */ - EAttribute getPointCloud2_Is_bigendian(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getPoint_step <em>Point step</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Point step</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getPoint_step() - * @see #getPointCloud2() - * @generated - */ - EAttribute getPointCloud2_Point_step(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getRow_step <em>Row step</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Row step</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getRow_step() - * @see #getPointCloud2() - * @generated - */ - EAttribute getPointCloud2_Row_step(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getData() - * @see #getPointCloud2() - * @generated - */ - EAttribute getPointCloud2_Data(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getIs_dense <em>Is dense</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Is dense</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getIs_dense() - * @see #getPointCloud2() - * @generated - */ - EAttribute getPointCloud2_Is_dense(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState <em>Joint State</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Joint State</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState - * @generated - */ - EClass getJointState(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Name</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getName() - * @see #getJointState() - * @generated - */ - EAttribute getJointState_Name(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getPosition <em>Position</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Position</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getPosition() - * @see #getJointState() - * @generated - */ - EAttribute getJointState_Position(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getVelocity <em>Velocity</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Velocity</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getVelocity() - * @see #getJointState() - * @generated - */ - EAttribute getJointState_Velocity(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getEffort <em>Effort</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Effort</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getEffort() - * @see #getJointState() - * @generated - */ - EAttribute getJointState_Effort(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus <em>Nav Sat Status</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Nav Sat Status</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus - * @generated - */ - EClass getNavSatStatus(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_NO_FIX <em>STATUS NO FIX</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>STATUS NO FIX</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_NO_FIX() - * @see #getNavSatStatus() - * @generated - */ - EAttribute getNavSatStatus_STATUS_NO_FIX(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_FIX <em>STATUS FIX</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>STATUS FIX</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_FIX() - * @see #getNavSatStatus() - * @generated - */ - EAttribute getNavSatStatus_STATUS_FIX(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_SBAS_FIX <em>STATUS SBAS FIX</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>STATUS SBAS FIX</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_SBAS_FIX() - * @see #getNavSatStatus() - * @generated - */ - EAttribute getNavSatStatus_STATUS_SBAS_FIX(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_GBAS_FIX <em>STATUS GBAS FIX</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>STATUS GBAS FIX</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_GBAS_FIX() - * @see #getNavSatStatus() - * @generated - */ - EAttribute getNavSatStatus_STATUS_GBAS_FIX(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getStatus <em>Status</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Status</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getStatus() - * @see #getNavSatStatus() - * @generated - */ - EAttribute getNavSatStatus_Status(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GPS <em>SERVICE GPS</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>SERVICE GPS</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GPS() - * @see #getNavSatStatus() - * @generated - */ - EAttribute getNavSatStatus_SERVICE_GPS(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GLONASS <em>SERVICE GLONASS</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>SERVICE GLONASS</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GLONASS() - * @see #getNavSatStatus() - * @generated - */ - EAttribute getNavSatStatus_SERVICE_GLONASS(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_COMPASS <em>SERVICE COMPASS</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>SERVICE COMPASS</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_COMPASS() - * @see #getNavSatStatus() - * @generated - */ - EAttribute getNavSatStatus_SERVICE_COMPASS(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GALILEO <em>SERVICE GALILEO</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>SERVICE GALILEO</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GALILEO() - * @see #getNavSatStatus() - * @generated - */ - EAttribute getNavSatStatus_SERVICE_GALILEO(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getService <em>Service</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Service</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getService() - * @see #getNavSatStatus() - * @generated - */ - EAttribute getNavSatStatus_Service(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix <em>Nav Sat Fix</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Nav Sat Fix</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix - * @generated - */ - EClass getNavSatFix(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getStatus <em>Status</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Status</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getStatus() - * @see #getNavSatFix() - * @generated - */ - EAttribute getNavSatFix_Status(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getService <em>Service</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Service</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getService() - * @see #getNavSatFix() - * @generated - */ - EAttribute getNavSatFix_Service(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getHeader() - * @see #getNavSatFix() - * @generated - */ - EReference getNavSatFix_Header(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLatitude <em>Latitude</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Latitude</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLatitude() - * @see #getNavSatFix() - * @generated - */ - EAttribute getNavSatFix_Latitude(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLongitude <em>Longitude</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Longitude</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLongitude() - * @see #getNavSatFix() - * @generated - */ - EAttribute getNavSatFix_Longitude(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getAltitude <em>Altitude</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Altitude</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getAltitude() - * @see #getNavSatFix() - * @generated - */ - EAttribute getNavSatFix_Altitude(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance <em>Position covariance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Position covariance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance() - * @see #getNavSatFix() - * @generated - */ - EAttribute getNavSatFix_Position_covariance(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance_type <em>Position covariance type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Position covariance type</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance_type() - * @see #getNavSatFix() - * @generated - */ - EAttribute getNavSatFix_Position_covariance_type(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy <em>Joy</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Joy</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy - * @generated - */ - EClass getJoy(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getHeader() - * @see #getJoy() - * @generated - */ - EReference getJoy_Header(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getAxes <em>Axes</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Axes</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getAxes() - * @see #getJoy() - * @generated - */ - EAttribute getJoy_Axes(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getButtons <em>Buttons</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Buttons</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getButtons() - * @see #getJoy() - * @generated - */ - EAttribute getJoy_Buttons(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback <em>Joy Feedback</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Joy Feedback</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback - * @generated - */ - EClass getJoyFeedback(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_LED <em>TYPE LED</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>TYPE LED</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_LED() - * @see #getJoyFeedback() - * @generated - */ - EAttribute getJoyFeedback_TYPE_LED(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_RUMBLE <em>TYPE RUMBLE</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>TYPE RUMBLE</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_RUMBLE() - * @see #getJoyFeedback() - * @generated - */ - EAttribute getJoyFeedback_TYPE_RUMBLE(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_BUZZER <em>TYPE BUZZER</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>TYPE BUZZER</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_BUZZER() - * @see #getJoyFeedback() - * @generated - */ - EAttribute getJoyFeedback_TYPE_BUZZER(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getType <em>Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Type</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getType() - * @see #getJoyFeedback() - * @generated - */ - EAttribute getJoyFeedback_Type(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getId() - * @see #getJoyFeedback() - * @generated - */ - EAttribute getJoyFeedback_Id(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getIntensity <em>Intensity</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Intensity</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getIntensity() - * @see #getJoyFeedback() - * @generated - */ - EAttribute getJoyFeedback_Intensity(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray <em>Joy Feedback Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Joy Feedback Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray - * @generated - */ - EClass getJoyFeedbackArray(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray#getArray <em>Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray#getArray() - * @see #getJoyFeedbackArray() - * @generated - */ - EReference getJoyFeedbackArray_Array(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry <em>Car Like Odometry</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Car Like Odometry</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry - * @generated - */ - EClass getCarLikeOdometry(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getHeader() - * @see #getCarLikeOdometry() - * @generated - */ - EReference getCarLikeOdometry_Header(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getSteering_angle <em>Steering angle</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Steering angle</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getSteering_angle() - * @see #getCarLikeOdometry() - * @generated - */ - EAttribute getCarLikeOdometry_Steering_angle(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_distance <em>Left rear wheel distance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Left rear wheel distance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_distance() - * @see #getCarLikeOdometry() - * @generated - */ - EAttribute getCarLikeOdometry_Left_rear_wheel_distance(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_distance <em>Right rear wheel distance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Right rear wheel distance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_distance() - * @see #getCarLikeOdometry() - * @generated - */ - EAttribute getCarLikeOdometry_Right_rear_wheel_distance(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_velocity <em>Right rear wheel velocity</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Right rear wheel velocity</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_velocity() - * @see #getCarLikeOdometry() - * @generated - */ - EAttribute getCarLikeOdometry_Right_rear_wheel_velocity(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_velocity <em>Left rear wheel velocity</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Left rear wheel velocity</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_velocity() - * @see #getCarLikeOdometry() - * @generated - */ - EAttribute getCarLikeOdometry_Left_rear_wheel_velocity(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry <em>Differential Odometry</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Differential Odometry</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry - * @generated - */ - EClass getDifferentialOdometry(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getHeader <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getHeader() - * @see #getDifferentialOdometry() - * @generated - */ - EReference getDifferentialOdometry_Header(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_distance <em>Right distance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Right distance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_distance() - * @see #getDifferentialOdometry() - * @generated - */ - EAttribute getDifferentialOdometry_Right_distance(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_distance <em>Left distance</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Left distance</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_distance() - * @see #getDifferentialOdometry() - * @generated - */ - EAttribute getDifferentialOdometry_Left_distance(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_velocity <em>Left velocity</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Left velocity</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_velocity() - * @see #getDifferentialOdometry() - * @generated - */ - EAttribute getDifferentialOdometry_Left_velocity(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_velocity <em>Right velocity</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Right velocity</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_velocity() - * @see #getDifferentialOdometry() - * @generated - */ - EAttribute getDifferentialOdometry_Right_velocity(); - - /** - * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE <em>STATUS TYPE</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>STATUS TYPE</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE - * @generated - */ - EEnum getSTATUS_TYPE(); - - /** - * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE <em>SERVICE TYPE</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>SERVICE TYPE</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE - * @generated - */ - EEnum getSERVICE_TYPE(); - - /** - * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE <em>COVARIANCE TYPE</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>COVARIANCE TYPE</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE - * @generated - */ - EEnum getCOVARIANCE_TYPE(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - Sensor_datatypesFactory getSensor_datatypesFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl <em>Region Of Interest</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getRegionOfInterest() - * @generated - */ - EClass REGION_OF_INTEREST = eINSTANCE.getRegionOfInterest(); - - /** - * The meta object literal for the '<em><b>Xoffset</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute REGION_OF_INTEREST__XOFFSET = eINSTANCE.getRegionOfInterest_X_offset(); - - /** - * The meta object literal for the '<em><b>Yoffset</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute REGION_OF_INTEREST__YOFFSET = eINSTANCE.getRegionOfInterest_Y_offset(); - - /** - * The meta object literal for the '<em><b>Height</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute REGION_OF_INTEREST__HEIGHT = eINSTANCE.getRegionOfInterest_Height(); - - /** - * The meta object literal for the '<em><b>Do rectify</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute REGION_OF_INTEREST__DO_RECTIFY = eINSTANCE.getRegionOfInterest_Do_rectify(); - - /** - * The meta object literal for the '<em><b>Width</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute REGION_OF_INTEREST__WIDTH = eINSTANCE.getRegionOfInterest_Width(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl <em>Range</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getRange() - * @generated - */ - EClass RANGE = eINSTANCE.getRange(); - - /** - * The meta object literal for the '<em><b>ULTRASOUND</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RANGE__ULTRASOUND = eINSTANCE.getRange_ULTRASOUND(); - - /** - * The meta object literal for the '<em><b>INFRARED</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RANGE__INFRARED = eINSTANCE.getRange_INFRARED(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RANGE__HEADER = eINSTANCE.getRange_Header(); - - /** - * The meta object literal for the '<em><b>Radiation type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RANGE__RADIATION_TYPE = eINSTANCE.getRange_Radiation_type(); - - /** - * The meta object literal for the '<em><b>Field of view</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RANGE__FIELD_OF_VIEW = eINSTANCE.getRange_Field_of_view(); - - /** - * The meta object literal for the '<em><b>Min range</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RANGE__MIN_RANGE = eINSTANCE.getRange_Min_range(); - - /** - * The meta object literal for the '<em><b>Max range</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RANGE__MAX_RANGE = eINSTANCE.getRange_Max_range(); - - /** - * The meta object literal for the '<em><b>Range</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RANGE__RANGE = eINSTANCE.getRange_Range(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl <em>Camera Info</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getCameraInfo() - * @generated - */ - EClass CAMERA_INFO = eINSTANCE.getCameraInfo(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CAMERA_INFO__HEADER = eINSTANCE.getCameraInfo_Header(); - - /** - * The meta object literal for the '<em><b>Height</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAMERA_INFO__HEIGHT = eINSTANCE.getCameraInfo_Height(); - - /** - * The meta object literal for the '<em><b>Width</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAMERA_INFO__WIDTH = eINSTANCE.getCameraInfo_Width(); - - /** - * The meta object literal for the '<em><b>Distorsion model</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAMERA_INFO__DISTORSION_MODEL = eINSTANCE.getCameraInfo_Distorsion_model(); - - /** - * The meta object literal for the '<em><b>D</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAMERA_INFO__D = eINSTANCE.getCameraInfo_D(); - - /** - * The meta object literal for the '<em><b>K</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAMERA_INFO__K = eINSTANCE.getCameraInfo_K(); - - /** - * The meta object literal for the '<em><b>R</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAMERA_INFO__R = eINSTANCE.getCameraInfo_R(); - - /** - * The meta object literal for the '<em><b>P</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAMERA_INFO__P = eINSTANCE.getCameraInfo_P(); - - /** - * The meta object literal for the '<em><b>Binning x</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAMERA_INFO__BINNING_X = eINSTANCE.getCameraInfo_Binning_x(); - - /** - * The meta object literal for the '<em><b>Binning y</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAMERA_INFO__BINNING_Y = eINSTANCE.getCameraInfo_Binning_y(); - - /** - * The meta object literal for the '<em><b>Roi</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CAMERA_INFO__ROI = eINSTANCE.getCameraInfo_Roi(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl <em>Imu</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getImu() - * @generated - */ - EClass IMU = eINSTANCE.getImu(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference IMU__HEADER = eINSTANCE.getImu_Header(); - - /** - * The meta object literal for the '<em><b>Orientation</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference IMU__ORIENTATION = eINSTANCE.getImu_Orientation(); - - /** - * The meta object literal for the '<em><b>Orientation covariance</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IMU__ORIENTATION_COVARIANCE = eINSTANCE.getImu_Orientation_covariance(); - - /** - * The meta object literal for the '<em><b>Angular velocity</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference IMU__ANGULAR_VELOCITY = eINSTANCE.getImu_Angular_velocity(); - - /** - * The meta object literal for the '<em><b>Angular velocity covariance</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IMU__ANGULAR_VELOCITY_COVARIANCE = eINSTANCE.getImu_Angular_velocity_covariance(); - - /** - * The meta object literal for the '<em><b>Linear acceleration</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference IMU__LINEAR_ACCELERATION = eINSTANCE.getImu_Linear_acceleration(); - - /** - * The meta object literal for the '<em><b>Linear acceleration covariance</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IMU__LINEAR_ACCELERATION_COVARIANCE = eINSTANCE.getImu_Linear_acceleration_covariance(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl <em>Laser Scan</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getLaserScan() - * @generated - */ - EClass LASER_SCAN = eINSTANCE.getLaserScan(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference LASER_SCAN__HEADER = eINSTANCE.getLaserScan_Header(); - - /** - * The meta object literal for the '<em><b>Angle min</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LASER_SCAN__ANGLE_MIN = eINSTANCE.getLaserScan_Angle_min(); - - /** - * The meta object literal for the '<em><b>Angle max</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LASER_SCAN__ANGLE_MAX = eINSTANCE.getLaserScan_Angle_max(); - - /** - * The meta object literal for the '<em><b>Angle increment</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LASER_SCAN__ANGLE_INCREMENT = eINSTANCE.getLaserScan_Angle_increment(); - - /** - * The meta object literal for the '<em><b>Time increment</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LASER_SCAN__TIME_INCREMENT = eINSTANCE.getLaserScan_Time_increment(); - - /** - * The meta object literal for the '<em><b>Scan time</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LASER_SCAN__SCAN_TIME = eINSTANCE.getLaserScan_Scan_time(); - - /** - * The meta object literal for the '<em><b>Range min</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LASER_SCAN__RANGE_MIN = eINSTANCE.getLaserScan_Range_min(); - - /** - * The meta object literal for the '<em><b>Range max</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LASER_SCAN__RANGE_MAX = eINSTANCE.getLaserScan_Range_max(); - - /** - * The meta object literal for the '<em><b>Range</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LASER_SCAN__RANGE = eINSTANCE.getLaserScan_Range(); - - /** - * The meta object literal for the '<em><b>Intensities</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LASER_SCAN__INTENSITIES = eINSTANCE.getLaserScan_Intensities(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl <em>Image</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getImage() - * @generated - */ - EClass IMAGE = eINSTANCE.getImage(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference IMAGE__HEADER = eINSTANCE.getImage_Header(); - - /** - * The meta object literal for the '<em><b>Height</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IMAGE__HEIGHT = eINSTANCE.getImage_Height(); - - /** - * The meta object literal for the '<em><b>Width</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IMAGE__WIDTH = eINSTANCE.getImage_Width(); - - /** - * The meta object literal for the '<em><b>Encoding</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IMAGE__ENCODING = eINSTANCE.getImage_Encoding(); - - /** - * The meta object literal for the '<em><b>Is bigendian</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IMAGE__IS_BIGENDIAN = eINSTANCE.getImage_Is_bigendian(); - - /** - * The meta object literal for the '<em><b>Step</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IMAGE__STEP = eINSTANCE.getImage_Step(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IMAGE__DATA = eINSTANCE.getImage_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ChannelFloat32Impl <em>Channel Float32</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ChannelFloat32Impl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getChannelFloat32() - * @generated - */ - EClass CHANNEL_FLOAT32 = eINSTANCE.getChannelFloat32(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CHANNEL_FLOAT32__NAME = eINSTANCE.getChannelFloat32_Name(); - - /** - * The meta object literal for the '<em><b>Values</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CHANNEL_FLOAT32__VALUES = eINSTANCE.getChannelFloat32_Values(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl <em>Compressed Image</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getCompressedImage() - * @generated - */ - EClass COMPRESSED_IMAGE = eINSTANCE.getCompressedImage(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference COMPRESSED_IMAGE__HEADER = eINSTANCE.getCompressedImage_Header(); - - /** - * The meta object literal for the '<em><b>Format</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute COMPRESSED_IMAGE__FORMAT = eINSTANCE.getCompressedImage_Format(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute COMPRESSED_IMAGE__DATA = eINSTANCE.getCompressedImage_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl <em>Point Cloud</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getPointCloud() - * @generated - */ - EClass POINT_CLOUD = eINSTANCE.getPointCloud(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POINT_CLOUD__HEADER = eINSTANCE.getPointCloud_Header(); - - /** - * The meta object literal for the '<em><b>Points</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POINT_CLOUD__POINTS = eINSTANCE.getPointCloud_Points(); - - /** - * The meta object literal for the '<em><b>Channels</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POINT_CLOUD__CHANNELS = eINSTANCE.getPointCloud_Channels(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl <em>Point Field</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getPointField() - * @generated - */ - EClass POINT_FIELD = eINSTANCE.getPointField(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT_FIELD__NAME = eINSTANCE.getPointField_Name(); - - /** - * The meta object literal for the '<em><b>Offset</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT_FIELD__OFFSET = eINSTANCE.getPointField_Offset(); - - /** - * The meta object literal for the '<em><b>Datatype</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT_FIELD__DATATYPE = eINSTANCE.getPointField_Datatype(); - - /** - * The meta object literal for the '<em><b>Count</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT_FIELD__COUNT = eINSTANCE.getPointField_Count(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl <em>Point Cloud2</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getPointCloud2() - * @generated - */ - EClass POINT_CLOUD2 = eINSTANCE.getPointCloud2(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POINT_CLOUD2__HEADER = eINSTANCE.getPointCloud2_Header(); - - /** - * The meta object literal for the '<em><b>Height</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT_CLOUD2__HEIGHT = eINSTANCE.getPointCloud2_Height(); - - /** - * The meta object literal for the '<em><b>Width</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT_CLOUD2__WIDTH = eINSTANCE.getPointCloud2_Width(); - - /** - * The meta object literal for the '<em><b>Fields</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference POINT_CLOUD2__FIELDS = eINSTANCE.getPointCloud2_Fields(); - - /** - * The meta object literal for the '<em><b>Is bigendian</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT_CLOUD2__IS_BIGENDIAN = eINSTANCE.getPointCloud2_Is_bigendian(); - - /** - * The meta object literal for the '<em><b>Point step</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT_CLOUD2__POINT_STEP = eINSTANCE.getPointCloud2_Point_step(); - - /** - * The meta object literal for the '<em><b>Row step</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT_CLOUD2__ROW_STEP = eINSTANCE.getPointCloud2_Row_step(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT_CLOUD2__DATA = eINSTANCE.getPointCloud2_Data(); - - /** - * The meta object literal for the '<em><b>Is dense</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute POINT_CLOUD2__IS_DENSE = eINSTANCE.getPointCloud2_Is_dense(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl <em>Joint State</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getJointState() - * @generated - */ - EClass JOINT_STATE = eINSTANCE.getJointState(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JOINT_STATE__NAME = eINSTANCE.getJointState_Name(); - - /** - * The meta object literal for the '<em><b>Position</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JOINT_STATE__POSITION = eINSTANCE.getJointState_Position(); - - /** - * The meta object literal for the '<em><b>Velocity</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JOINT_STATE__VELOCITY = eINSTANCE.getJointState_Velocity(); - - /** - * The meta object literal for the '<em><b>Effort</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JOINT_STATE__EFFORT = eINSTANCE.getJointState_Effort(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl <em>Nav Sat Status</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getNavSatStatus() - * @generated - */ - EClass NAV_SAT_STATUS = eINSTANCE.getNavSatStatus(); - - /** - * The meta object literal for the '<em><b>STATUS NO FIX</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_STATUS__STATUS_NO_FIX = eINSTANCE.getNavSatStatus_STATUS_NO_FIX(); - - /** - * The meta object literal for the '<em><b>STATUS FIX</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_STATUS__STATUS_FIX = eINSTANCE.getNavSatStatus_STATUS_FIX(); - - /** - * The meta object literal for the '<em><b>STATUS SBAS FIX</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_STATUS__STATUS_SBAS_FIX = eINSTANCE.getNavSatStatus_STATUS_SBAS_FIX(); - - /** - * The meta object literal for the '<em><b>STATUS GBAS FIX</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_STATUS__STATUS_GBAS_FIX = eINSTANCE.getNavSatStatus_STATUS_GBAS_FIX(); - - /** - * The meta object literal for the '<em><b>Status</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_STATUS__STATUS = eINSTANCE.getNavSatStatus_Status(); - - /** - * The meta object literal for the '<em><b>SERVICE GPS</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_STATUS__SERVICE_GPS = eINSTANCE.getNavSatStatus_SERVICE_GPS(); - - /** - * The meta object literal for the '<em><b>SERVICE GLONASS</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_STATUS__SERVICE_GLONASS = eINSTANCE.getNavSatStatus_SERVICE_GLONASS(); - - /** - * The meta object literal for the '<em><b>SERVICE COMPASS</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_STATUS__SERVICE_COMPASS = eINSTANCE.getNavSatStatus_SERVICE_COMPASS(); - - /** - * The meta object literal for the '<em><b>SERVICE GALILEO</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_STATUS__SERVICE_GALILEO = eINSTANCE.getNavSatStatus_SERVICE_GALILEO(); - - /** - * The meta object literal for the '<em><b>Service</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_STATUS__SERVICE = eINSTANCE.getNavSatStatus_Service(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl <em>Nav Sat Fix</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getNavSatFix() - * @generated - */ - EClass NAV_SAT_FIX = eINSTANCE.getNavSatFix(); - - /** - * The meta object literal for the '<em><b>Status</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_FIX__STATUS = eINSTANCE.getNavSatFix_Status(); - - /** - * The meta object literal for the '<em><b>Service</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_FIX__SERVICE = eINSTANCE.getNavSatFix_Service(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference NAV_SAT_FIX__HEADER = eINSTANCE.getNavSatFix_Header(); - - /** - * The meta object literal for the '<em><b>Latitude</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_FIX__LATITUDE = eINSTANCE.getNavSatFix_Latitude(); - - /** - * The meta object literal for the '<em><b>Longitude</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_FIX__LONGITUDE = eINSTANCE.getNavSatFix_Longitude(); - - /** - * The meta object literal for the '<em><b>Altitude</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_FIX__ALTITUDE = eINSTANCE.getNavSatFix_Altitude(); - - /** - * The meta object literal for the '<em><b>Position covariance</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_FIX__POSITION_COVARIANCE = eINSTANCE.getNavSatFix_Position_covariance(); - - /** - * The meta object literal for the '<em><b>Position covariance type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute NAV_SAT_FIX__POSITION_COVARIANCE_TYPE = eINSTANCE.getNavSatFix_Position_covariance_type(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl <em>Joy</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getJoy() - * @generated - */ - EClass JOY = eINSTANCE.getJoy(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JOY__HEADER = eINSTANCE.getJoy_Header(); - - /** - * The meta object literal for the '<em><b>Axes</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JOY__AXES = eINSTANCE.getJoy_Axes(); - - /** - * The meta object literal for the '<em><b>Buttons</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JOY__BUTTONS = eINSTANCE.getJoy_Buttons(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl <em>Joy Feedback</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getJoyFeedback() - * @generated - */ - EClass JOY_FEEDBACK = eINSTANCE.getJoyFeedback(); - - /** - * The meta object literal for the '<em><b>TYPE LED</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JOY_FEEDBACK__TYPE_LED = eINSTANCE.getJoyFeedback_TYPE_LED(); - - /** - * The meta object literal for the '<em><b>TYPE RUMBLE</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JOY_FEEDBACK__TYPE_RUMBLE = eINSTANCE.getJoyFeedback_TYPE_RUMBLE(); - - /** - * The meta object literal for the '<em><b>TYPE BUZZER</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JOY_FEEDBACK__TYPE_BUZZER = eINSTANCE.getJoyFeedback_TYPE_BUZZER(); - - /** - * The meta object literal for the '<em><b>Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JOY_FEEDBACK__TYPE = eINSTANCE.getJoyFeedback_Type(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JOY_FEEDBACK__ID = eINSTANCE.getJoyFeedback_Id(); - - /** - * The meta object literal for the '<em><b>Intensity</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JOY_FEEDBACK__INTENSITY = eINSTANCE.getJoyFeedback_Intensity(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackArrayImpl <em>Joy Feedback Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getJoyFeedbackArray() - * @generated - */ - EClass JOY_FEEDBACK_ARRAY = eINSTANCE.getJoyFeedbackArray(); - - /** - * The meta object literal for the '<em><b>Array</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JOY_FEEDBACK_ARRAY__ARRAY = eINSTANCE.getJoyFeedbackArray_Array(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl <em>Car Like Odometry</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getCarLikeOdometry() - * @generated - */ - EClass CAR_LIKE_ODOMETRY = eINSTANCE.getCarLikeOdometry(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CAR_LIKE_ODOMETRY__HEADER = eINSTANCE.getCarLikeOdometry_Header(); - - /** - * The meta object literal for the '<em><b>Steering angle</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAR_LIKE_ODOMETRY__STEERING_ANGLE = eINSTANCE.getCarLikeOdometry_Steering_angle(); - - /** - * The meta object literal for the '<em><b>Left rear wheel distance</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE = eINSTANCE.getCarLikeOdometry_Left_rear_wheel_distance(); - - /** - * The meta object literal for the '<em><b>Right rear wheel distance</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE = eINSTANCE.getCarLikeOdometry_Right_rear_wheel_distance(); - - /** - * The meta object literal for the '<em><b>Right rear wheel velocity</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY = eINSTANCE.getCarLikeOdometry_Right_rear_wheel_velocity(); - - /** - * The meta object literal for the '<em><b>Left rear wheel velocity</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_VELOCITY = eINSTANCE.getCarLikeOdometry_Left_rear_wheel_velocity(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl <em>Differential Odometry</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getDifferentialOdometry() - * @generated - */ - EClass DIFFERENTIAL_ODOMETRY = eINSTANCE.getDifferentialOdometry(); - - /** - * The meta object literal for the '<em><b>Header</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DIFFERENTIAL_ODOMETRY__HEADER = eINSTANCE.getDifferentialOdometry_Header(); - - /** - * The meta object literal for the '<em><b>Right distance</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DIFFERENTIAL_ODOMETRY__RIGHT_DISTANCE = eINSTANCE.getDifferentialOdometry_Right_distance(); - - /** - * The meta object literal for the '<em><b>Left distance</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE = eINSTANCE.getDifferentialOdometry_Left_distance(); - - /** - * The meta object literal for the '<em><b>Left velocity</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY = eINSTANCE.getDifferentialOdometry_Left_velocity(); - - /** - * The meta object literal for the '<em><b>Right velocity</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY = eINSTANCE.getDifferentialOdometry_Right_velocity(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE <em>STATUS TYPE</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getSTATUS_TYPE() - * @generated - */ - EEnum STATUS_TYPE = eINSTANCE.getSTATUS_TYPE(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE <em>SERVICE TYPE</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getSERVICE_TYPE() - * @generated - */ - EEnum SERVICE_TYPE = eINSTANCE.getSERVICE_TYPE(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE <em>COVARIANCE TYPE</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl#getCOVARIANCE_TYPE() - * @generated - */ - EEnum COVARIANCE_TYPE = eINSTANCE.getCOVARIANCE_TYPE(); - - } - -} // Sensor_datatypesPackage diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/CameraInfoImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/CameraInfoImpl.java deleted file mode 100644 index f0074bae3e2..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/CameraInfoImpl.java +++ /dev/null @@ -1,673 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Camera Info</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getHeight <em>Height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getWidth <em>Width</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getDistorsion_model <em>Distorsion model</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getD <em>D</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getK <em>K</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getR <em>R</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getP <em>P</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getBinning_x <em>Binning x</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getBinning_y <em>Binning y</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getRoi <em>Roi</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class CameraInfoImpl extends MinimalEObjectImpl.Container implements CameraInfo { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The default value of the '{@link #getHeight() <em>Height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeight() - * @generated - * @ordered - */ - protected static final Object HEIGHT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHeight() <em>Height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeight() - * @generated - * @ordered - */ - protected Object height = HEIGHT_EDEFAULT; - - /** - * The default value of the '{@link #getWidth() <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWidth() - * @generated - * @ordered - */ - protected static final Object WIDTH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWidth() - * @generated - * @ordered - */ - protected Object width = WIDTH_EDEFAULT; - - /** - * The default value of the '{@link #getDistorsion_model() <em>Distorsion model</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDistorsion_model() - * @generated - * @ordered - */ - protected static final Object DISTORSION_MODEL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDistorsion_model() <em>Distorsion model</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDistorsion_model() - * @generated - * @ordered - */ - protected Object distorsion_model = DISTORSION_MODEL_EDEFAULT; - - /** - * The cached value of the '{@link #getD() <em>D</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getD() - * @generated - * @ordered - */ - protected EList<Object> d; - - /** - * The cached value of the '{@link #getK() <em>K</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getK() - * @generated - * @ordered - */ - protected EList<Object> k; - - /** - * The cached value of the '{@link #getR() <em>R</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getR() - * @generated - * @ordered - */ - protected EList<Object> r; - - /** - * The cached value of the '{@link #getP() <em>P</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getP() - * @generated - * @ordered - */ - protected EList<Object> p; - - /** - * The default value of the '{@link #getBinning_x() <em>Binning x</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBinning_x() - * @generated - * @ordered - */ - protected static final Object BINNING_X_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBinning_x() <em>Binning x</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBinning_x() - * @generated - * @ordered - */ - protected Object binning_x = BINNING_X_EDEFAULT; - - /** - * The default value of the '{@link #getBinning_y() <em>Binning y</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBinning_y() - * @generated - * @ordered - */ - protected static final Object BINNING_Y_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBinning_y() <em>Binning y</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBinning_y() - * @generated - * @ordered - */ - protected Object binning_y = BINNING_Y_EDEFAULT; - - /** - * The cached value of the '{@link #getRoi() <em>Roi</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRoi() - * @generated - * @ordered - */ - protected RegionOfInterest roi; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CameraInfoImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.CAMERA_INFO; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.CAMERA_INFO__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.CAMERA_INFO__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getHeight() { - return height; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeight(Object newHeight) { - Object oldHeight = height; - height = newHeight; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__HEIGHT, oldHeight, height)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getWidth() { - return width; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWidth(Object newWidth) { - Object oldWidth = width; - width = newWidth; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__WIDTH, oldWidth, width)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getDistorsion_model() { - return distorsion_model; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDistorsion_model(Object newDistorsion_model) { - Object oldDistorsion_model = distorsion_model; - distorsion_model = newDistorsion_model; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__DISTORSION_MODEL, oldDistorsion_model, distorsion_model)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getD() { - if (d == null) { - d = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.CAMERA_INFO__D); - } - return d; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getK() { - if (k == null) { - k = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.CAMERA_INFO__K); - } - return k; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getR() { - if (r == null) { - r = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.CAMERA_INFO__R); - } - return r; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getP() { - if (p == null) { - p = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.CAMERA_INFO__P); - } - return p; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getBinning_x() { - return binning_x; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBinning_x(Object newBinning_x) { - Object oldBinning_x = binning_x; - binning_x = newBinning_x; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__BINNING_X, oldBinning_x, binning_x)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getBinning_y() { - return binning_y; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBinning_y(Object newBinning_y) { - Object oldBinning_y = binning_y; - binning_y = newBinning_y; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__BINNING_Y, oldBinning_y, binning_y)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RegionOfInterest getRoi() { - return roi; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRoi(RegionOfInterest newRoi, NotificationChain msgs) { - RegionOfInterest oldRoi = roi; - roi = newRoi; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__ROI, oldRoi, newRoi); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRoi(RegionOfInterest newRoi) { - if (newRoi != roi) { - NotificationChain msgs = null; - if (roi != null) - msgs = ((InternalEObject)roi).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.CAMERA_INFO__ROI, null, msgs); - if (newRoi != null) - msgs = ((InternalEObject)newRoi).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.CAMERA_INFO__ROI, null, msgs); - msgs = basicSetRoi(newRoi, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__ROI, newRoi, newRoi)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.CAMERA_INFO__HEADER: - return basicSetHeader(null, msgs); - case Sensor_datatypesPackage.CAMERA_INFO__ROI: - return basicSetRoi(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 Sensor_datatypesPackage.CAMERA_INFO__HEADER: - return getHeader(); - case Sensor_datatypesPackage.CAMERA_INFO__HEIGHT: - return getHeight(); - case Sensor_datatypesPackage.CAMERA_INFO__WIDTH: - return getWidth(); - case Sensor_datatypesPackage.CAMERA_INFO__DISTORSION_MODEL: - return getDistorsion_model(); - case Sensor_datatypesPackage.CAMERA_INFO__D: - return getD(); - case Sensor_datatypesPackage.CAMERA_INFO__K: - return getK(); - case Sensor_datatypesPackage.CAMERA_INFO__R: - return getR(); - case Sensor_datatypesPackage.CAMERA_INFO__P: - return getP(); - case Sensor_datatypesPackage.CAMERA_INFO__BINNING_X: - return getBinning_x(); - case Sensor_datatypesPackage.CAMERA_INFO__BINNING_Y: - return getBinning_y(); - case Sensor_datatypesPackage.CAMERA_INFO__ROI: - return getRoi(); - } - 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 Sensor_datatypesPackage.CAMERA_INFO__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__HEIGHT: - setHeight((Object)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__WIDTH: - setWidth((Object)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__DISTORSION_MODEL: - setDistorsion_model((Object)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__D: - getD().clear(); - getD().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__K: - getK().clear(); - getK().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__R: - getR().clear(); - getR().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__P: - getP().clear(); - getP().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__BINNING_X: - setBinning_x((Object)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__BINNING_Y: - setBinning_y((Object)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__ROI: - setRoi((RegionOfInterest)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.CAMERA_INFO__HEADER: - setHeader((Header)null); - return; - case Sensor_datatypesPackage.CAMERA_INFO__HEIGHT: - setHeight(HEIGHT_EDEFAULT); - return; - case Sensor_datatypesPackage.CAMERA_INFO__WIDTH: - setWidth(WIDTH_EDEFAULT); - return; - case Sensor_datatypesPackage.CAMERA_INFO__DISTORSION_MODEL: - setDistorsion_model(DISTORSION_MODEL_EDEFAULT); - return; - case Sensor_datatypesPackage.CAMERA_INFO__D: - getD().clear(); - return; - case Sensor_datatypesPackage.CAMERA_INFO__K: - getK().clear(); - return; - case Sensor_datatypesPackage.CAMERA_INFO__R: - getR().clear(); - return; - case Sensor_datatypesPackage.CAMERA_INFO__P: - getP().clear(); - return; - case Sensor_datatypesPackage.CAMERA_INFO__BINNING_X: - setBinning_x(BINNING_X_EDEFAULT); - return; - case Sensor_datatypesPackage.CAMERA_INFO__BINNING_Y: - setBinning_y(BINNING_Y_EDEFAULT); - return; - case Sensor_datatypesPackage.CAMERA_INFO__ROI: - setRoi((RegionOfInterest)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.CAMERA_INFO__HEADER: - return header != null; - case Sensor_datatypesPackage.CAMERA_INFO__HEIGHT: - return HEIGHT_EDEFAULT == null ? height != null : !HEIGHT_EDEFAULT.equals(height); - case Sensor_datatypesPackage.CAMERA_INFO__WIDTH: - return WIDTH_EDEFAULT == null ? width != null : !WIDTH_EDEFAULT.equals(width); - case Sensor_datatypesPackage.CAMERA_INFO__DISTORSION_MODEL: - return DISTORSION_MODEL_EDEFAULT == null ? distorsion_model != null : !DISTORSION_MODEL_EDEFAULT.equals(distorsion_model); - case Sensor_datatypesPackage.CAMERA_INFO__D: - return d != null && !d.isEmpty(); - case Sensor_datatypesPackage.CAMERA_INFO__K: - return k != null && !k.isEmpty(); - case Sensor_datatypesPackage.CAMERA_INFO__R: - return r != null && !r.isEmpty(); - case Sensor_datatypesPackage.CAMERA_INFO__P: - return p != null && !p.isEmpty(); - case Sensor_datatypesPackage.CAMERA_INFO__BINNING_X: - return BINNING_X_EDEFAULT == null ? binning_x != null : !BINNING_X_EDEFAULT.equals(binning_x); - case Sensor_datatypesPackage.CAMERA_INFO__BINNING_Y: - return BINNING_Y_EDEFAULT == null ? binning_y != null : !BINNING_Y_EDEFAULT.equals(binning_y); - case Sensor_datatypesPackage.CAMERA_INFO__ROI: - return roi != null; - } - 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(" (height: "); - result.append(height); - result.append(", width: "); - result.append(width); - result.append(", distorsion_model: "); - result.append(distorsion_model); - result.append(", D: "); - result.append(d); - result.append(", K: "); - result.append(k); - result.append(", R: "); - result.append(r); - result.append(", P: "); - result.append(p); - result.append(", binning_x: "); - result.append(binning_x); - result.append(", binning_y: "); - result.append(binning_y); - result.append(')'); - return result.toString(); - } - -} // CameraInfoImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/CarLikeOdometryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/CarLikeOdometryImpl.java deleted file mode 100644 index b64e70ce83b..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/CarLikeOdometryImpl.java +++ /dev/null @@ -1,457 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Car Like Odometry</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getSteering_angle <em>Steering angle</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getLeft_rear_wheel_distance <em>Left rear wheel distance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getRight_rear_wheel_distance <em>Right rear wheel distance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getRight_rear_wheel_velocity <em>Right rear wheel velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getLeft_rear_wheel_velocity <em>Left rear wheel velocity</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class CarLikeOdometryImpl extends MinimalEObjectImpl.Container implements CarLikeOdometry { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The default value of the '{@link #getSteering_angle() <em>Steering angle</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSteering_angle() - * @generated - * @ordered - */ - protected static final Object STEERING_ANGLE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSteering_angle() <em>Steering angle</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSteering_angle() - * @generated - * @ordered - */ - protected Object steering_angle = STEERING_ANGLE_EDEFAULT; - - /** - * The default value of the '{@link #getLeft_rear_wheel_distance() <em>Left rear wheel distance</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLeft_rear_wheel_distance() - * @generated - * @ordered - */ - protected static final Object LEFT_REAR_WHEEL_DISTANCE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLeft_rear_wheel_distance() <em>Left rear wheel distance</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLeft_rear_wheel_distance() - * @generated - * @ordered - */ - protected Object left_rear_wheel_distance = LEFT_REAR_WHEEL_DISTANCE_EDEFAULT; - - /** - * The default value of the '{@link #getRight_rear_wheel_distance() <em>Right rear wheel distance</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRight_rear_wheel_distance() - * @generated - * @ordered - */ - protected static final Object RIGHT_REAR_WHEEL_DISTANCE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRight_rear_wheel_distance() <em>Right rear wheel distance</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRight_rear_wheel_distance() - * @generated - * @ordered - */ - protected Object right_rear_wheel_distance = RIGHT_REAR_WHEEL_DISTANCE_EDEFAULT; - - /** - * The default value of the '{@link #getRight_rear_wheel_velocity() <em>Right rear wheel velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRight_rear_wheel_velocity() - * @generated - * @ordered - */ - protected static final Object RIGHT_REAR_WHEEL_VELOCITY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRight_rear_wheel_velocity() <em>Right rear wheel velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRight_rear_wheel_velocity() - * @generated - * @ordered - */ - protected Object right_rear_wheel_velocity = RIGHT_REAR_WHEEL_VELOCITY_EDEFAULT; - - /** - * The default value of the '{@link #getLeft_rear_wheel_velocity() <em>Left rear wheel velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLeft_rear_wheel_velocity() - * @generated - * @ordered - */ - protected static final Object LEFT_REAR_WHEEL_VELOCITY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLeft_rear_wheel_velocity() <em>Left rear wheel velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLeft_rear_wheel_velocity() - * @generated - * @ordered - */ - protected Object left_rear_wheel_velocity = LEFT_REAR_WHEEL_VELOCITY_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CarLikeOdometryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.CAR_LIKE_ODOMETRY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSteering_angle() { - return steering_angle; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSteering_angle(Object newSteering_angle) { - Object oldSteering_angle = steering_angle; - steering_angle = newSteering_angle; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__STEERING_ANGLE, oldSteering_angle, steering_angle)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getLeft_rear_wheel_distance() { - return left_rear_wheel_distance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLeft_rear_wheel_distance(Object newLeft_rear_wheel_distance) { - Object oldLeft_rear_wheel_distance = left_rear_wheel_distance; - left_rear_wheel_distance = newLeft_rear_wheel_distance; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE, oldLeft_rear_wheel_distance, left_rear_wheel_distance)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getRight_rear_wheel_distance() { - return right_rear_wheel_distance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRight_rear_wheel_distance(Object newRight_rear_wheel_distance) { - Object oldRight_rear_wheel_distance = right_rear_wheel_distance; - right_rear_wheel_distance = newRight_rear_wheel_distance; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE, oldRight_rear_wheel_distance, right_rear_wheel_distance)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getRight_rear_wheel_velocity() { - return right_rear_wheel_velocity; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRight_rear_wheel_velocity(Object newRight_rear_wheel_velocity) { - Object oldRight_rear_wheel_velocity = right_rear_wheel_velocity; - right_rear_wheel_velocity = newRight_rear_wheel_velocity; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY, oldRight_rear_wheel_velocity, right_rear_wheel_velocity)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getLeft_rear_wheel_velocity() { - return left_rear_wheel_velocity; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLeft_rear_wheel_velocity(Object newLeft_rear_wheel_velocity) { - Object oldLeft_rear_wheel_velocity = left_rear_wheel_velocity; - left_rear_wheel_velocity = newLeft_rear_wheel_velocity; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_VELOCITY, oldLeft_rear_wheel_velocity, left_rear_wheel_velocity)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER: - return basicSetHeader(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 Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER: - return getHeader(); - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__STEERING_ANGLE: - return getSteering_angle(); - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE: - return getLeft_rear_wheel_distance(); - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE: - return getRight_rear_wheel_distance(); - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY: - return getRight_rear_wheel_velocity(); - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_VELOCITY: - return getLeft_rear_wheel_velocity(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__STEERING_ANGLE: - setSteering_angle((Object)newValue); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE: - setLeft_rear_wheel_distance((Object)newValue); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE: - setRight_rear_wheel_distance((Object)newValue); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY: - setRight_rear_wheel_velocity((Object)newValue); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_VELOCITY: - setLeft_rear_wheel_velocity((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER: - setHeader((Header)null); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__STEERING_ANGLE: - setSteering_angle(STEERING_ANGLE_EDEFAULT); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE: - setLeft_rear_wheel_distance(LEFT_REAR_WHEEL_DISTANCE_EDEFAULT); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE: - setRight_rear_wheel_distance(RIGHT_REAR_WHEEL_DISTANCE_EDEFAULT); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY: - setRight_rear_wheel_velocity(RIGHT_REAR_WHEEL_VELOCITY_EDEFAULT); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_VELOCITY: - setLeft_rear_wheel_velocity(LEFT_REAR_WHEEL_VELOCITY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER: - return header != null; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__STEERING_ANGLE: - return STEERING_ANGLE_EDEFAULT == null ? steering_angle != null : !STEERING_ANGLE_EDEFAULT.equals(steering_angle); - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE: - return LEFT_REAR_WHEEL_DISTANCE_EDEFAULT == null ? left_rear_wheel_distance != null : !LEFT_REAR_WHEEL_DISTANCE_EDEFAULT.equals(left_rear_wheel_distance); - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE: - return RIGHT_REAR_WHEEL_DISTANCE_EDEFAULT == null ? right_rear_wheel_distance != null : !RIGHT_REAR_WHEEL_DISTANCE_EDEFAULT.equals(right_rear_wheel_distance); - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY: - return RIGHT_REAR_WHEEL_VELOCITY_EDEFAULT == null ? right_rear_wheel_velocity != null : !RIGHT_REAR_WHEEL_VELOCITY_EDEFAULT.equals(right_rear_wheel_velocity); - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_VELOCITY: - return LEFT_REAR_WHEEL_VELOCITY_EDEFAULT == null ? left_rear_wheel_velocity != null : !LEFT_REAR_WHEEL_VELOCITY_EDEFAULT.equals(left_rear_wheel_velocity); - } - 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(" (steering_angle: "); - result.append(steering_angle); - result.append(", left_rear_wheel_distance: "); - result.append(left_rear_wheel_distance); - result.append(", right_rear_wheel_distance: "); - result.append(right_rear_wheel_distance); - result.append(", right_rear_wheel_velocity: "); - result.append(right_rear_wheel_velocity); - result.append(", left_rear_wheel_velocity: "); - result.append(left_rear_wheel_velocity); - result.append(')'); - return result.toString(); - } - -} // CarLikeOdometryImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/ChannelFloat32Impl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/ChannelFloat32Impl.java deleted file mode 100644 index b6a145004c3..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/ChannelFloat32Impl.java +++ /dev/null @@ -1,201 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Channel Float32</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ChannelFloat32Impl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ChannelFloat32Impl#getValues <em>Values</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ChannelFloat32Impl extends MinimalEObjectImpl.Container implements ChannelFloat32 { - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final Object NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected Object name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getValues() <em>Values</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValues() - * @generated - * @ordered - */ - protected EList<Object> values; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ChannelFloat32Impl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.CHANNEL_FLOAT32; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(Object newName) { - Object oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CHANNEL_FLOAT32__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getValues() { - if (values == null) { - values = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.CHANNEL_FLOAT32__VALUES); - } - return values; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Sensor_datatypesPackage.CHANNEL_FLOAT32__NAME: - return getName(); - case Sensor_datatypesPackage.CHANNEL_FLOAT32__VALUES: - return getValues(); - } - 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 Sensor_datatypesPackage.CHANNEL_FLOAT32__NAME: - setName((Object)newValue); - return; - case Sensor_datatypesPackage.CHANNEL_FLOAT32__VALUES: - getValues().clear(); - getValues().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.CHANNEL_FLOAT32__NAME: - setName(NAME_EDEFAULT); - return; - case Sensor_datatypesPackage.CHANNEL_FLOAT32__VALUES: - getValues().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.CHANNEL_FLOAT32__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case Sensor_datatypesPackage.CHANNEL_FLOAT32__VALUES: - return values != null && !values.isEmpty(); - } - 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(" (name: "); - result.append(name); - result.append(", values: "); - result.append(values); - result.append(')'); - return result.toString(); - } - -} // ChannelFloat32Impl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/CompressedImageImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/CompressedImageImpl.java deleted file mode 100644 index 1823731e375..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/CompressedImageImpl.java +++ /dev/null @@ -1,282 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Compressed Image</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl#getFormat <em>Format</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class CompressedImageImpl extends MinimalEObjectImpl.Container implements CompressedImage { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The default value of the '{@link #getFormat() <em>Format</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFormat() - * @generated - * @ordered - */ - protected static final Object FORMAT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getFormat() <em>Format</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFormat() - * @generated - * @ordered - */ - protected Object format = FORMAT_EDEFAULT; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CompressedImageImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.COMPRESSED_IMAGE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getFormat() { - return format; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFormat(Object newFormat) { - Object oldFormat = format; - format = newFormat; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.COMPRESSED_IMAGE__FORMAT, oldFormat, format)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.COMPRESSED_IMAGE__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER: - return basicSetHeader(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 Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER: - return getHeader(); - case Sensor_datatypesPackage.COMPRESSED_IMAGE__FORMAT: - return getFormat(); - case Sensor_datatypesPackage.COMPRESSED_IMAGE__DATA: - return getData(); - } - 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 Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.COMPRESSED_IMAGE__FORMAT: - setFormat((Object)newValue); - return; - case Sensor_datatypesPackage.COMPRESSED_IMAGE__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER: - setHeader((Header)null); - return; - case Sensor_datatypesPackage.COMPRESSED_IMAGE__FORMAT: - setFormat(FORMAT_EDEFAULT); - return; - case Sensor_datatypesPackage.COMPRESSED_IMAGE__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER: - return header != null; - case Sensor_datatypesPackage.COMPRESSED_IMAGE__FORMAT: - return FORMAT_EDEFAULT == null ? format != null : !FORMAT_EDEFAULT.equals(format); - case Sensor_datatypesPackage.COMPRESSED_IMAGE__DATA: - return data != null && !data.isEmpty(); - } - 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(" (format: "); - result.append(format); - result.append(", data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // CompressedImageImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/DifferentialOdometryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/DifferentialOdometryImpl.java deleted file mode 100644 index 898e570aee2..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/DifferentialOdometryImpl.java +++ /dev/null @@ -1,403 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Differential Odometry</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getRight_distance <em>Right distance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getLeft_distance <em>Left distance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getLeft_velocity <em>Left velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getRight_velocity <em>Right velocity</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DifferentialOdometryImpl extends MinimalEObjectImpl.Container implements DifferentialOdometry { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The default value of the '{@link #getRight_distance() <em>Right distance</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRight_distance() - * @generated - * @ordered - */ - protected static final Object RIGHT_DISTANCE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRight_distance() <em>Right distance</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRight_distance() - * @generated - * @ordered - */ - protected Object right_distance = RIGHT_DISTANCE_EDEFAULT; - - /** - * The default value of the '{@link #getLeft_distance() <em>Left distance</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLeft_distance() - * @generated - * @ordered - */ - protected static final Object LEFT_DISTANCE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLeft_distance() <em>Left distance</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLeft_distance() - * @generated - * @ordered - */ - protected Object left_distance = LEFT_DISTANCE_EDEFAULT; - - /** - * The default value of the '{@link #getLeft_velocity() <em>Left velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLeft_velocity() - * @generated - * @ordered - */ - protected static final Object LEFT_VELOCITY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLeft_velocity() <em>Left velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLeft_velocity() - * @generated - * @ordered - */ - protected Object left_velocity = LEFT_VELOCITY_EDEFAULT; - - /** - * The default value of the '{@link #getRight_velocity() <em>Right velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRight_velocity() - * @generated - * @ordered - */ - protected static final Object RIGHT_VELOCITY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRight_velocity() <em>Right velocity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRight_velocity() - * @generated - * @ordered - */ - protected Object right_velocity = RIGHT_VELOCITY_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DifferentialOdometryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.DIFFERENTIAL_ODOMETRY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getRight_distance() { - return right_distance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRight_distance(Object newRight_distance) { - Object oldRight_distance = right_distance; - right_distance = newRight_distance; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_DISTANCE, oldRight_distance, right_distance)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getLeft_distance() { - return left_distance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLeft_distance(Object newLeft_distance) { - Object oldLeft_distance = left_distance; - left_distance = newLeft_distance; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE, oldLeft_distance, left_distance)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getLeft_velocity() { - return left_velocity; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLeft_velocity(Object newLeft_velocity) { - Object oldLeft_velocity = left_velocity; - left_velocity = newLeft_velocity; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY, oldLeft_velocity, left_velocity)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getRight_velocity() { - return right_velocity; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRight_velocity(Object newRight_velocity) { - Object oldRight_velocity = right_velocity; - right_velocity = newRight_velocity; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY, oldRight_velocity, right_velocity)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER: - return basicSetHeader(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 Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER: - return getHeader(); - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_DISTANCE: - return getRight_distance(); - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE: - return getLeft_distance(); - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY: - return getLeft_velocity(); - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY: - return getRight_velocity(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_DISTANCE: - setRight_distance((Object)newValue); - return; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE: - setLeft_distance((Object)newValue); - return; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY: - setLeft_velocity((Object)newValue); - return; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY: - setRight_velocity((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER: - setHeader((Header)null); - return; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_DISTANCE: - setRight_distance(RIGHT_DISTANCE_EDEFAULT); - return; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE: - setLeft_distance(LEFT_DISTANCE_EDEFAULT); - return; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY: - setLeft_velocity(LEFT_VELOCITY_EDEFAULT); - return; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY: - setRight_velocity(RIGHT_VELOCITY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER: - return header != null; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_DISTANCE: - return RIGHT_DISTANCE_EDEFAULT == null ? right_distance != null : !RIGHT_DISTANCE_EDEFAULT.equals(right_distance); - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE: - return LEFT_DISTANCE_EDEFAULT == null ? left_distance != null : !LEFT_DISTANCE_EDEFAULT.equals(left_distance); - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY: - return LEFT_VELOCITY_EDEFAULT == null ? left_velocity != null : !LEFT_VELOCITY_EDEFAULT.equals(left_velocity); - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY: - return RIGHT_VELOCITY_EDEFAULT == null ? right_velocity != null : !RIGHT_VELOCITY_EDEFAULT.equals(right_velocity); - } - 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(" (right_distance: "); - result.append(right_distance); - result.append(", left_distance: "); - result.append(left_distance); - result.append(", left_velocity: "); - result.append(left_velocity); - result.append(", right_velocity: "); - result.append(right_velocity); - result.append(')'); - return result.toString(); - } - -} // DifferentialOdometryImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/ImageImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/ImageImpl.java deleted file mode 100644 index 954c53f89d0..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/ImageImpl.java +++ /dev/null @@ -1,498 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Image</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getHeight <em>Height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getWidth <em>Width</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getEncoding <em>Encoding</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getIs_bigendian <em>Is bigendian</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getStep <em>Step</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ImageImpl extends MinimalEObjectImpl.Container implements Image { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The default value of the '{@link #getHeight() <em>Height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeight() - * @generated - * @ordered - */ - protected static final Object HEIGHT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHeight() <em>Height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeight() - * @generated - * @ordered - */ - protected Object height = HEIGHT_EDEFAULT; - - /** - * The default value of the '{@link #getWidth() <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWidth() - * @generated - * @ordered - */ - protected static final Object WIDTH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWidth() - * @generated - * @ordered - */ - protected Object width = WIDTH_EDEFAULT; - - /** - * The default value of the '{@link #getEncoding() <em>Encoding</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEncoding() - * @generated - * @ordered - */ - protected static final Object ENCODING_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEncoding() <em>Encoding</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEncoding() - * @generated - * @ordered - */ - protected Object encoding = ENCODING_EDEFAULT; - - /** - * The default value of the '{@link #getIs_bigendian() <em>Is bigendian</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIs_bigendian() - * @generated - * @ordered - */ - protected static final Object IS_BIGENDIAN_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIs_bigendian() <em>Is bigendian</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIs_bigendian() - * @generated - * @ordered - */ - protected Object is_bigendian = IS_BIGENDIAN_EDEFAULT; - - /** - * The default value of the '{@link #getStep() <em>Step</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStep() - * @generated - * @ordered - */ - protected static final Object STEP_EDEFAULT = null; - - /** - * The cached value of the '{@link #getStep() <em>Step</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStep() - * @generated - * @ordered - */ - protected Object step = STEP_EDEFAULT; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ImageImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.IMAGE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMAGE__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMAGE__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getHeight() { - return height; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeight(Object newHeight) { - Object oldHeight = height; - height = newHeight; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__HEIGHT, oldHeight, height)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getWidth() { - return width; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWidth(Object newWidth) { - Object oldWidth = width; - width = newWidth; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__WIDTH, oldWidth, width)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getEncoding() { - return encoding; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEncoding(Object newEncoding) { - Object oldEncoding = encoding; - encoding = newEncoding; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__ENCODING, oldEncoding, encoding)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getIs_bigendian() { - return is_bigendian; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIs_bigendian(Object newIs_bigendian) { - Object oldIs_bigendian = is_bigendian; - is_bigendian = newIs_bigendian; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__IS_BIGENDIAN, oldIs_bigendian, is_bigendian)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getStep() { - return step; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setStep(Object newStep) { - Object oldStep = step; - step = newStep; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__STEP, oldStep, step)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.IMAGE__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.IMAGE__HEADER: - return basicSetHeader(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 Sensor_datatypesPackage.IMAGE__HEADER: - return getHeader(); - case Sensor_datatypesPackage.IMAGE__HEIGHT: - return getHeight(); - case Sensor_datatypesPackage.IMAGE__WIDTH: - return getWidth(); - case Sensor_datatypesPackage.IMAGE__ENCODING: - return getEncoding(); - case Sensor_datatypesPackage.IMAGE__IS_BIGENDIAN: - return getIs_bigendian(); - case Sensor_datatypesPackage.IMAGE__STEP: - return getStep(); - case Sensor_datatypesPackage.IMAGE__DATA: - return getData(); - } - 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 Sensor_datatypesPackage.IMAGE__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.IMAGE__HEIGHT: - setHeight((Object)newValue); - return; - case Sensor_datatypesPackage.IMAGE__WIDTH: - setWidth((Object)newValue); - return; - case Sensor_datatypesPackage.IMAGE__ENCODING: - setEncoding((Object)newValue); - return; - case Sensor_datatypesPackage.IMAGE__IS_BIGENDIAN: - setIs_bigendian((Object)newValue); - return; - case Sensor_datatypesPackage.IMAGE__STEP: - setStep((Object)newValue); - return; - case Sensor_datatypesPackage.IMAGE__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.IMAGE__HEADER: - setHeader((Header)null); - return; - case Sensor_datatypesPackage.IMAGE__HEIGHT: - setHeight(HEIGHT_EDEFAULT); - return; - case Sensor_datatypesPackage.IMAGE__WIDTH: - setWidth(WIDTH_EDEFAULT); - return; - case Sensor_datatypesPackage.IMAGE__ENCODING: - setEncoding(ENCODING_EDEFAULT); - return; - case Sensor_datatypesPackage.IMAGE__IS_BIGENDIAN: - setIs_bigendian(IS_BIGENDIAN_EDEFAULT); - return; - case Sensor_datatypesPackage.IMAGE__STEP: - setStep(STEP_EDEFAULT); - return; - case Sensor_datatypesPackage.IMAGE__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.IMAGE__HEADER: - return header != null; - case Sensor_datatypesPackage.IMAGE__HEIGHT: - return HEIGHT_EDEFAULT == null ? height != null : !HEIGHT_EDEFAULT.equals(height); - case Sensor_datatypesPackage.IMAGE__WIDTH: - return WIDTH_EDEFAULT == null ? width != null : !WIDTH_EDEFAULT.equals(width); - case Sensor_datatypesPackage.IMAGE__ENCODING: - return ENCODING_EDEFAULT == null ? encoding != null : !ENCODING_EDEFAULT.equals(encoding); - case Sensor_datatypesPackage.IMAGE__IS_BIGENDIAN: - return IS_BIGENDIAN_EDEFAULT == null ? is_bigendian != null : !IS_BIGENDIAN_EDEFAULT.equals(is_bigendian); - case Sensor_datatypesPackage.IMAGE__STEP: - return STEP_EDEFAULT == null ? step != null : !STEP_EDEFAULT.equals(step); - case Sensor_datatypesPackage.IMAGE__DATA: - return data != null && !data.isEmpty(); - } - 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(" (height: "); - result.append(height); - result.append(", width: "); - result.append(width); - result.append(", encoding: "); - result.append(encoding); - result.append(", is_bigendian: "); - result.append(is_bigendian); - result.append(", step: "); - result.append(step); - result.append(", data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // ImageImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/ImuImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/ImuImpl.java deleted file mode 100644 index 2bc5751e33d..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/ImuImpl.java +++ /dev/null @@ -1,500 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Imu</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getOrientation <em>Orientation</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getOrientation_covariance <em>Orientation covariance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getAngular_velocity <em>Angular velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getAngular_velocity_covariance <em>Angular velocity covariance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getLinear_acceleration <em>Linear acceleration</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getLinear_acceleration_covariance <em>Linear acceleration covariance</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ImuImpl extends MinimalEObjectImpl.Container implements Imu { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getOrientation() <em>Orientation</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOrientation() - * @generated - * @ordered - */ - protected Quaternion orientation; - - /** - * The cached value of the '{@link #getOrientation_covariance() <em>Orientation covariance</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOrientation_covariance() - * @generated - * @ordered - */ - protected EList<Object> orientation_covariance; - - /** - * The cached value of the '{@link #getAngular_velocity() <em>Angular velocity</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAngular_velocity() - * @generated - * @ordered - */ - protected Vector3 angular_velocity; - - /** - * The cached value of the '{@link #getAngular_velocity_covariance() <em>Angular velocity covariance</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAngular_velocity_covariance() - * @generated - * @ordered - */ - protected EList<Object> angular_velocity_covariance; - - /** - * The cached value of the '{@link #getLinear_acceleration() <em>Linear acceleration</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLinear_acceleration() - * @generated - * @ordered - */ - protected Vector3 linear_acceleration; - - /** - * The cached value of the '{@link #getLinear_acceleration_covariance() <em>Linear acceleration covariance</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLinear_acceleration_covariance() - * @generated - * @ordered - */ - protected EList<Object> linear_acceleration_covariance; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ImuImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.IMU; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMU__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMU__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Quaternion getOrientation() { - return orientation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOrientation(Quaternion newOrientation, NotificationChain msgs) { - Quaternion oldOrientation = orientation; - orientation = newOrientation; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__ORIENTATION, oldOrientation, newOrientation); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOrientation(Quaternion newOrientation) { - if (newOrientation != orientation) { - NotificationChain msgs = null; - if (orientation != null) - msgs = ((InternalEObject)orientation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMU__ORIENTATION, null, msgs); - if (newOrientation != null) - msgs = ((InternalEObject)newOrientation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMU__ORIENTATION, null, msgs); - msgs = basicSetOrientation(newOrientation, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__ORIENTATION, newOrientation, newOrientation)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getOrientation_covariance() { - if (orientation_covariance == null) { - orientation_covariance = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.IMU__ORIENTATION_COVARIANCE); - } - return orientation_covariance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Vector3 getAngular_velocity() { - return angular_velocity; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetAngular_velocity(Vector3 newAngular_velocity, NotificationChain msgs) { - Vector3 oldAngular_velocity = angular_velocity; - angular_velocity = newAngular_velocity; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY, oldAngular_velocity, newAngular_velocity); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAngular_velocity(Vector3 newAngular_velocity) { - if (newAngular_velocity != angular_velocity) { - NotificationChain msgs = null; - if (angular_velocity != null) - msgs = ((InternalEObject)angular_velocity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY, null, msgs); - if (newAngular_velocity != null) - msgs = ((InternalEObject)newAngular_velocity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY, null, msgs); - msgs = basicSetAngular_velocity(newAngular_velocity, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY, newAngular_velocity, newAngular_velocity)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getAngular_velocity_covariance() { - if (angular_velocity_covariance == null) { - angular_velocity_covariance = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY_COVARIANCE); - } - return angular_velocity_covariance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Vector3 getLinear_acceleration() { - return linear_acceleration; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLinear_acceleration(Vector3 newLinear_acceleration, NotificationChain msgs) { - Vector3 oldLinear_acceleration = linear_acceleration; - linear_acceleration = newLinear_acceleration; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION, oldLinear_acceleration, newLinear_acceleration); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLinear_acceleration(Vector3 newLinear_acceleration) { - if (newLinear_acceleration != linear_acceleration) { - NotificationChain msgs = null; - if (linear_acceleration != null) - msgs = ((InternalEObject)linear_acceleration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION, null, msgs); - if (newLinear_acceleration != null) - msgs = ((InternalEObject)newLinear_acceleration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION, null, msgs); - msgs = basicSetLinear_acceleration(newLinear_acceleration, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION, newLinear_acceleration, newLinear_acceleration)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getLinear_acceleration_covariance() { - if (linear_acceleration_covariance == null) { - linear_acceleration_covariance = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION_COVARIANCE); - } - return linear_acceleration_covariance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.IMU__HEADER: - return basicSetHeader(null, msgs); - case Sensor_datatypesPackage.IMU__ORIENTATION: - return basicSetOrientation(null, msgs); - case Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY: - return basicSetAngular_velocity(null, msgs); - case Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION: - return basicSetLinear_acceleration(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 Sensor_datatypesPackage.IMU__HEADER: - return getHeader(); - case Sensor_datatypesPackage.IMU__ORIENTATION: - return getOrientation(); - case Sensor_datatypesPackage.IMU__ORIENTATION_COVARIANCE: - return getOrientation_covariance(); - case Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY: - return getAngular_velocity(); - case Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY_COVARIANCE: - return getAngular_velocity_covariance(); - case Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION: - return getLinear_acceleration(); - case Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION_COVARIANCE: - return getLinear_acceleration_covariance(); - } - 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 Sensor_datatypesPackage.IMU__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.IMU__ORIENTATION: - setOrientation((Quaternion)newValue); - return; - case Sensor_datatypesPackage.IMU__ORIENTATION_COVARIANCE: - getOrientation_covariance().clear(); - getOrientation_covariance().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY: - setAngular_velocity((Vector3)newValue); - return; - case Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY_COVARIANCE: - getAngular_velocity_covariance().clear(); - getAngular_velocity_covariance().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION: - setLinear_acceleration((Vector3)newValue); - return; - case Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION_COVARIANCE: - getLinear_acceleration_covariance().clear(); - getLinear_acceleration_covariance().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.IMU__HEADER: - setHeader((Header)null); - return; - case Sensor_datatypesPackage.IMU__ORIENTATION: - setOrientation((Quaternion)null); - return; - case Sensor_datatypesPackage.IMU__ORIENTATION_COVARIANCE: - getOrientation_covariance().clear(); - return; - case Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY: - setAngular_velocity((Vector3)null); - return; - case Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY_COVARIANCE: - getAngular_velocity_covariance().clear(); - return; - case Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION: - setLinear_acceleration((Vector3)null); - return; - case Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION_COVARIANCE: - getLinear_acceleration_covariance().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.IMU__HEADER: - return header != null; - case Sensor_datatypesPackage.IMU__ORIENTATION: - return orientation != null; - case Sensor_datatypesPackage.IMU__ORIENTATION_COVARIANCE: - return orientation_covariance != null && !orientation_covariance.isEmpty(); - case Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY: - return angular_velocity != null; - case Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY_COVARIANCE: - return angular_velocity_covariance != null && !angular_velocity_covariance.isEmpty(); - case Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION: - return linear_acceleration != null; - case Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION_COVARIANCE: - return linear_acceleration_covariance != null && !linear_acceleration_covariance.isEmpty(); - } - 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(" (orientation_covariance: "); - result.append(orientation_covariance); - result.append(", angular_velocity_covariance: "); - result.append(angular_velocity_covariance); - result.append(", linear_acceleration_covariance: "); - result.append(linear_acceleration_covariance); - result.append(')'); - return result.toString(); - } - -} // ImuImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/JointStateImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/JointStateImpl.java deleted file mode 100644 index 5f958ac7ab2..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/JointStateImpl.java +++ /dev/null @@ -1,253 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Joint State</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl#getPosition <em>Position</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl#getVelocity <em>Velocity</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl#getEffort <em>Effort</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JointStateImpl extends MinimalEObjectImpl.Container implements JointState { - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected EList<Object> name; - - /** - * The cached value of the '{@link #getPosition() <em>Position</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPosition() - * @generated - * @ordered - */ - protected EList<Object> position; - - /** - * The cached value of the '{@link #getVelocity() <em>Velocity</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVelocity() - * @generated - * @ordered - */ - protected EList<Object> velocity; - - /** - * The cached value of the '{@link #getEffort() <em>Effort</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEffort() - * @generated - * @ordered - */ - protected EList<Object> effort; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JointStateImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.JOINT_STATE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getName() { - if (name == null) { - name = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.JOINT_STATE__NAME); - } - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getPosition() { - if (position == null) { - position = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.JOINT_STATE__POSITION); - } - return position; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getVelocity() { - if (velocity == null) { - velocity = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.JOINT_STATE__VELOCITY); - } - return velocity; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getEffort() { - if (effort == null) { - effort = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.JOINT_STATE__EFFORT); - } - return effort; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Sensor_datatypesPackage.JOINT_STATE__NAME: - return getName(); - case Sensor_datatypesPackage.JOINT_STATE__POSITION: - return getPosition(); - case Sensor_datatypesPackage.JOINT_STATE__VELOCITY: - return getVelocity(); - case Sensor_datatypesPackage.JOINT_STATE__EFFORT: - return getEffort(); - } - 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 Sensor_datatypesPackage.JOINT_STATE__NAME: - getName().clear(); - getName().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.JOINT_STATE__POSITION: - getPosition().clear(); - getPosition().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.JOINT_STATE__VELOCITY: - getVelocity().clear(); - getVelocity().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.JOINT_STATE__EFFORT: - getEffort().clear(); - getEffort().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.JOINT_STATE__NAME: - getName().clear(); - return; - case Sensor_datatypesPackage.JOINT_STATE__POSITION: - getPosition().clear(); - return; - case Sensor_datatypesPackage.JOINT_STATE__VELOCITY: - getVelocity().clear(); - return; - case Sensor_datatypesPackage.JOINT_STATE__EFFORT: - getEffort().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.JOINT_STATE__NAME: - return name != null && !name.isEmpty(); - case Sensor_datatypesPackage.JOINT_STATE__POSITION: - return position != null && !position.isEmpty(); - case Sensor_datatypesPackage.JOINT_STATE__VELOCITY: - return velocity != null && !velocity.isEmpty(); - case Sensor_datatypesPackage.JOINT_STATE__EFFORT: - return effort != null && !effort.isEmpty(); - } - 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(" (name: "); - result.append(name); - result.append(", position: "); - result.append(position); - result.append(", velocity: "); - result.append(velocity); - result.append(", effort: "); - result.append(effort); - result.append(')'); - return result.toString(); - } - -} // JointStateImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/JoyFeedbackArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/JoyFeedbackArrayImpl.java deleted file mode 100644 index 4b551664831..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/JoyFeedbackArrayImpl.java +++ /dev/null @@ -1,147 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl; - -import java.util.Collection; - -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.MinimalEObjectImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Joy Feedback Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackArrayImpl#getArray <em>Array</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JoyFeedbackArrayImpl extends MinimalEObjectImpl.Container implements JoyFeedbackArray { - /** - * The cached value of the '{@link #getArray() <em>Array</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getArray() - * @generated - * @ordered - */ - protected EList<JoyFeedback> array; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JoyFeedbackArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.JOY_FEEDBACK_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<JoyFeedback> getArray() { - if (array == null) { - array = new EObjectContainmentEList<JoyFeedback>(JoyFeedback.class, this, Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY); - } - return array; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: - return ((InternalEList<?>)getArray()).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 Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: - return getArray(); - } - 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 Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: - getArray().clear(); - getArray().addAll((Collection<? extends JoyFeedback>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: - getArray().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: - return array != null && !array.isEmpty(); - } - return super.eIsSet(featureID); - } - -} // JoyFeedbackArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/JoyFeedbackImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/JoyFeedbackImpl.java deleted file mode 100644 index 469ce330748..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/JoyFeedbackImpl.java +++ /dev/null @@ -1,432 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_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.sensor_datatypes.JoyFeedback; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Joy Feedback</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getTYPE_LED <em>TYPE LED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getTYPE_RUMBLE <em>TYPE RUMBLE</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getTYPE_BUZZER <em>TYPE BUZZER</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getType <em>Type</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getIntensity <em>Intensity</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JoyFeedbackImpl extends MinimalEObjectImpl.Container implements JoyFeedback { - /** - * The default value of the '{@link #getTYPE_LED() <em>TYPE LED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTYPE_LED() - * @generated - * @ordered - */ - protected static final Object TYPE_LED_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getUInt8(), "0"); - - /** - * The cached value of the '{@link #getTYPE_LED() <em>TYPE LED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTYPE_LED() - * @generated - * @ordered - */ - protected Object typE_LED = TYPE_LED_EDEFAULT; - - /** - * The default value of the '{@link #getTYPE_RUMBLE() <em>TYPE RUMBLE</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTYPE_RUMBLE() - * @generated - * @ordered - */ - protected static final Object TYPE_RUMBLE_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getUInt8(), "1"); - - /** - * The cached value of the '{@link #getTYPE_RUMBLE() <em>TYPE RUMBLE</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTYPE_RUMBLE() - * @generated - * @ordered - */ - protected Object typE_RUMBLE = TYPE_RUMBLE_EDEFAULT; - - /** - * The default value of the '{@link #getTYPE_BUZZER() <em>TYPE BUZZER</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTYPE_BUZZER() - * @generated - * @ordered - */ - protected static final Object TYPE_BUZZER_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getUInt8(), "2"); - - /** - * The cached value of the '{@link #getTYPE_BUZZER() <em>TYPE BUZZER</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTYPE_BUZZER() - * @generated - * @ordered - */ - protected Object typE_BUZZER = TYPE_BUZZER_EDEFAULT; - - /** - * The default value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered - */ - protected static final Object TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered - */ - protected Object type = TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final Object ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected Object id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getIntensity() <em>Intensity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIntensity() - * @generated - * @ordered - */ - protected static final Object INTENSITY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIntensity() <em>Intensity</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIntensity() - * @generated - * @ordered - */ - protected Object intensity = INTENSITY_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JoyFeedbackImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.JOY_FEEDBACK; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getTYPE_LED() { - return typE_LED; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTYPE_LED(Object newTYPE_LED) { - Object oldTYPE_LED = typE_LED; - typE_LED = newTYPE_LED; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_LED, oldTYPE_LED, typE_LED)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getTYPE_RUMBLE() { - return typE_RUMBLE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTYPE_RUMBLE(Object newTYPE_RUMBLE) { - Object oldTYPE_RUMBLE = typE_RUMBLE; - typE_RUMBLE = newTYPE_RUMBLE; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_RUMBLE, oldTYPE_RUMBLE, typE_RUMBLE)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getTYPE_BUZZER() { - return typE_BUZZER; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTYPE_BUZZER(Object newTYPE_BUZZER) { - Object oldTYPE_BUZZER = typE_BUZZER; - typE_BUZZER = newTYPE_BUZZER; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_BUZZER, oldTYPE_BUZZER, typE_BUZZER)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getType() { - return type; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setType(Object newType) { - Object oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY_FEEDBACK__TYPE, oldType, type)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(Object newId) { - Object oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY_FEEDBACK__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getIntensity() { - return intensity; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIntensity(Object newIntensity) { - Object oldIntensity = intensity; - intensity = newIntensity; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY_FEEDBACK__INTENSITY, oldIntensity, intensity)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_LED: - return getTYPE_LED(); - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_RUMBLE: - return getTYPE_RUMBLE(); - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_BUZZER: - return getTYPE_BUZZER(); - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE: - return getType(); - case Sensor_datatypesPackage.JOY_FEEDBACK__ID: - return getId(); - case Sensor_datatypesPackage.JOY_FEEDBACK__INTENSITY: - return getIntensity(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_LED: - setTYPE_LED((Object)newValue); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_RUMBLE: - setTYPE_RUMBLE((Object)newValue); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_BUZZER: - setTYPE_BUZZER((Object)newValue); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE: - setType((Object)newValue); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__ID: - setId((Object)newValue); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__INTENSITY: - setIntensity((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_LED: - setTYPE_LED(TYPE_LED_EDEFAULT); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_RUMBLE: - setTYPE_RUMBLE(TYPE_RUMBLE_EDEFAULT); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_BUZZER: - setTYPE_BUZZER(TYPE_BUZZER_EDEFAULT); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE: - setType(TYPE_EDEFAULT); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__ID: - setId(ID_EDEFAULT); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__INTENSITY: - setIntensity(INTENSITY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_LED: - return TYPE_LED_EDEFAULT == null ? typE_LED != null : !TYPE_LED_EDEFAULT.equals(typE_LED); - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_RUMBLE: - return TYPE_RUMBLE_EDEFAULT == null ? typE_RUMBLE != null : !TYPE_RUMBLE_EDEFAULT.equals(typE_RUMBLE); - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_BUZZER: - return TYPE_BUZZER_EDEFAULT == null ? typE_BUZZER != null : !TYPE_BUZZER_EDEFAULT.equals(typE_BUZZER); - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE: - return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type); - case Sensor_datatypesPackage.JOY_FEEDBACK__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case Sensor_datatypesPackage.JOY_FEEDBACK__INTENSITY: - return INTENSITY_EDEFAULT == null ? intensity != null : !INTENSITY_EDEFAULT.equals(intensity); - } - 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(" (TYPE_LED: "); - result.append(typE_LED); - result.append(", TYPE_RUMBLE: "); - result.append(typE_RUMBLE); - result.append(", TYPE_BUZZER: "); - result.append(typE_BUZZER); - result.append(", type: "); - result.append(type); - result.append(", id: "); - result.append(id); - result.append(", intensity: "); - result.append(intensity); - result.append(')'); - return result.toString(); - } - -} // JoyFeedbackImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/JoyImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/JoyImpl.java deleted file mode 100644 index bc40a9361b9..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/JoyImpl.java +++ /dev/null @@ -1,264 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Joy</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl#getAxes <em>Axes</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl#getButtons <em>Buttons</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JoyImpl extends MinimalEObjectImpl.Container implements Joy { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getAxes() <em>Axes</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAxes() - * @generated - * @ordered - */ - protected EList<Object> axes; - - /** - * The cached value of the '{@link #getButtons() <em>Buttons</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getButtons() - * @generated - * @ordered - */ - protected EList<Object> buttons; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JoyImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.JOY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.JOY__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.JOY__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getAxes() { - if (axes == null) { - axes = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.JOY__AXES); - } - return axes; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getButtons() { - if (buttons == null) { - buttons = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.JOY__BUTTONS); - } - return buttons; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.JOY__HEADER: - return basicSetHeader(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 Sensor_datatypesPackage.JOY__HEADER: - return getHeader(); - case Sensor_datatypesPackage.JOY__AXES: - return getAxes(); - case Sensor_datatypesPackage.JOY__BUTTONS: - return getButtons(); - } - 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 Sensor_datatypesPackage.JOY__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.JOY__AXES: - getAxes().clear(); - getAxes().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.JOY__BUTTONS: - getButtons().clear(); - getButtons().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.JOY__HEADER: - setHeader((Header)null); - return; - case Sensor_datatypesPackage.JOY__AXES: - getAxes().clear(); - return; - case Sensor_datatypesPackage.JOY__BUTTONS: - getButtons().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.JOY__HEADER: - return header != null; - case Sensor_datatypesPackage.JOY__AXES: - return axes != null && !axes.isEmpty(); - case Sensor_datatypesPackage.JOY__BUTTONS: - return buttons != null && !buttons.isEmpty(); - } - 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(" (axes: "); - result.append(axes); - result.append(", buttons: "); - result.append(buttons); - result.append(')'); - return result.toString(); - } - -} // JoyImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/LaserScanImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/LaserScanImpl.java deleted file mode 100644 index 7f10936d999..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/LaserScanImpl.java +++ /dev/null @@ -1,642 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Laser Scan</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getAngle_min <em>Angle min</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getAngle_max <em>Angle max</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getAngle_increment <em>Angle increment</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getTime_increment <em>Time increment</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getScan_time <em>Scan time</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getRange_min <em>Range min</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getRange_max <em>Range max</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getRange <em>Range</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getIntensities <em>Intensities</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class LaserScanImpl extends MinimalEObjectImpl.Container implements LaserScan { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The default value of the '{@link #getAngle_min() <em>Angle min</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAngle_min() - * @generated - * @ordered - */ - protected static final Object ANGLE_MIN_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAngle_min() <em>Angle min</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAngle_min() - * @generated - * @ordered - */ - protected Object angle_min = ANGLE_MIN_EDEFAULT; - - /** - * The default value of the '{@link #getAngle_max() <em>Angle max</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAngle_max() - * @generated - * @ordered - */ - protected static final Object ANGLE_MAX_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAngle_max() <em>Angle max</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAngle_max() - * @generated - * @ordered - */ - protected Object angle_max = ANGLE_MAX_EDEFAULT; - - /** - * The default value of the '{@link #getAngle_increment() <em>Angle increment</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAngle_increment() - * @generated - * @ordered - */ - protected static final Object ANGLE_INCREMENT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAngle_increment() <em>Angle increment</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAngle_increment() - * @generated - * @ordered - */ - protected Object angle_increment = ANGLE_INCREMENT_EDEFAULT; - - /** - * The default value of the '{@link #getTime_increment() <em>Time increment</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTime_increment() - * @generated - * @ordered - */ - protected static final Object TIME_INCREMENT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTime_increment() <em>Time increment</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTime_increment() - * @generated - * @ordered - */ - protected Object time_increment = TIME_INCREMENT_EDEFAULT; - - /** - * The default value of the '{@link #getScan_time() <em>Scan time</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getScan_time() - * @generated - * @ordered - */ - protected static final Object SCAN_TIME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getScan_time() <em>Scan time</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getScan_time() - * @generated - * @ordered - */ - protected Object scan_time = SCAN_TIME_EDEFAULT; - - /** - * The default value of the '{@link #getRange_min() <em>Range min</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRange_min() - * @generated - * @ordered - */ - protected static final Object RANGE_MIN_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRange_min() <em>Range min</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRange_min() - * @generated - * @ordered - */ - protected Object range_min = RANGE_MIN_EDEFAULT; - - /** - * The default value of the '{@link #getRange_max() <em>Range max</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRange_max() - * @generated - * @ordered - */ - protected static final Object RANGE_MAX_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRange_max() <em>Range max</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRange_max() - * @generated - * @ordered - */ - protected Object range_max = RANGE_MAX_EDEFAULT; - - /** - * The cached value of the '{@link #getRange() <em>Range</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRange() - * @generated - * @ordered - */ - protected EList<Object> range; - - /** - * The cached value of the '{@link #getIntensities() <em>Intensities</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIntensities() - * @generated - * @ordered - */ - protected EList<Object> intensities; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected LaserScanImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.LASER_SCAN; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.LASER_SCAN__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.LASER_SCAN__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getAngle_min() { - return angle_min; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAngle_min(Object newAngle_min) { - Object oldAngle_min = angle_min; - angle_min = newAngle_min; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__ANGLE_MIN, oldAngle_min, angle_min)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getAngle_max() { - return angle_max; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAngle_max(Object newAngle_max) { - Object oldAngle_max = angle_max; - angle_max = newAngle_max; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__ANGLE_MAX, oldAngle_max, angle_max)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getAngle_increment() { - return angle_increment; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAngle_increment(Object newAngle_increment) { - Object oldAngle_increment = angle_increment; - angle_increment = newAngle_increment; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__ANGLE_INCREMENT, oldAngle_increment, angle_increment)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getTime_increment() { - return time_increment; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTime_increment(Object newTime_increment) { - Object oldTime_increment = time_increment; - time_increment = newTime_increment; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__TIME_INCREMENT, oldTime_increment, time_increment)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getScan_time() { - return scan_time; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setScan_time(Object newScan_time) { - Object oldScan_time = scan_time; - scan_time = newScan_time; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__SCAN_TIME, oldScan_time, scan_time)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getRange_min() { - return range_min; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRange_min(Object newRange_min) { - Object oldRange_min = range_min; - range_min = newRange_min; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__RANGE_MIN, oldRange_min, range_min)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getRange_max() { - return range_max; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRange_max(Object newRange_max) { - Object oldRange_max = range_max; - range_max = newRange_max; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__RANGE_MAX, oldRange_max, range_max)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getRange() { - if (range == null) { - range = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.LASER_SCAN__RANGE); - } - return range; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getIntensities() { - if (intensities == null) { - intensities = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.LASER_SCAN__INTENSITIES); - } - return intensities; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.LASER_SCAN__HEADER: - return basicSetHeader(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 Sensor_datatypesPackage.LASER_SCAN__HEADER: - return getHeader(); - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MIN: - return getAngle_min(); - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MAX: - return getAngle_max(); - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_INCREMENT: - return getAngle_increment(); - case Sensor_datatypesPackage.LASER_SCAN__TIME_INCREMENT: - return getTime_increment(); - case Sensor_datatypesPackage.LASER_SCAN__SCAN_TIME: - return getScan_time(); - case Sensor_datatypesPackage.LASER_SCAN__RANGE_MIN: - return getRange_min(); - case Sensor_datatypesPackage.LASER_SCAN__RANGE_MAX: - return getRange_max(); - case Sensor_datatypesPackage.LASER_SCAN__RANGE: - return getRange(); - case Sensor_datatypesPackage.LASER_SCAN__INTENSITIES: - return getIntensities(); - } - 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 Sensor_datatypesPackage.LASER_SCAN__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MIN: - setAngle_min((Object)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MAX: - setAngle_max((Object)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_INCREMENT: - setAngle_increment((Object)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__TIME_INCREMENT: - setTime_increment((Object)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__SCAN_TIME: - setScan_time((Object)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__RANGE_MIN: - setRange_min((Object)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__RANGE_MAX: - setRange_max((Object)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__RANGE: - getRange().clear(); - getRange().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__INTENSITIES: - getIntensities().clear(); - getIntensities().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.LASER_SCAN__HEADER: - setHeader((Header)null); - return; - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MIN: - setAngle_min(ANGLE_MIN_EDEFAULT); - return; - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MAX: - setAngle_max(ANGLE_MAX_EDEFAULT); - return; - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_INCREMENT: - setAngle_increment(ANGLE_INCREMENT_EDEFAULT); - return; - case Sensor_datatypesPackage.LASER_SCAN__TIME_INCREMENT: - setTime_increment(TIME_INCREMENT_EDEFAULT); - return; - case Sensor_datatypesPackage.LASER_SCAN__SCAN_TIME: - setScan_time(SCAN_TIME_EDEFAULT); - return; - case Sensor_datatypesPackage.LASER_SCAN__RANGE_MIN: - setRange_min(RANGE_MIN_EDEFAULT); - return; - case Sensor_datatypesPackage.LASER_SCAN__RANGE_MAX: - setRange_max(RANGE_MAX_EDEFAULT); - return; - case Sensor_datatypesPackage.LASER_SCAN__RANGE: - getRange().clear(); - return; - case Sensor_datatypesPackage.LASER_SCAN__INTENSITIES: - getIntensities().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.LASER_SCAN__HEADER: - return header != null; - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MIN: - return ANGLE_MIN_EDEFAULT == null ? angle_min != null : !ANGLE_MIN_EDEFAULT.equals(angle_min); - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MAX: - return ANGLE_MAX_EDEFAULT == null ? angle_max != null : !ANGLE_MAX_EDEFAULT.equals(angle_max); - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_INCREMENT: - return ANGLE_INCREMENT_EDEFAULT == null ? angle_increment != null : !ANGLE_INCREMENT_EDEFAULT.equals(angle_increment); - case Sensor_datatypesPackage.LASER_SCAN__TIME_INCREMENT: - return TIME_INCREMENT_EDEFAULT == null ? time_increment != null : !TIME_INCREMENT_EDEFAULT.equals(time_increment); - case Sensor_datatypesPackage.LASER_SCAN__SCAN_TIME: - return SCAN_TIME_EDEFAULT == null ? scan_time != null : !SCAN_TIME_EDEFAULT.equals(scan_time); - case Sensor_datatypesPackage.LASER_SCAN__RANGE_MIN: - return RANGE_MIN_EDEFAULT == null ? range_min != null : !RANGE_MIN_EDEFAULT.equals(range_min); - case Sensor_datatypesPackage.LASER_SCAN__RANGE_MAX: - return RANGE_MAX_EDEFAULT == null ? range_max != null : !RANGE_MAX_EDEFAULT.equals(range_max); - case Sensor_datatypesPackage.LASER_SCAN__RANGE: - return range != null && !range.isEmpty(); - case Sensor_datatypesPackage.LASER_SCAN__INTENSITIES: - return intensities != null && !intensities.isEmpty(); - } - 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(" (angle_min: "); - result.append(angle_min); - result.append(", angle_max: "); - result.append(angle_max); - result.append(", angle_increment: "); - result.append(angle_increment); - result.append(", time_increment: "); - result.append(time_increment); - result.append(", scan_time: "); - result.append(scan_time); - result.append(", range_min: "); - result.append(range_min); - result.append(", range_max: "); - result.append(range_max); - result.append(", range: "); - result.append(range); - result.append(", intensities: "); - result.append(intensities); - result.append(')'); - return result.toString(); - } - -} // LaserScanImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/NavSatFixImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/NavSatFixImpl.java deleted file mode 100644 index c97d4bf4153..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/NavSatFixImpl.java +++ /dev/null @@ -1,555 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Nav Sat Fix</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getStatus <em>Status</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getService <em>Service</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getLatitude <em>Latitude</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getLongitude <em>Longitude</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getAltitude <em>Altitude</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getPosition_covariance <em>Position covariance</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getPosition_covariance_type <em>Position covariance type</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class NavSatFixImpl extends MinimalEObjectImpl.Container implements NavSatFix { - /** - * The default value of the '{@link #getStatus() <em>Status</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStatus() - * @generated - * @ordered - */ - protected static final STATUS_TYPE STATUS_EDEFAULT = STATUS_TYPE.STATUS_NO_FIX; - - /** - * The cached value of the '{@link #getStatus() <em>Status</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStatus() - * @generated - * @ordered - */ - protected STATUS_TYPE status = STATUS_EDEFAULT; - - /** - * The default value of the '{@link #getService() <em>Service</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getService() - * @generated - * @ordered - */ - protected static final SERVICE_TYPE SERVICE_EDEFAULT = SERVICE_TYPE.SERVICE_GPS; - - /** - * The cached value of the '{@link #getService() <em>Service</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getService() - * @generated - * @ordered - */ - protected SERVICE_TYPE service = SERVICE_EDEFAULT; - - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The default value of the '{@link #getLatitude() <em>Latitude</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLatitude() - * @generated - * @ordered - */ - protected static final Object LATITUDE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLatitude() <em>Latitude</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLatitude() - * @generated - * @ordered - */ - protected Object latitude = LATITUDE_EDEFAULT; - - /** - * The default value of the '{@link #getLongitude() <em>Longitude</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLongitude() - * @generated - * @ordered - */ - protected static final Object LONGITUDE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLongitude() <em>Longitude</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLongitude() - * @generated - * @ordered - */ - protected Object longitude = LONGITUDE_EDEFAULT; - - /** - * The default value of the '{@link #getAltitude() <em>Altitude</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAltitude() - * @generated - * @ordered - */ - protected static final Object ALTITUDE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAltitude() <em>Altitude</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAltitude() - * @generated - * @ordered - */ - protected Object altitude = ALTITUDE_EDEFAULT; - - /** - * The cached value of the '{@link #getPosition_covariance() <em>Position covariance</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPosition_covariance() - * @generated - * @ordered - */ - protected EList<Object> position_covariance; - - /** - * The default value of the '{@link #getPosition_covariance_type() <em>Position covariance type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPosition_covariance_type() - * @generated - * @ordered - */ - protected static final COVARIANCE_TYPE POSITION_COVARIANCE_TYPE_EDEFAULT = COVARIANCE_TYPE.COVARIANCE_TYPE_UNKNOWN; - - /** - * The cached value of the '{@link #getPosition_covariance_type() <em>Position covariance type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPosition_covariance_type() - * @generated - * @ordered - */ - protected COVARIANCE_TYPE position_covariance_type = POSITION_COVARIANCE_TYPE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected NavSatFixImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.NAV_SAT_FIX; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public STATUS_TYPE getStatus() { - return status; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setStatus(STATUS_TYPE newStatus) { - STATUS_TYPE oldStatus = status; - status = newStatus == null ? STATUS_EDEFAULT : newStatus; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__STATUS, oldStatus, status)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SERVICE_TYPE getService() { - return service; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setService(SERVICE_TYPE newService) { - SERVICE_TYPE oldService = service; - service = newService == null ? SERVICE_EDEFAULT : newService; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__SERVICE, oldService, service)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.NAV_SAT_FIX__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.NAV_SAT_FIX__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getLatitude() { - return latitude; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLatitude(Object newLatitude) { - Object oldLatitude = latitude; - latitude = newLatitude; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__LATITUDE, oldLatitude, latitude)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getLongitude() { - return longitude; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLongitude(Object newLongitude) { - Object oldLongitude = longitude; - longitude = newLongitude; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__LONGITUDE, oldLongitude, longitude)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getAltitude() { - return altitude; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAltitude(Object newAltitude) { - Object oldAltitude = altitude; - altitude = newAltitude; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__ALTITUDE, oldAltitude, altitude)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getPosition_covariance() { - if (position_covariance == null) { - position_covariance = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE); - } - return position_covariance; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public COVARIANCE_TYPE getPosition_covariance_type() { - return position_covariance_type; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPosition_covariance_type(COVARIANCE_TYPE newPosition_covariance_type) { - COVARIANCE_TYPE oldPosition_covariance_type = position_covariance_type; - position_covariance_type = newPosition_covariance_type == null ? POSITION_COVARIANCE_TYPE_EDEFAULT : newPosition_covariance_type; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE_TYPE, oldPosition_covariance_type, position_covariance_type)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.NAV_SAT_FIX__HEADER: - return basicSetHeader(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 Sensor_datatypesPackage.NAV_SAT_FIX__STATUS: - return getStatus(); - case Sensor_datatypesPackage.NAV_SAT_FIX__SERVICE: - return getService(); - case Sensor_datatypesPackage.NAV_SAT_FIX__HEADER: - return getHeader(); - case Sensor_datatypesPackage.NAV_SAT_FIX__LATITUDE: - return getLatitude(); - case Sensor_datatypesPackage.NAV_SAT_FIX__LONGITUDE: - return getLongitude(); - case Sensor_datatypesPackage.NAV_SAT_FIX__ALTITUDE: - return getAltitude(); - case Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE: - return getPosition_covariance(); - case Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE_TYPE: - return getPosition_covariance_type(); - } - 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 Sensor_datatypesPackage.NAV_SAT_FIX__STATUS: - setStatus((STATUS_TYPE)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__SERVICE: - setService((SERVICE_TYPE)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__LATITUDE: - setLatitude((Object)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__LONGITUDE: - setLongitude((Object)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__ALTITUDE: - setAltitude((Object)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE: - getPosition_covariance().clear(); - getPosition_covariance().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE_TYPE: - setPosition_covariance_type((COVARIANCE_TYPE)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.NAV_SAT_FIX__STATUS: - setStatus(STATUS_EDEFAULT); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__SERVICE: - setService(SERVICE_EDEFAULT); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__HEADER: - setHeader((Header)null); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__LATITUDE: - setLatitude(LATITUDE_EDEFAULT); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__LONGITUDE: - setLongitude(LONGITUDE_EDEFAULT); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__ALTITUDE: - setAltitude(ALTITUDE_EDEFAULT); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE: - getPosition_covariance().clear(); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE_TYPE: - setPosition_covariance_type(POSITION_COVARIANCE_TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.NAV_SAT_FIX__STATUS: - return status != STATUS_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_FIX__SERVICE: - return service != SERVICE_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_FIX__HEADER: - return header != null; - case Sensor_datatypesPackage.NAV_SAT_FIX__LATITUDE: - return LATITUDE_EDEFAULT == null ? latitude != null : !LATITUDE_EDEFAULT.equals(latitude); - case Sensor_datatypesPackage.NAV_SAT_FIX__LONGITUDE: - return LONGITUDE_EDEFAULT == null ? longitude != null : !LONGITUDE_EDEFAULT.equals(longitude); - case Sensor_datatypesPackage.NAV_SAT_FIX__ALTITUDE: - return ALTITUDE_EDEFAULT == null ? altitude != null : !ALTITUDE_EDEFAULT.equals(altitude); - case Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE: - return position_covariance != null && !position_covariance.isEmpty(); - case Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE_TYPE: - return position_covariance_type != POSITION_COVARIANCE_TYPE_EDEFAULT; - } - 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(" (status: "); - result.append(status); - result.append(", service: "); - result.append(service); - result.append(", latitude: "); - result.append(latitude); - result.append(", longitude: "); - result.append(longitude); - result.append(", altitude: "); - result.append(altitude); - result.append(", position_covariance: "); - result.append(position_covariance); - result.append(", position_covariance_type: "); - result.append(position_covariance_type); - result.append(')'); - return result.toString(); - } - -} // NavSatFixImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/NavSatStatusImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/NavSatStatusImpl.java deleted file mode 100644 index a425a342e2d..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/NavSatStatusImpl.java +++ /dev/null @@ -1,504 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_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.sensor_datatypes.NavSatStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Nav Sat Status</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSTATUS_NO_FIX <em>STATUS NO FIX</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSTATUS_FIX <em>STATUS FIX</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSTATUS_SBAS_FIX <em>STATUS SBAS FIX</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSTATUS_GBAS_FIX <em>STATUS GBAS FIX</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getStatus <em>Status</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSERVICE_GPS <em>SERVICE GPS</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSERVICE_GLONASS <em>SERVICE GLONASS</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSERVICE_COMPASS <em>SERVICE COMPASS</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSERVICE_GALILEO <em>SERVICE GALILEO</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getService <em>Service</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class NavSatStatusImpl extends MinimalEObjectImpl.Container implements NavSatStatus { - /** - * The default value of the '{@link #getSTATUS_NO_FIX() <em>STATUS NO FIX</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSTATUS_NO_FIX() - * @generated - * @ordered - */ - protected static final Object STATUS_NO_FIX_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getInt8(), "-1"); - - /** - * The cached value of the '{@link #getSTATUS_NO_FIX() <em>STATUS NO FIX</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSTATUS_NO_FIX() - * @generated - * @ordered - */ - protected Object statuS_NO_FIX = STATUS_NO_FIX_EDEFAULT; - - /** - * The default value of the '{@link #getSTATUS_FIX() <em>STATUS FIX</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSTATUS_FIX() - * @generated - * @ordered - */ - protected static final Object STATUS_FIX_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getInt8(), "0"); - - /** - * The cached value of the '{@link #getSTATUS_FIX() <em>STATUS FIX</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSTATUS_FIX() - * @generated - * @ordered - */ - protected Object statuS_FIX = STATUS_FIX_EDEFAULT; - - /** - * The default value of the '{@link #getSTATUS_SBAS_FIX() <em>STATUS SBAS FIX</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSTATUS_SBAS_FIX() - * @generated - * @ordered - */ - protected static final Object STATUS_SBAS_FIX_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getInt8(), "1"); - - /** - * The cached value of the '{@link #getSTATUS_SBAS_FIX() <em>STATUS SBAS FIX</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSTATUS_SBAS_FIX() - * @generated - * @ordered - */ - protected Object statuS_SBAS_FIX = STATUS_SBAS_FIX_EDEFAULT; - - /** - * The default value of the '{@link #getSTATUS_GBAS_FIX() <em>STATUS GBAS FIX</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSTATUS_GBAS_FIX() - * @generated - * @ordered - */ - protected static final Object STATUS_GBAS_FIX_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getInt8(), "2"); - - /** - * The cached value of the '{@link #getSTATUS_GBAS_FIX() <em>STATUS GBAS FIX</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSTATUS_GBAS_FIX() - * @generated - * @ordered - */ - protected Object statuS_GBAS_FIX = STATUS_GBAS_FIX_EDEFAULT; - - /** - * The default value of the '{@link #getStatus() <em>Status</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStatus() - * @generated - * @ordered - */ - protected static final Object STATUS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getStatus() <em>Status</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStatus() - * @generated - * @ordered - */ - protected Object status = STATUS_EDEFAULT; - - /** - * The default value of the '{@link #getSERVICE_GPS() <em>SERVICE GPS</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSERVICE_GPS() - * @generated - * @ordered - */ - protected static final Object SERVICE_GPS_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getUInt16(), "1"); - - /** - * The cached value of the '{@link #getSERVICE_GPS() <em>SERVICE GPS</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSERVICE_GPS() - * @generated - * @ordered - */ - protected Object servicE_GPS = SERVICE_GPS_EDEFAULT; - - /** - * The default value of the '{@link #getSERVICE_GLONASS() <em>SERVICE GLONASS</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSERVICE_GLONASS() - * @generated - * @ordered - */ - protected static final Object SERVICE_GLONASS_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getUInt16(), "2"); - - /** - * The cached value of the '{@link #getSERVICE_GLONASS() <em>SERVICE GLONASS</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSERVICE_GLONASS() - * @generated - * @ordered - */ - protected Object servicE_GLONASS = SERVICE_GLONASS_EDEFAULT; - - /** - * The default value of the '{@link #getSERVICE_COMPASS() <em>SERVICE COMPASS</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSERVICE_COMPASS() - * @generated - * @ordered - */ - protected static final Object SERVICE_COMPASS_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getUInt16(), "4"); - - /** - * The cached value of the '{@link #getSERVICE_COMPASS() <em>SERVICE COMPASS</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSERVICE_COMPASS() - * @generated - * @ordered - */ - protected Object servicE_COMPASS = SERVICE_COMPASS_EDEFAULT; - - /** - * The default value of the '{@link #getSERVICE_GALILEO() <em>SERVICE GALILEO</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSERVICE_GALILEO() - * @generated - * @ordered - */ - protected static final Object SERVICE_GALILEO_EDEFAULT = (Object)Std_datatypesFactory.eINSTANCE.createFromString(Std_datatypesPackage.eINSTANCE.getUInt16(), "8"); - - /** - * The cached value of the '{@link #getSERVICE_GALILEO() <em>SERVICE GALILEO</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSERVICE_GALILEO() - * @generated - * @ordered - */ - protected Object servicE_GALILEO = SERVICE_GALILEO_EDEFAULT; - - /** - * The default value of the '{@link #getService() <em>Service</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getService() - * @generated - * @ordered - */ - protected static final Object SERVICE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getService() <em>Service</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getService() - * @generated - * @ordered - */ - protected Object service = SERVICE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected NavSatStatusImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.NAV_SAT_STATUS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSTATUS_NO_FIX() { - return statuS_NO_FIX; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSTATUS_FIX() { - return statuS_FIX; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSTATUS_SBAS_FIX() { - return statuS_SBAS_FIX; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSTATUS_GBAS_FIX() { - return statuS_GBAS_FIX; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getStatus() { - return status; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setStatus(Object newStatus) { - Object oldStatus = status; - status = newStatus; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS, oldStatus, status)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSERVICE_GPS() { - return servicE_GPS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSERVICE_GLONASS() { - return servicE_GLONASS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSERVICE_COMPASS() { - return servicE_COMPASS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSERVICE_GALILEO() { - return servicE_GALILEO; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getService() { - return service; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setService(Object newService) { - Object oldService = service; - service = newService; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE, oldService, service)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_NO_FIX: - return getSTATUS_NO_FIX(); - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_FIX: - return getSTATUS_FIX(); - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_SBAS_FIX: - return getSTATUS_SBAS_FIX(); - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_GBAS_FIX: - return getSTATUS_GBAS_FIX(); - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS: - return getStatus(); - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_GPS: - return getSERVICE_GPS(); - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_GLONASS: - return getSERVICE_GLONASS(); - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_COMPASS: - return getSERVICE_COMPASS(); - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_GALILEO: - return getSERVICE_GALILEO(); - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE: - return getService(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS: - setStatus((Object)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE: - setService((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS: - setStatus(STATUS_EDEFAULT); - return; - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE: - setService(SERVICE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_NO_FIX: - return STATUS_NO_FIX_EDEFAULT == null ? statuS_NO_FIX != null : !STATUS_NO_FIX_EDEFAULT.equals(statuS_NO_FIX); - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_FIX: - return STATUS_FIX_EDEFAULT == null ? statuS_FIX != null : !STATUS_FIX_EDEFAULT.equals(statuS_FIX); - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_SBAS_FIX: - return STATUS_SBAS_FIX_EDEFAULT == null ? statuS_SBAS_FIX != null : !STATUS_SBAS_FIX_EDEFAULT.equals(statuS_SBAS_FIX); - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_GBAS_FIX: - return STATUS_GBAS_FIX_EDEFAULT == null ? statuS_GBAS_FIX != null : !STATUS_GBAS_FIX_EDEFAULT.equals(statuS_GBAS_FIX); - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS: - return STATUS_EDEFAULT == null ? status != null : !STATUS_EDEFAULT.equals(status); - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_GPS: - return SERVICE_GPS_EDEFAULT == null ? servicE_GPS != null : !SERVICE_GPS_EDEFAULT.equals(servicE_GPS); - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_GLONASS: - return SERVICE_GLONASS_EDEFAULT == null ? servicE_GLONASS != null : !SERVICE_GLONASS_EDEFAULT.equals(servicE_GLONASS); - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_COMPASS: - return SERVICE_COMPASS_EDEFAULT == null ? servicE_COMPASS != null : !SERVICE_COMPASS_EDEFAULT.equals(servicE_COMPASS); - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_GALILEO: - return SERVICE_GALILEO_EDEFAULT == null ? servicE_GALILEO != null : !SERVICE_GALILEO_EDEFAULT.equals(servicE_GALILEO); - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE: - return SERVICE_EDEFAULT == null ? service != null : !SERVICE_EDEFAULT.equals(service); - } - 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(" (STATUS_NO_FIX: "); - result.append(statuS_NO_FIX); - result.append(", STATUS_FIX: "); - result.append(statuS_FIX); - result.append(", STATUS_SBAS_FIX: "); - result.append(statuS_SBAS_FIX); - result.append(", STATUS_GBAS_FIX: "); - result.append(statuS_GBAS_FIX); - result.append(", status: "); - result.append(status); - result.append(", SERVICE_GPS: "); - result.append(servicE_GPS); - result.append(", SERVICE_GLONASS: "); - result.append(servicE_GLONASS); - result.append(", SERVICE_COMPASS: "); - result.append(servicE_COMPASS); - result.append(", SERVICE_GALILEO: "); - result.append(servicE_GALILEO); - result.append(", service: "); - result.append(service); - result.append(')'); - return result.toString(); - } - -} // NavSatStatusImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/PointCloud2Impl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/PointCloud2Impl.java deleted file mode 100644 index e02947d88f2..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/PointCloud2Impl.java +++ /dev/null @@ -1,591 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Point Cloud2</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getHeight <em>Height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getWidth <em>Width</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getFields <em>Fields</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getIs_bigendian <em>Is bigendian</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getPoint_step <em>Point step</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getRow_step <em>Row step</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getData <em>Data</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getIs_dense <em>Is dense</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PointCloud2Impl extends MinimalEObjectImpl.Container implements PointCloud2 { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The default value of the '{@link #getHeight() <em>Height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeight() - * @generated - * @ordered - */ - protected static final Object HEIGHT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHeight() <em>Height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeight() - * @generated - * @ordered - */ - protected Object height = HEIGHT_EDEFAULT; - - /** - * The default value of the '{@link #getWidth() <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWidth() - * @generated - * @ordered - */ - protected static final Object WIDTH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWidth() - * @generated - * @ordered - */ - protected Object width = WIDTH_EDEFAULT; - - /** - * The cached value of the '{@link #getFields() <em>Fields</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFields() - * @generated - * @ordered - */ - protected EList<PointField> fields; - - /** - * The default value of the '{@link #getIs_bigendian() <em>Is bigendian</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIs_bigendian() - * @generated - * @ordered - */ - protected static final Object IS_BIGENDIAN_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIs_bigendian() <em>Is bigendian</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIs_bigendian() - * @generated - * @ordered - */ - protected Object is_bigendian = IS_BIGENDIAN_EDEFAULT; - - /** - * The default value of the '{@link #getPoint_step() <em>Point step</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPoint_step() - * @generated - * @ordered - */ - protected static final Object POINT_STEP_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPoint_step() <em>Point step</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPoint_step() - * @generated - * @ordered - */ - protected Object point_step = POINT_STEP_EDEFAULT; - - /** - * The default value of the '{@link #getRow_step() <em>Row step</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRow_step() - * @generated - * @ordered - */ - protected static final Object ROW_STEP_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRow_step() <em>Row step</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRow_step() - * @generated - * @ordered - */ - protected Object row_step = ROW_STEP_EDEFAULT; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * The default value of the '{@link #getIs_dense() <em>Is dense</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIs_dense() - * @generated - * @ordered - */ - protected static final Object IS_DENSE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIs_dense() <em>Is dense</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIs_dense() - * @generated - * @ordered - */ - protected Object is_dense = IS_DENSE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PointCloud2Impl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.POINT_CLOUD2; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.POINT_CLOUD2__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.POINT_CLOUD2__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getHeight() { - return height; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeight(Object newHeight) { - Object oldHeight = height; - height = newHeight; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__HEIGHT, oldHeight, height)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getWidth() { - return width; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWidth(Object newWidth) { - Object oldWidth = width; - width = newWidth; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__WIDTH, oldWidth, width)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<PointField> getFields() { - if (fields == null) { - fields = new EObjectContainmentEList<PointField>(PointField.class, this, Sensor_datatypesPackage.POINT_CLOUD2__FIELDS); - } - return fields; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getIs_bigendian() { - return is_bigendian; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIs_bigendian(Object newIs_bigendian) { - Object oldIs_bigendian = is_bigendian; - is_bigendian = newIs_bigendian; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__IS_BIGENDIAN, oldIs_bigendian, is_bigendian)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getPoint_step() { - return point_step; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPoint_step(Object newPoint_step) { - Object oldPoint_step = point_step; - point_step = newPoint_step; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__POINT_STEP, oldPoint_step, point_step)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getRow_step() { - return row_step; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRow_step(Object newRow_step) { - Object oldRow_step = row_step; - row_step = newRow_step; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__ROW_STEP, oldRow_step, row_step)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Sensor_datatypesPackage.POINT_CLOUD2__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getIs_dense() { - return is_dense; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIs_dense(Object newIs_dense) { - Object oldIs_dense = is_dense; - is_dense = newIs_dense; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__IS_DENSE, oldIs_dense, is_dense)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.POINT_CLOUD2__HEADER: - return basicSetHeader(null, msgs); - case Sensor_datatypesPackage.POINT_CLOUD2__FIELDS: - return ((InternalEList<?>)getFields()).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 Sensor_datatypesPackage.POINT_CLOUD2__HEADER: - return getHeader(); - case Sensor_datatypesPackage.POINT_CLOUD2__HEIGHT: - return getHeight(); - case Sensor_datatypesPackage.POINT_CLOUD2__WIDTH: - return getWidth(); - case Sensor_datatypesPackage.POINT_CLOUD2__FIELDS: - return getFields(); - case Sensor_datatypesPackage.POINT_CLOUD2__IS_BIGENDIAN: - return getIs_bigendian(); - case Sensor_datatypesPackage.POINT_CLOUD2__POINT_STEP: - return getPoint_step(); - case Sensor_datatypesPackage.POINT_CLOUD2__ROW_STEP: - return getRow_step(); - case Sensor_datatypesPackage.POINT_CLOUD2__DATA: - return getData(); - case Sensor_datatypesPackage.POINT_CLOUD2__IS_DENSE: - return getIs_dense(); - } - 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 Sensor_datatypesPackage.POINT_CLOUD2__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__HEIGHT: - setHeight((Object)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__WIDTH: - setWidth((Object)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__FIELDS: - getFields().clear(); - getFields().addAll((Collection<? extends PointField>)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__IS_BIGENDIAN: - setIs_bigendian((Object)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__POINT_STEP: - setPoint_step((Object)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__ROW_STEP: - setRow_step((Object)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__IS_DENSE: - setIs_dense((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.POINT_CLOUD2__HEADER: - setHeader((Header)null); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__HEIGHT: - setHeight(HEIGHT_EDEFAULT); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__WIDTH: - setWidth(WIDTH_EDEFAULT); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__FIELDS: - getFields().clear(); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__IS_BIGENDIAN: - setIs_bigendian(IS_BIGENDIAN_EDEFAULT); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__POINT_STEP: - setPoint_step(POINT_STEP_EDEFAULT); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__ROW_STEP: - setRow_step(ROW_STEP_EDEFAULT); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__DATA: - getData().clear(); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__IS_DENSE: - setIs_dense(IS_DENSE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.POINT_CLOUD2__HEADER: - return header != null; - case Sensor_datatypesPackage.POINT_CLOUD2__HEIGHT: - return HEIGHT_EDEFAULT == null ? height != null : !HEIGHT_EDEFAULT.equals(height); - case Sensor_datatypesPackage.POINT_CLOUD2__WIDTH: - return WIDTH_EDEFAULT == null ? width != null : !WIDTH_EDEFAULT.equals(width); - case Sensor_datatypesPackage.POINT_CLOUD2__FIELDS: - return fields != null && !fields.isEmpty(); - case Sensor_datatypesPackage.POINT_CLOUD2__IS_BIGENDIAN: - return IS_BIGENDIAN_EDEFAULT == null ? is_bigendian != null : !IS_BIGENDIAN_EDEFAULT.equals(is_bigendian); - case Sensor_datatypesPackage.POINT_CLOUD2__POINT_STEP: - return POINT_STEP_EDEFAULT == null ? point_step != null : !POINT_STEP_EDEFAULT.equals(point_step); - case Sensor_datatypesPackage.POINT_CLOUD2__ROW_STEP: - return ROW_STEP_EDEFAULT == null ? row_step != null : !ROW_STEP_EDEFAULT.equals(row_step); - case Sensor_datatypesPackage.POINT_CLOUD2__DATA: - return data != null && !data.isEmpty(); - case Sensor_datatypesPackage.POINT_CLOUD2__IS_DENSE: - return IS_DENSE_EDEFAULT == null ? is_dense != null : !IS_DENSE_EDEFAULT.equals(is_dense); - } - 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(" (height: "); - result.append(height); - result.append(", width: "); - result.append(width); - result.append(", is_bigendian: "); - result.append(is_bigendian); - result.append(", point_step: "); - result.append(point_step); - result.append(", row_step: "); - result.append(row_step); - result.append(", data: "); - result.append(data); - result.append(", is_dense: "); - result.append(is_dense); - result.append(')'); - return result.toString(); - } - -} // PointCloud2Impl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/PointCloudImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/PointCloudImpl.java deleted file mode 100644 index c8728728a48..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/PointCloudImpl.java +++ /dev/null @@ -1,253 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.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.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Point Cloud</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl#getPoints <em>Points</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl#getChannels <em>Channels</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PointCloudImpl extends MinimalEObjectImpl.Container implements PointCloud { - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The cached value of the '{@link #getPoints() <em>Points</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPoints() - * @generated - * @ordered - */ - protected EList<Point32> points; - - /** - * The cached value of the '{@link #getChannels() <em>Channels</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getChannels() - * @generated - * @ordered - */ - protected EList<ChannelFloat32> channels; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PointCloudImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.POINT_CLOUD; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.POINT_CLOUD__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.POINT_CLOUD__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Point32> getPoints() { - if (points == null) { - points = new EObjectContainmentEList<Point32>(Point32.class, this, Sensor_datatypesPackage.POINT_CLOUD__POINTS); - } - return points; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<ChannelFloat32> getChannels() { - if (channels == null) { - channels = new EObjectContainmentEList<ChannelFloat32>(ChannelFloat32.class, this, Sensor_datatypesPackage.POINT_CLOUD__CHANNELS); - } - return channels; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.POINT_CLOUD__HEADER: - return basicSetHeader(null, msgs); - case Sensor_datatypesPackage.POINT_CLOUD__POINTS: - return ((InternalEList<?>)getPoints()).basicRemove(otherEnd, msgs); - case Sensor_datatypesPackage.POINT_CLOUD__CHANNELS: - return ((InternalEList<?>)getChannels()).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 Sensor_datatypesPackage.POINT_CLOUD__HEADER: - return getHeader(); - case Sensor_datatypesPackage.POINT_CLOUD__POINTS: - return getPoints(); - case Sensor_datatypesPackage.POINT_CLOUD__CHANNELS: - return getChannels(); - } - 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 Sensor_datatypesPackage.POINT_CLOUD__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD__POINTS: - getPoints().clear(); - getPoints().addAll((Collection<? extends Point32>)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD__CHANNELS: - getChannels().clear(); - getChannels().addAll((Collection<? extends ChannelFloat32>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.POINT_CLOUD__HEADER: - setHeader((Header)null); - return; - case Sensor_datatypesPackage.POINT_CLOUD__POINTS: - getPoints().clear(); - return; - case Sensor_datatypesPackage.POINT_CLOUD__CHANNELS: - getChannels().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.POINT_CLOUD__HEADER: - return header != null; - case Sensor_datatypesPackage.POINT_CLOUD__POINTS: - return points != null && !points.isEmpty(); - case Sensor_datatypesPackage.POINT_CLOUD__CHANNELS: - return channels != null && !channels.isEmpty(); - } - return super.eIsSet(featureID); - } - -} // PointCloudImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/PointFieldImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/PointFieldImpl.java deleted file mode 100644 index 0ba850787ac..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/PointFieldImpl.java +++ /dev/null @@ -1,322 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_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.sensor_datatypes.PointField; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Point Field</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl#getOffset <em>Offset</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl#getDatatype <em>Datatype</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl#getCount <em>Count</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PointFieldImpl extends MinimalEObjectImpl.Container implements PointField { - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final Object NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected Object name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getOffset() <em>Offset</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOffset() - * @generated - * @ordered - */ - protected static final Object OFFSET_EDEFAULT = null; - - /** - * The cached value of the '{@link #getOffset() <em>Offset</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOffset() - * @generated - * @ordered - */ - protected Object offset = OFFSET_EDEFAULT; - - /** - * The default value of the '{@link #getDatatype() <em>Datatype</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDatatype() - * @generated - * @ordered - */ - protected static final Object DATATYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDatatype() <em>Datatype</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDatatype() - * @generated - * @ordered - */ - protected Object datatype = DATATYPE_EDEFAULT; - - /** - * The default value of the '{@link #getCount() <em>Count</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCount() - * @generated - * @ordered - */ - protected static final Object COUNT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCount() <em>Count</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCount() - * @generated - * @ordered - */ - protected Object count = COUNT_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PointFieldImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.POINT_FIELD; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(Object newName) { - Object oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_FIELD__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getOffset() { - return offset; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOffset(Object newOffset) { - Object oldOffset = offset; - offset = newOffset; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_FIELD__OFFSET, oldOffset, offset)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getDatatype() { - return datatype; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDatatype(Object newDatatype) { - Object oldDatatype = datatype; - datatype = newDatatype; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_FIELD__DATATYPE, oldDatatype, datatype)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getCount() { - return count; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setCount(Object newCount) { - Object oldCount = count; - count = newCount; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_FIELD__COUNT, oldCount, count)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Sensor_datatypesPackage.POINT_FIELD__NAME: - return getName(); - case Sensor_datatypesPackage.POINT_FIELD__OFFSET: - return getOffset(); - case Sensor_datatypesPackage.POINT_FIELD__DATATYPE: - return getDatatype(); - case Sensor_datatypesPackage.POINT_FIELD__COUNT: - return getCount(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Sensor_datatypesPackage.POINT_FIELD__NAME: - setName((Object)newValue); - return; - case Sensor_datatypesPackage.POINT_FIELD__OFFSET: - setOffset((Object)newValue); - return; - case Sensor_datatypesPackage.POINT_FIELD__DATATYPE: - setDatatype((Object)newValue); - return; - case Sensor_datatypesPackage.POINT_FIELD__COUNT: - setCount((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.POINT_FIELD__NAME: - setName(NAME_EDEFAULT); - return; - case Sensor_datatypesPackage.POINT_FIELD__OFFSET: - setOffset(OFFSET_EDEFAULT); - return; - case Sensor_datatypesPackage.POINT_FIELD__DATATYPE: - setDatatype(DATATYPE_EDEFAULT); - return; - case Sensor_datatypesPackage.POINT_FIELD__COUNT: - setCount(COUNT_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.POINT_FIELD__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case Sensor_datatypesPackage.POINT_FIELD__OFFSET: - return OFFSET_EDEFAULT == null ? offset != null : !OFFSET_EDEFAULT.equals(offset); - case Sensor_datatypesPackage.POINT_FIELD__DATATYPE: - return DATATYPE_EDEFAULT == null ? datatype != null : !DATATYPE_EDEFAULT.equals(datatype); - case Sensor_datatypesPackage.POINT_FIELD__COUNT: - return COUNT_EDEFAULT == null ? count != null : !COUNT_EDEFAULT.equals(count); - } - 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(" (name: "); - result.append(name); - result.append(", offset: "); - result.append(offset); - result.append(", datatype: "); - result.append(datatype); - result.append(", count: "); - result.append(count); - result.append(')'); - return result.toString(); - } - -} // PointFieldImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/RangeImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/RangeImpl.java deleted file mode 100644 index 4f628b3f22b..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/RangeImpl.java +++ /dev/null @@ -1,565 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.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.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Range</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getULTRASOUND <em>ULTRASOUND</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getINFRARED <em>INFRARED</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getHeader <em>Header</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getRadiation_type <em>Radiation type</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getField_of_view <em>Field of view</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getMin_range <em>Min range</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getMax_range <em>Max range</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getRange <em>Range</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class RangeImpl extends MinimalEObjectImpl.Container implements Range { - /** - * The default value of the '{@link #getULTRASOUND() <em>ULTRASOUND</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getULTRASOUND() - * @generated - * @ordered - */ - protected static final Object ULTRASOUND_EDEFAULT = null; - - /** - * The cached value of the '{@link #getULTRASOUND() <em>ULTRASOUND</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getULTRASOUND() - * @generated - * @ordered - */ - protected Object ultrasound = ULTRASOUND_EDEFAULT; - - /** - * The default value of the '{@link #getINFRARED() <em>INFRARED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getINFRARED() - * @generated - * @ordered - */ - protected static final Object INFRARED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getINFRARED() <em>INFRARED</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getINFRARED() - * @generated - * @ordered - */ - protected Object infrared = INFRARED_EDEFAULT; - - /** - * The cached value of the '{@link #getHeader() <em>Header</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeader() - * @generated - * @ordered - */ - protected Header header; - - /** - * The default value of the '{@link #getRadiation_type() <em>Radiation type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRadiation_type() - * @generated - * @ordered - */ - protected static final Object RADIATION_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRadiation_type() <em>Radiation type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRadiation_type() - * @generated - * @ordered - */ - protected Object radiation_type = RADIATION_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getField_of_view() <em>Field of view</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getField_of_view() - * @generated - * @ordered - */ - protected static final Object FIELD_OF_VIEW_EDEFAULT = null; - - /** - * The cached value of the '{@link #getField_of_view() <em>Field of view</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getField_of_view() - * @generated - * @ordered - */ - protected Object field_of_view = FIELD_OF_VIEW_EDEFAULT; - - /** - * The default value of the '{@link #getMin_range() <em>Min range</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMin_range() - * @generated - * @ordered - */ - protected static final Object MIN_RANGE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMin_range() <em>Min range</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMin_range() - * @generated - * @ordered - */ - protected Object min_range = MIN_RANGE_EDEFAULT; - - /** - * The default value of the '{@link #getMax_range() <em>Max range</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMax_range() - * @generated - * @ordered - */ - protected static final Object MAX_RANGE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMax_range() <em>Max range</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMax_range() - * @generated - * @ordered - */ - protected Object max_range = MAX_RANGE_EDEFAULT; - - /** - * The default value of the '{@link #getRange() <em>Range</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRange() - * @generated - * @ordered - */ - protected static final Object RANGE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRange() <em>Range</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRange() - * @generated - * @ordered - */ - protected Object range = RANGE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RangeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.RANGE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getULTRASOUND() { - return ultrasound; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setULTRASOUND(Object newULTRASOUND) { - Object oldULTRASOUND = ultrasound; - ultrasound = newULTRASOUND; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__ULTRASOUND, oldULTRASOUND, ultrasound)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getINFRARED() { - return infrared; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setINFRARED(Object newINFRARED) { - Object oldINFRARED = infrared; - infrared = newINFRARED; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__INFRARED, oldINFRARED, infrared)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header getHeader() { - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { - Header oldHeader = header; - header = newHeader; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__HEADER, oldHeader, newHeader); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeader(Header newHeader) { - if (newHeader != header) { - NotificationChain msgs = null; - if (header != null) - msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.RANGE__HEADER, null, msgs); - if (newHeader != null) - msgs = ((InternalEObject)newHeader).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.RANGE__HEADER, null, msgs); - msgs = basicSetHeader(newHeader, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__HEADER, newHeader, newHeader)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getRadiation_type() { - return radiation_type; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRadiation_type(Object newRadiation_type) { - Object oldRadiation_type = radiation_type; - radiation_type = newRadiation_type; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__RADIATION_TYPE, oldRadiation_type, radiation_type)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getField_of_view() { - return field_of_view; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setField_of_view(Object newField_of_view) { - Object oldField_of_view = field_of_view; - field_of_view = newField_of_view; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__FIELD_OF_VIEW, oldField_of_view, field_of_view)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getMin_range() { - return min_range; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMin_range(Object newMin_range) { - Object oldMin_range = min_range; - min_range = newMin_range; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__MIN_RANGE, oldMin_range, min_range)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getMax_range() { - return max_range; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMax_range(Object newMax_range) { - Object oldMax_range = max_range; - max_range = newMax_range; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__MAX_RANGE, oldMax_range, max_range)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getRange() { - return range; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRange(Object newRange) { - Object oldRange = range; - range = newRange; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__RANGE, oldRange, range)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Sensor_datatypesPackage.RANGE__HEADER: - return basicSetHeader(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 Sensor_datatypesPackage.RANGE__ULTRASOUND: - return getULTRASOUND(); - case Sensor_datatypesPackage.RANGE__INFRARED: - return getINFRARED(); - case Sensor_datatypesPackage.RANGE__HEADER: - return getHeader(); - case Sensor_datatypesPackage.RANGE__RADIATION_TYPE: - return getRadiation_type(); - case Sensor_datatypesPackage.RANGE__FIELD_OF_VIEW: - return getField_of_view(); - case Sensor_datatypesPackage.RANGE__MIN_RANGE: - return getMin_range(); - case Sensor_datatypesPackage.RANGE__MAX_RANGE: - return getMax_range(); - case Sensor_datatypesPackage.RANGE__RANGE: - return getRange(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Sensor_datatypesPackage.RANGE__ULTRASOUND: - setULTRASOUND((Object)newValue); - return; - case Sensor_datatypesPackage.RANGE__INFRARED: - setINFRARED((Object)newValue); - return; - case Sensor_datatypesPackage.RANGE__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.RANGE__RADIATION_TYPE: - setRadiation_type((Object)newValue); - return; - case Sensor_datatypesPackage.RANGE__FIELD_OF_VIEW: - setField_of_view((Object)newValue); - return; - case Sensor_datatypesPackage.RANGE__MIN_RANGE: - setMin_range((Object)newValue); - return; - case Sensor_datatypesPackage.RANGE__MAX_RANGE: - setMax_range((Object)newValue); - return; - case Sensor_datatypesPackage.RANGE__RANGE: - setRange((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.RANGE__ULTRASOUND: - setULTRASOUND(ULTRASOUND_EDEFAULT); - return; - case Sensor_datatypesPackage.RANGE__INFRARED: - setINFRARED(INFRARED_EDEFAULT); - return; - case Sensor_datatypesPackage.RANGE__HEADER: - setHeader((Header)null); - return; - case Sensor_datatypesPackage.RANGE__RADIATION_TYPE: - setRadiation_type(RADIATION_TYPE_EDEFAULT); - return; - case Sensor_datatypesPackage.RANGE__FIELD_OF_VIEW: - setField_of_view(FIELD_OF_VIEW_EDEFAULT); - return; - case Sensor_datatypesPackage.RANGE__MIN_RANGE: - setMin_range(MIN_RANGE_EDEFAULT); - return; - case Sensor_datatypesPackage.RANGE__MAX_RANGE: - setMax_range(MAX_RANGE_EDEFAULT); - return; - case Sensor_datatypesPackage.RANGE__RANGE: - setRange(RANGE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.RANGE__ULTRASOUND: - return ULTRASOUND_EDEFAULT == null ? ultrasound != null : !ULTRASOUND_EDEFAULT.equals(ultrasound); - case Sensor_datatypesPackage.RANGE__INFRARED: - return INFRARED_EDEFAULT == null ? infrared != null : !INFRARED_EDEFAULT.equals(infrared); - case Sensor_datatypesPackage.RANGE__HEADER: - return header != null; - case Sensor_datatypesPackage.RANGE__RADIATION_TYPE: - return RADIATION_TYPE_EDEFAULT == null ? radiation_type != null : !RADIATION_TYPE_EDEFAULT.equals(radiation_type); - case Sensor_datatypesPackage.RANGE__FIELD_OF_VIEW: - return FIELD_OF_VIEW_EDEFAULT == null ? field_of_view != null : !FIELD_OF_VIEW_EDEFAULT.equals(field_of_view); - case Sensor_datatypesPackage.RANGE__MIN_RANGE: - return MIN_RANGE_EDEFAULT == null ? min_range != null : !MIN_RANGE_EDEFAULT.equals(min_range); - case Sensor_datatypesPackage.RANGE__MAX_RANGE: - return MAX_RANGE_EDEFAULT == null ? max_range != null : !MAX_RANGE_EDEFAULT.equals(max_range); - case Sensor_datatypesPackage.RANGE__RANGE: - return RANGE_EDEFAULT == null ? range != null : !RANGE_EDEFAULT.equals(range); - } - 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(" (ULTRASOUND: "); - result.append(ultrasound); - result.append(", INFRARED: "); - result.append(infrared); - result.append(", radiation_type: "); - result.append(radiation_type); - result.append(", field_of_view: "); - result.append(field_of_view); - result.append(", min_range: "); - result.append(min_range); - result.append(", max_range: "); - result.append(max_range); - result.append(", range: "); - result.append(range); - result.append(')'); - return result.toString(); - } - -} // RangeImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/RegionOfInterestImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/RegionOfInterestImpl.java deleted file mode 100644 index 423476f83cd..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/RegionOfInterestImpl.java +++ /dev/null @@ -1,376 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_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.sensor_datatypes.RegionOfInterest; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Region Of Interest</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getX_offset <em>Xoffset</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getY_offset <em>Yoffset</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getHeight <em>Height</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getDo_rectify <em>Do rectify</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getWidth <em>Width</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class RegionOfInterestImpl extends MinimalEObjectImpl.Container implements RegionOfInterest { - /** - * The default value of the '{@link #getX_offset() <em>Xoffset</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getX_offset() - * @generated - * @ordered - */ - protected static final Object XOFFSET_EDEFAULT = null; - - /** - * The cached value of the '{@link #getX_offset() <em>Xoffset</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getX_offset() - * @generated - * @ordered - */ - protected Object x_offset = XOFFSET_EDEFAULT; - - /** - * The default value of the '{@link #getY_offset() <em>Yoffset</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getY_offset() - * @generated - * @ordered - */ - protected static final Object YOFFSET_EDEFAULT = null; - - /** - * The cached value of the '{@link #getY_offset() <em>Yoffset</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getY_offset() - * @generated - * @ordered - */ - protected Object y_offset = YOFFSET_EDEFAULT; - - /** - * The default value of the '{@link #getHeight() <em>Height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeight() - * @generated - * @ordered - */ - protected static final Object HEIGHT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHeight() <em>Height</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHeight() - * @generated - * @ordered - */ - protected Object height = HEIGHT_EDEFAULT; - - /** - * The default value of the '{@link #getDo_rectify() <em>Do rectify</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDo_rectify() - * @generated - * @ordered - */ - protected static final Object DO_RECTIFY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDo_rectify() <em>Do rectify</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDo_rectify() - * @generated - * @ordered - */ - protected Object do_rectify = DO_RECTIFY_EDEFAULT; - - /** - * The default value of the '{@link #getWidth() <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWidth() - * @generated - * @ordered - */ - protected static final Object WIDTH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWidth() - * @generated - * @ordered - */ - protected Object width = WIDTH_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RegionOfInterestImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Sensor_datatypesPackage.Literals.REGION_OF_INTEREST; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getX_offset() { - return x_offset; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setX_offset(Object newX_offset) { - Object oldX_offset = x_offset; - x_offset = newX_offset; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.REGION_OF_INTEREST__XOFFSET, oldX_offset, x_offset)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getY_offset() { - return y_offset; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setY_offset(Object newY_offset) { - Object oldY_offset = y_offset; - y_offset = newY_offset; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.REGION_OF_INTEREST__YOFFSET, oldY_offset, y_offset)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getHeight() { - return height; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHeight(Object newHeight) { - Object oldHeight = height; - height = newHeight; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.REGION_OF_INTEREST__HEIGHT, oldHeight, height)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getDo_rectify() { - return do_rectify; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDo_rectify(Object newDo_rectify) { - Object oldDo_rectify = do_rectify; - do_rectify = newDo_rectify; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.REGION_OF_INTEREST__DO_RECTIFY, oldDo_rectify, do_rectify)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getWidth() { - return width; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWidth(Object newWidth) { - Object oldWidth = width; - width = newWidth; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.REGION_OF_INTEREST__WIDTH, oldWidth, width)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Sensor_datatypesPackage.REGION_OF_INTEREST__XOFFSET: - return getX_offset(); - case Sensor_datatypesPackage.REGION_OF_INTEREST__YOFFSET: - return getY_offset(); - case Sensor_datatypesPackage.REGION_OF_INTEREST__HEIGHT: - return getHeight(); - case Sensor_datatypesPackage.REGION_OF_INTEREST__DO_RECTIFY: - return getDo_rectify(); - case Sensor_datatypesPackage.REGION_OF_INTEREST__WIDTH: - return getWidth(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Sensor_datatypesPackage.REGION_OF_INTEREST__XOFFSET: - setX_offset((Object)newValue); - return; - case Sensor_datatypesPackage.REGION_OF_INTEREST__YOFFSET: - setY_offset((Object)newValue); - return; - case Sensor_datatypesPackage.REGION_OF_INTEREST__HEIGHT: - setHeight((Object)newValue); - return; - case Sensor_datatypesPackage.REGION_OF_INTEREST__DO_RECTIFY: - setDo_rectify((Object)newValue); - return; - case Sensor_datatypesPackage.REGION_OF_INTEREST__WIDTH: - setWidth((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.REGION_OF_INTEREST__XOFFSET: - setX_offset(XOFFSET_EDEFAULT); - return; - case Sensor_datatypesPackage.REGION_OF_INTEREST__YOFFSET: - setY_offset(YOFFSET_EDEFAULT); - return; - case Sensor_datatypesPackage.REGION_OF_INTEREST__HEIGHT: - setHeight(HEIGHT_EDEFAULT); - return; - case Sensor_datatypesPackage.REGION_OF_INTEREST__DO_RECTIFY: - setDo_rectify(DO_RECTIFY_EDEFAULT); - return; - case Sensor_datatypesPackage.REGION_OF_INTEREST__WIDTH: - setWidth(WIDTH_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Sensor_datatypesPackage.REGION_OF_INTEREST__XOFFSET: - return XOFFSET_EDEFAULT == null ? x_offset != null : !XOFFSET_EDEFAULT.equals(x_offset); - case Sensor_datatypesPackage.REGION_OF_INTEREST__YOFFSET: - return YOFFSET_EDEFAULT == null ? y_offset != null : !YOFFSET_EDEFAULT.equals(y_offset); - case Sensor_datatypesPackage.REGION_OF_INTEREST__HEIGHT: - return HEIGHT_EDEFAULT == null ? height != null : !HEIGHT_EDEFAULT.equals(height); - case Sensor_datatypesPackage.REGION_OF_INTEREST__DO_RECTIFY: - return DO_RECTIFY_EDEFAULT == null ? do_rectify != null : !DO_RECTIFY_EDEFAULT.equals(do_rectify); - case Sensor_datatypesPackage.REGION_OF_INTEREST__WIDTH: - return WIDTH_EDEFAULT == null ? width != null : !WIDTH_EDEFAULT.equals(width); - } - 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_offset: "); - result.append(x_offset); - result.append(", y_offset: "); - result.append(y_offset); - result.append(", height: "); - result.append(height); - result.append(", do_rectify: "); - result.append(do_rectify); - result.append(", width: "); - result.append(width); - result.append(')'); - return result.toString(); - } - -} // RegionOfInterestImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/Sensor_datatypesFactoryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/Sensor_datatypesFactoryImpl.java deleted file mode 100644 index 9a57c047a1e..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/Sensor_datatypesFactoryImpl.java +++ /dev/null @@ -1,412 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_datatypesFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static Sensor_datatypesFactory init() { - try { - Sensor_datatypesFactory theSensor_datatypesFactory = (Sensor_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Sensor_datatypesPackage.eNS_URI); - if (theSensor_datatypesFactory != null) { - return theSensor_datatypesFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new Sensor_datatypesFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Sensor_datatypesFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case Sensor_datatypesPackage.REGION_OF_INTEREST: return createRegionOfInterest(); - case Sensor_datatypesPackage.RANGE: return createRange(); - case Sensor_datatypesPackage.CAMERA_INFO: return createCameraInfo(); - case Sensor_datatypesPackage.IMU: return createImu(); - case Sensor_datatypesPackage.LASER_SCAN: return createLaserScan(); - case Sensor_datatypesPackage.IMAGE: return createImage(); - case Sensor_datatypesPackage.CHANNEL_FLOAT32: return createChannelFloat32(); - case Sensor_datatypesPackage.COMPRESSED_IMAGE: return createCompressedImage(); - case Sensor_datatypesPackage.POINT_CLOUD: return createPointCloud(); - case Sensor_datatypesPackage.POINT_FIELD: return createPointField(); - case Sensor_datatypesPackage.POINT_CLOUD2: return createPointCloud2(); - case Sensor_datatypesPackage.JOINT_STATE: return createJointState(); - case Sensor_datatypesPackage.NAV_SAT_STATUS: return createNavSatStatus(); - case Sensor_datatypesPackage.NAV_SAT_FIX: return createNavSatFix(); - case Sensor_datatypesPackage.JOY: return createJoy(); - case Sensor_datatypesPackage.JOY_FEEDBACK: return createJoyFeedback(); - case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY: return createJoyFeedbackArray(); - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY: return createCarLikeOdometry(); - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY: return createDifferentialOdometry(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case Sensor_datatypesPackage.STATUS_TYPE: - return createSTATUS_TYPEFromString(eDataType, initialValue); - case Sensor_datatypesPackage.SERVICE_TYPE: - return createSERVICE_TYPEFromString(eDataType, initialValue); - case Sensor_datatypesPackage.COVARIANCE_TYPE: - return createCOVARIANCE_TYPEFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case Sensor_datatypesPackage.STATUS_TYPE: - return convertSTATUS_TYPEToString(eDataType, instanceValue); - case Sensor_datatypesPackage.SERVICE_TYPE: - return convertSERVICE_TYPEToString(eDataType, instanceValue); - case Sensor_datatypesPackage.COVARIANCE_TYPE: - return convertCOVARIANCE_TYPEToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RegionOfInterest createRegionOfInterest() { - RegionOfInterestImpl regionOfInterest = new RegionOfInterestImpl(); - return regionOfInterest; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Range createRange() { - RangeImpl range = new RangeImpl(); - return range; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public CameraInfo createCameraInfo() { - CameraInfoImpl cameraInfo = new CameraInfoImpl(); - return cameraInfo; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Imu createImu() { - ImuImpl imu = new ImuImpl(); - return imu; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public LaserScan createLaserScan() { - LaserScanImpl laserScan = new LaserScanImpl(); - return laserScan; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Image createImage() { - ImageImpl image = new ImageImpl(); - return image; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ChannelFloat32 createChannelFloat32() { - ChannelFloat32Impl channelFloat32 = new ChannelFloat32Impl(); - return channelFloat32; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public CompressedImage createCompressedImage() { - CompressedImageImpl compressedImage = new CompressedImageImpl(); - return compressedImage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PointCloud createPointCloud() { - PointCloudImpl pointCloud = new PointCloudImpl(); - return pointCloud; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PointField createPointField() { - PointFieldImpl pointField = new PointFieldImpl(); - return pointField; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PointCloud2 createPointCloud2() { - PointCloud2Impl pointCloud2 = new PointCloud2Impl(); - return pointCloud2; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JointState createJointState() { - JointStateImpl jointState = new JointStateImpl(); - return jointState; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NavSatStatus createNavSatStatus() { - NavSatStatusImpl navSatStatus = new NavSatStatusImpl(); - return navSatStatus; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NavSatFix createNavSatFix() { - NavSatFixImpl navSatFix = new NavSatFixImpl(); - return navSatFix; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Joy createJoy() { - JoyImpl joy = new JoyImpl(); - return joy; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JoyFeedback createJoyFeedback() { - JoyFeedbackImpl joyFeedback = new JoyFeedbackImpl(); - return joyFeedback; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JoyFeedbackArray createJoyFeedbackArray() { - JoyFeedbackArrayImpl joyFeedbackArray = new JoyFeedbackArrayImpl(); - return joyFeedbackArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public CarLikeOdometry createCarLikeOdometry() { - CarLikeOdometryImpl carLikeOdometry = new CarLikeOdometryImpl(); - return carLikeOdometry; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DifferentialOdometry createDifferentialOdometry() { - DifferentialOdometryImpl differentialOdometry = new DifferentialOdometryImpl(); - return differentialOdometry; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public STATUS_TYPE createSTATUS_TYPEFromString(EDataType eDataType, String initialValue) { - STATUS_TYPE result = STATUS_TYPE.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertSTATUS_TYPEToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SERVICE_TYPE createSERVICE_TYPEFromString(EDataType eDataType, String initialValue) { - SERVICE_TYPE result = SERVICE_TYPE.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertSERVICE_TYPEToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public COVARIANCE_TYPE createCOVARIANCE_TYPEFromString(EDataType eDataType, String initialValue) { - COVARIANCE_TYPE result = COVARIANCE_TYPE.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertCOVARIANCE_TYPEToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Sensor_datatypesPackage getSensor_datatypesPackage() { - return (Sensor_datatypesPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static Sensor_datatypesPackage getPackage() { - return Sensor_datatypesPackage.eINSTANCE; - } - -} // Sensor_datatypesFactoryImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/Sensor_datatypesPackageImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/Sensor_datatypesPackageImpl.java deleted file mode 100644 index ab87dde7de7..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/impl/Sensor_datatypesPackageImpl.java +++ /dev/null @@ -1,1917 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.papyrus.RobotML.RobotMLPackage; -import org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_datatypesPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass regionOfInterestEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass rangeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass cameraInfoEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass imuEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass laserScanEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass imageEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass channelFloat32EClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass compressedImageEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass pointCloudEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass pointFieldEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass pointCloud2EClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass jointStateEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass navSatStatusEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass navSatFixEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass joyEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass joyFeedbackEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass joyFeedbackArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass carLikeOdometryEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass differentialOdometryEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum statuS_TYPEEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum servicE_TYPEEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum covariancE_TYPEEEnum = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#eNS_URI - * @see #init() - * @generated - */ - private Sensor_datatypesPackageImpl() { - super(eNS_URI, Sensor_datatypesFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link Sensor_datatypesPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> <!-- - * end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static Sensor_datatypesPackage init() { - if (isInited) return (Sensor_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI); - - // Obtain or create and register package - Sensor_datatypesPackageImpl theSensor_datatypesPackage = (Sensor_datatypesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Sensor_datatypesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Sensor_datatypesPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - RobotMLPackageImpl theRobotMLPackage = (RobotMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) instanceof RobotMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) : RobotMLPackage.eINSTANCE); - Diagnostic_datatypesPackageImpl theDiagnostic_datatypesPackage = (Diagnostic_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) instanceof Diagnostic_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) : Diagnostic_datatypesPackage.eINSTANCE); - Geometry_datatypesPackageImpl theGeometry_datatypesPackage = (Geometry_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) instanceof Geometry_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) : Geometry_datatypesPackage.eINSTANCE); - Nav_datatypesPackageImpl theNav_datatypesPackage = (Nav_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) instanceof Nav_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) : Nav_datatypesPackage.eINSTANCE); - Actionlib_datatypesPackageImpl theActionlib_datatypesPackage = (Actionlib_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) instanceof Actionlib_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) : Actionlib_datatypesPackage.eINSTANCE); - Oarp1_datatypesPackageImpl theOarp1_datatypesPackage = (Oarp1_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) instanceof Oarp1_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) : Oarp1_datatypesPackage.eINSTANCE); - Oarp4_datatypesPackageImpl theOarp4_datatypesPackage = (Oarp4_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) instanceof Oarp4_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) : Oarp4_datatypesPackage.eINSTANCE); - Std_datatypesPackageImpl theStd_datatypesPackage = (Std_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) instanceof Std_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI) : Std_datatypesPackage.eINSTANCE); - - // Create package meta-data objects - theSensor_datatypesPackage.createPackageContents(); - theRobotMLPackage.createPackageContents(); - theDiagnostic_datatypesPackage.createPackageContents(); - theGeometry_datatypesPackage.createPackageContents(); - theNav_datatypesPackage.createPackageContents(); - theActionlib_datatypesPackage.createPackageContents(); - theOarp1_datatypesPackage.createPackageContents(); - theOarp4_datatypesPackage.createPackageContents(); - theStd_datatypesPackage.createPackageContents(); - - // Initialize created meta-data - theSensor_datatypesPackage.initializePackageContents(); - theRobotMLPackage.initializePackageContents(); - theDiagnostic_datatypesPackage.initializePackageContents(); - theGeometry_datatypesPackage.initializePackageContents(); - theNav_datatypesPackage.initializePackageContents(); - theActionlib_datatypesPackage.initializePackageContents(); - theOarp1_datatypesPackage.initializePackageContents(); - theOarp4_datatypesPackage.initializePackageContents(); - theStd_datatypesPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theSensor_datatypesPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(Sensor_datatypesPackage.eNS_URI, theSensor_datatypesPackage); - return theSensor_datatypesPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRegionOfInterest() { - return regionOfInterestEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRegionOfInterest_X_offset() { - return (EAttribute)regionOfInterestEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRegionOfInterest_Y_offset() { - return (EAttribute)regionOfInterestEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRegionOfInterest_Height() { - return (EAttribute)regionOfInterestEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRegionOfInterest_Do_rectify() { - return (EAttribute)regionOfInterestEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRegionOfInterest_Width() { - return (EAttribute)regionOfInterestEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRange() { - return rangeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRange_ULTRASOUND() { - return (EAttribute)rangeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRange_INFRARED() { - return (EAttribute)rangeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRange_Header() { - return (EReference)rangeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRange_Radiation_type() { - return (EAttribute)rangeEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRange_Field_of_view() { - return (EAttribute)rangeEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRange_Min_range() { - return (EAttribute)rangeEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRange_Max_range() { - return (EAttribute)rangeEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRange_Range() { - return (EAttribute)rangeEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getCameraInfo() { - return cameraInfoEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getCameraInfo_Header() { - return (EReference)cameraInfoEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCameraInfo_Height() { - return (EAttribute)cameraInfoEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCameraInfo_Width() { - return (EAttribute)cameraInfoEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCameraInfo_Distorsion_model() { - return (EAttribute)cameraInfoEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCameraInfo_D() { - return (EAttribute)cameraInfoEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCameraInfo_K() { - return (EAttribute)cameraInfoEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCameraInfo_R() { - return (EAttribute)cameraInfoEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCameraInfo_P() { - return (EAttribute)cameraInfoEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCameraInfo_Binning_x() { - return (EAttribute)cameraInfoEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCameraInfo_Binning_y() { - return (EAttribute)cameraInfoEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getCameraInfo_Roi() { - return (EReference)cameraInfoEClass.getEStructuralFeatures().get(10); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getImu() { - return imuEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getImu_Header() { - return (EReference)imuEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getImu_Orientation() { - return (EReference)imuEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getImu_Orientation_covariance() { - return (EAttribute)imuEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getImu_Angular_velocity() { - return (EReference)imuEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getImu_Angular_velocity_covariance() { - return (EAttribute)imuEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getImu_Linear_acceleration() { - return (EReference)imuEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getImu_Linear_acceleration_covariance() { - return (EAttribute)imuEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getLaserScan() { - return laserScanEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getLaserScan_Header() { - return (EReference)laserScanEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLaserScan_Angle_min() { - return (EAttribute)laserScanEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLaserScan_Angle_max() { - return (EAttribute)laserScanEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLaserScan_Angle_increment() { - return (EAttribute)laserScanEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLaserScan_Time_increment() { - return (EAttribute)laserScanEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLaserScan_Scan_time() { - return (EAttribute)laserScanEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLaserScan_Range_min() { - return (EAttribute)laserScanEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLaserScan_Range_max() { - return (EAttribute)laserScanEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLaserScan_Range() { - return (EAttribute)laserScanEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLaserScan_Intensities() { - return (EAttribute)laserScanEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getImage() { - return imageEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getImage_Header() { - return (EReference)imageEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getImage_Height() { - return (EAttribute)imageEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getImage_Width() { - return (EAttribute)imageEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getImage_Encoding() { - return (EAttribute)imageEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getImage_Is_bigendian() { - return (EAttribute)imageEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getImage_Step() { - return (EAttribute)imageEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getImage_Data() { - return (EAttribute)imageEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getChannelFloat32() { - return channelFloat32EClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getChannelFloat32_Name() { - return (EAttribute)channelFloat32EClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getChannelFloat32_Values() { - return (EAttribute)channelFloat32EClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getCompressedImage() { - return compressedImageEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getCompressedImage_Header() { - return (EReference)compressedImageEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCompressedImage_Format() { - return (EAttribute)compressedImageEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCompressedImage_Data() { - return (EAttribute)compressedImageEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPointCloud() { - return pointCloudEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPointCloud_Header() { - return (EReference)pointCloudEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPointCloud_Points() { - return (EReference)pointCloudEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPointCloud_Channels() { - return (EReference)pointCloudEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPointField() { - return pointFieldEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPointField_Name() { - return (EAttribute)pointFieldEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPointField_Offset() { - return (EAttribute)pointFieldEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPointField_Datatype() { - return (EAttribute)pointFieldEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPointField_Count() { - return (EAttribute)pointFieldEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPointCloud2() { - return pointCloud2EClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPointCloud2_Header() { - return (EReference)pointCloud2EClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPointCloud2_Height() { - return (EAttribute)pointCloud2EClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPointCloud2_Width() { - return (EAttribute)pointCloud2EClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPointCloud2_Fields() { - return (EReference)pointCloud2EClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPointCloud2_Is_bigendian() { - return (EAttribute)pointCloud2EClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPointCloud2_Point_step() { - return (EAttribute)pointCloud2EClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPointCloud2_Row_step() { - return (EAttribute)pointCloud2EClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPointCloud2_Data() { - return (EAttribute)pointCloud2EClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPointCloud2_Is_dense() { - return (EAttribute)pointCloud2EClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getJointState() { - return jointStateEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJointState_Name() { - return (EAttribute)jointStateEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJointState_Position() { - return (EAttribute)jointStateEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJointState_Velocity() { - return (EAttribute)jointStateEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJointState_Effort() { - return (EAttribute)jointStateEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getNavSatStatus() { - return navSatStatusEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatStatus_STATUS_NO_FIX() { - return (EAttribute)navSatStatusEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatStatus_STATUS_FIX() { - return (EAttribute)navSatStatusEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatStatus_STATUS_SBAS_FIX() { - return (EAttribute)navSatStatusEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatStatus_STATUS_GBAS_FIX() { - return (EAttribute)navSatStatusEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatStatus_Status() { - return (EAttribute)navSatStatusEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatStatus_SERVICE_GPS() { - return (EAttribute)navSatStatusEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatStatus_SERVICE_GLONASS() { - return (EAttribute)navSatStatusEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatStatus_SERVICE_COMPASS() { - return (EAttribute)navSatStatusEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatStatus_SERVICE_GALILEO() { - return (EAttribute)navSatStatusEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatStatus_Service() { - return (EAttribute)navSatStatusEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getNavSatFix() { - return navSatFixEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatFix_Status() { - return (EAttribute)navSatFixEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatFix_Service() { - return (EAttribute)navSatFixEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getNavSatFix_Header() { - return (EReference)navSatFixEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatFix_Latitude() { - return (EAttribute)navSatFixEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatFix_Longitude() { - return (EAttribute)navSatFixEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatFix_Altitude() { - return (EAttribute)navSatFixEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatFix_Position_covariance() { - return (EAttribute)navSatFixEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavSatFix_Position_covariance_type() { - return (EAttribute)navSatFixEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getJoy() { - return joyEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJoy_Header() { - return (EReference)joyEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJoy_Axes() { - return (EAttribute)joyEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJoy_Buttons() { - return (EAttribute)joyEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getJoyFeedback() { - return joyFeedbackEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJoyFeedback_TYPE_LED() { - return (EAttribute)joyFeedbackEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJoyFeedback_TYPE_RUMBLE() { - return (EAttribute)joyFeedbackEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJoyFeedback_TYPE_BUZZER() { - return (EAttribute)joyFeedbackEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJoyFeedback_Type() { - return (EAttribute)joyFeedbackEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJoyFeedback_Id() { - return (EAttribute)joyFeedbackEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJoyFeedback_Intensity() { - return (EAttribute)joyFeedbackEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getJoyFeedbackArray() { - return joyFeedbackArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJoyFeedbackArray_Array() { - return (EReference)joyFeedbackArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getCarLikeOdometry() { - return carLikeOdometryEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getCarLikeOdometry_Header() { - return (EReference)carLikeOdometryEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCarLikeOdometry_Steering_angle() { - return (EAttribute)carLikeOdometryEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCarLikeOdometry_Left_rear_wheel_distance() { - return (EAttribute)carLikeOdometryEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCarLikeOdometry_Right_rear_wheel_distance() { - return (EAttribute)carLikeOdometryEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCarLikeOdometry_Right_rear_wheel_velocity() { - return (EAttribute)carLikeOdometryEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getCarLikeOdometry_Left_rear_wheel_velocity() { - return (EAttribute)carLikeOdometryEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDifferentialOdometry() { - return differentialOdometryEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDifferentialOdometry_Header() { - return (EReference)differentialOdometryEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDifferentialOdometry_Right_distance() { - return (EAttribute)differentialOdometryEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDifferentialOdometry_Left_distance() { - return (EAttribute)differentialOdometryEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDifferentialOdometry_Left_velocity() { - return (EAttribute)differentialOdometryEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDifferentialOdometry_Right_velocity() { - return (EAttribute)differentialOdometryEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getSTATUS_TYPE() { - return statuS_TYPEEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getSERVICE_TYPE() { - return servicE_TYPEEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getCOVARIANCE_TYPE() { - return covariancE_TYPEEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Sensor_datatypesFactory getSensor_datatypesFactory() { - return (Sensor_datatypesFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - regionOfInterestEClass = createEClass(REGION_OF_INTEREST); - createEAttribute(regionOfInterestEClass, REGION_OF_INTEREST__XOFFSET); - createEAttribute(regionOfInterestEClass, REGION_OF_INTEREST__YOFFSET); - createEAttribute(regionOfInterestEClass, REGION_OF_INTEREST__HEIGHT); - createEAttribute(regionOfInterestEClass, REGION_OF_INTEREST__DO_RECTIFY); - createEAttribute(regionOfInterestEClass, REGION_OF_INTEREST__WIDTH); - - rangeEClass = createEClass(RANGE); - createEAttribute(rangeEClass, RANGE__ULTRASOUND); - createEAttribute(rangeEClass, RANGE__INFRARED); - createEReference(rangeEClass, RANGE__HEADER); - createEAttribute(rangeEClass, RANGE__RADIATION_TYPE); - createEAttribute(rangeEClass, RANGE__FIELD_OF_VIEW); - createEAttribute(rangeEClass, RANGE__MIN_RANGE); - createEAttribute(rangeEClass, RANGE__MAX_RANGE); - createEAttribute(rangeEClass, RANGE__RANGE); - - cameraInfoEClass = createEClass(CAMERA_INFO); - createEReference(cameraInfoEClass, CAMERA_INFO__HEADER); - createEAttribute(cameraInfoEClass, CAMERA_INFO__HEIGHT); - createEAttribute(cameraInfoEClass, CAMERA_INFO__WIDTH); - createEAttribute(cameraInfoEClass, CAMERA_INFO__DISTORSION_MODEL); - createEAttribute(cameraInfoEClass, CAMERA_INFO__D); - createEAttribute(cameraInfoEClass, CAMERA_INFO__K); - createEAttribute(cameraInfoEClass, CAMERA_INFO__R); - createEAttribute(cameraInfoEClass, CAMERA_INFO__P); - createEAttribute(cameraInfoEClass, CAMERA_INFO__BINNING_X); - createEAttribute(cameraInfoEClass, CAMERA_INFO__BINNING_Y); - createEReference(cameraInfoEClass, CAMERA_INFO__ROI); - - imuEClass = createEClass(IMU); - createEReference(imuEClass, IMU__HEADER); - createEReference(imuEClass, IMU__ORIENTATION); - createEAttribute(imuEClass, IMU__ORIENTATION_COVARIANCE); - createEReference(imuEClass, IMU__ANGULAR_VELOCITY); - createEAttribute(imuEClass, IMU__ANGULAR_VELOCITY_COVARIANCE); - createEReference(imuEClass, IMU__LINEAR_ACCELERATION); - createEAttribute(imuEClass, IMU__LINEAR_ACCELERATION_COVARIANCE); - - laserScanEClass = createEClass(LASER_SCAN); - createEReference(laserScanEClass, LASER_SCAN__HEADER); - createEAttribute(laserScanEClass, LASER_SCAN__ANGLE_MIN); - createEAttribute(laserScanEClass, LASER_SCAN__ANGLE_MAX); - createEAttribute(laserScanEClass, LASER_SCAN__ANGLE_INCREMENT); - createEAttribute(laserScanEClass, LASER_SCAN__TIME_INCREMENT); - createEAttribute(laserScanEClass, LASER_SCAN__SCAN_TIME); - createEAttribute(laserScanEClass, LASER_SCAN__RANGE_MIN); - createEAttribute(laserScanEClass, LASER_SCAN__RANGE_MAX); - createEAttribute(laserScanEClass, LASER_SCAN__RANGE); - createEAttribute(laserScanEClass, LASER_SCAN__INTENSITIES); - - imageEClass = createEClass(IMAGE); - createEReference(imageEClass, IMAGE__HEADER); - createEAttribute(imageEClass, IMAGE__HEIGHT); - createEAttribute(imageEClass, IMAGE__WIDTH); - createEAttribute(imageEClass, IMAGE__ENCODING); - createEAttribute(imageEClass, IMAGE__IS_BIGENDIAN); - createEAttribute(imageEClass, IMAGE__STEP); - createEAttribute(imageEClass, IMAGE__DATA); - - channelFloat32EClass = createEClass(CHANNEL_FLOAT32); - createEAttribute(channelFloat32EClass, CHANNEL_FLOAT32__NAME); - createEAttribute(channelFloat32EClass, CHANNEL_FLOAT32__VALUES); - - compressedImageEClass = createEClass(COMPRESSED_IMAGE); - createEReference(compressedImageEClass, COMPRESSED_IMAGE__HEADER); - createEAttribute(compressedImageEClass, COMPRESSED_IMAGE__FORMAT); - createEAttribute(compressedImageEClass, COMPRESSED_IMAGE__DATA); - - pointCloudEClass = createEClass(POINT_CLOUD); - createEReference(pointCloudEClass, POINT_CLOUD__HEADER); - createEReference(pointCloudEClass, POINT_CLOUD__POINTS); - createEReference(pointCloudEClass, POINT_CLOUD__CHANNELS); - - pointFieldEClass = createEClass(POINT_FIELD); - createEAttribute(pointFieldEClass, POINT_FIELD__NAME); - createEAttribute(pointFieldEClass, POINT_FIELD__OFFSET); - createEAttribute(pointFieldEClass, POINT_FIELD__DATATYPE); - createEAttribute(pointFieldEClass, POINT_FIELD__COUNT); - - pointCloud2EClass = createEClass(POINT_CLOUD2); - createEReference(pointCloud2EClass, POINT_CLOUD2__HEADER); - createEAttribute(pointCloud2EClass, POINT_CLOUD2__HEIGHT); - createEAttribute(pointCloud2EClass, POINT_CLOUD2__WIDTH); - createEReference(pointCloud2EClass, POINT_CLOUD2__FIELDS); - createEAttribute(pointCloud2EClass, POINT_CLOUD2__IS_BIGENDIAN); - createEAttribute(pointCloud2EClass, POINT_CLOUD2__POINT_STEP); - createEAttribute(pointCloud2EClass, POINT_CLOUD2__ROW_STEP); - createEAttribute(pointCloud2EClass, POINT_CLOUD2__DATA); - createEAttribute(pointCloud2EClass, POINT_CLOUD2__IS_DENSE); - - jointStateEClass = createEClass(JOINT_STATE); - createEAttribute(jointStateEClass, JOINT_STATE__NAME); - createEAttribute(jointStateEClass, JOINT_STATE__POSITION); - createEAttribute(jointStateEClass, JOINT_STATE__VELOCITY); - createEAttribute(jointStateEClass, JOINT_STATE__EFFORT); - - navSatStatusEClass = createEClass(NAV_SAT_STATUS); - createEAttribute(navSatStatusEClass, NAV_SAT_STATUS__STATUS_NO_FIX); - createEAttribute(navSatStatusEClass, NAV_SAT_STATUS__STATUS_FIX); - createEAttribute(navSatStatusEClass, NAV_SAT_STATUS__STATUS_SBAS_FIX); - createEAttribute(navSatStatusEClass, NAV_SAT_STATUS__STATUS_GBAS_FIX); - createEAttribute(navSatStatusEClass, NAV_SAT_STATUS__STATUS); - createEAttribute(navSatStatusEClass, NAV_SAT_STATUS__SERVICE_GPS); - createEAttribute(navSatStatusEClass, NAV_SAT_STATUS__SERVICE_GLONASS); - createEAttribute(navSatStatusEClass, NAV_SAT_STATUS__SERVICE_COMPASS); - createEAttribute(navSatStatusEClass, NAV_SAT_STATUS__SERVICE_GALILEO); - createEAttribute(navSatStatusEClass, NAV_SAT_STATUS__SERVICE); - - navSatFixEClass = createEClass(NAV_SAT_FIX); - createEAttribute(navSatFixEClass, NAV_SAT_FIX__STATUS); - createEAttribute(navSatFixEClass, NAV_SAT_FIX__SERVICE); - createEReference(navSatFixEClass, NAV_SAT_FIX__HEADER); - createEAttribute(navSatFixEClass, NAV_SAT_FIX__LATITUDE); - createEAttribute(navSatFixEClass, NAV_SAT_FIX__LONGITUDE); - createEAttribute(navSatFixEClass, NAV_SAT_FIX__ALTITUDE); - createEAttribute(navSatFixEClass, NAV_SAT_FIX__POSITION_COVARIANCE); - createEAttribute(navSatFixEClass, NAV_SAT_FIX__POSITION_COVARIANCE_TYPE); - - joyEClass = createEClass(JOY); - createEReference(joyEClass, JOY__HEADER); - createEAttribute(joyEClass, JOY__AXES); - createEAttribute(joyEClass, JOY__BUTTONS); - - joyFeedbackEClass = createEClass(JOY_FEEDBACK); - createEAttribute(joyFeedbackEClass, JOY_FEEDBACK__TYPE_LED); - createEAttribute(joyFeedbackEClass, JOY_FEEDBACK__TYPE_RUMBLE); - createEAttribute(joyFeedbackEClass, JOY_FEEDBACK__TYPE_BUZZER); - createEAttribute(joyFeedbackEClass, JOY_FEEDBACK__TYPE); - createEAttribute(joyFeedbackEClass, JOY_FEEDBACK__ID); - createEAttribute(joyFeedbackEClass, JOY_FEEDBACK__INTENSITY); - - joyFeedbackArrayEClass = createEClass(JOY_FEEDBACK_ARRAY); - createEReference(joyFeedbackArrayEClass, JOY_FEEDBACK_ARRAY__ARRAY); - - carLikeOdometryEClass = createEClass(CAR_LIKE_ODOMETRY); - createEReference(carLikeOdometryEClass, CAR_LIKE_ODOMETRY__HEADER); - createEAttribute(carLikeOdometryEClass, CAR_LIKE_ODOMETRY__STEERING_ANGLE); - createEAttribute(carLikeOdometryEClass, CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE); - createEAttribute(carLikeOdometryEClass, CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE); - createEAttribute(carLikeOdometryEClass, CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY); - createEAttribute(carLikeOdometryEClass, CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_VELOCITY); - - differentialOdometryEClass = createEClass(DIFFERENTIAL_ODOMETRY); - createEReference(differentialOdometryEClass, DIFFERENTIAL_ODOMETRY__HEADER); - createEAttribute(differentialOdometryEClass, DIFFERENTIAL_ODOMETRY__RIGHT_DISTANCE); - createEAttribute(differentialOdometryEClass, DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE); - createEAttribute(differentialOdometryEClass, DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY); - createEAttribute(differentialOdometryEClass, DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY); - - // Create enums - statuS_TYPEEEnum = createEEnum(STATUS_TYPE); - servicE_TYPEEEnum = createEEnum(SERVICE_TYPE); - covariancE_TYPEEEnum = createEEnum(COVARIANCE_TYPE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - Std_datatypesPackage theStd_datatypesPackage = (Std_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI); - Geometry_datatypesPackage theGeometry_datatypesPackage = (Geometry_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(regionOfInterestEClass, RegionOfInterest.class, "RegionOfInterest", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getRegionOfInterest_X_offset(), theStd_datatypesPackage.getUInt32(), "x_offset", null, 1, 1, RegionOfInterest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getRegionOfInterest_Y_offset(), theStd_datatypesPackage.getUInt32(), "y_offset", null, 1, 1, RegionOfInterest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getRegionOfInterest_Height(), theStd_datatypesPackage.getUInt32(), "height", null, 1, 1, RegionOfInterest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getRegionOfInterest_Do_rectify(), theStd_datatypesPackage.getBool(), "do_rectify", null, 1, 1, RegionOfInterest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getRegionOfInterest_Width(), theStd_datatypesPackage.getUInt32(), "width", null, 1, 1, RegionOfInterest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(rangeEClass, Range.class, "Range", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getRange_ULTRASOUND(), theStd_datatypesPackage.getUInt8(), "ULTRASOUND", null, 1, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getRange_INFRARED(), theStd_datatypesPackage.getUInt8(), "INFRARED", null, 1, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getRange_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getRange_Radiation_type(), theStd_datatypesPackage.getUInt8(), "radiation_type", null, 1, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getRange_Field_of_view(), theStd_datatypesPackage.getFloat32(), "field_of_view", null, 1, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getRange_Min_range(), theStd_datatypesPackage.getFloat32(), "min_range", null, 1, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getRange_Max_range(), theStd_datatypesPackage.getFloat32(), "max_range", null, 1, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getRange_Range(), theStd_datatypesPackage.getFloat32(), "range", null, 1, 1, Range.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(cameraInfoEClass, CameraInfo.class, "CameraInfo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getCameraInfo_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, CameraInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCameraInfo_Height(), theStd_datatypesPackage.getUInt32(), "height", null, 1, 1, CameraInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCameraInfo_Width(), theStd_datatypesPackage.getUInt32(), "width", null, 1, 1, CameraInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCameraInfo_Distorsion_model(), theStd_datatypesPackage.getString(), "distorsion_model", null, 1, 1, CameraInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCameraInfo_D(), theStd_datatypesPackage.getFloat64(), "D", null, 0, -1, CameraInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCameraInfo_K(), theStd_datatypesPackage.getFloat64(), "K", null, 9, 9, CameraInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCameraInfo_R(), theStd_datatypesPackage.getFloat64(), "R", null, 9, 9, CameraInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCameraInfo_P(), theStd_datatypesPackage.getFloat64(), "P", null, 12, 12, CameraInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCameraInfo_Binning_x(), theStd_datatypesPackage.getUInt32(), "binning_x", null, 1, 1, CameraInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCameraInfo_Binning_y(), theStd_datatypesPackage.getUInt32(), "binning_y", null, 1, 1, CameraInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getCameraInfo_Roi(), this.getRegionOfInterest(), null, "roi", null, 1, 1, CameraInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(imuEClass, Imu.class, "Imu", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getImu_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, Imu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getImu_Orientation(), theGeometry_datatypesPackage.getQuaternion(), null, "orientation", null, 1, 1, Imu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getImu_Orientation_covariance(), theStd_datatypesPackage.getFloat64(), "orientation_covariance", null, 9, 9, Imu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getImu_Angular_velocity(), theGeometry_datatypesPackage.getVector3(), null, "angular_velocity", null, 1, 1, Imu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getImu_Angular_velocity_covariance(), theStd_datatypesPackage.getFloat64(), "angular_velocity_covariance", null, 9, 9, Imu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getImu_Linear_acceleration(), theGeometry_datatypesPackage.getVector3(), null, "linear_acceleration", null, 1, 1, Imu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getImu_Linear_acceleration_covariance(), theStd_datatypesPackage.getFloat64(), "linear_acceleration_covariance", null, 9, 9, Imu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(laserScanEClass, LaserScan.class, "LaserScan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getLaserScan_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, LaserScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getLaserScan_Angle_min(), theStd_datatypesPackage.getFloat32(), "angle_min", null, 1, 1, LaserScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getLaserScan_Angle_max(), theStd_datatypesPackage.getFloat32(), "angle_max", null, 1, 1, LaserScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getLaserScan_Angle_increment(), theStd_datatypesPackage.getFloat32(), "angle_increment", null, 1, 1, LaserScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getLaserScan_Time_increment(), theStd_datatypesPackage.getFloat32(), "time_increment", null, 1, 1, LaserScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getLaserScan_Scan_time(), theStd_datatypesPackage.getFloat32(), "scan_time", null, 1, 1, LaserScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getLaserScan_Range_min(), theStd_datatypesPackage.getFloat32(), "range_min", null, 1, 1, LaserScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getLaserScan_Range_max(), theStd_datatypesPackage.getFloat32(), "range_max", null, 1, 1, LaserScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getLaserScan_Range(), theStd_datatypesPackage.getFloat32(), "range", null, 0, -1, LaserScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getLaserScan_Intensities(), theStd_datatypesPackage.getFloat32(), "intensities", null, 0, -1, LaserScan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(imageEClass, Image.class, "Image", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getImage_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getImage_Height(), theStd_datatypesPackage.getUInt32(), "height", null, 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getImage_Width(), theStd_datatypesPackage.getUInt32(), "width", null, 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getImage_Encoding(), theStd_datatypesPackage.getString(), "encoding", null, 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getImage_Is_bigendian(), theStd_datatypesPackage.getUInt8(), "is_bigendian", null, 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getImage_Step(), theStd_datatypesPackage.getUInt32(), "step", null, 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getImage_Data(), theStd_datatypesPackage.getUInt8(), "data", null, 0, -1, Image.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(channelFloat32EClass, ChannelFloat32.class, "ChannelFloat32", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getChannelFloat32_Name(), theStd_datatypesPackage.getString(), "name", null, 1, 1, ChannelFloat32.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getChannelFloat32_Values(), theStd_datatypesPackage.getFloat32(), "values", null, 0, -1, ChannelFloat32.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(compressedImageEClass, CompressedImage.class, "CompressedImage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getCompressedImage_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, CompressedImage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCompressedImage_Format(), theStd_datatypesPackage.getString(), "format", null, 1, 1, CompressedImage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCompressedImage_Data(), theStd_datatypesPackage.getUInt8(), "data", null, 0, -1, CompressedImage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(pointCloudEClass, PointCloud.class, "PointCloud", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPointCloud_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, PointCloud.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getPointCloud_Points(), theGeometry_datatypesPackage.getPoint32(), null, "points", null, 0, -1, PointCloud.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getPointCloud_Channels(), this.getChannelFloat32(), null, "channels", null, 0, -1, PointCloud.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(pointFieldEClass, PointField.class, "PointField", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getPointField_Name(), theStd_datatypesPackage.getString(), "name", null, 1, 1, PointField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPointField_Offset(), theStd_datatypesPackage.getUInt32(), "offset", null, 1, 1, PointField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPointField_Datatype(), theStd_datatypesPackage.getUInt8(), "datatype", null, 1, 1, PointField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPointField_Count(), theStd_datatypesPackage.getUInt32(), "count", null, 1, 1, PointField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(pointCloud2EClass, PointCloud2.class, "PointCloud2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPointCloud2_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, PointCloud2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPointCloud2_Height(), theStd_datatypesPackage.getUInt32(), "height", null, 1, 1, PointCloud2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPointCloud2_Width(), theStd_datatypesPackage.getUInt32(), "width", null, 1, 1, PointCloud2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getPointCloud2_Fields(), this.getPointField(), null, "fields", null, 0, -1, PointCloud2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPointCloud2_Is_bigendian(), theStd_datatypesPackage.getBool(), "is_bigendian", null, 1, 1, PointCloud2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPointCloud2_Point_step(), theStd_datatypesPackage.getUInt32(), "point_step", null, 1, 1, PointCloud2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPointCloud2_Row_step(), theStd_datatypesPackage.getUInt32(), "row_step", null, 1, 1, PointCloud2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPointCloud2_Data(), theStd_datatypesPackage.getUInt8(), "data", null, 0, -1, PointCloud2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getPointCloud2_Is_dense(), theStd_datatypesPackage.getBool(), "is_dense", null, 1, 1, PointCloud2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(jointStateEClass, JointState.class, "JointState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getJointState_Name(), theStd_datatypesPackage.getString(), "name", null, 0, -1, JointState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getJointState_Position(), theStd_datatypesPackage.getFloat64(), "position", null, 0, -1, JointState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getJointState_Velocity(), theStd_datatypesPackage.getFloat64(), "velocity", null, 0, -1, JointState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getJointState_Effort(), theStd_datatypesPackage.getFloat64(), "effort", null, 0, -1, JointState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(navSatStatusEClass, NavSatStatus.class, "NavSatStatus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getNavSatStatus_STATUS_NO_FIX(), theStd_datatypesPackage.getInt8(), "STATUS_NO_FIX", "-1", 1, 1, NavSatStatus.class, !IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatStatus_STATUS_FIX(), theStd_datatypesPackage.getInt8(), "STATUS_FIX", "0", 1, 1, NavSatStatus.class, !IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatStatus_STATUS_SBAS_FIX(), theStd_datatypesPackage.getInt8(), "STATUS_SBAS_FIX", "1", 1, 1, NavSatStatus.class, !IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatStatus_STATUS_GBAS_FIX(), theStd_datatypesPackage.getInt8(), "STATUS_GBAS_FIX", "2", 1, 1, NavSatStatus.class, !IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatStatus_Status(), theStd_datatypesPackage.getInt8(), "status", null, 1, 1, NavSatStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatStatus_SERVICE_GPS(), theStd_datatypesPackage.getUInt16(), "SERVICE_GPS", "1", 1, 1, NavSatStatus.class, !IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatStatus_SERVICE_GLONASS(), theStd_datatypesPackage.getUInt16(), "SERVICE_GLONASS", "2", 1, 1, NavSatStatus.class, !IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatStatus_SERVICE_COMPASS(), theStd_datatypesPackage.getUInt16(), "SERVICE_COMPASS", "4", 1, 1, NavSatStatus.class, !IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatStatus_SERVICE_GALILEO(), theStd_datatypesPackage.getUInt16(), "SERVICE_GALILEO", "8", 1, 1, NavSatStatus.class, !IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatStatus_Service(), theStd_datatypesPackage.getUInt16(), "service", null, 1, 1, NavSatStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(navSatFixEClass, NavSatFix.class, "NavSatFix", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getNavSatFix_Status(), this.getSTATUS_TYPE(), "status", null, 1, 1, NavSatFix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatFix_Service(), this.getSERVICE_TYPE(), "service", null, 1, 1, NavSatFix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getNavSatFix_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, NavSatFix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatFix_Latitude(), theStd_datatypesPackage.getFloat64(), "latitude", null, 1, 1, NavSatFix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatFix_Longitude(), theStd_datatypesPackage.getFloat64(), "longitude", null, 1, 1, NavSatFix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatFix_Altitude(), theStd_datatypesPackage.getFloat64(), "altitude", null, 1, 1, NavSatFix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatFix_Position_covariance(), theStd_datatypesPackage.getFloat64(), "position_covariance", null, 9, 9, NavSatFix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getNavSatFix_Position_covariance_type(), this.getCOVARIANCE_TYPE(), "position_covariance_type", null, 1, 1, NavSatFix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(joyEClass, Joy.class, "Joy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getJoy_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, Joy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getJoy_Axes(), theStd_datatypesPackage.getFloat32(), "axes", null, 0, -1, Joy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getJoy_Buttons(), theStd_datatypesPackage.getInt32(), "buttons", null, 0, -1, Joy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(joyFeedbackEClass, JoyFeedback.class, "JoyFeedback", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getJoyFeedback_TYPE_LED(), theStd_datatypesPackage.getUInt8(), "TYPE_LED", "0", 1, 1, JoyFeedback.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getJoyFeedback_TYPE_RUMBLE(), theStd_datatypesPackage.getUInt8(), "TYPE_RUMBLE", "1", 1, 1, JoyFeedback.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getJoyFeedback_TYPE_BUZZER(), theStd_datatypesPackage.getUInt8(), "TYPE_BUZZER", "2", 1, 1, JoyFeedback.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getJoyFeedback_Type(), theStd_datatypesPackage.getUInt8(), "type", null, 1, 1, JoyFeedback.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getJoyFeedback_Id(), theStd_datatypesPackage.getUInt8(), "id", null, 1, 1, JoyFeedback.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getJoyFeedback_Intensity(), theStd_datatypesPackage.getFloat32(), "intensity", null, 1, 1, JoyFeedback.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(joyFeedbackArrayEClass, JoyFeedbackArray.class, "JoyFeedbackArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getJoyFeedbackArray_Array(), this.getJoyFeedback(), null, "array", null, 0, -1, JoyFeedbackArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(carLikeOdometryEClass, CarLikeOdometry.class, "CarLikeOdometry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getCarLikeOdometry_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, CarLikeOdometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCarLikeOdometry_Steering_angle(), theStd_datatypesPackage.getFloat64(), "steering_angle", null, 1, 1, CarLikeOdometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCarLikeOdometry_Left_rear_wheel_distance(), theStd_datatypesPackage.getFloat64(), "left_rear_wheel_distance", null, 1, 1, CarLikeOdometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCarLikeOdometry_Right_rear_wheel_distance(), theStd_datatypesPackage.getFloat64(), "right_rear_wheel_distance", null, 1, 1, CarLikeOdometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCarLikeOdometry_Right_rear_wheel_velocity(), theStd_datatypesPackage.getFloat64(), "right_rear_wheel_velocity", null, 1, 1, CarLikeOdometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getCarLikeOdometry_Left_rear_wheel_velocity(), theStd_datatypesPackage.getFloat64(), "left_rear_wheel_velocity", null, 1, 1, CarLikeOdometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(differentialOdometryEClass, DifferentialOdometry.class, "DifferentialOdometry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getDifferentialOdometry_Header(), theStd_datatypesPackage.getHeader(), null, "header", null, 1, 1, DifferentialOdometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getDifferentialOdometry_Right_distance(), theStd_datatypesPackage.getFloat64(), "right_distance", null, 1, 1, DifferentialOdometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getDifferentialOdometry_Left_distance(), theStd_datatypesPackage.getFloat64(), "left_distance", null, 1, 1, DifferentialOdometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getDifferentialOdometry_Left_velocity(), theStd_datatypesPackage.getFloat64(), "left_velocity", null, 1, 1, DifferentialOdometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getDifferentialOdometry_Right_velocity(), theStd_datatypesPackage.getFloat64(), "right_velocity", null, 1, 1, DifferentialOdometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(statuS_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE.class, "STATUS_TYPE"); - addEEnumLiteral(statuS_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE.STATUS_NO_FIX); - addEEnumLiteral(statuS_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE.STATUS_FIX); - addEEnumLiteral(statuS_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE.STATUS_SBAS_FIX); - addEEnumLiteral(statuS_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE.STATUS_GBAS_FIX); - - initEEnum(servicE_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE.class, "SERVICE_TYPE"); - addEEnumLiteral(servicE_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE.SERVICE_GPS); - addEEnumLiteral(servicE_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE.SERVICE_GLONASS); - addEEnumLiteral(servicE_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE.SERVICE_COMPASS); - addEEnumLiteral(servicE_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE.SERVICE_GALILEO); - - initEEnum(covariancE_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE.class, "COVARIANCE_TYPE"); - addEEnumLiteral(covariancE_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE.COVARIANCE_TYPE_UNKNOWN); - addEEnumLiteral(covariancE_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE.COVARIANCE_TYPE_APPROXIMATED); - addEEnumLiteral(covariancE_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE._COVARIANCE_TYPE_DIAGONAL_KNOWN); - addEEnumLiteral(covariancE_TYPEEEnum, org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE.COVARIANCE_TYPE_KNOWN); - - // Create resource - createResource(eNS_URI); - - // Create annotations - // http://www.eclipse.org/uml2/2.0.0/UML - createUMLAnnotations(); - } - - /** - * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createUMLAnnotations() { - String source = "http://www.eclipse.org/uml2/2.0.0/UML"; - addAnnotation - (covariancE_TYPEEEnum.getELiterals().get(2), - source, - new String[] { - "originalName", " COVARIANCE_TYPE_DIAGONAL_KNOWN" - }); - } - -} // Sensor_datatypesPackageImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/util/Sensor_datatypesAdapterFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/util/Sensor_datatypesAdapterFactory.java deleted file mode 100644 index 0f37c32e16d..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/util/Sensor_datatypesAdapterFactory.java +++ /dev/null @@ -1,460 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage - * @generated - */ -public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Sensor_datatypesPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Sensor_datatypesAdapterFactory() { - if (modelPackage == null) { - modelPackage = Sensor_datatypesPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Sensor_datatypesSwitch<Adapter> modelSwitch = - new Sensor_datatypesSwitch<Adapter>() { - @Override - public Adapter caseRegionOfInterest(RegionOfInterest object) { - return createRegionOfInterestAdapter(); - } - @Override - public Adapter caseRange(Range object) { - return createRangeAdapter(); - } - @Override - public Adapter caseCameraInfo(CameraInfo object) { - return createCameraInfoAdapter(); - } - @Override - public Adapter caseImu(Imu object) { - return createImuAdapter(); - } - @Override - public Adapter caseLaserScan(LaserScan object) { - return createLaserScanAdapter(); - } - @Override - public Adapter caseImage(Image object) { - return createImageAdapter(); - } - @Override - public Adapter caseChannelFloat32(ChannelFloat32 object) { - return createChannelFloat32Adapter(); - } - @Override - public Adapter caseCompressedImage(CompressedImage object) { - return createCompressedImageAdapter(); - } - @Override - public Adapter casePointCloud(PointCloud object) { - return createPointCloudAdapter(); - } - @Override - public Adapter casePointField(PointField object) { - return createPointFieldAdapter(); - } - @Override - public Adapter casePointCloud2(PointCloud2 object) { - return createPointCloud2Adapter(); - } - @Override - public Adapter caseJointState(JointState object) { - return createJointStateAdapter(); - } - @Override - public Adapter caseNavSatStatus(NavSatStatus object) { - return createNavSatStatusAdapter(); - } - @Override - public Adapter caseNavSatFix(NavSatFix object) { - return createNavSatFixAdapter(); - } - @Override - public Adapter caseJoy(Joy object) { - return createJoyAdapter(); - } - @Override - public Adapter caseJoyFeedback(JoyFeedback object) { - return createJoyFeedbackAdapter(); - } - @Override - public Adapter caseJoyFeedbackArray(JoyFeedbackArray object) { - return createJoyFeedbackArrayAdapter(); - } - @Override - public Adapter caseCarLikeOdometry(CarLikeOdometry object) { - return createCarLikeOdometryAdapter(); - } - @Override - public Adapter caseDifferentialOdometry(DifferentialOdometry object) { - return createDifferentialOdometryAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest <em>Region Of Interest</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest - * @generated - */ - public Adapter createRegionOfInterestAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range <em>Range</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range - * @generated - */ - public Adapter createRangeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo <em>Camera Info</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo - * @generated - */ - public Adapter createCameraInfoAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu <em>Imu</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu - * @generated - */ - public Adapter createImuAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan <em>Laser Scan</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan - * @generated - */ - public Adapter createLaserScanAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image <em>Image</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image - * @generated - */ - public Adapter createImageAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32 <em>Channel Float32</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32 - * @generated - */ - public Adapter createChannelFloat32Adapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage <em>Compressed Image</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage - * @generated - */ - public Adapter createCompressedImageAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud <em>Point Cloud</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud - * @generated - */ - public Adapter createPointCloudAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField <em>Point Field</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField - * @generated - */ - public Adapter createPointFieldAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2 <em>Point Cloud2</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2 - * @generated - */ - public Adapter createPointCloud2Adapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState <em>Joint State</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState - * @generated - */ - public Adapter createJointStateAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus <em>Nav Sat Status</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus - * @generated - */ - public Adapter createNavSatStatusAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix <em>Nav Sat Fix</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix - * @generated - */ - public Adapter createNavSatFixAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy <em>Joy</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy - * @generated - */ - public Adapter createJoyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback <em>Joy Feedback</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback - * @generated - */ - public Adapter createJoyFeedbackAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray <em>Joy Feedback Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray - * @generated - */ - public Adapter createJoyFeedbackArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry <em>Car Like Odometry</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry - * @generated - */ - public Adapter createCarLikeOdometryAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry <em>Differential Odometry</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry - * @generated - */ - public Adapter createDifferentialOdometryAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} // Sensor_datatypesAdapterFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/util/Sensor_datatypesSwitch.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/util/Sensor_datatypesSwitch.java deleted file mode 100644 index 34b0a3c9ed5..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes/util/Sensor_datatypesSwitch.java +++ /dev/null @@ -1,504 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.util.Switch; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage - * @generated - */ -public class Sensor_datatypesSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Sensor_datatypesPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Sensor_datatypesSwitch() { - if (modelPackage == null) { - modelPackage = Sensor_datatypesPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case Sensor_datatypesPackage.REGION_OF_INTEREST: { - RegionOfInterest regionOfInterest = (RegionOfInterest)theEObject; - T result = caseRegionOfInterest(regionOfInterest); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.RANGE: { - Range range = (Range)theEObject; - T result = caseRange(range); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.CAMERA_INFO: { - CameraInfo cameraInfo = (CameraInfo)theEObject; - T result = caseCameraInfo(cameraInfo); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.IMU: { - Imu imu = (Imu)theEObject; - T result = caseImu(imu); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.LASER_SCAN: { - LaserScan laserScan = (LaserScan)theEObject; - T result = caseLaserScan(laserScan); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.IMAGE: { - Image image = (Image)theEObject; - T result = caseImage(image); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.CHANNEL_FLOAT32: { - ChannelFloat32 channelFloat32 = (ChannelFloat32)theEObject; - T result = caseChannelFloat32(channelFloat32); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.COMPRESSED_IMAGE: { - CompressedImage compressedImage = (CompressedImage)theEObject; - T result = caseCompressedImage(compressedImage); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.POINT_CLOUD: { - PointCloud pointCloud = (PointCloud)theEObject; - T result = casePointCloud(pointCloud); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.POINT_FIELD: { - PointField pointField = (PointField)theEObject; - T result = casePointField(pointField); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.POINT_CLOUD2: { - PointCloud2 pointCloud2 = (PointCloud2)theEObject; - T result = casePointCloud2(pointCloud2); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.JOINT_STATE: { - JointState jointState = (JointState)theEObject; - T result = caseJointState(jointState); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.NAV_SAT_STATUS: { - NavSatStatus navSatStatus = (NavSatStatus)theEObject; - T result = caseNavSatStatus(navSatStatus); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.NAV_SAT_FIX: { - NavSatFix navSatFix = (NavSatFix)theEObject; - T result = caseNavSatFix(navSatFix); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.JOY: { - Joy joy = (Joy)theEObject; - T result = caseJoy(joy); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.JOY_FEEDBACK: { - JoyFeedback joyFeedback = (JoyFeedback)theEObject; - T result = caseJoyFeedback(joyFeedback); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY: { - JoyFeedbackArray joyFeedbackArray = (JoyFeedbackArray)theEObject; - T result = caseJoyFeedbackArray(joyFeedbackArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY: { - CarLikeOdometry carLikeOdometry = (CarLikeOdometry)theEObject; - T result = caseCarLikeOdometry(carLikeOdometry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY: { - DifferentialOdometry differentialOdometry = (DifferentialOdometry)theEObject; - T result = caseDifferentialOdometry(differentialOdometry); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Region Of Interest</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Region Of Interest</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRegionOfInterest(RegionOfInterest object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Range</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Range</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRange(Range object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Camera Info</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Camera Info</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCameraInfo(CameraInfo object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Imu</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Imu</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseImu(Imu object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Laser Scan</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Laser Scan</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLaserScan(LaserScan object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Image</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Image</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseImage(Image object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Channel Float32</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Channel Float32</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseChannelFloat32(ChannelFloat32 object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Compressed Image</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Compressed Image</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCompressedImage(CompressedImage object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Point Cloud</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Point Cloud</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePointCloud(PointCloud object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Point Field</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Point Field</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePointField(PointField object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Point Cloud2</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Point Cloud2</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePointCloud2(PointCloud2 object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Joint State</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Joint State</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseJointState(JointState object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Nav Sat Status</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Nav Sat Status</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseNavSatStatus(NavSatStatus object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Nav Sat Fix</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Nav Sat Fix</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseNavSatFix(NavSatFix object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Joy</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Joy</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseJoy(Joy object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Joy Feedback</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Joy Feedback</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseJoyFeedback(JoyFeedback object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Joy Feedback Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Joy Feedback Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseJoyFeedbackArray(JoyFeedbackArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Car Like Odometry</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Car Like Odometry</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCarLikeOdometry(CarLikeOdometry object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Differential Odometry</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Differential Odometry</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDifferentialOdometry(DifferentialOdometry object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} // Sensor_datatypesSwitch diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/ByteMultiArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/ByteMultiArray.java deleted file mode 100644 index 68107679da4..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/ByteMultiArray.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Byte Multi Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getByteMultiArray() - * @model - * @generated - */ -public interface ByteMultiArray extends EObject { - /** - * Returns the value of the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layout</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layout</em>' containment reference. - * @see #setLayout(MultiArrayLayout) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getByteMultiArray_Layout() - * @model containment="true" required="true" ordered="false" - * @generated - */ - MultiArrayLayout getLayout(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getLayout <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layout</em>' containment reference. - * @see #getLayout() - * @generated - */ - void setLayout(MultiArrayLayout value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getByteMultiArray_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Byte" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // ByteMultiArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/ColorRGBA.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/ColorRGBA.java deleted file mode 100644 index 7ca36af2403..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/ColorRGBA.java +++ /dev/null @@ -1,127 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Color RGBA</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getR <em>R</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getG <em>G</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getB <em>B</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getA <em>A</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getColorRGBA() - * @model - * @generated - */ -public interface ColorRGBA extends EObject { - /** - * Returns the value of the '<em><b>R</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>R</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>R</em>' attribute. - * @see #setR(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getColorRGBA_R() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getR(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getR <em>R</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>R</em>' attribute. - * @see #getR() - * @generated - */ - void setR(Object value); - - /** - * Returns the value of the '<em><b>G</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>G</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>G</em>' attribute. - * @see #setG(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getColorRGBA_G() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getG(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getG <em>G</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>G</em>' attribute. - * @see #getG() - * @generated - */ - void setG(Object value); - - /** - * Returns the value of the '<em><b>B</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>B</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>B</em>' attribute. - * @see #setB(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getColorRGBA_B() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getB(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getB <em>B</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>B</em>' attribute. - * @see #getB() - * @generated - */ - void setB(Object value); - - /** - * Returns the value of the '<em><b>A</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>A</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>A</em>' attribute. - * @see #setA(Float32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getColorRGBA_A() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" - * @generated - */ - Object getA(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getA <em>A</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>A</em>' attribute. - * @see #getA() - * @generated - */ - void setA(Object value); - -} // ColorRGBA diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Float32MultiArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Float32MultiArray.java deleted file mode 100644 index 7910da2e22b..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Float32MultiArray.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Float32 Multi Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getFloat32MultiArray() - * @model - * @generated - */ -public interface Float32MultiArray extends EObject { - /** - * Returns the value of the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layout</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layout</em>' containment reference. - * @see #setLayout(MultiArrayLayout) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getFloat32MultiArray_Layout() - * @model containment="true" required="true" ordered="false" - * @generated - */ - MultiArrayLayout getLayout(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getLayout <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layout</em>' containment reference. - * @see #getLayout() - * @generated - */ - void setLayout(MultiArrayLayout value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getFloat32MultiArray_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // Float32MultiArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Float64MultiArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Float64MultiArray.java deleted file mode 100644 index ca7299cbe48..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Float64MultiArray.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Float64 Multi Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getFloat64MultiArray() - * @model - * @generated - */ -public interface Float64MultiArray extends EObject { - /** - * Returns the value of the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layout</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layout</em>' containment reference. - * @see #setLayout(MultiArrayLayout) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getFloat64MultiArray_Layout() - * @model containment="true" required="true" ordered="false" - * @generated - */ - MultiArrayLayout getLayout(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getLayout <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layout</em>' containment reference. - * @see #getLayout() - * @generated - */ - void setLayout(MultiArrayLayout value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getFloat64MultiArray_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // Float64MultiArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Header.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Header.java deleted file mode 100644 index 999e4df71f2..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Header.java +++ /dev/null @@ -1,101 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Header</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getSeq <em>Seq</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getStamp <em>Stamp</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getFrame_id <em>Frame id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getHeader() - * @model - * @generated - */ -public interface Header extends EObject { - /** - * Returns the value of the '<em><b>Seq</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Seq</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Seq</em>' attribute. - * @see #setSeq(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getHeader_Seq() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getSeq(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getSeq <em>Seq</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Seq</em>' attribute. - * @see #getSeq() - * @generated - */ - void setSeq(Object value); - - /** - * Returns the value of the '<em><b>Stamp</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Stamp</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Stamp</em>' attribute. - * @see #setStamp(Time) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getHeader_Stamp() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Time" required="true" ordered="false" - * @generated - */ - Object getStamp(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getStamp <em>Stamp</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Stamp</em>' attribute. - * @see #getStamp() - * @generated - */ - void setStamp(Object value); - - /** - * Returns the value of the '<em><b>Frame id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Frame id</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Frame id</em>' attribute. - * @see #setFrame_id(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getHeader_Frame_id() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getFrame_id(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getFrame_id <em>Frame id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Frame id</em>' attribute. - * @see #getFrame_id() - * @generated - */ - void setFrame_id(Object value); - -} // Header diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Int16MultiArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Int16MultiArray.java deleted file mode 100644 index e001032da42..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Int16MultiArray.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Int16 Multi Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt16MultiArray() - * @model - * @generated - */ -public interface Int16MultiArray extends EObject { - /** - * Returns the value of the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layout</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layout</em>' containment reference. - * @see #setLayout(MultiArrayLayout) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt16MultiArray_Layout() - * @model containment="true" required="true" ordered="false" - * @generated - */ - MultiArrayLayout getLayout(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getLayout <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layout</em>' containment reference. - * @see #getLayout() - * @generated - */ - void setLayout(MultiArrayLayout value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt16MultiArray_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // Int16MultiArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Int32MultiArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Int32MultiArray.java deleted file mode 100644 index e8bd810c720..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Int32MultiArray.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Int32 Multi Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt32MultiArray() - * @model - * @generated - */ -public interface Int32MultiArray extends EObject { - /** - * Returns the value of the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layout</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layout</em>' containment reference. - * @see #setLayout(MultiArrayLayout) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt32MultiArray_Layout() - * @model containment="true" required="true" ordered="false" - * @generated - */ - MultiArrayLayout getLayout(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getLayout <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layout</em>' containment reference. - * @see #getLayout() - * @generated - */ - void setLayout(MultiArrayLayout value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt32MultiArray_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // Int32MultiArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Int64MultiArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Int64MultiArray.java deleted file mode 100644 index 08f592f0851..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Int64MultiArray.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Int64 Multi Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt64MultiArray() - * @model - * @generated - */ -public interface Int64MultiArray extends EObject { - /** - * Returns the value of the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layout</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layout</em>' containment reference. - * @see #setLayout(MultiArrayLayout) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt64MultiArray_Layout() - * @model containment="true" required="true" ordered="false" - * @generated - */ - MultiArrayLayout getLayout(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getLayout <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layout</em>' containment reference. - * @see #getLayout() - * @generated - */ - void setLayout(MultiArrayLayout value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt64MultiArray_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // Int64MultiArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Int8MultiArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Int8MultiArray.java deleted file mode 100644 index 634ddd61e75..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Int8MultiArray.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Int8 Multi Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt8MultiArray() - * @model - * @generated - */ -public interface Int8MultiArray extends EObject { - /** - * Returns the value of the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layout</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layout</em>' containment reference. - * @see #setLayout(MultiArrayLayout) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt8MultiArray_Layout() - * @model containment="true" required="true" ordered="false" - * @generated - */ - MultiArrayLayout getLayout(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getLayout <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layout</em>' containment reference. - * @see #getLayout() - * @generated - */ - void setLayout(MultiArrayLayout value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt8MultiArray_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // Int8MultiArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/MultiArrayDimension.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/MultiArrayDimension.java deleted file mode 100644 index 46df682d35d..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/MultiArrayDimension.java +++ /dev/null @@ -1,101 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Multi Array Dimension</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getLabel <em>Label</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getSize <em>Size</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getStride <em>Stride</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getMultiArrayDimension() - * @model - * @generated - */ -public interface MultiArrayDimension extends EObject { - /** - * Returns the value of the '<em><b>Label</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Label</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Label</em>' attribute. - * @see #setLabel(String) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getMultiArrayDimension_Label() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" - * @generated - */ - Object getLabel(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getLabel <em>Label</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Label</em>' attribute. - * @see #getLabel() - * @generated - */ - void setLabel(Object value); - - /** - * Returns the value of the '<em><b>Size</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Size</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Size</em>' attribute. - * @see #setSize(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getMultiArrayDimension_Size() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getSize(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getSize <em>Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Size</em>' attribute. - * @see #getSize() - * @generated - */ - void setSize(Object value); - - /** - * Returns the value of the '<em><b>Stride</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Stride</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Stride</em>' attribute. - * @see #setStride(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getMultiArrayDimension_Stride() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getStride(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getStride <em>Stride</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Stride</em>' attribute. - * @see #getStride() - * @generated - */ - void setStride(Object value); - -} // MultiArrayDimension diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/MultiArrayLayout.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/MultiArrayLayout.java deleted file mode 100644 index 3578c7fd8c2..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/MultiArrayLayout.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Multi Array Layout</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getDim <em>Dim</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getData_offset <em>Data offset</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getMultiArrayLayout() - * @model - * @generated - */ -public interface MultiArrayLayout extends EObject { - /** - * Returns the value of the '<em><b>Dim</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Dim</em>' containment reference list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Dim</em>' containment reference list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getMultiArrayLayout_Dim() - * @model containment="true" ordered="false" - * @generated - */ - EList<MultiArrayDimension> getDim(); - - /** - * Returns the value of the '<em><b>Data offset</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data offset</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data offset</em>' attribute. - * @see #setData_offset(UInt32) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getMultiArrayLayout_Data_offset() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" - * @generated - */ - Object getData_offset(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getData_offset <em>Data offset</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Data offset</em>' attribute. - * @see #getData_offset() - * @generated - */ - void setData_offset(Object value); - -} // MultiArrayLayout diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Std_datatypesFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Std_datatypesFactory.java deleted file mode 100644 index b1a02354ad3..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Std_datatypesFactory.java +++ /dev/null @@ -1,168 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage - * @generated - */ -public interface Std_datatypesFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Std_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Header</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Header</em>'. - * @generated - */ - Header createHeader(); - - /** - * Returns a new object of class '<em>Multi Array Dimension</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Multi Array Dimension</em>'. - * @generated - */ - MultiArrayDimension createMultiArrayDimension(); - - /** - * Returns a new object of class '<em>Multi Array Layout</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Multi Array Layout</em>'. - * @generated - */ - MultiArrayLayout createMultiArrayLayout(); - - /** - * Returns a new object of class '<em>Byte Multi Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Byte Multi Array</em>'. - * @generated - */ - ByteMultiArray createByteMultiArray(); - - /** - * Returns a new object of class '<em>Color RGBA</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Color RGBA</em>'. - * @generated - */ - ColorRGBA createColorRGBA(); - - /** - * Returns a new object of class '<em>Float32 Multi Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Float32 Multi Array</em>'. - * @generated - */ - Float32MultiArray createFloat32MultiArray(); - - /** - * Returns a new object of class '<em>Int32 Multi Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Int32 Multi Array</em>'. - * @generated - */ - Int32MultiArray createInt32MultiArray(); - - /** - * Returns a new object of class '<em>Int8 Multi Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Int8 Multi Array</em>'. - * @generated - */ - Int8MultiArray createInt8MultiArray(); - - /** - * Returns a new object of class '<em>Int16 Multi Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Int16 Multi Array</em>'. - * @generated - */ - Int16MultiArray createInt16MultiArray(); - - /** - * Returns a new object of class '<em>Int64 Multi Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Int64 Multi Array</em>'. - * @generated - */ - Int64MultiArray createInt64MultiArray(); - - /** - * Returns a new object of class '<em>Float64 Multi Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Float64 Multi Array</em>'. - * @generated - */ - Float64MultiArray createFloat64MultiArray(); - - /** - * Returns a new object of class '<em>UInt64 Multi Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>UInt64 Multi Array</em>'. - * @generated - */ - UInt64MultiArray createUInt64MultiArray(); - - /** - * Returns a new object of class '<em>UInt16 Multi Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>UInt16 Multi Array</em>'. - * @generated - */ - UInt16MultiArray createUInt16MultiArray(); - - /** - * Returns a new object of class '<em>UInt32 Multi Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>UInt32 Multi Array</em>'. - * @generated - */ - UInt32MultiArray createUInt32MultiArray(); - - /** - * Returns a new object of class '<em>UInt8 Multi Array</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>UInt8 Multi Array</em>'. - * @generated - */ - UInt8MultiArray createUInt8MultiArray(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - Std_datatypesPackage getStd_datatypesPackage(); - -} // Std_datatypesFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Std_datatypesPackage.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Std_datatypesPackage.java deleted file mode 100644 index 6670858a214..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/Std_datatypesPackage.java +++ /dev/null @@ -1,2254 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesFactory - * @model kind="package" - * @generated - */ -public interface Std_datatypesPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "std_datatypes"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes.ecore"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - Std_datatypesPackage eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl <em>Header</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getHeader() - * @generated - */ - int HEADER = 0; - - /** - * The feature id for the '<em><b>Seq</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int HEADER__SEQ = 0; - - /** - * The feature id for the '<em><b>Stamp</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int HEADER__STAMP = 1; - - /** - * The feature id for the '<em><b>Frame id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int HEADER__FRAME_ID = 2; - - /** - * The number of structural features of the '<em>Header</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int HEADER_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Header</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int HEADER_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl <em>Multi Array Dimension</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getMultiArrayDimension() - * @generated - */ - int MULTI_ARRAY_DIMENSION = 1; - - /** - * The feature id for the '<em><b>Label</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_ARRAY_DIMENSION__LABEL = 0; - - /** - * The feature id for the '<em><b>Size</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_ARRAY_DIMENSION__SIZE = 1; - - /** - * The feature id for the '<em><b>Stride</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_ARRAY_DIMENSION__STRIDE = 2; - - /** - * The number of structural features of the '<em>Multi Array Dimension</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_ARRAY_DIMENSION_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Multi Array Dimension</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_ARRAY_DIMENSION_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayLayoutImpl <em>Multi Array Layout</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayLayoutImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getMultiArrayLayout() - * @generated - */ - int MULTI_ARRAY_LAYOUT = 2; - - /** - * The feature id for the '<em><b>Dim</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_ARRAY_LAYOUT__DIM = 0; - - /** - * The feature id for the '<em><b>Data offset</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_ARRAY_LAYOUT__DATA_OFFSET = 1; - - /** - * The number of structural features of the '<em>Multi Array Layout</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_ARRAY_LAYOUT_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Multi Array Layout</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MULTI_ARRAY_LAYOUT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ByteMultiArrayImpl <em>Byte Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ByteMultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getByteMultiArray() - * @generated - */ - int BYTE_MULTI_ARRAY = 3; - - /** - * The feature id for the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BYTE_MULTI_ARRAY__LAYOUT = 0; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BYTE_MULTI_ARRAY__DATA = 1; - - /** - * The number of structural features of the '<em>Byte Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BYTE_MULTI_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Byte Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BYTE_MULTI_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl <em>Color RGBA</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getColorRGBA() - * @generated - */ - int COLOR_RGBA = 4; - - /** - * The feature id for the '<em><b>R</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COLOR_RGBA__R = 0; - - /** - * The feature id for the '<em><b>G</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COLOR_RGBA__G = 1; - - /** - * The feature id for the '<em><b>B</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COLOR_RGBA__B = 2; - - /** - * The feature id for the '<em><b>A</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COLOR_RGBA__A = 3; - - /** - * The number of structural features of the '<em>Color RGBA</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COLOR_RGBA_FEATURE_COUNT = 4; - - /** - * The number of operations of the '<em>Color RGBA</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COLOR_RGBA_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float32MultiArrayImpl <em>Float32 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float32MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getFloat32MultiArray() - * @generated - */ - int FLOAT32_MULTI_ARRAY = 5; - - /** - * The feature id for the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOAT32_MULTI_ARRAY__LAYOUT = 0; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOAT32_MULTI_ARRAY__DATA = 1; - - /** - * The number of structural features of the '<em>Float32 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOAT32_MULTI_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Float32 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOAT32_MULTI_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int32MultiArrayImpl <em>Int32 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int32MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt32MultiArray() - * @generated - */ - int INT32_MULTI_ARRAY = 6; - - /** - * The feature id for the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT32_MULTI_ARRAY__LAYOUT = 0; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT32_MULTI_ARRAY__DATA = 1; - - /** - * The number of structural features of the '<em>Int32 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT32_MULTI_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Int32 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT32_MULTI_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int8MultiArrayImpl <em>Int8 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int8MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt8MultiArray() - * @generated - */ - int INT8_MULTI_ARRAY = 7; - - /** - * The feature id for the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT8_MULTI_ARRAY__LAYOUT = 0; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT8_MULTI_ARRAY__DATA = 1; - - /** - * The number of structural features of the '<em>Int8 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT8_MULTI_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Int8 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT8_MULTI_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int16MultiArrayImpl <em>Int16 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int16MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt16MultiArray() - * @generated - */ - int INT16_MULTI_ARRAY = 8; - - /** - * The feature id for the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT16_MULTI_ARRAY__LAYOUT = 0; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT16_MULTI_ARRAY__DATA = 1; - - /** - * The number of structural features of the '<em>Int16 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT16_MULTI_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Int16 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT16_MULTI_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int64MultiArrayImpl <em>Int64 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int64MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt64MultiArray() - * @generated - */ - int INT64_MULTI_ARRAY = 9; - - /** - * The feature id for the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT64_MULTI_ARRAY__LAYOUT = 0; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT64_MULTI_ARRAY__DATA = 1; - - /** - * The number of structural features of the '<em>Int64 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT64_MULTI_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Int64 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INT64_MULTI_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float64MultiArrayImpl <em>Float64 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float64MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getFloat64MultiArray() - * @generated - */ - int FLOAT64_MULTI_ARRAY = 10; - - /** - * The feature id for the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOAT64_MULTI_ARRAY__LAYOUT = 0; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOAT64_MULTI_ARRAY__DATA = 1; - - /** - * The number of structural features of the '<em>Float64 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOAT64_MULTI_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Float64 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOAT64_MULTI_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt64MultiArrayImpl <em>UInt64 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt64MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt64MultiArray() - * @generated - */ - int UINT64_MULTI_ARRAY = 11; - - /** - * The feature id for the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT64_MULTI_ARRAY__LAYOUT = 0; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT64_MULTI_ARRAY__DATA = 1; - - /** - * The number of structural features of the '<em>UInt64 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT64_MULTI_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>UInt64 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT64_MULTI_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt16MultiArrayImpl <em>UInt16 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt16MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt16MultiArray() - * @generated - */ - int UINT16_MULTI_ARRAY = 12; - - /** - * The feature id for the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT16_MULTI_ARRAY__LAYOUT = 0; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT16_MULTI_ARRAY__DATA = 1; - - /** - * The number of structural features of the '<em>UInt16 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT16_MULTI_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>UInt16 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT16_MULTI_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl <em>UInt32 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt32MultiArray() - * @generated - */ - int UINT32_MULTI_ARRAY = 13; - - /** - * The feature id for the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT32_MULTI_ARRAY__LAYOUT = 0; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT32_MULTI_ARRAY__DATA = 1; - - /** - * The number of structural features of the '<em>UInt32 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT32_MULTI_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>UInt32 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT32_MULTI_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt8MultiArrayImpl <em>UInt8 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt8MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt8MultiArray() - * @generated - */ - int UINT8_MULTI_ARRAY = 14; - - /** - * The feature id for the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT8_MULTI_ARRAY__LAYOUT = 0; - - /** - * The feature id for the '<em><b>Data</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT8_MULTI_ARRAY__DATA = 1; - - /** - * The number of structural features of the '<em>UInt8 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT8_MULTI_ARRAY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>UInt8 Multi Array</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int UINT8_MULTI_ARRAY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '<em>UInt32</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see UInt32 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt32() - * @generated - */ - int UINT32 = 15; - - /** - * The meta object id for the '<em>Time</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Time - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getTime() - * @generated - */ - int TIME = 16; - - /** - * The meta object id for the '<em>String</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see String - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getString() - * @generated - */ - int STRING = 17; - - /** - * The meta object id for the '<em>Byte</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Byte - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getByte() - * @generated - */ - int BYTE = 18; - - /** - * The meta object id for the '<em>Float64</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Float64 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getFloat64() - * @generated - */ - int FLOAT64 = 19; - - /** - * The meta object id for the '<em>Int8</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Int8 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt8() - * @generated - */ - int INT8 = 20; - - /** - * The meta object id for the '<em>Bool</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Bool - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getBool() - * @generated - */ - int BOOL = 21; - - /** - * The meta object id for the '<em>UInt8</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see UInt8 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt8() - * @generated - */ - int UINT8 = 22; - - /** - * The meta object id for the '<em>UInt16</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see UInt16 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt16() - * @generated - */ - int UINT16 = 23; - - /** - * The meta object id for the '<em>Int32</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Int32 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt32() - * @generated - */ - int INT32 = 24; - - /** - * The meta object id for the '<em>Int16</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Int16 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt16() - * @generated - */ - int INT16 = 25; - - /** - * The meta object id for the '<em>Char</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Char - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getChar() - * @generated - */ - int CHAR = 26; - - /** - * The meta object id for the '<em>Duration</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Duration - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getDuration() - * @generated - */ - int DURATION = 27; - - /** - * The meta object id for the '<em>Int64</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Int64 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt64() - * @generated - */ - int INT64 = 28; - - /** - * The meta object id for the '<em>UInt64</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see UInt64 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt64() - * @generated - */ - int UINT64 = 29; - - /** - * The meta object id for the '<em>Float32</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Float32 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getFloat32() - * @generated - */ - int FLOAT32 = 30; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header <em>Header</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Header</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header - * @generated - */ - EClass getHeader(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getSeq <em>Seq</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Seq</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getSeq() - * @see #getHeader() - * @generated - */ - EAttribute getHeader_Seq(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getStamp <em>Stamp</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Stamp</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getStamp() - * @see #getHeader() - * @generated - */ - EAttribute getHeader_Stamp(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getFrame_id <em>Frame id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Frame id</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getFrame_id() - * @see #getHeader() - * @generated - */ - EAttribute getHeader_Frame_id(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension <em>Multi Array Dimension</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Multi Array Dimension</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension - * @generated - */ - EClass getMultiArrayDimension(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getLabel <em>Label</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Label</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getLabel() - * @see #getMultiArrayDimension() - * @generated - */ - EAttribute getMultiArrayDimension_Label(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getSize <em>Size</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Size</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getSize() - * @see #getMultiArrayDimension() - * @generated - */ - EAttribute getMultiArrayDimension_Size(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getStride <em>Stride</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Stride</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getStride() - * @see #getMultiArrayDimension() - * @generated - */ - EAttribute getMultiArrayDimension_Stride(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout <em>Multi Array Layout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Multi Array Layout</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout - * @generated - */ - EClass getMultiArrayLayout(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getDim <em>Dim</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Dim</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getDim() - * @see #getMultiArrayLayout() - * @generated - */ - EReference getMultiArrayLayout_Dim(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getData_offset <em>Data offset</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Data offset</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getData_offset() - * @see #getMultiArrayLayout() - * @generated - */ - EAttribute getMultiArrayLayout_Data_offset(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray <em>Byte Multi Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Byte Multi Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray - * @generated - */ - EClass getByteMultiArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getLayout <em>Layout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Layout</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getLayout() - * @see #getByteMultiArray() - * @generated - */ - EReference getByteMultiArray_Layout(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getData() - * @see #getByteMultiArray() - * @generated - */ - EAttribute getByteMultiArray_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA <em>Color RGBA</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Color RGBA</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA - * @generated - */ - EClass getColorRGBA(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getR <em>R</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>R</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getR() - * @see #getColorRGBA() - * @generated - */ - EAttribute getColorRGBA_R(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getG <em>G</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>G</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getG() - * @see #getColorRGBA() - * @generated - */ - EAttribute getColorRGBA_G(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getB <em>B</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>B</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getB() - * @see #getColorRGBA() - * @generated - */ - EAttribute getColorRGBA_B(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getA <em>A</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>A</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getA() - * @see #getColorRGBA() - * @generated - */ - EAttribute getColorRGBA_A(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray <em>Float32 Multi Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Float32 Multi Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray - * @generated - */ - EClass getFloat32MultiArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getLayout <em>Layout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Layout</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getLayout() - * @see #getFloat32MultiArray() - * @generated - */ - EReference getFloat32MultiArray_Layout(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getData() - * @see #getFloat32MultiArray() - * @generated - */ - EAttribute getFloat32MultiArray_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray <em>Int32 Multi Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Int32 Multi Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray - * @generated - */ - EClass getInt32MultiArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getLayout <em>Layout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Layout</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getLayout() - * @see #getInt32MultiArray() - * @generated - */ - EReference getInt32MultiArray_Layout(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getData() - * @see #getInt32MultiArray() - * @generated - */ - EAttribute getInt32MultiArray_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray <em>Int8 Multi Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Int8 Multi Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray - * @generated - */ - EClass getInt8MultiArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getLayout <em>Layout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Layout</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getLayout() - * @see #getInt8MultiArray() - * @generated - */ - EReference getInt8MultiArray_Layout(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getData() - * @see #getInt8MultiArray() - * @generated - */ - EAttribute getInt8MultiArray_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray <em>Int16 Multi Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Int16 Multi Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray - * @generated - */ - EClass getInt16MultiArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getLayout <em>Layout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Layout</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getLayout() - * @see #getInt16MultiArray() - * @generated - */ - EReference getInt16MultiArray_Layout(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getData() - * @see #getInt16MultiArray() - * @generated - */ - EAttribute getInt16MultiArray_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray <em>Int64 Multi Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Int64 Multi Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray - * @generated - */ - EClass getInt64MultiArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getLayout <em>Layout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Layout</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getLayout() - * @see #getInt64MultiArray() - * @generated - */ - EReference getInt64MultiArray_Layout(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getData() - * @see #getInt64MultiArray() - * @generated - */ - EAttribute getInt64MultiArray_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray <em>Float64 Multi Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Float64 Multi Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray - * @generated - */ - EClass getFloat64MultiArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getLayout <em>Layout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Layout</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getLayout() - * @see #getFloat64MultiArray() - * @generated - */ - EReference getFloat64MultiArray_Layout(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getData() - * @see #getFloat64MultiArray() - * @generated - */ - EAttribute getFloat64MultiArray_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray <em>UInt64 Multi Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>UInt64 Multi Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray - * @generated - */ - EClass getUInt64MultiArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getLayout <em>Layout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Layout</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getLayout() - * @see #getUInt64MultiArray() - * @generated - */ - EReference getUInt64MultiArray_Layout(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getData() - * @see #getUInt64MultiArray() - * @generated - */ - EAttribute getUInt64MultiArray_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray <em>UInt16 Multi Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>UInt16 Multi Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray - * @generated - */ - EClass getUInt16MultiArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray#getLayout <em>Layout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Layout</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray#getLayout() - * @see #getUInt16MultiArray() - * @generated - */ - EReference getUInt16MultiArray_Layout(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray#getData() - * @see #getUInt16MultiArray() - * @generated - */ - EAttribute getUInt16MultiArray_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray <em>UInt32 Multi Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>UInt32 Multi Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray - * @generated - */ - EClass getUInt32MultiArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getLayout <em>Layout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Layout</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getLayout() - * @see #getUInt32MultiArray() - * @generated - */ - EReference getUInt32MultiArray_Layout(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getData() - * @see #getUInt32MultiArray() - * @generated - */ - EAttribute getUInt32MultiArray_Data(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray <em>UInt8 Multi Array</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>UInt8 Multi Array</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray - * @generated - */ - EClass getUInt8MultiArray(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getLayout <em>Layout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Layout</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getLayout() - * @see #getUInt8MultiArray() - * @generated - */ - EReference getUInt8MultiArray_Layout(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getData <em>Data</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Data</em>'. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getData() - * @see #getUInt8MultiArray() - * @generated - */ - EAttribute getUInt8MultiArray_Data(); - - /** - * Returns the meta object for data type '{@link UInt32 <em>UInt32</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>UInt32</em>'. - * @see UInt32 - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getUInt32(); - - /** - * Returns the meta object for data type '{@link Time <em>Time</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Time</em>'. - * @see Time - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getTime(); - - /** - * Returns the meta object for data type '{@link String <em>String</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>String</em>'. - * @see String - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getString(); - - /** - * Returns the meta object for data type '{@link Byte <em>Byte</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Byte</em>'. - * @see Byte - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getByte(); - - /** - * Returns the meta object for data type '{@link Float64 <em>Float64</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Float64</em>'. - * @see Float64 - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getFloat64(); - - /** - * Returns the meta object for data type '{@link Int8 <em>Int8</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Int8</em>'. - * @see Int8 - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getInt8(); - - /** - * Returns the meta object for data type '{@link Bool <em>Bool</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Bool</em>'. - * @see Bool - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getBool(); - - /** - * Returns the meta object for data type '{@link UInt8 <em>UInt8</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>UInt8</em>'. - * @see UInt8 - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getUInt8(); - - /** - * Returns the meta object for data type '{@link UInt16 <em>UInt16</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>UInt16</em>'. - * @see UInt16 - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getUInt16(); - - /** - * Returns the meta object for data type '{@link Int32 <em>Int32</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Int32</em>'. - * @see Int32 - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getInt32(); - - /** - * Returns the meta object for data type '{@link Int16 <em>Int16</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Int16</em>'. - * @see Int16 - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getInt16(); - - /** - * Returns the meta object for data type '{@link Char <em>Char</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Char</em>'. - * @see Char - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getChar(); - - /** - * Returns the meta object for data type '{@link Duration <em>Duration</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Duration</em>'. - * @see Duration - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getDuration(); - - /** - * Returns the meta object for data type '{@link Int64 <em>Int64</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Int64</em>'. - * @see Int64 - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getInt64(); - - /** - * Returns the meta object for data type '{@link UInt64 <em>UInt64</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>UInt64</em>'. - * @see UInt64 - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getUInt64(); - - /** - * Returns the meta object for data type '{@link Float32 <em>Float32</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Float32</em>'. - * @see Float32 - * @model instanceClass="java.lang.Object" - * @generated - */ - EDataType getFloat32(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - Std_datatypesFactory getStd_datatypesFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl <em>Header</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getHeader() - * @generated - */ - EClass HEADER = eINSTANCE.getHeader(); - - /** - * The meta object literal for the '<em><b>Seq</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute HEADER__SEQ = eINSTANCE.getHeader_Seq(); - - /** - * The meta object literal for the '<em><b>Stamp</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute HEADER__STAMP = eINSTANCE.getHeader_Stamp(); - - /** - * The meta object literal for the '<em><b>Frame id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute HEADER__FRAME_ID = eINSTANCE.getHeader_Frame_id(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl <em>Multi Array Dimension</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getMultiArrayDimension() - * @generated - */ - EClass MULTI_ARRAY_DIMENSION = eINSTANCE.getMultiArrayDimension(); - - /** - * The meta object literal for the '<em><b>Label</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MULTI_ARRAY_DIMENSION__LABEL = eINSTANCE.getMultiArrayDimension_Label(); - - /** - * The meta object literal for the '<em><b>Size</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MULTI_ARRAY_DIMENSION__SIZE = eINSTANCE.getMultiArrayDimension_Size(); - - /** - * The meta object literal for the '<em><b>Stride</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MULTI_ARRAY_DIMENSION__STRIDE = eINSTANCE.getMultiArrayDimension_Stride(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayLayoutImpl <em>Multi Array Layout</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayLayoutImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getMultiArrayLayout() - * @generated - */ - EClass MULTI_ARRAY_LAYOUT = eINSTANCE.getMultiArrayLayout(); - - /** - * The meta object literal for the '<em><b>Dim</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference MULTI_ARRAY_LAYOUT__DIM = eINSTANCE.getMultiArrayLayout_Dim(); - - /** - * The meta object literal for the '<em><b>Data offset</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MULTI_ARRAY_LAYOUT__DATA_OFFSET = eINSTANCE.getMultiArrayLayout_Data_offset(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ByteMultiArrayImpl <em>Byte Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ByteMultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getByteMultiArray() - * @generated - */ - EClass BYTE_MULTI_ARRAY = eINSTANCE.getByteMultiArray(); - - /** - * The meta object literal for the '<em><b>Layout</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference BYTE_MULTI_ARRAY__LAYOUT = eINSTANCE.getByteMultiArray_Layout(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute BYTE_MULTI_ARRAY__DATA = eINSTANCE.getByteMultiArray_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl <em>Color RGBA</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getColorRGBA() - * @generated - */ - EClass COLOR_RGBA = eINSTANCE.getColorRGBA(); - - /** - * The meta object literal for the '<em><b>R</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute COLOR_RGBA__R = eINSTANCE.getColorRGBA_R(); - - /** - * The meta object literal for the '<em><b>G</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute COLOR_RGBA__G = eINSTANCE.getColorRGBA_G(); - - /** - * The meta object literal for the '<em><b>B</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute COLOR_RGBA__B = eINSTANCE.getColorRGBA_B(); - - /** - * The meta object literal for the '<em><b>A</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute COLOR_RGBA__A = eINSTANCE.getColorRGBA_A(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float32MultiArrayImpl <em>Float32 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float32MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getFloat32MultiArray() - * @generated - */ - EClass FLOAT32_MULTI_ARRAY = eINSTANCE.getFloat32MultiArray(); - - /** - * The meta object literal for the '<em><b>Layout</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference FLOAT32_MULTI_ARRAY__LAYOUT = eINSTANCE.getFloat32MultiArray_Layout(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute FLOAT32_MULTI_ARRAY__DATA = eINSTANCE.getFloat32MultiArray_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int32MultiArrayImpl <em>Int32 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int32MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt32MultiArray() - * @generated - */ - EClass INT32_MULTI_ARRAY = eINSTANCE.getInt32MultiArray(); - - /** - * The meta object literal for the '<em><b>Layout</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference INT32_MULTI_ARRAY__LAYOUT = eINSTANCE.getInt32MultiArray_Layout(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute INT32_MULTI_ARRAY__DATA = eINSTANCE.getInt32MultiArray_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int8MultiArrayImpl <em>Int8 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int8MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt8MultiArray() - * @generated - */ - EClass INT8_MULTI_ARRAY = eINSTANCE.getInt8MultiArray(); - - /** - * The meta object literal for the '<em><b>Layout</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference INT8_MULTI_ARRAY__LAYOUT = eINSTANCE.getInt8MultiArray_Layout(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute INT8_MULTI_ARRAY__DATA = eINSTANCE.getInt8MultiArray_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int16MultiArrayImpl <em>Int16 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int16MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt16MultiArray() - * @generated - */ - EClass INT16_MULTI_ARRAY = eINSTANCE.getInt16MultiArray(); - - /** - * The meta object literal for the '<em><b>Layout</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference INT16_MULTI_ARRAY__LAYOUT = eINSTANCE.getInt16MultiArray_Layout(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute INT16_MULTI_ARRAY__DATA = eINSTANCE.getInt16MultiArray_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int64MultiArrayImpl <em>Int64 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int64MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt64MultiArray() - * @generated - */ - EClass INT64_MULTI_ARRAY = eINSTANCE.getInt64MultiArray(); - - /** - * The meta object literal for the '<em><b>Layout</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference INT64_MULTI_ARRAY__LAYOUT = eINSTANCE.getInt64MultiArray_Layout(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute INT64_MULTI_ARRAY__DATA = eINSTANCE.getInt64MultiArray_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float64MultiArrayImpl <em>Float64 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float64MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getFloat64MultiArray() - * @generated - */ - EClass FLOAT64_MULTI_ARRAY = eINSTANCE.getFloat64MultiArray(); - - /** - * The meta object literal for the '<em><b>Layout</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference FLOAT64_MULTI_ARRAY__LAYOUT = eINSTANCE.getFloat64MultiArray_Layout(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute FLOAT64_MULTI_ARRAY__DATA = eINSTANCE.getFloat64MultiArray_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt64MultiArrayImpl <em>UInt64 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt64MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt64MultiArray() - * @generated - */ - EClass UINT64_MULTI_ARRAY = eINSTANCE.getUInt64MultiArray(); - - /** - * The meta object literal for the '<em><b>Layout</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference UINT64_MULTI_ARRAY__LAYOUT = eINSTANCE.getUInt64MultiArray_Layout(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute UINT64_MULTI_ARRAY__DATA = eINSTANCE.getUInt64MultiArray_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt16MultiArrayImpl <em>UInt16 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt16MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt16MultiArray() - * @generated - */ - EClass UINT16_MULTI_ARRAY = eINSTANCE.getUInt16MultiArray(); - - /** - * The meta object literal for the '<em><b>Layout</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference UINT16_MULTI_ARRAY__LAYOUT = eINSTANCE.getUInt16MultiArray_Layout(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute UINT16_MULTI_ARRAY__DATA = eINSTANCE.getUInt16MultiArray_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl <em>UInt32 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt32MultiArray() - * @generated - */ - EClass UINT32_MULTI_ARRAY = eINSTANCE.getUInt32MultiArray(); - - /** - * The meta object literal for the '<em><b>Layout</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference UINT32_MULTI_ARRAY__LAYOUT = eINSTANCE.getUInt32MultiArray_Layout(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute UINT32_MULTI_ARRAY__DATA = eINSTANCE.getUInt32MultiArray_Data(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt8MultiArrayImpl <em>UInt8 Multi Array</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt8MultiArrayImpl - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt8MultiArray() - * @generated - */ - EClass UINT8_MULTI_ARRAY = eINSTANCE.getUInt8MultiArray(); - - /** - * The meta object literal for the '<em><b>Layout</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference UINT8_MULTI_ARRAY__LAYOUT = eINSTANCE.getUInt8MultiArray_Layout(); - - /** - * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute UINT8_MULTI_ARRAY__DATA = eINSTANCE.getUInt8MultiArray_Data(); - - /** - * The meta object literal for the '<em>UInt32</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see UInt32 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt32() - * @generated - */ - EDataType UINT32 = eINSTANCE.getUInt32(); - - /** - * The meta object literal for the '<em>Time</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Time - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getTime() - * @generated - */ - EDataType TIME = eINSTANCE.getTime(); - - /** - * The meta object literal for the '<em>String</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see String - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getString() - * @generated - */ - EDataType STRING = eINSTANCE.getString(); - - /** - * The meta object literal for the '<em>Byte</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Byte - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getByte() - * @generated - */ - EDataType BYTE = eINSTANCE.getByte(); - - /** - * The meta object literal for the '<em>Float64</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Float64 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getFloat64() - * @generated - */ - EDataType FLOAT64 = eINSTANCE.getFloat64(); - - /** - * The meta object literal for the '<em>Int8</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Int8 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt8() - * @generated - */ - EDataType INT8 = eINSTANCE.getInt8(); - - /** - * The meta object literal for the '<em>Bool</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Bool - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getBool() - * @generated - */ - EDataType BOOL = eINSTANCE.getBool(); - - /** - * The meta object literal for the '<em>UInt8</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see UInt8 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt8() - * @generated - */ - EDataType UINT8 = eINSTANCE.getUInt8(); - - /** - * The meta object literal for the '<em>UInt16</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see UInt16 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt16() - * @generated - */ - EDataType UINT16 = eINSTANCE.getUInt16(); - - /** - * The meta object literal for the '<em>Int32</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Int32 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt32() - * @generated - */ - EDataType INT32 = eINSTANCE.getInt32(); - - /** - * The meta object literal for the '<em>Int16</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Int16 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt16() - * @generated - */ - EDataType INT16 = eINSTANCE.getInt16(); - - /** - * The meta object literal for the '<em>Char</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Char - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getChar() - * @generated - */ - EDataType CHAR = eINSTANCE.getChar(); - - /** - * The meta object literal for the '<em>Duration</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Duration - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getDuration() - * @generated - */ - EDataType DURATION = eINSTANCE.getDuration(); - - /** - * The meta object literal for the '<em>Int64</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Int64 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt64() - * @generated - */ - EDataType INT64 = eINSTANCE.getInt64(); - - /** - * The meta object literal for the '<em>UInt64</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see UInt64 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt64() - * @generated - */ - EDataType UINT64 = eINSTANCE.getUInt64(); - - /** - * The meta object literal for the '<em>Float32</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see Float32 - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getFloat32() - * @generated - */ - EDataType FLOAT32 = eINSTANCE.getFloat32(); - - } - -} // Std_datatypesPackage diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UIint16MultiArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UIint16MultiArray.java deleted file mode 100644 index c5f83171625..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UIint16MultiArray.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>UIint16 Multi Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUIint16MultiArray() - * @model - * @generated - */ -public interface UIint16MultiArray extends EObject { - /** - * Returns the value of the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layout</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layout</em>' containment reference. - * @see #setLayout(MultiArrayLayout) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUIint16MultiArray_Layout() - * @model containment="true" required="true" ordered="false" - * @generated - */ - MultiArrayLayout getLayout(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getLayout <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layout</em>' containment reference. - * @see #getLayout() - * @generated - */ - void setLayout(MultiArrayLayout value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Integer}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUIint16MultiArray_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16" ordered="false" - * @generated - */ - EList<Integer> getData(); - -} // UIint16MultiArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UInt16MultiArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UInt16MultiArray.java deleted file mode 100644 index fadd49faebc..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UInt16MultiArray.java +++ /dev/null @@ -1,69 +0,0 @@ -/**
- */
-package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>UInt16 Multi Array</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray#getLayout <em>Layout</em>}</li>
- * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray#getData <em>Data</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt16MultiArray()
- * @model
- * @generated
- */
-public interface UInt16MultiArray extends EObject {
- /**
- * Returns the value of the '<em><b>Layout</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Layout</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Layout</em>' containment reference.
- * @see #setLayout(MultiArrayLayout)
- * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt16MultiArray_Layout()
- * @model containment="true" required="true" ordered="false"
- * @generated
- */
- MultiArrayLayout getLayout();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray#getLayout <em>Layout</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Layout</em>' containment reference.
- * @see #getLayout()
- * @generated
- */
- void setLayout(MultiArrayLayout value);
-
- /**
- * Returns the value of the '<em><b>Data</b></em>' attribute list.
- * The list contents are of type {@link java.lang.Object}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Data</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Data</em>' attribute list.
- * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt16MultiArray_Data()
- * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16" ordered="false"
- * @generated
- */
- EList<Object> getData();
-
-} // UInt16MultiArray
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UInt32MultiArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UInt32MultiArray.java deleted file mode 100644 index 0755b1dba0e..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UInt32MultiArray.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>UInt32 Multi Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt32MultiArray() - * @model - * @generated - */ -public interface UInt32MultiArray extends EObject { - /** - * Returns the value of the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layout</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layout</em>' containment reference. - * @see #setLayout(MultiArrayLayout) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt32MultiArray_Layout() - * @model containment="true" required="true" ordered="false" - * @generated - */ - MultiArrayLayout getLayout(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getLayout <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layout</em>' containment reference. - * @see #getLayout() - * @generated - */ - void setLayout(MultiArrayLayout value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt32MultiArray_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // UInt32MultiArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UInt64MultiArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UInt64MultiArray.java deleted file mode 100644 index 58b26f5d3af..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UInt64MultiArray.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>UInt64 Multi Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt64MultiArray() - * @model - * @generated - */ -public interface UInt64MultiArray extends EObject { - /** - * Returns the value of the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layout</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layout</em>' containment reference. - * @see #setLayout(MultiArrayLayout) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt64MultiArray_Layout() - * @model containment="true" required="true" ordered="false" - * @generated - */ - MultiArrayLayout getLayout(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getLayout <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layout</em>' containment reference. - * @see #getLayout() - * @generated - */ - void setLayout(MultiArrayLayout value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt64MultiArray_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // UInt64MultiArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UInt8MultiArray.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UInt8MultiArray.java deleted file mode 100644 index 9f3552d63ce..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/UInt8MultiArray.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>UInt8 Multi Array</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt8MultiArray() - * @model - * @generated - */ -public interface UInt8MultiArray extends EObject { - /** - * Returns the value of the '<em><b>Layout</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Layout</em>' containment reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Layout</em>' containment reference. - * @see #setLayout(MultiArrayLayout) - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt8MultiArray_Layout() - * @model containment="true" required="true" ordered="false" - * @generated - */ - MultiArrayLayout getLayout(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getLayout <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Layout</em>' containment reference. - * @see #getLayout() - * @generated - */ - void setLayout(MultiArrayLayout value); - - /** - * Returns the value of the '<em><b>Data</b></em>' attribute list. - * The list contents are of type {@link java.lang.Object}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Data</em>' attribute list isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Data</em>' attribute list. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt8MultiArray_Data() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" ordered="false" - * @generated - */ - EList<Object> getData(); - -} // UInt8MultiArray diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/ByteMultiArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/ByteMultiArrayImpl.java deleted file mode 100644 index c576519907a..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/ByteMultiArrayImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Byte Multi Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ByteMultiArrayImpl#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ByteMultiArrayImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ByteMultiArrayImpl extends MinimalEObjectImpl.Container implements ByteMultiArray { - /** - * The cached value of the '{@link #getLayout() <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayout() - * @generated - * @ordered - */ - protected MultiArrayLayout layout; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ByteMultiArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.BYTE_MULTI_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiArrayLayout getLayout() { - return layout; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { - MultiArrayLayout oldLayout = layout; - layout = newLayout; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT, oldLayout, newLayout); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayout(MultiArrayLayout newLayout) { - if (newLayout != layout) { - NotificationChain msgs = null; - if (layout != null) - msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT, null, msgs); - if (newLayout != null) - msgs = ((InternalEObject)newLayout).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT, null, msgs); - msgs = basicSetLayout(newLayout, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Std_datatypesPackage.BYTE_MULTI_ARRAY__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT: - return basicSetLayout(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 Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT: - return getLayout(); - case Std_datatypesPackage.BYTE_MULTI_ARRAY__DATA: - return getData(); - } - 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 Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)newValue); - return; - case Std_datatypesPackage.BYTE_MULTI_ARRAY__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)null); - return; - case Std_datatypesPackage.BYTE_MULTI_ARRAY__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT: - return layout != null; - case Std_datatypesPackage.BYTE_MULTI_ARRAY__DATA: - return data != null && !data.isEmpty(); - } - 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(" (data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // ByteMultiArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/ColorRGBAImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/ColorRGBAImpl.java deleted file mode 100644 index 61a78361c14..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/ColorRGBAImpl.java +++ /dev/null @@ -1,322 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_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.std_datatypes.ColorRGBA; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Color RGBA</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl#getR <em>R</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl#getG <em>G</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl#getB <em>B</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl#getA <em>A</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ColorRGBAImpl extends MinimalEObjectImpl.Container implements ColorRGBA { - /** - * The default value of the '{@link #getR() <em>R</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getR() - * @generated - * @ordered - */ - protected static final Object R_EDEFAULT = null; - - /** - * The cached value of the '{@link #getR() <em>R</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getR() - * @generated - * @ordered - */ - protected Object r = R_EDEFAULT; - - /** - * The default value of the '{@link #getG() <em>G</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getG() - * @generated - * @ordered - */ - protected static final Object G_EDEFAULT = null; - - /** - * The cached value of the '{@link #getG() <em>G</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getG() - * @generated - * @ordered - */ - protected Object g = G_EDEFAULT; - - /** - * The default value of the '{@link #getB() <em>B</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getB() - * @generated - * @ordered - */ - protected static final Object B_EDEFAULT = null; - - /** - * The cached value of the '{@link #getB() <em>B</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getB() - * @generated - * @ordered - */ - protected Object b = B_EDEFAULT; - - /** - * The default value of the '{@link #getA() <em>A</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getA() - * @generated - * @ordered - */ - protected static final Object A_EDEFAULT = null; - - /** - * The cached value of the '{@link #getA() <em>A</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getA() - * @generated - * @ordered - */ - protected Object a = A_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ColorRGBAImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.COLOR_RGBA; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getR() { - return r; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setR(Object newR) { - Object oldR = r; - r = newR; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.COLOR_RGBA__R, oldR, r)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getG() { - return g; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setG(Object newG) { - Object oldG = g; - g = newG; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.COLOR_RGBA__G, oldG, g)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getB() { - return b; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setB(Object newB) { - Object oldB = b; - b = newB; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.COLOR_RGBA__B, oldB, b)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getA() { - return a; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setA(Object newA) { - Object oldA = a; - a = newA; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.COLOR_RGBA__A, oldA, a)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Std_datatypesPackage.COLOR_RGBA__R: - return getR(); - case Std_datatypesPackage.COLOR_RGBA__G: - return getG(); - case Std_datatypesPackage.COLOR_RGBA__B: - return getB(); - case Std_datatypesPackage.COLOR_RGBA__A: - return getA(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Std_datatypesPackage.COLOR_RGBA__R: - setR((Object)newValue); - return; - case Std_datatypesPackage.COLOR_RGBA__G: - setG((Object)newValue); - return; - case Std_datatypesPackage.COLOR_RGBA__B: - setB((Object)newValue); - return; - case Std_datatypesPackage.COLOR_RGBA__A: - setA((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.COLOR_RGBA__R: - setR(R_EDEFAULT); - return; - case Std_datatypesPackage.COLOR_RGBA__G: - setG(G_EDEFAULT); - return; - case Std_datatypesPackage.COLOR_RGBA__B: - setB(B_EDEFAULT); - return; - case Std_datatypesPackage.COLOR_RGBA__A: - setA(A_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.COLOR_RGBA__R: - return R_EDEFAULT == null ? r != null : !R_EDEFAULT.equals(r); - case Std_datatypesPackage.COLOR_RGBA__G: - return G_EDEFAULT == null ? g != null : !G_EDEFAULT.equals(g); - case Std_datatypesPackage.COLOR_RGBA__B: - return B_EDEFAULT == null ? b != null : !B_EDEFAULT.equals(b); - case Std_datatypesPackage.COLOR_RGBA__A: - return A_EDEFAULT == null ? a != null : !A_EDEFAULT.equals(a); - } - 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(" (r: "); - result.append(r); - result.append(", g: "); - result.append(g); - result.append(", b: "); - result.append(b); - result.append(", a: "); - result.append(a); - result.append(')'); - return result.toString(); - } - -} // ColorRGBAImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Float32MultiArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Float32MultiArrayImpl.java deleted file mode 100644 index b42540080b7..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Float32MultiArrayImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Float32 Multi Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float32MultiArrayImpl#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float32MultiArrayImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Float32MultiArrayImpl extends MinimalEObjectImpl.Container implements Float32MultiArray { - /** - * The cached value of the '{@link #getLayout() <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayout() - * @generated - * @ordered - */ - protected MultiArrayLayout layout; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Float32MultiArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.FLOAT32_MULTI_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiArrayLayout getLayout() { - return layout; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { - MultiArrayLayout oldLayout = layout; - layout = newLayout; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT, oldLayout, newLayout); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayout(MultiArrayLayout newLayout) { - if (newLayout != layout) { - NotificationChain msgs = null; - if (layout != null) - msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT, null, msgs); - if (newLayout != null) - msgs = ((InternalEObject)newLayout).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT, null, msgs); - msgs = basicSetLayout(newLayout, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Std_datatypesPackage.FLOAT32_MULTI_ARRAY__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT: - return basicSetLayout(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 Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT: - return getLayout(); - case Std_datatypesPackage.FLOAT32_MULTI_ARRAY__DATA: - return getData(); - } - 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 Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)newValue); - return; - case Std_datatypesPackage.FLOAT32_MULTI_ARRAY__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)null); - return; - case Std_datatypesPackage.FLOAT32_MULTI_ARRAY__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT: - return layout != null; - case Std_datatypesPackage.FLOAT32_MULTI_ARRAY__DATA: - return data != null && !data.isEmpty(); - } - 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(" (data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // Float32MultiArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Float64MultiArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Float64MultiArrayImpl.java deleted file mode 100644 index 60229921e2a..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Float64MultiArrayImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Float64 Multi Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float64MultiArrayImpl#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float64MultiArrayImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Float64MultiArrayImpl extends MinimalEObjectImpl.Container implements Float64MultiArray { - /** - * The cached value of the '{@link #getLayout() <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayout() - * @generated - * @ordered - */ - protected MultiArrayLayout layout; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Float64MultiArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.FLOAT64_MULTI_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiArrayLayout getLayout() { - return layout; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { - MultiArrayLayout oldLayout = layout; - layout = newLayout; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT, oldLayout, newLayout); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayout(MultiArrayLayout newLayout) { - if (newLayout != layout) { - NotificationChain msgs = null; - if (layout != null) - msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT, null, msgs); - if (newLayout != null) - msgs = ((InternalEObject)newLayout).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT, null, msgs); - msgs = basicSetLayout(newLayout, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Std_datatypesPackage.FLOAT64_MULTI_ARRAY__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT: - return basicSetLayout(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 Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT: - return getLayout(); - case Std_datatypesPackage.FLOAT64_MULTI_ARRAY__DATA: - return getData(); - } - 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 Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)newValue); - return; - case Std_datatypesPackage.FLOAT64_MULTI_ARRAY__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)null); - return; - case Std_datatypesPackage.FLOAT64_MULTI_ARRAY__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT: - return layout != null; - case Std_datatypesPackage.FLOAT64_MULTI_ARRAY__DATA: - return data != null && !data.isEmpty(); - } - 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(" (data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // Float64MultiArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/HeaderImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/HeaderImpl.java deleted file mode 100644 index 4b58e3036ca..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/HeaderImpl.java +++ /dev/null @@ -1,268 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_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.std_datatypes.Header; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Header</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl#getSeq <em>Seq</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl#getStamp <em>Stamp</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl#getFrame_id <em>Frame id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class HeaderImpl extends MinimalEObjectImpl.Container implements Header { - /** - * The default value of the '{@link #getSeq() <em>Seq</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSeq() - * @generated - * @ordered - */ - protected static final Object SEQ_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSeq() <em>Seq</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSeq() - * @generated - * @ordered - */ - protected Object seq = SEQ_EDEFAULT; - - /** - * The default value of the '{@link #getStamp() <em>Stamp</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStamp() - * @generated - * @ordered - */ - protected static final Object STAMP_EDEFAULT = null; - - /** - * The cached value of the '{@link #getStamp() <em>Stamp</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStamp() - * @generated - * @ordered - */ - protected Object stamp = STAMP_EDEFAULT; - - /** - * The default value of the '{@link #getFrame_id() <em>Frame id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFrame_id() - * @generated - * @ordered - */ - protected static final Object FRAME_ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getFrame_id() <em>Frame id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFrame_id() - * @generated - * @ordered - */ - protected Object frame_id = FRAME_ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected HeaderImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.HEADER; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSeq() { - return seq; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSeq(Object newSeq) { - Object oldSeq = seq; - seq = newSeq; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.HEADER__SEQ, oldSeq, seq)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getStamp() { - return stamp; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setStamp(Object newStamp) { - Object oldStamp = stamp; - stamp = newStamp; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.HEADER__STAMP, oldStamp, stamp)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getFrame_id() { - return frame_id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFrame_id(Object newFrame_id) { - Object oldFrame_id = frame_id; - frame_id = newFrame_id; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.HEADER__FRAME_ID, oldFrame_id, frame_id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Std_datatypesPackage.HEADER__SEQ: - return getSeq(); - case Std_datatypesPackage.HEADER__STAMP: - return getStamp(); - case Std_datatypesPackage.HEADER__FRAME_ID: - return getFrame_id(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Std_datatypesPackage.HEADER__SEQ: - setSeq((Object)newValue); - return; - case Std_datatypesPackage.HEADER__STAMP: - setStamp((Object)newValue); - return; - case Std_datatypesPackage.HEADER__FRAME_ID: - setFrame_id((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.HEADER__SEQ: - setSeq(SEQ_EDEFAULT); - return; - case Std_datatypesPackage.HEADER__STAMP: - setStamp(STAMP_EDEFAULT); - return; - case Std_datatypesPackage.HEADER__FRAME_ID: - setFrame_id(FRAME_ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.HEADER__SEQ: - return SEQ_EDEFAULT == null ? seq != null : !SEQ_EDEFAULT.equals(seq); - case Std_datatypesPackage.HEADER__STAMP: - return STAMP_EDEFAULT == null ? stamp != null : !STAMP_EDEFAULT.equals(stamp); - case Std_datatypesPackage.HEADER__FRAME_ID: - return FRAME_ID_EDEFAULT == null ? frame_id != null : !FRAME_ID_EDEFAULT.equals(frame_id); - } - 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(" (seq: "); - result.append(seq); - result.append(", stamp: "); - result.append(stamp); - result.append(", frame_id: "); - result.append(frame_id); - result.append(')'); - return result.toString(); - } - -} // HeaderImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Int16MultiArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Int16MultiArrayImpl.java deleted file mode 100644 index 88e4611592b..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Int16MultiArrayImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Int16 Multi Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int16MultiArrayImpl#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int16MultiArrayImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Int16MultiArrayImpl extends MinimalEObjectImpl.Container implements Int16MultiArray { - /** - * The cached value of the '{@link #getLayout() <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayout() - * @generated - * @ordered - */ - protected MultiArrayLayout layout; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Int16MultiArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.INT16_MULTI_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiArrayLayout getLayout() { - return layout; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { - MultiArrayLayout oldLayout = layout; - layout = newLayout; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT, oldLayout, newLayout); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayout(MultiArrayLayout newLayout) { - if (newLayout != layout) { - NotificationChain msgs = null; - if (layout != null) - msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT, null, msgs); - if (newLayout != null) - msgs = ((InternalEObject)newLayout).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT, null, msgs); - msgs = basicSetLayout(newLayout, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Std_datatypesPackage.INT16_MULTI_ARRAY__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT: - return basicSetLayout(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 Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT: - return getLayout(); - case Std_datatypesPackage.INT16_MULTI_ARRAY__DATA: - return getData(); - } - 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 Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)newValue); - return; - case Std_datatypesPackage.INT16_MULTI_ARRAY__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)null); - return; - case Std_datatypesPackage.INT16_MULTI_ARRAY__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT: - return layout != null; - case Std_datatypesPackage.INT16_MULTI_ARRAY__DATA: - return data != null && !data.isEmpty(); - } - 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(" (data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // Int16MultiArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Int32MultiArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Int32MultiArrayImpl.java deleted file mode 100644 index b0fb8132b4a..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Int32MultiArrayImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Int32 Multi Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int32MultiArrayImpl#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int32MultiArrayImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Int32MultiArrayImpl extends MinimalEObjectImpl.Container implements Int32MultiArray { - /** - * The cached value of the '{@link #getLayout() <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayout() - * @generated - * @ordered - */ - protected MultiArrayLayout layout; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Int32MultiArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.INT32_MULTI_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiArrayLayout getLayout() { - return layout; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { - MultiArrayLayout oldLayout = layout; - layout = newLayout; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT, oldLayout, newLayout); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayout(MultiArrayLayout newLayout) { - if (newLayout != layout) { - NotificationChain msgs = null; - if (layout != null) - msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT, null, msgs); - if (newLayout != null) - msgs = ((InternalEObject)newLayout).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT, null, msgs); - msgs = basicSetLayout(newLayout, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Std_datatypesPackage.INT32_MULTI_ARRAY__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT: - return basicSetLayout(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 Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT: - return getLayout(); - case Std_datatypesPackage.INT32_MULTI_ARRAY__DATA: - return getData(); - } - 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 Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)newValue); - return; - case Std_datatypesPackage.INT32_MULTI_ARRAY__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)null); - return; - case Std_datatypesPackage.INT32_MULTI_ARRAY__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT: - return layout != null; - case Std_datatypesPackage.INT32_MULTI_ARRAY__DATA: - return data != null && !data.isEmpty(); - } - 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(" (data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // Int32MultiArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Int64MultiArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Int64MultiArrayImpl.java deleted file mode 100644 index a418de9bd9d..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Int64MultiArrayImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Int64 Multi Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int64MultiArrayImpl#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int64MultiArrayImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Int64MultiArrayImpl extends MinimalEObjectImpl.Container implements Int64MultiArray { - /** - * The cached value of the '{@link #getLayout() <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayout() - * @generated - * @ordered - */ - protected MultiArrayLayout layout; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Int64MultiArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.INT64_MULTI_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiArrayLayout getLayout() { - return layout; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { - MultiArrayLayout oldLayout = layout; - layout = newLayout; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT, oldLayout, newLayout); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayout(MultiArrayLayout newLayout) { - if (newLayout != layout) { - NotificationChain msgs = null; - if (layout != null) - msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT, null, msgs); - if (newLayout != null) - msgs = ((InternalEObject)newLayout).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT, null, msgs); - msgs = basicSetLayout(newLayout, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Std_datatypesPackage.INT64_MULTI_ARRAY__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT: - return basicSetLayout(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 Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT: - return getLayout(); - case Std_datatypesPackage.INT64_MULTI_ARRAY__DATA: - return getData(); - } - 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 Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)newValue); - return; - case Std_datatypesPackage.INT64_MULTI_ARRAY__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)null); - return; - case Std_datatypesPackage.INT64_MULTI_ARRAY__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT: - return layout != null; - case Std_datatypesPackage.INT64_MULTI_ARRAY__DATA: - return data != null && !data.isEmpty(); - } - 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(" (data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // Int64MultiArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Int8MultiArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Int8MultiArrayImpl.java deleted file mode 100644 index a73e7a7400f..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Int8MultiArrayImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Int8 Multi Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int8MultiArrayImpl#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int8MultiArrayImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class Int8MultiArrayImpl extends MinimalEObjectImpl.Container implements Int8MultiArray { - /** - * The cached value of the '{@link #getLayout() <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayout() - * @generated - * @ordered - */ - protected MultiArrayLayout layout; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Int8MultiArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.INT8_MULTI_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiArrayLayout getLayout() { - return layout; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { - MultiArrayLayout oldLayout = layout; - layout = newLayout; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT, oldLayout, newLayout); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayout(MultiArrayLayout newLayout) { - if (newLayout != layout) { - NotificationChain msgs = null; - if (layout != null) - msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT, null, msgs); - if (newLayout != null) - msgs = ((InternalEObject)newLayout).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT, null, msgs); - msgs = basicSetLayout(newLayout, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Std_datatypesPackage.INT8_MULTI_ARRAY__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT: - return basicSetLayout(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 Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT: - return getLayout(); - case Std_datatypesPackage.INT8_MULTI_ARRAY__DATA: - return getData(); - } - 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 Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)newValue); - return; - case Std_datatypesPackage.INT8_MULTI_ARRAY__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)null); - return; - case Std_datatypesPackage.INT8_MULTI_ARRAY__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT: - return layout != null; - case Std_datatypesPackage.INT8_MULTI_ARRAY__DATA: - return data != null && !data.isEmpty(); - } - 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(" (data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // Int8MultiArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/MultiArrayDimensionImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/MultiArrayDimensionImpl.java deleted file mode 100644 index 937b4c85283..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/MultiArrayDimensionImpl.java +++ /dev/null @@ -1,268 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_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.std_datatypes.MultiArrayDimension; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Multi Array Dimension</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl#getLabel <em>Label</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl#getSize <em>Size</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl#getStride <em>Stride</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class MultiArrayDimensionImpl extends MinimalEObjectImpl.Container implements MultiArrayDimension { - /** - * The default value of the '{@link #getLabel() <em>Label</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLabel() - * @generated - * @ordered - */ - protected static final Object LABEL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLabel() <em>Label</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLabel() - * @generated - * @ordered - */ - protected Object label = LABEL_EDEFAULT; - - /** - * The default value of the '{@link #getSize() <em>Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSize() - * @generated - * @ordered - */ - protected static final Object SIZE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSize() <em>Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSize() - * @generated - * @ordered - */ - protected Object size = SIZE_EDEFAULT; - - /** - * The default value of the '{@link #getStride() <em>Stride</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStride() - * @generated - * @ordered - */ - protected static final Object STRIDE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getStride() <em>Stride</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStride() - * @generated - * @ordered - */ - protected Object stride = STRIDE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected MultiArrayDimensionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.MULTI_ARRAY_DIMENSION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getLabel() { - return label; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLabel(Object newLabel) { - Object oldLabel = label; - label = newLabel; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.MULTI_ARRAY_DIMENSION__LABEL, oldLabel, label)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getSize() { - return size; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSize(Object newSize) { - Object oldSize = size; - size = newSize; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.MULTI_ARRAY_DIMENSION__SIZE, oldSize, size)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getStride() { - return stride; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setStride(Object newStride) { - Object oldStride = stride; - stride = newStride; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.MULTI_ARRAY_DIMENSION__STRIDE, oldStride, stride)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__LABEL: - return getLabel(); - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__SIZE: - return getSize(); - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__STRIDE: - return getStride(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__LABEL: - setLabel((Object)newValue); - return; - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__SIZE: - setSize((Object)newValue); - return; - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__STRIDE: - setStride((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__LABEL: - setLabel(LABEL_EDEFAULT); - return; - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__SIZE: - setSize(SIZE_EDEFAULT); - return; - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__STRIDE: - setStride(STRIDE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__LABEL: - return LABEL_EDEFAULT == null ? label != null : !LABEL_EDEFAULT.equals(label); - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__SIZE: - return SIZE_EDEFAULT == null ? size != null : !SIZE_EDEFAULT.equals(size); - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__STRIDE: - return STRIDE_EDEFAULT == null ? stride != null : !STRIDE_EDEFAULT.equals(stride); - } - 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(" (label: "); - result.append(label); - result.append(", size: "); - result.append(size); - result.append(", stride: "); - result.append(stride); - result.append(')'); - return result.toString(); - } - -} // MultiArrayDimensionImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/MultiArrayLayoutImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/MultiArrayLayoutImpl.java deleted file mode 100644 index d6fac458406..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/MultiArrayLayoutImpl.java +++ /dev/null @@ -1,217 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.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.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Multi Array Layout</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayLayoutImpl#getDim <em>Dim</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayLayoutImpl#getData_offset <em>Data offset</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class MultiArrayLayoutImpl extends MinimalEObjectImpl.Container implements MultiArrayLayout { - /** - * The cached value of the '{@link #getDim() <em>Dim</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDim() - * @generated - * @ordered - */ - protected EList<MultiArrayDimension> dim; - - /** - * The default value of the '{@link #getData_offset() <em>Data offset</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData_offset() - * @generated - * @ordered - */ - protected static final Object DATA_OFFSET_EDEFAULT = null; - - /** - * The cached value of the '{@link #getData_offset() <em>Data offset</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData_offset() - * @generated - * @ordered - */ - protected Object data_offset = DATA_OFFSET_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected MultiArrayLayoutImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.MULTI_ARRAY_LAYOUT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<MultiArrayDimension> getDim() { - if (dim == null) { - dim = new EObjectContainmentEList<MultiArrayDimension>(MultiArrayDimension.class, this, Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DIM); - } - return dim; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object getData_offset() { - return data_offset; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setData_offset(Object newData_offset) { - Object oldData_offset = data_offset; - data_offset = newData_offset; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DATA_OFFSET, oldData_offset, data_offset)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DIM: - return ((InternalEList<?>)getDim()).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 Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DIM: - return getDim(); - case Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DATA_OFFSET: - return getData_offset(); - } - 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 Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DIM: - getDim().clear(); - getDim().addAll((Collection<? extends MultiArrayDimension>)newValue); - return; - case Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DATA_OFFSET: - setData_offset((Object)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DIM: - getDim().clear(); - return; - case Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DATA_OFFSET: - setData_offset(DATA_OFFSET_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DIM: - return dim != null && !dim.isEmpty(); - case Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DATA_OFFSET: - return DATA_OFFSET_EDEFAULT == null ? data_offset != null : !DATA_OFFSET_EDEFAULT.equals(data_offset); - } - 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(" (data_offset: "); - result.append(data_offset); - result.append(')'); - return result.toString(); - } - -} // MultiArrayLayoutImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Std_datatypesFactoryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Std_datatypesFactoryImpl.java deleted file mode 100644 index 66f163f01d6..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Std_datatypesFactoryImpl.java +++ /dev/null @@ -1,625 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_datatypesFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static Std_datatypesFactory init() { - try { - Std_datatypesFactory theStd_datatypesFactory = (Std_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Std_datatypesPackage.eNS_URI); - if (theStd_datatypesFactory != null) { - return theStd_datatypesFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new Std_datatypesFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Std_datatypesFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case Std_datatypesPackage.HEADER: return createHeader(); - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION: return createMultiArrayDimension(); - case Std_datatypesPackage.MULTI_ARRAY_LAYOUT: return createMultiArrayLayout(); - case Std_datatypesPackage.BYTE_MULTI_ARRAY: return createByteMultiArray(); - case Std_datatypesPackage.COLOR_RGBA: return createColorRGBA(); - case Std_datatypesPackage.FLOAT32_MULTI_ARRAY: return createFloat32MultiArray(); - case Std_datatypesPackage.INT32_MULTI_ARRAY: return createInt32MultiArray(); - case Std_datatypesPackage.INT8_MULTI_ARRAY: return createInt8MultiArray(); - case Std_datatypesPackage.INT16_MULTI_ARRAY: return createInt16MultiArray(); - case Std_datatypesPackage.INT64_MULTI_ARRAY: return createInt64MultiArray(); - case Std_datatypesPackage.FLOAT64_MULTI_ARRAY: return createFloat64MultiArray(); - case Std_datatypesPackage.UINT64_MULTI_ARRAY: return createUInt64MultiArray(); - case Std_datatypesPackage.UINT16_MULTI_ARRAY: return createUInt16MultiArray(); - case Std_datatypesPackage.UINT32_MULTI_ARRAY: return createUInt32MultiArray(); - case Std_datatypesPackage.UINT8_MULTI_ARRAY: return createUInt8MultiArray(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case Std_datatypesPackage.UINT32: - return createUInt32FromString(eDataType, initialValue); - case Std_datatypesPackage.TIME: - return createTimeFromString(eDataType, initialValue); - case Std_datatypesPackage.STRING: - return createStringFromString(eDataType, initialValue); - case Std_datatypesPackage.BYTE: - return createByteFromString(eDataType, initialValue); - case Std_datatypesPackage.FLOAT64: - return createFloat64FromString(eDataType, initialValue); - case Std_datatypesPackage.INT8: - return createInt8FromString(eDataType, initialValue); - case Std_datatypesPackage.BOOL: - return createBoolFromString(eDataType, initialValue); - case Std_datatypesPackage.UINT8: - return createUInt8FromString(eDataType, initialValue); - case Std_datatypesPackage.UINT16: - return createUInt16FromString(eDataType, initialValue); - case Std_datatypesPackage.INT32: - return createInt32FromString(eDataType, initialValue); - case Std_datatypesPackage.INT16: - return createInt16FromString(eDataType, initialValue); - case Std_datatypesPackage.CHAR: - return createCharFromString(eDataType, initialValue); - case Std_datatypesPackage.DURATION: - return createDurationFromString(eDataType, initialValue); - case Std_datatypesPackage.INT64: - return createInt64FromString(eDataType, initialValue); - case Std_datatypesPackage.UINT64: - return createUInt64FromString(eDataType, initialValue); - case Std_datatypesPackage.FLOAT32: - return createFloat32FromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case Std_datatypesPackage.UINT32: - return convertUInt32ToString(eDataType, instanceValue); - case Std_datatypesPackage.TIME: - return convertTimeToString(eDataType, instanceValue); - case Std_datatypesPackage.STRING: - return convertStringToString(eDataType, instanceValue); - case Std_datatypesPackage.BYTE: - return convertByteToString(eDataType, instanceValue); - case Std_datatypesPackage.FLOAT64: - return convertFloat64ToString(eDataType, instanceValue); - case Std_datatypesPackage.INT8: - return convertInt8ToString(eDataType, instanceValue); - case Std_datatypesPackage.BOOL: - return convertBoolToString(eDataType, instanceValue); - case Std_datatypesPackage.UINT8: - return convertUInt8ToString(eDataType, instanceValue); - case Std_datatypesPackage.UINT16: - return convertUInt16ToString(eDataType, instanceValue); - case Std_datatypesPackage.INT32: - return convertInt32ToString(eDataType, instanceValue); - case Std_datatypesPackage.INT16: - return convertInt16ToString(eDataType, instanceValue); - case Std_datatypesPackage.CHAR: - return convertCharToString(eDataType, instanceValue); - case Std_datatypesPackage.DURATION: - return convertDurationToString(eDataType, instanceValue); - case Std_datatypesPackage.INT64: - return convertInt64ToString(eDataType, instanceValue); - case Std_datatypesPackage.UINT64: - return convertUInt64ToString(eDataType, instanceValue); - case Std_datatypesPackage.FLOAT32: - return convertFloat32ToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Header createHeader() { - HeaderImpl header = new HeaderImpl(); - return header; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiArrayDimension createMultiArrayDimension() { - MultiArrayDimensionImpl multiArrayDimension = new MultiArrayDimensionImpl(); - return multiArrayDimension; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiArrayLayout createMultiArrayLayout() { - MultiArrayLayoutImpl multiArrayLayout = new MultiArrayLayoutImpl(); - return multiArrayLayout; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ByteMultiArray createByteMultiArray() { - ByteMultiArrayImpl byteMultiArray = new ByteMultiArrayImpl(); - return byteMultiArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ColorRGBA createColorRGBA() { - ColorRGBAImpl colorRGBA = new ColorRGBAImpl(); - return colorRGBA; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Float32MultiArray createFloat32MultiArray() { - Float32MultiArrayImpl float32MultiArray = new Float32MultiArrayImpl(); - return float32MultiArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Int32MultiArray createInt32MultiArray() { - Int32MultiArrayImpl int32MultiArray = new Int32MultiArrayImpl(); - return int32MultiArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Int8MultiArray createInt8MultiArray() { - Int8MultiArrayImpl int8MultiArray = new Int8MultiArrayImpl(); - return int8MultiArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Int16MultiArray createInt16MultiArray() { - Int16MultiArrayImpl int16MultiArray = new Int16MultiArrayImpl(); - return int16MultiArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Int64MultiArray createInt64MultiArray() { - Int64MultiArrayImpl int64MultiArray = new Int64MultiArrayImpl(); - return int64MultiArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Float64MultiArray createFloat64MultiArray() { - Float64MultiArrayImpl float64MultiArray = new Float64MultiArrayImpl(); - return float64MultiArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UInt64MultiArray createUInt64MultiArray() { - UInt64MultiArrayImpl uInt64MultiArray = new UInt64MultiArrayImpl(); - return uInt64MultiArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UInt16MultiArray createUInt16MultiArray() { - UInt16MultiArrayImpl uInt16MultiArray = new UInt16MultiArrayImpl(); - return uInt16MultiArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UInt32MultiArray createUInt32MultiArray() { - UInt32MultiArrayImpl uInt32MultiArray = new UInt32MultiArrayImpl(); - return uInt32MultiArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UInt8MultiArray createUInt8MultiArray() { - UInt8MultiArrayImpl uInt8MultiArray = new UInt8MultiArrayImpl(); - return uInt8MultiArray; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createUInt32FromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertUInt32ToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createTimeFromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertTimeToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createStringFromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertStringToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createByteFromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertByteToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createFloat64FromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertFloat64ToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createInt8FromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertInt8ToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createBoolFromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertBoolToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createUInt8FromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertUInt8ToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createUInt16FromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertUInt16ToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createInt32FromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertInt32ToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createInt16FromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertInt16ToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createCharFromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertCharToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createDurationFromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertDurationToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createInt64FromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertInt64ToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createUInt64FromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertUInt64ToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createFloat32FromString(EDataType eDataType, String initialValue) { - return (Object)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertFloat32ToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Std_datatypesPackage getStd_datatypesPackage() { - return (Std_datatypesPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static Std_datatypesPackage getPackage() { - return Std_datatypesPackage.eINSTANCE; - } - -} // Std_datatypesFactoryImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Std_datatypesPackageImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Std_datatypesPackageImpl.java deleted file mode 100644 index 1545cfa0bf9..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/Std_datatypesPackageImpl.java +++ /dev/null @@ -1,1173 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl; - -import java.util.Date; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.papyrus.RobotML.RobotMLPackage; -import org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesPackageImpl; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesFactory; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class Std_datatypesPackageImpl extends EPackageImpl implements Std_datatypesPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass headerEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass multiArrayDimensionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass multiArrayLayoutEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass byteMultiArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass colorRGBAEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass float32MultiArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass int32MultiArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass int8MultiArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass int16MultiArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass int64MultiArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass float64MultiArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass uInt64MultiArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass uInt16MultiArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass uInt32MultiArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass uInt8MultiArrayEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType uInt32EDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType timeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType stringEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType byteEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType float64EDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType int8EDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType boolEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType uInt8EDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType uInt16EDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType int32EDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType int16EDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType charEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType durationEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType int64EDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType uInt64EDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType float32EDataType = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#eNS_URI - * @see #init() - * @generated - */ - private Std_datatypesPackageImpl() { - super(eNS_URI, Std_datatypesFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p> - * This method is used to initialize {@link Std_datatypesPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static Std_datatypesPackage init() { - if (isInited) return (Std_datatypesPackage)EPackage.Registry.INSTANCE.getEPackage(Std_datatypesPackage.eNS_URI); - - // Obtain or create and register package - Std_datatypesPackageImpl theStd_datatypesPackage = (Std_datatypesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Std_datatypesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Std_datatypesPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - RobotMLPackageImpl theRobotMLPackage = (RobotMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) instanceof RobotMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI) : RobotMLPackage.eINSTANCE); - Diagnostic_datatypesPackageImpl theDiagnostic_datatypesPackage = (Diagnostic_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) instanceof Diagnostic_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Diagnostic_datatypesPackage.eNS_URI) : Diagnostic_datatypesPackage.eINSTANCE); - Geometry_datatypesPackageImpl theGeometry_datatypesPackage = (Geometry_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) instanceof Geometry_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Geometry_datatypesPackage.eNS_URI) : Geometry_datatypesPackage.eINSTANCE); - Nav_datatypesPackageImpl theNav_datatypesPackage = (Nav_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) instanceof Nav_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Nav_datatypesPackage.eNS_URI) : Nav_datatypesPackage.eINSTANCE); - Sensor_datatypesPackageImpl theSensor_datatypesPackage = (Sensor_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) instanceof Sensor_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Sensor_datatypesPackage.eNS_URI) : Sensor_datatypesPackage.eINSTANCE); - Actionlib_datatypesPackageImpl theActionlib_datatypesPackage = (Actionlib_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) instanceof Actionlib_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Actionlib_datatypesPackage.eNS_URI) : Actionlib_datatypesPackage.eINSTANCE); - Oarp1_datatypesPackageImpl theOarp1_datatypesPackage = (Oarp1_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) instanceof Oarp1_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp1_datatypesPackage.eNS_URI) : Oarp1_datatypesPackage.eINSTANCE); - Oarp4_datatypesPackageImpl theOarp4_datatypesPackage = (Oarp4_datatypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) instanceof Oarp4_datatypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Oarp4_datatypesPackage.eNS_URI) : Oarp4_datatypesPackage.eINSTANCE); - - // Create package meta-data objects - theStd_datatypesPackage.createPackageContents(); - theRobotMLPackage.createPackageContents(); - theDiagnostic_datatypesPackage.createPackageContents(); - theGeometry_datatypesPackage.createPackageContents(); - theNav_datatypesPackage.createPackageContents(); - theSensor_datatypesPackage.createPackageContents(); - theActionlib_datatypesPackage.createPackageContents(); - theOarp1_datatypesPackage.createPackageContents(); - theOarp4_datatypesPackage.createPackageContents(); - - // Initialize created meta-data - theStd_datatypesPackage.initializePackageContents(); - theRobotMLPackage.initializePackageContents(); - theDiagnostic_datatypesPackage.initializePackageContents(); - theGeometry_datatypesPackage.initializePackageContents(); - theNav_datatypesPackage.initializePackageContents(); - theSensor_datatypesPackage.initializePackageContents(); - theActionlib_datatypesPackage.initializePackageContents(); - theOarp1_datatypesPackage.initializePackageContents(); - theOarp4_datatypesPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theStd_datatypesPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(Std_datatypesPackage.eNS_URI, theStd_datatypesPackage); - return theStd_datatypesPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getHeader() { - return headerEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getHeader_Seq() { - return (EAttribute)headerEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getHeader_Stamp() { - return (EAttribute)headerEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getHeader_Frame_id() { - return (EAttribute)headerEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getMultiArrayDimension() { - return multiArrayDimensionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMultiArrayDimension_Label() { - return (EAttribute)multiArrayDimensionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMultiArrayDimension_Size() { - return (EAttribute)multiArrayDimensionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMultiArrayDimension_Stride() { - return (EAttribute)multiArrayDimensionEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getMultiArrayLayout() { - return multiArrayLayoutEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getMultiArrayLayout_Dim() { - return (EReference)multiArrayLayoutEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMultiArrayLayout_Data_offset() { - return (EAttribute)multiArrayLayoutEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getByteMultiArray() { - return byteMultiArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getByteMultiArray_Layout() { - return (EReference)byteMultiArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getByteMultiArray_Data() { - return (EAttribute)byteMultiArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getColorRGBA() { - return colorRGBAEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getColorRGBA_R() { - return (EAttribute)colorRGBAEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getColorRGBA_G() { - return (EAttribute)colorRGBAEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getColorRGBA_B() { - return (EAttribute)colorRGBAEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getColorRGBA_A() { - return (EAttribute)colorRGBAEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getFloat32MultiArray() { - return float32MultiArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFloat32MultiArray_Layout() { - return (EReference)float32MultiArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getFloat32MultiArray_Data() { - return (EAttribute)float32MultiArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getInt32MultiArray() { - return int32MultiArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getInt32MultiArray_Layout() { - return (EReference)int32MultiArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getInt32MultiArray_Data() { - return (EAttribute)int32MultiArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getInt8MultiArray() { - return int8MultiArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getInt8MultiArray_Layout() { - return (EReference)int8MultiArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getInt8MultiArray_Data() { - return (EAttribute)int8MultiArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getInt16MultiArray() { - return int16MultiArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getInt16MultiArray_Layout() { - return (EReference)int16MultiArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getInt16MultiArray_Data() { - return (EAttribute)int16MultiArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getInt64MultiArray() { - return int64MultiArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getInt64MultiArray_Layout() { - return (EReference)int64MultiArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getInt64MultiArray_Data() { - return (EAttribute)int64MultiArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getFloat64MultiArray() { - return float64MultiArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFloat64MultiArray_Layout() { - return (EReference)float64MultiArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getFloat64MultiArray_Data() { - return (EAttribute)float64MultiArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getUInt64MultiArray() { - return uInt64MultiArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getUInt64MultiArray_Layout() { - return (EReference)uInt64MultiArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUInt64MultiArray_Data() { - return (EAttribute)uInt64MultiArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getUInt16MultiArray() { - return uInt16MultiArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getUInt16MultiArray_Layout() { - return (EReference)uInt16MultiArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUInt16MultiArray_Data() { - return (EAttribute)uInt16MultiArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getUInt32MultiArray() { - return uInt32MultiArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getUInt32MultiArray_Layout() { - return (EReference)uInt32MultiArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUInt32MultiArray_Data() { - return (EAttribute)uInt32MultiArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getUInt8MultiArray() { - return uInt8MultiArrayEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getUInt8MultiArray_Layout() { - return (EReference)uInt8MultiArrayEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUInt8MultiArray_Data() { - return (EAttribute)uInt8MultiArrayEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getUInt32() { - return uInt32EDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getTime() { - return timeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getString() { - return stringEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getByte() { - return byteEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getFloat64() { - return float64EDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getInt8() { - return int8EDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getBool() { - return boolEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getUInt8() { - return uInt8EDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getUInt16() { - return uInt16EDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getInt32() { - return int32EDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getInt16() { - return int16EDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getChar() { - return charEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getDuration() { - return durationEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getInt64() { - return int64EDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getUInt64() { - return uInt64EDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getFloat32() { - return float32EDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Std_datatypesFactory getStd_datatypesFactory() { - return (Std_datatypesFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - headerEClass = createEClass(HEADER); - createEAttribute(headerEClass, HEADER__SEQ); - createEAttribute(headerEClass, HEADER__STAMP); - createEAttribute(headerEClass, HEADER__FRAME_ID); - - multiArrayDimensionEClass = createEClass(MULTI_ARRAY_DIMENSION); - createEAttribute(multiArrayDimensionEClass, MULTI_ARRAY_DIMENSION__LABEL); - createEAttribute(multiArrayDimensionEClass, MULTI_ARRAY_DIMENSION__SIZE); - createEAttribute(multiArrayDimensionEClass, MULTI_ARRAY_DIMENSION__STRIDE); - - multiArrayLayoutEClass = createEClass(MULTI_ARRAY_LAYOUT); - createEReference(multiArrayLayoutEClass, MULTI_ARRAY_LAYOUT__DIM); - createEAttribute(multiArrayLayoutEClass, MULTI_ARRAY_LAYOUT__DATA_OFFSET); - - byteMultiArrayEClass = createEClass(BYTE_MULTI_ARRAY); - createEReference(byteMultiArrayEClass, BYTE_MULTI_ARRAY__LAYOUT); - createEAttribute(byteMultiArrayEClass, BYTE_MULTI_ARRAY__DATA); - - colorRGBAEClass = createEClass(COLOR_RGBA); - createEAttribute(colorRGBAEClass, COLOR_RGBA__R); - createEAttribute(colorRGBAEClass, COLOR_RGBA__G); - createEAttribute(colorRGBAEClass, COLOR_RGBA__B); - createEAttribute(colorRGBAEClass, COLOR_RGBA__A); - - float32MultiArrayEClass = createEClass(FLOAT32_MULTI_ARRAY); - createEReference(float32MultiArrayEClass, FLOAT32_MULTI_ARRAY__LAYOUT); - createEAttribute(float32MultiArrayEClass, FLOAT32_MULTI_ARRAY__DATA); - - int32MultiArrayEClass = createEClass(INT32_MULTI_ARRAY); - createEReference(int32MultiArrayEClass, INT32_MULTI_ARRAY__LAYOUT); - createEAttribute(int32MultiArrayEClass, INT32_MULTI_ARRAY__DATA); - - int8MultiArrayEClass = createEClass(INT8_MULTI_ARRAY); - createEReference(int8MultiArrayEClass, INT8_MULTI_ARRAY__LAYOUT); - createEAttribute(int8MultiArrayEClass, INT8_MULTI_ARRAY__DATA); - - int16MultiArrayEClass = createEClass(INT16_MULTI_ARRAY); - createEReference(int16MultiArrayEClass, INT16_MULTI_ARRAY__LAYOUT); - createEAttribute(int16MultiArrayEClass, INT16_MULTI_ARRAY__DATA); - - int64MultiArrayEClass = createEClass(INT64_MULTI_ARRAY); - createEReference(int64MultiArrayEClass, INT64_MULTI_ARRAY__LAYOUT); - createEAttribute(int64MultiArrayEClass, INT64_MULTI_ARRAY__DATA); - - float64MultiArrayEClass = createEClass(FLOAT64_MULTI_ARRAY); - createEReference(float64MultiArrayEClass, FLOAT64_MULTI_ARRAY__LAYOUT); - createEAttribute(float64MultiArrayEClass, FLOAT64_MULTI_ARRAY__DATA); - - uInt64MultiArrayEClass = createEClass(UINT64_MULTI_ARRAY); - createEReference(uInt64MultiArrayEClass, UINT64_MULTI_ARRAY__LAYOUT); - createEAttribute(uInt64MultiArrayEClass, UINT64_MULTI_ARRAY__DATA); - - uInt16MultiArrayEClass = createEClass(UINT16_MULTI_ARRAY); - createEReference(uInt16MultiArrayEClass, UINT16_MULTI_ARRAY__LAYOUT); - createEAttribute(uInt16MultiArrayEClass, UINT16_MULTI_ARRAY__DATA); - - uInt32MultiArrayEClass = createEClass(UINT32_MULTI_ARRAY); - createEReference(uInt32MultiArrayEClass, UINT32_MULTI_ARRAY__LAYOUT); - createEAttribute(uInt32MultiArrayEClass, UINT32_MULTI_ARRAY__DATA); - - uInt8MultiArrayEClass = createEClass(UINT8_MULTI_ARRAY); - createEReference(uInt8MultiArrayEClass, UINT8_MULTI_ARRAY__LAYOUT); - createEAttribute(uInt8MultiArrayEClass, UINT8_MULTI_ARRAY__DATA); - - // Create data types - uInt32EDataType = createEDataType(UINT32); - timeEDataType = createEDataType(TIME); - stringEDataType = createEDataType(STRING); - byteEDataType = createEDataType(BYTE); - float64EDataType = createEDataType(FLOAT64); - int8EDataType = createEDataType(INT8); - boolEDataType = createEDataType(BOOL); - uInt8EDataType = createEDataType(UINT8); - uInt16EDataType = createEDataType(UINT16); - int32EDataType = createEDataType(INT32); - int16EDataType = createEDataType(INT16); - charEDataType = createEDataType(CHAR); - durationEDataType = createEDataType(DURATION); - int64EDataType = createEDataType(INT64); - uInt64EDataType = createEDataType(UINT64); - float32EDataType = createEDataType(FLOAT32); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(headerEClass, Header.class, "Header", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getHeader_Seq(), this.getUInt32(), "seq", null, 1, 1, Header.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getHeader_Stamp(), this.getTime(), "stamp", null, 1, 1, Header.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getHeader_Frame_id(), this.getString(), "frame_id", null, 1, 1, Header.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(multiArrayDimensionEClass, MultiArrayDimension.class, "MultiArrayDimension", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMultiArrayDimension_Label(), this.getString(), "label", null, 1, 1, MultiArrayDimension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getMultiArrayDimension_Size(), this.getUInt32(), "size", null, 1, 1, MultiArrayDimension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getMultiArrayDimension_Stride(), this.getUInt32(), "stride", null, 1, 1, MultiArrayDimension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(multiArrayLayoutEClass, MultiArrayLayout.class, "MultiArrayLayout", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getMultiArrayLayout_Dim(), this.getMultiArrayDimension(), null, "dim", null, 0, -1, MultiArrayLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getMultiArrayLayout_Data_offset(), this.getUInt32(), "data_offset", null, 1, 1, MultiArrayLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(byteMultiArrayEClass, ByteMultiArray.class, "ByteMultiArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getByteMultiArray_Layout(), this.getMultiArrayLayout(), null, "layout", null, 1, 1, ByteMultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getByteMultiArray_Data(), this.getByte(), "data", null, 0, -1, ByteMultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(colorRGBAEClass, ColorRGBA.class, "ColorRGBA", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getColorRGBA_R(), this.getFloat32(), "r", null, 1, 1, ColorRGBA.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getColorRGBA_G(), this.getFloat32(), "g", null, 1, 1, ColorRGBA.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getColorRGBA_B(), this.getFloat32(), "b", null, 1, 1, ColorRGBA.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getColorRGBA_A(), this.getFloat32(), "a", null, 1, 1, ColorRGBA.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(float32MultiArrayEClass, Float32MultiArray.class, "Float32MultiArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFloat32MultiArray_Layout(), this.getMultiArrayLayout(), null, "layout", null, 1, 1, Float32MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getFloat32MultiArray_Data(), this.getFloat32(), "data", null, 0, -1, Float32MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(int32MultiArrayEClass, Int32MultiArray.class, "Int32MultiArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getInt32MultiArray_Layout(), this.getMultiArrayLayout(), null, "layout", null, 1, 1, Int32MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getInt32MultiArray_Data(), this.getInt32(), "data", null, 0, -1, Int32MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(int8MultiArrayEClass, Int8MultiArray.class, "Int8MultiArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getInt8MultiArray_Layout(), this.getMultiArrayLayout(), null, "layout", null, 1, 1, Int8MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getInt8MultiArray_Data(), this.getInt8(), "data", null, 0, -1, Int8MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(int16MultiArrayEClass, Int16MultiArray.class, "Int16MultiArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getInt16MultiArray_Layout(), this.getMultiArrayLayout(), null, "layout", null, 1, 1, Int16MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getInt16MultiArray_Data(), this.getInt16(), "data", null, 0, -1, Int16MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(int64MultiArrayEClass, Int64MultiArray.class, "Int64MultiArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getInt64MultiArray_Layout(), this.getMultiArrayLayout(), null, "layout", null, 1, 1, Int64MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getInt64MultiArray_Data(), this.getInt64(), "data", null, 0, -1, Int64MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(float64MultiArrayEClass, Float64MultiArray.class, "Float64MultiArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFloat64MultiArray_Layout(), this.getMultiArrayLayout(), null, "layout", null, 1, 1, Float64MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getFloat64MultiArray_Data(), this.getFloat64(), "data", null, 0, -1, Float64MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(uInt64MultiArrayEClass, UInt64MultiArray.class, "UInt64MultiArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getUInt64MultiArray_Layout(), this.getMultiArrayLayout(), null, "layout", null, 1, 1, UInt64MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getUInt64MultiArray_Data(), this.getUInt64(), "data", null, 0, -1, UInt64MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(uInt16MultiArrayEClass, UInt16MultiArray.class, "UInt16MultiArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getUInt16MultiArray_Layout(), this.getMultiArrayLayout(), null, "layout", null, 1, 1, UInt16MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getUInt16MultiArray_Data(), this.getUInt16(), "data", null, 0, -1, UInt16MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(uInt32MultiArrayEClass, UInt32MultiArray.class, "UInt32MultiArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getUInt32MultiArray_Layout(), this.getMultiArrayLayout(), null, "layout", null, 1, 1, UInt32MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getUInt32MultiArray_Data(), this.getUInt32(), "data", null, 0, -1, UInt32MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(uInt8MultiArrayEClass, UInt8MultiArray.class, "UInt8MultiArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getUInt8MultiArray_Layout(), this.getMultiArrayLayout(), null, "layout", null, 1, 1, UInt8MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getUInt8MultiArray_Data(), this.getUInt8(), "data", null, 0, -1, UInt8MultiArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - // Initialize data types - initEDataType(uInt32EDataType, long.class, "UInt32", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(timeEDataType, Date.class, "Time", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(stringEDataType, String.class, "String", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(byteEDataType, byte.class, "Byte", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(float64EDataType, double.class, "Float64", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(int8EDataType, char.class, "Int8", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(boolEDataType, boolean.class, "Bool", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(uInt8EDataType, char.class, "UInt8", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(uInt16EDataType, int.class, "UInt16", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(int32EDataType, int.class, "Int32", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(int16EDataType, int.class, "Int16", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(charEDataType, char.class, "Char", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(durationEDataType, double.class, "Duration", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(int64EDataType, double.class, "Int64", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(uInt64EDataType, long.class, "UInt64", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(float32EDataType, float.class, "Float32", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - - // Create resource - createResource(eNS_URI); - } - -} // Std_datatypesPackageImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UInt16MultiArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UInt16MultiArrayImpl.java deleted file mode 100644 index 1010f9046c0..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UInt16MultiArrayImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/**
- */
-package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.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.EDataTypeUniqueEList;
-
-import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout;
-import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage;
-import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>UInt16 Multi Array</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt16MultiArrayImpl#getLayout <em>Layout</em>}</li>
- * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt16MultiArrayImpl#getData <em>Data</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class UInt16MultiArrayImpl extends MinimalEObjectImpl.Container implements UInt16MultiArray {
- /**
- * The cached value of the '{@link #getLayout() <em>Layout</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLayout()
- * @generated
- * @ordered
- */
- protected MultiArrayLayout layout;
-
- /**
- * The cached value of the '{@link #getData() <em>Data</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getData()
- * @generated
- * @ordered
- */
- protected EList<Object> data;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected UInt16MultiArrayImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return Std_datatypesPackage.Literals.UINT16_MULTI_ARRAY;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MultiArrayLayout getLayout() {
- return layout;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) {
- MultiArrayLayout oldLayout = layout;
- layout = newLayout;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UINT16_MULTI_ARRAY__LAYOUT, oldLayout, newLayout);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLayout(MultiArrayLayout newLayout) {
- if (newLayout != layout) {
- NotificationChain msgs = null;
- if (layout != null)
- msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UINT16_MULTI_ARRAY__LAYOUT, null, msgs);
- if (newLayout != null)
- msgs = ((InternalEObject)newLayout).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UINT16_MULTI_ARRAY__LAYOUT, null, msgs);
- msgs = basicSetLayout(newLayout, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UINT16_MULTI_ARRAY__LAYOUT, newLayout, newLayout));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Object> getData() {
- if (data == null) {
- data = new EDataTypeUniqueEList<Object>(Object.class, this, Std_datatypesPackage.UINT16_MULTI_ARRAY__DATA);
- }
- return data;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case Std_datatypesPackage.UINT16_MULTI_ARRAY__LAYOUT:
- return basicSetLayout(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 Std_datatypesPackage.UINT16_MULTI_ARRAY__LAYOUT:
- return getLayout();
- case Std_datatypesPackage.UINT16_MULTI_ARRAY__DATA:
- return getData();
- }
- 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 Std_datatypesPackage.UINT16_MULTI_ARRAY__LAYOUT:
- setLayout((MultiArrayLayout)newValue);
- return;
- case Std_datatypesPackage.UINT16_MULTI_ARRAY__DATA:
- getData().clear();
- getData().addAll((Collection<? extends Object>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case Std_datatypesPackage.UINT16_MULTI_ARRAY__LAYOUT:
- setLayout((MultiArrayLayout)null);
- return;
- case Std_datatypesPackage.UINT16_MULTI_ARRAY__DATA:
- getData().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case Std_datatypesPackage.UINT16_MULTI_ARRAY__LAYOUT:
- return layout != null;
- case Std_datatypesPackage.UINT16_MULTI_ARRAY__DATA:
- return data != null && !data.isEmpty();
- }
- 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(" (data: ");
- result.append(data);
- result.append(')');
- return result.toString();
- }
-
-} //UInt16MultiArrayImpl
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UInt32MultiArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UInt32MultiArrayImpl.java deleted file mode 100644 index b0846206e15..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UInt32MultiArrayImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>UInt32 Multi Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class UInt32MultiArrayImpl extends MinimalEObjectImpl.Container implements UInt32MultiArray { - /** - * The cached value of the '{@link #getLayout() <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayout() - * @generated - * @ordered - */ - protected MultiArrayLayout layout; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected UInt32MultiArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.UINT32_MULTI_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiArrayLayout getLayout() { - return layout; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { - MultiArrayLayout oldLayout = layout; - layout = newLayout; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT, oldLayout, newLayout); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayout(MultiArrayLayout newLayout) { - if (newLayout != layout) { - NotificationChain msgs = null; - if (layout != null) - msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT, null, msgs); - if (newLayout != null) - msgs = ((InternalEObject)newLayout).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT, null, msgs); - msgs = basicSetLayout(newLayout, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Std_datatypesPackage.UINT32_MULTI_ARRAY__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT: - return basicSetLayout(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 Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT: - return getLayout(); - case Std_datatypesPackage.UINT32_MULTI_ARRAY__DATA: - return getData(); - } - 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 Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)newValue); - return; - case Std_datatypesPackage.UINT32_MULTI_ARRAY__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)null); - return; - case Std_datatypesPackage.UINT32_MULTI_ARRAY__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT: - return layout != null; - case Std_datatypesPackage.UINT32_MULTI_ARRAY__DATA: - return data != null && !data.isEmpty(); - } - 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(" (data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // UInt32MultiArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UInt64MultiArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UInt64MultiArrayImpl.java deleted file mode 100644 index db3db2e6b1b..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UInt64MultiArrayImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>UInt64 Multi Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt64MultiArrayImpl#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt64MultiArrayImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class UInt64MultiArrayImpl extends MinimalEObjectImpl.Container implements UInt64MultiArray { - /** - * The cached value of the '{@link #getLayout() <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayout() - * @generated - * @ordered - */ - protected MultiArrayLayout layout; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected UInt64MultiArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.UINT64_MULTI_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiArrayLayout getLayout() { - return layout; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { - MultiArrayLayout oldLayout = layout; - layout = newLayout; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT, oldLayout, newLayout); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayout(MultiArrayLayout newLayout) { - if (newLayout != layout) { - NotificationChain msgs = null; - if (layout != null) - msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT, null, msgs); - if (newLayout != null) - msgs = ((InternalEObject)newLayout).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT, null, msgs); - msgs = basicSetLayout(newLayout, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Std_datatypesPackage.UINT64_MULTI_ARRAY__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT: - return basicSetLayout(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 Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT: - return getLayout(); - case Std_datatypesPackage.UINT64_MULTI_ARRAY__DATA: - return getData(); - } - 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 Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)newValue); - return; - case Std_datatypesPackage.UINT64_MULTI_ARRAY__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)null); - return; - case Std_datatypesPackage.UINT64_MULTI_ARRAY__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT: - return layout != null; - case Std_datatypesPackage.UINT64_MULTI_ARRAY__DATA: - return data != null && !data.isEmpty(); - } - 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(" (data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // UInt64MultiArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UInt8MultiArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UInt8MultiArrayImpl.java deleted file mode 100644 index 209680f5275..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UInt8MultiArrayImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.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.EDataTypeUniqueEList; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>UInt8 Multi Array</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt8MultiArrayImpl#getLayout <em>Layout</em>}</li> - * <li>{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt8MultiArrayImpl#getData <em>Data</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class UInt8MultiArrayImpl extends MinimalEObjectImpl.Container implements UInt8MultiArray { - /** - * The cached value of the '{@link #getLayout() <em>Layout</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLayout() - * @generated - * @ordered - */ - protected MultiArrayLayout layout; - - /** - * The cached value of the '{@link #getData() <em>Data</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getData() - * @generated - * @ordered - */ - protected EList<Object> data; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected UInt8MultiArrayImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return Std_datatypesPackage.Literals.UINT8_MULTI_ARRAY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MultiArrayLayout getLayout() { - return layout; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { - MultiArrayLayout oldLayout = layout; - layout = newLayout; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT, oldLayout, newLayout); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLayout(MultiArrayLayout newLayout) { - if (newLayout != layout) { - NotificationChain msgs = null; - if (layout != null) - msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT, null, msgs); - if (newLayout != null) - msgs = ((InternalEObject)newLayout).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT, null, msgs); - msgs = basicSetLayout(newLayout, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Object> getData() { - if (data == null) { - data = new EDataTypeUniqueEList<Object>(Object.class, this, Std_datatypesPackage.UINT8_MULTI_ARRAY__DATA); - } - return data; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT: - return basicSetLayout(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 Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT: - return getLayout(); - case Std_datatypesPackage.UINT8_MULTI_ARRAY__DATA: - return getData(); - } - 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 Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)newValue); - return; - case Std_datatypesPackage.UINT8_MULTI_ARRAY__DATA: - getData().clear(); - getData().addAll((Collection<? extends Object>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)null); - return; - case Std_datatypesPackage.UINT8_MULTI_ARRAY__DATA: - getData().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT: - return layout != null; - case Std_datatypesPackage.UINT8_MULTI_ARRAY__DATA: - return data != null && !data.isEmpty(); - } - 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(" (data: "); - result.append(data); - result.append(')'); - return result.toString(); - } - -} // UInt8MultiArrayImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/util/Std_datatypesAdapterFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/util/Std_datatypesAdapterFactory.java deleted file mode 100644 index dde32d88723..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/util/Std_datatypesAdapterFactory.java +++ /dev/null @@ -1,369 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.*; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage - * @generated - */ -public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Std_datatypesPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Std_datatypesAdapterFactory() { - if (modelPackage == null) { - modelPackage = Std_datatypesPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Std_datatypesSwitch<Adapter> modelSwitch = - new Std_datatypesSwitch<Adapter>() { - @Override - public Adapter caseHeader(Header object) { - return createHeaderAdapter(); - } - @Override - public Adapter caseMultiArrayDimension(MultiArrayDimension object) { - return createMultiArrayDimensionAdapter(); - } - @Override - public Adapter caseMultiArrayLayout(MultiArrayLayout object) { - return createMultiArrayLayoutAdapter(); - } - @Override - public Adapter caseByteMultiArray(ByteMultiArray object) { - return createByteMultiArrayAdapter(); - } - @Override - public Adapter caseColorRGBA(ColorRGBA object) { - return createColorRGBAAdapter(); - } - @Override - public Adapter caseFloat32MultiArray(Float32MultiArray object) { - return createFloat32MultiArrayAdapter(); - } - @Override - public Adapter caseInt32MultiArray(Int32MultiArray object) { - return createInt32MultiArrayAdapter(); - } - @Override - public Adapter caseInt8MultiArray(Int8MultiArray object) { - return createInt8MultiArrayAdapter(); - } - @Override - public Adapter caseInt16MultiArray(Int16MultiArray object) { - return createInt16MultiArrayAdapter(); - } - @Override - public Adapter caseInt64MultiArray(Int64MultiArray object) { - return createInt64MultiArrayAdapter(); - } - @Override - public Adapter caseFloat64MultiArray(Float64MultiArray object) { - return createFloat64MultiArrayAdapter(); - } - @Override - public Adapter caseUInt64MultiArray(UInt64MultiArray object) { - return createUInt64MultiArrayAdapter(); - } - @Override - public Adapter caseUInt16MultiArray(UInt16MultiArray object) { - return createUInt16MultiArrayAdapter(); - } - @Override - public Adapter caseUInt32MultiArray(UInt32MultiArray object) { - return createUInt32MultiArrayAdapter(); - } - @Override - public Adapter caseUInt8MultiArray(UInt8MultiArray object) { - return createUInt8MultiArrayAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header <em>Header</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header - * @generated - */ - public Adapter createHeaderAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension <em>Multi Array Dimension</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension - * @generated - */ - public Adapter createMultiArrayDimensionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout <em>Multi Array Layout</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout - * @generated - */ - public Adapter createMultiArrayLayoutAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray <em>Byte Multi Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray - * @generated - */ - public Adapter createByteMultiArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA <em>Color RGBA</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA - * @generated - */ - public Adapter createColorRGBAAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray <em>Float32 Multi Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray - * @generated - */ - public Adapter createFloat32MultiArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray <em>Int32 Multi Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray - * @generated - */ - public Adapter createInt32MultiArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray <em>Int8 Multi Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray - * @generated - */ - public Adapter createInt8MultiArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray <em>Int16 Multi Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray - * @generated - */ - public Adapter createInt16MultiArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray <em>Int64 Multi Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray - * @generated - */ - public Adapter createInt64MultiArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray <em>Float64 Multi Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray - * @generated - */ - public Adapter createFloat64MultiArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray <em>UInt64 Multi Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray - * @generated - */ - public Adapter createUInt64MultiArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray <em>UInt16 Multi Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16MultiArray - * @generated - */ - public Adapter createUInt16MultiArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray <em>UInt32 Multi Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray - * @generated - */ - public Adapter createUInt32MultiArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray <em>UInt8 Multi Array</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray - * @generated - */ - public Adapter createUInt8MultiArrayAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} // Std_datatypesAdapterFactory diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/util/Std_datatypesSwitch.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/util/Std_datatypesSwitch.java deleted file mode 100644 index ec504f24246..00000000000 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/util/Std_datatypesSwitch.java +++ /dev/null @@ -1,401 +0,0 @@ -/** - */ -package org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.util.Switch; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.*; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage - * @generated - */ -public class Std_datatypesSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Std_datatypesPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Std_datatypesSwitch() { - if (modelPackage == null) { - modelPackage = Std_datatypesPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case Std_datatypesPackage.HEADER: { - Header header = (Header)theEObject; - T result = caseHeader(header); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION: { - MultiArrayDimension multiArrayDimension = (MultiArrayDimension)theEObject; - T result = caseMultiArrayDimension(multiArrayDimension); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.MULTI_ARRAY_LAYOUT: { - MultiArrayLayout multiArrayLayout = (MultiArrayLayout)theEObject; - T result = caseMultiArrayLayout(multiArrayLayout); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.BYTE_MULTI_ARRAY: { - ByteMultiArray byteMultiArray = (ByteMultiArray)theEObject; - T result = caseByteMultiArray(byteMultiArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.COLOR_RGBA: { - ColorRGBA colorRGBA = (ColorRGBA)theEObject; - T result = caseColorRGBA(colorRGBA); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.FLOAT32_MULTI_ARRAY: { - Float32MultiArray float32MultiArray = (Float32MultiArray)theEObject; - T result = caseFloat32MultiArray(float32MultiArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.INT32_MULTI_ARRAY: { - Int32MultiArray int32MultiArray = (Int32MultiArray)theEObject; - T result = caseInt32MultiArray(int32MultiArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.INT8_MULTI_ARRAY: { - Int8MultiArray int8MultiArray = (Int8MultiArray)theEObject; - T result = caseInt8MultiArray(int8MultiArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.INT16_MULTI_ARRAY: { - Int16MultiArray int16MultiArray = (Int16MultiArray)theEObject; - T result = caseInt16MultiArray(int16MultiArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.INT64_MULTI_ARRAY: { - Int64MultiArray int64MultiArray = (Int64MultiArray)theEObject; - T result = caseInt64MultiArray(int64MultiArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.FLOAT64_MULTI_ARRAY: { - Float64MultiArray float64MultiArray = (Float64MultiArray)theEObject; - T result = caseFloat64MultiArray(float64MultiArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.UINT64_MULTI_ARRAY: { - UInt64MultiArray uInt64MultiArray = (UInt64MultiArray)theEObject; - T result = caseUInt64MultiArray(uInt64MultiArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.UINT16_MULTI_ARRAY: { - UInt16MultiArray uInt16MultiArray = (UInt16MultiArray)theEObject; - T result = caseUInt16MultiArray(uInt16MultiArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.UINT32_MULTI_ARRAY: { - UInt32MultiArray uInt32MultiArray = (UInt32MultiArray)theEObject; - T result = caseUInt32MultiArray(uInt32MultiArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - case Std_datatypesPackage.UINT8_MULTI_ARRAY: { - UInt8MultiArray uInt8MultiArray = (UInt8MultiArray)theEObject; - T result = caseUInt8MultiArray(uInt8MultiArray); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Header</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Header</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseHeader(Header object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Multi Array Dimension</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Multi Array Dimension</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMultiArrayDimension(MultiArrayDimension object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Multi Array Layout</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Multi Array Layout</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMultiArrayLayout(MultiArrayLayout object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Byte Multi Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Byte Multi Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseByteMultiArray(ByteMultiArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Color RGBA</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Color RGBA</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseColorRGBA(ColorRGBA object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Float32 Multi Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Float32 Multi Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFloat32MultiArray(Float32MultiArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Int32 Multi Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Int32 Multi Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInt32MultiArray(Int32MultiArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Int8 Multi Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Int8 Multi Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInt8MultiArray(Int8MultiArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Int16 Multi Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Int16 Multi Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInt16MultiArray(Int16MultiArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Int64 Multi Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Int64 Multi Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInt64MultiArray(Int64MultiArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Float64 Multi Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Float64 Multi Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFloat64MultiArray(Float64MultiArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>UInt64 Multi Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>UInt64 Multi Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUInt64MultiArray(UInt64MultiArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>UInt16 Multi Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>UInt16 Multi Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUInt16MultiArray(UInt16MultiArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>UInt32 Multi Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>UInt32 Multi Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUInt32MultiArray(UInt32MultiArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>UInt8 Multi Array</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>UInt8 Multi Array</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUInt8MultiArray(UInt8MultiArray object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} // Std_datatypesSwitch |