Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/Actionlib_datatypesPackageImpl.java')
-rw-r--r--extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes/impl/Actionlib_datatypesPackageImpl.java101
1 files changed, 40 insertions, 61 deletions
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
index d371609338c..14a205082db 100644
--- 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
@@ -1,57 +1,64 @@
-/*****************************************************************************
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
- *****************************************************************************/
+/**
+ */
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;
@@ -59,7 +66,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass goalStatusEClass = null;
@@ -67,19 +73,20 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- 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
+ * 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 -->
- *
+ * <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()
@@ -92,7 +99,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private static boolean isInited = false;
@@ -100,18 +106,17 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* 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 -->
- *
+ * <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);
+ 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());
@@ -156,7 +161,7 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
// 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;
@@ -165,7 +170,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getGoalID() {
@@ -175,7 +179,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalID_Stamp() {
@@ -185,7 +188,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalID_Id() {
@@ -195,7 +197,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getGoalStatus() {
@@ -205,7 +206,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalStatus_PENDING() {
@@ -215,7 +215,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalStatus_ACTIVE() {
@@ -225,7 +224,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalStatus_PREEMPTED() {
@@ -235,7 +233,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalStatus_SUCCEEDED() {
@@ -245,7 +242,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalStatus_ABORTED() {
@@ -255,7 +251,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalStatus_REJECTED() {
@@ -265,7 +260,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalStatus_PREEMPTING() {
@@ -275,7 +269,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalStatus_RECALLING() {
@@ -285,7 +278,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalStatus_RECALLED() {
@@ -295,7 +287,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalStatus_LOST() {
@@ -305,7 +296,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalStatus_Text() {
@@ -315,7 +305,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGoalStatus_Status() {
@@ -325,7 +314,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getGoalStatusArray() {
@@ -335,7 +323,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getGoalStatusArray_Header() {
@@ -345,7 +332,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getGoalStatusArray_Status_list() {
@@ -355,7 +341,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public Actionlib_datatypesFactory getActionlib_datatypesFactory() {
@@ -365,22 +350,19 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isCreated = false;
/**
- * Creates the meta-model objects for the package. This method is
+ * 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;
+ if (isCreated) return;
isCreated = true;
// Create classes and their features
@@ -410,22 +392,19 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isInitialized = false;
/**
- * Complete the initialization of the package and its meta-model. This
+ * 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;
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
@@ -442,7 +421,7 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti
// Add supertypes to classes
- // Initialize classes and features; add operations and parameters
+ // 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);

Back to the top