From 413d1a56b8fe3db72fb3f5f8e16523de7d7a6ff4 Mon Sep 17 00:00:00 2001 From: Saadia Dhouib Date: Mon, 2 Sep 2013 18:42:53 +0200 Subject: Modifying RobotML profile: state machine transitions and states reference UML bahaviors instead of Algorithms. The RobotML OARPS models were modified in order to be compliant with the new version of the profile. --- .../resource/RoboCab.di | 5 +- .../resource/RoboCab.notation | 68 +- .../resource/RoboCab.uml | 577 +++-- .../resource/SearchLanding.uml | 12 +- .../resource/TALC-Challenge.uml | 8 +- .../resource/YouthChallenge.di | 2 +- .../resource/YouthChallenge.uml | 817 ++++--- .../META-INF/MANIFEST.MF | 29 +- .../model/RobotML.ecore | 100 +- .../model/RobotML.genmodel | 25 +- .../model/RobotMLProfile.profile.di | 22 + .../model/RobotMLProfile.profile.notation | 250 +- .../model/RobotMLProfile.profile.uml | 2483 ++++++++++++-------- .../robotml/org.eclipse.papyrus.robotml/plugin.xml | 78 + .../eclipse/papyrus/RobotML/ActuatorSystem.java | 17 +- .../src/org/eclipse/papyrus/RobotML/Agent.java | 25 +- .../src/org/eclipse/papyrus/RobotML/Algorithm.java | 71 +- .../eclipse/papyrus/RobotML/AlgorithmLibrary.java | 38 +- .../src/org/eclipse/papyrus/RobotML/Allocate.java | 29 +- .../org/eclipse/papyrus/RobotML/BlenderMorse.java | 58 +- .../src/org/eclipse/papyrus/RobotML/Building.java | 17 +- .../org/eclipse/papyrus/RobotML/CameraSystem.java | 130 +- .../src/org/eclipse/papyrus/RobotML/CycabTK.java | 48 +- .../papyrus/RobotML/DataFlowDirectionKind.java | 122 +- .../org/eclipse/papyrus/RobotML/DataFlowPort.java | 38 +- .../src/org/eclipse/papyrus/RobotML/DataType.java | 48 +- .../eclipse/papyrus/RobotML/DeploymentPlan.java | 39 +- .../org/eclipse/papyrus/RobotML/EngineSystem.java | 93 +- .../org/eclipse/papyrus/RobotML/Environment.java | 17 +- .../eclipse/papyrus/RobotML/ExternalLibrary.java | 107 + .../src/org/eclipse/papyrus/RobotML/Floor.java | 17 +- .../src/org/eclipse/papyrus/RobotML/GPSSystem.java | 28 +- .../src/org/eclipse/papyrus/RobotML/Ground.java | 17 +- .../src/org/eclipse/papyrus/RobotML/Gyroscope.java | 17 +- .../src/org/eclipse/papyrus/RobotML/Hardware.java | 17 +- .../src/org/eclipse/papyrus/RobotML/Human.java | 17 +- .../eclipse/papyrus/RobotML/ImageSensorSystem.java | 17 +- .../RobotML/InertialMeasurementUnitSystem.java | 17 +- .../papyrus/RobotML/InertialNavigationSystem.java | 17 +- .../papyrus/RobotML/InfraRedProximetrySystem.java | 17 +- .../org/eclipse/papyrus/RobotML/LandSurface.java | 17 +- .../org/eclipse/papyrus/RobotML/LidarSystem.java | 174 +- .../papyrus/RobotML/LocalizationSensorSystem.java | 17 +- .../RobotML/ObjectDetectionSensorSystem.java | 17 +- .../RobotML/ObjectTrackingSensorSystem.java | 17 +- .../eclipse/papyrus/RobotML/OdometrySystem.java | 17 +- .../src/org/eclipse/papyrus/RobotML/OnPort.java | 40 +- .../org/eclipse/papyrus/RobotML/OnProperty.java | 81 + .../org/eclipse/papyrus/RobotML/Pedestrian.java | 17 +- .../eclipse/papyrus/RobotML/PhysicalObject.java | 34 +- .../src/org/eclipse/papyrus/RobotML/Planet.java | 17 +- .../src/org/eclipse/papyrus/RobotML/Platform.java | 47 +- .../src/org/eclipse/papyrus/RobotML/Port.java | 38 +- .../org/eclipse/papyrus/RobotML/PrimitiveData.java | 28 +- .../src/org/eclipse/papyrus/RobotML/Robot.java | 68 +- .../src/org/eclipse/papyrus/RobotML/RobotKind.java | 111 +- .../eclipse/papyrus/RobotML/RobotMLFactory.java | 104 +- .../eclipse/papyrus/RobotML/RobotMLPackage.java | 2066 ++++++++-------- .../eclipse/papyrus/RobotML/RoboticMiddleware.java | 28 +- .../papyrus/RobotML/RoboticMiddlewareKind.java | 94 +- .../eclipse/papyrus/RobotML/RoboticSimulator.java | 17 +- .../org/eclipse/papyrus/RobotML/RoboticSystem.java | 38 +- .../org/eclipse/papyrus/RobotML/SensorDriver.java | 17 +- .../org/eclipse/papyrus/RobotML/SensorSystem.java | 44 +- .../eclipse/papyrus/RobotML/ServiceFlowKind.java | 67 +- .../org/eclipse/papyrus/RobotML/ServicePort.java | 28 +- .../src/org/eclipse/papyrus/RobotML/Shade.java | 85 +- .../eclipse/papyrus/RobotML/SimulatedSystem.java | 36 +- .../src/org/eclipse/papyrus/RobotML/Software.java | 80 +- .../src/org/eclipse/papyrus/RobotML/Stairs.java | 17 +- .../src/org/eclipse/papyrus/RobotML/State.java | 80 +- .../src/org/eclipse/papyrus/RobotML/Surface.java | 17 +- .../papyrus/RobotML/SynchronizationKind.java | 76 +- .../src/org/eclipse/papyrus/RobotML/System.java | 58 +- .../org/eclipse/papyrus/RobotML/Transition.java | 64 +- .../src/org/eclipse/papyrus/RobotML/UGVKind.java | 67 +- .../org/eclipse/papyrus/RobotML/WaterSurface.java | 17 +- .../org/eclipse/papyrus/RobotML/WheelSystem.java | 232 +- .../papyrus/RobotML/impl/ActuatorSystemImpl.java | 19 +- .../eclipse/papyrus/RobotML/impl/AgentImpl.java | 61 +- .../papyrus/RobotML/impl/AlgorithmImpl.java | 191 +- .../papyrus/RobotML/impl/AlgorithmLibraryImpl.java | 106 +- .../eclipse/papyrus/RobotML/impl/AllocateImpl.java | 75 +- .../papyrus/RobotML/impl/BlenderMorseImpl.java | 149 +- .../eclipse/papyrus/RobotML/impl/BuildingImpl.java | 19 +- .../papyrus/RobotML/impl/CameraSystemImpl.java | 357 ++- .../eclipse/papyrus/RobotML/impl/CycabTKImpl.java | 121 +- .../papyrus/RobotML/impl/DataFlowPortImpl.java | 125 +- .../eclipse/papyrus/RobotML/impl/DataTypeImpl.java | 134 +- .../papyrus/RobotML/impl/DeploymentPlanImpl.java | 112 +- .../papyrus/RobotML/impl/EngineSystemImpl.java | 205 +- .../papyrus/RobotML/impl/EnvironmentImpl.java | 19 +- .../papyrus/RobotML/impl/ExternalLibraryImpl.java | 280 +++ .../eclipse/papyrus/RobotML/impl/FloorImpl.java | 19 +- .../papyrus/RobotML/impl/GPSSystemImpl.java | 86 +- .../eclipse/papyrus/RobotML/impl/GroundImpl.java | 19 +- .../papyrus/RobotML/impl/GyroscopeImpl.java | 19 +- .../eclipse/papyrus/RobotML/impl/HardwareImpl.java | 19 +- .../eclipse/papyrus/RobotML/impl/HumanImpl.java | 19 +- .../RobotML/impl/ImageSensorSystemImpl.java | 19 +- .../impl/InertialMeasurementUnitSystemImpl.java | 19 +- .../RobotML/impl/InertialNavigationSystemImpl.java | 19 +- .../RobotML/impl/InfraRedProximetrySystemImpl.java | 19 +- .../papyrus/RobotML/impl/LandSurfaceImpl.java | 19 +- .../papyrus/RobotML/impl/LidarSystemImpl.java | 373 ++- .../RobotML/impl/LocalizationSensorSystemImpl.java | 19 +- .../impl/ObjectDetectionSensorSystemImpl.java | 19 +- .../impl/ObjectTrackingSensorSystemImpl.java | 19 +- .../papyrus/RobotML/impl/OdometrySystemImpl.java | 19 +- .../eclipse/papyrus/RobotML/impl/OnPortImpl.java | 112 +- .../papyrus/RobotML/impl/OnPropertyImpl.java | 219 ++ .../papyrus/RobotML/impl/PedestrianImpl.java | 19 +- .../papyrus/RobotML/impl/PhysicalObjectImpl.java | 100 +- .../eclipse/papyrus/RobotML/impl/PlanetImpl.java | 19 +- .../eclipse/papyrus/RobotML/impl/PlatformImpl.java | 113 +- .../org/eclipse/papyrus/RobotML/impl/PortImpl.java | 106 +- .../papyrus/RobotML/impl/PrimitiveDataImpl.java | 71 +- .../eclipse/papyrus/RobotML/impl/RobotImpl.java | 151 +- .../papyrus/RobotML/impl/RobotMLFactoryImpl.java | 389 ++- .../papyrus/RobotML/impl/RobotMLPackageImpl.java | 503 ++-- .../RobotML/impl/RoboticMiddlewareImpl.java | 65 +- .../papyrus/RobotML/impl/RoboticSimulatorImpl.java | 19 +- .../papyrus/RobotML/impl/RoboticSystemImpl.java | 135 +- .../papyrus/RobotML/impl/SensorDriverImpl.java | 19 +- .../papyrus/RobotML/impl/SensorSystemImpl.java | 93 +- .../papyrus/RobotML/impl/ServicePortImpl.java | 95 +- .../papyrus/RobotML/impl/SimulatedSystemImpl.java | 105 +- .../eclipse/papyrus/RobotML/impl/SoftwareImpl.java | 177 +- .../eclipse/papyrus/RobotML/impl/StairsImpl.java | 19 +- .../eclipse/papyrus/RobotML/impl/StateImpl.java | 184 +- .../eclipse/papyrus/RobotML/impl/SurfaceImpl.java | 19 +- .../eclipse/papyrus/RobotML/impl/SystemImpl.java | 162 +- .../papyrus/RobotML/impl/TransitionImpl.java | 175 +- .../papyrus/RobotML/impl/WaterSurfaceImpl.java | 19 +- .../papyrus/RobotML/impl/WheelSystemImpl.java | 646 ++--- .../RobotML/util/RobotMLAdapterFactory.java | 661 +++--- .../RobotML/util/RobotMLResourceFactoryImpl.java | 20 +- .../papyrus/RobotML/util/RobotMLResourceImpl.java | 20 +- .../papyrus/RobotML/util/RobotMLSwitch.java | 1400 +++++------ .../papyrus/RobotML/util/RobotMLXMLProcessor.java | 23 +- .../Actionlib_datatypesFactory.java | 20 +- .../Actionlib_datatypesPackage.java | 219 +- .../actionlib_datatypes/GoalID.java | 50 +- .../actionlib_datatypes/GoalStatus.java | 228 +- .../actionlib_datatypes/GoalStatusArray.java | 45 +- .../impl/Actionlib_datatypesFactoryImpl.java | 54 +- .../impl/Actionlib_datatypesPackageImpl.java | 101 +- .../actionlib_datatypes/impl/GoalIDImpl.java | 98 +- .../impl/GoalStatusArrayImpl.java | 126 +- .../actionlib_datatypes/impl/GoalStatusImpl.java | 389 ++- .../util/Actionlib_datatypesAdapterFactory.java | 92 +- .../util/Actionlib_datatypesSwitch.java | 94 +- .../diagnostic_datatypes/DiagnosticArray.java | 55 +- .../diagnostic_datatypes/DiagnosticStatus.java | 154 +- .../Diagnostic_datatypesFactory.java | 20 +- .../Diagnostic_datatypesPackage.java | 202 +- .../diagnostic_datatypes/KeyValue.java | 51 +- .../impl/DiagnosticArrayImpl.java | 159 +- .../impl/DiagnosticStatusImpl.java | 283 +-- .../impl/Diagnostic_datatypesFactoryImpl.java | 54 +- .../impl/Diagnostic_datatypesPackageImpl.java | 98 +- .../diagnostic_datatypes/impl/KeyValueImpl.java | 98 +- .../util/Diagnostic_datatypesAdapterFactory.java | 93 +- .../util/Diagnostic_datatypesSwitch.java | 94 +- .../Geometry_datatypesFactory.java | 38 +- .../Geometry_datatypesPackage.java | 829 +++---- .../geometry_datatypes/Point.java | 66 +- .../geometry_datatypes/Point32.java | 66 +- .../geometry_datatypes/PointStamped.java | 47 +- .../geometry_datatypes/Polygon.java | 25 +- .../geometry_datatypes/PolygonStamped.java | 49 +- .../RobotML_DataTypes/geometry_datatypes/Pose.java | 46 +- .../geometry_datatypes/Pose2D.java | 66 +- .../geometry_datatypes/PoseArray.java | 41 +- .../geometry_datatypes/PoseStamped.java | 47 +- .../geometry_datatypes/PoseWithCovariance.java | 44 +- .../PoseWithCovarianceStamped.java | 17 +- .../geometry_datatypes/Quaternion.java | 82 +- .../geometry_datatypes/QuaternionStamped.java | 50 +- .../geometry_datatypes/Transform.java | 47 +- .../geometry_datatypes/Twist.java | 44 +- .../geometry_datatypes/TwistStamped.java | 47 +- .../geometry_datatypes/TwistWithCovariance.java | 44 +- .../geometry_datatypes/Vector3.java | 66 +- .../geometry_datatypes/Vector3Stamped.java | 49 +- .../geometry_datatypes/Wrench.java | 44 +- .../geometry_datatypes/WrenchStamped.java | 48 +- .../impl/Geometry_datatypesFactoryImpl.java | 144 +- .../impl/Geometry_datatypesPackageImpl.java | 166 +- .../geometry_datatypes/impl/Point32Impl.java | 125 +- .../geometry_datatypes/impl/PointImpl.java | 125 +- .../geometry_datatypes/impl/PointStampedImpl.java | 141 +- .../geometry_datatypes/impl/PolygonImpl.java | 75 +- .../impl/PolygonStampedImpl.java | 141 +- .../geometry_datatypes/impl/Pose2DImpl.java | 125 +- .../geometry_datatypes/impl/PoseArrayImpl.java | 126 +- .../geometry_datatypes/impl/PoseImpl.java | 140 +- .../geometry_datatypes/impl/PoseStampedImpl.java | 141 +- .../impl/PoseWithCovarianceImpl.java | 126 +- .../impl/PoseWithCovarianceStampedImpl.java | 24 +- .../geometry_datatypes/impl/QuaternionImpl.java | 153 +- .../impl/QuaternionStampedImpl.java | 141 +- .../geometry_datatypes/impl/TransformImpl.java | 140 +- .../geometry_datatypes/impl/TwistImpl.java | 140 +- .../geometry_datatypes/impl/TwistStampedImpl.java | 141 +- .../impl/TwistWithCovarianceImpl.java | 126 +- .../geometry_datatypes/impl/Vector3Impl.java | 125 +- .../impl/Vector3StampedImpl.java | 141 +- .../geometry_datatypes/impl/WrenchImpl.java | 139 +- .../geometry_datatypes/impl/WrenchStampedImpl.java | 141 +- .../util/Geometry_datatypesAdapterFactory.java | 349 +-- .../util/Geometry_datatypesSwitch.java | 436 ++-- .../RobotML_DataTypes/nav_datatypes/GridCells.java | 75 +- .../nav_datatypes/MapMetaData.java | 84 +- .../nav_datatypes/Nav_datatypesFactory.java | 22 +- .../nav_datatypes/Nav_datatypesPackage.java | 263 +-- .../nav_datatypes/OccupancyGrid.java | 54 +- .../RobotML_DataTypes/nav_datatypes/Odometry.java | 77 +- .../RobotML_DataTypes/nav_datatypes/Path.java | 43 +- .../nav_datatypes/impl/GridCellsImpl.java | 187 +- .../nav_datatypes/impl/MapMetaDataImpl.java | 181 +- .../impl/Nav_datatypesFactoryImpl.java | 101 +- .../impl/Nav_datatypesPackageImpl.java | 106 +- .../nav_datatypes/impl/OccupancyGridImpl.java | 246 +- .../nav_datatypes/impl/OdometryImpl.java | 222 +- .../nav_datatypes/impl/PathImpl.java | 125 +- .../util/Nav_datatypesAdapterFactory.java | 119 +- .../nav_datatypes/util/Nav_datatypesSwitch.java | 132 +- .../oarp1_datatypes/CarLikeCommand.java | 55 +- .../oarp1_datatypes/ExtentedLidarScan.java | 72 +- .../oarp1_datatypes/MultiLayerLidarScan.java | 53 +- .../oarp1_datatypes/Oarp1_datatypesFactory.java | 20 +- .../oarp1_datatypes/Oarp1_datatypesPackage.java | 164 +- .../oarp1_datatypes/impl/CarLikeCommandImpl.java | 101 +- .../impl/ExtentedLidarScanImpl.java | 156 +- .../impl/MultiLayerLidarScanImpl.java | 125 +- .../impl/Oarp1_datatypesFactoryImpl.java | 54 +- .../impl/Oarp1_datatypesPackageImpl.java | 92 +- .../util/Oarp1_datatypesAdapterFactory.java | 94 +- .../util/Oarp1_datatypesSwitch.java | 94 +- .../oarps_datatypes/oarp4_datatypes/Angular.java | 36 +- .../oarp4_datatypes/Art_Set_Point.java | 50 +- .../oarps_datatypes/oarp4_datatypes/Distance.java | 36 +- .../oarps_datatypes/oarp4_datatypes/Metric.java | 36 +- .../oarps_datatypes/oarp4_datatypes/Milli_Amp.java | 36 +- .../oarp4_datatypes/Oarp4_datatypesFactory.java | 33 +- .../oarp4_datatypes/Oarp4_datatypesPackage.java | 606 ++--- .../Odometer_Linear_Left_Right.java | 50 +- .../oarp4_datatypes/Odometer_Tics.java | 36 +- .../oarp4_datatypes/Odometer_Tics_Left_Right.java | 50 +- .../oarp4_datatypes/Op_Set_Point.java | 49 +- .../oarp4_datatypes/Proxi_Left_Right.java | 50 +- .../oarp4_datatypes/Speed_Tics.java | 36 +- .../oarp4_datatypes/Speed_Tics_Left_Right.java | 50 +- .../oarps_datatypes/oarp4_datatypes/Velocity.java | 49 +- .../oarp4_datatypes/Velocity_Angular.java | 37 +- .../Velocity_Angular_Left_Right.java | 50 +- .../oarp4_datatypes/Velocity_Linear.java | 36 +- .../oarp4_datatypes/impl/AngularImpl.java | 70 +- .../oarp4_datatypes/impl/Art_Set_PointImpl.java | 142 +- .../oarp4_datatypes/impl/DistanceImpl.java | 70 +- .../oarp4_datatypes/impl/MetricImpl.java | 70 +- .../oarp4_datatypes/impl/Milli_AmpImpl.java | 70 +- .../impl/Oarp4_datatypesFactoryImpl.java | 119 +- .../impl/Oarp4_datatypesPackageImpl.java | 135 +- .../impl/Odometer_Linear_Left_RightImpl.java | 142 +- .../oarp4_datatypes/impl/Odometer_TicsImpl.java | 71 +- .../impl/Odometer_Tics_Left_RightImpl.java | 142 +- .../oarp4_datatypes/impl/Op_Set_PointImpl.java | 142 +- .../oarp4_datatypes/impl/Proxi_Left_RightImpl.java | 142 +- .../oarp4_datatypes/impl/Speed_TicsImpl.java | 71 +- .../impl/Speed_Tics_Left_RightImpl.java | 142 +- .../oarp4_datatypes/impl/VelocityImpl.java | 142 +- .../oarp4_datatypes/impl/Velocity_AngularImpl.java | 71 +- .../impl/Velocity_Angular_Left_RightImpl.java | 142 +- .../oarp4_datatypes/impl/Velocity_LinearImpl.java | 71 +- .../util/Oarp4_datatypesAdapterFactory.java | 287 +-- .../util/Oarp4_datatypesSwitch.java | 341 +-- .../sensor_datatypes/COVARIANCE_TYPE.java | 87 +- .../sensor_datatypes/CameraInfo.java | 167 +- .../sensor_datatypes/CarLikeOdometry.java | 127 +- .../sensor_datatypes/ChannelFloat32.java | 42 +- .../sensor_datatypes/CompressedImage.java | 57 +- .../sensor_datatypes/DifferentialOdometry.java | 106 +- .../RobotML_DataTypes/sensor_datatypes/Image.java | 121 +- .../RobotML_DataTypes/sensor_datatypes/Imu.java | 108 +- .../sensor_datatypes/JointState.java | 43 +- .../RobotML_DataTypes/sensor_datatypes/Joy.java | 45 +- .../sensor_datatypes/JoyFeedback.java | 121 +- .../sensor_datatypes/JoyFeedbackArray.java | 25 +- .../sensor_datatypes/LaserScan.java | 167 +- .../sensor_datatypes/NavSatFix.java | 145 +- .../sensor_datatypes/NavSatStatus.java | 132 +- .../sensor_datatypes/PointCloud.java | 50 +- .../sensor_datatypes/PointCloud2.java | 150 +- .../sensor_datatypes/PointField.java | 84 +- .../RobotML_DataTypes/sensor_datatypes/Range.java | 148 +- .../sensor_datatypes/RegionOfInterest.java | 107 +- .../sensor_datatypes/SERVICE_TYPE.java | 85 +- .../sensor_datatypes/STATUS_TYPE.java | 85 +- .../sensor_datatypes/Sensor_datatypesFactory.java | 36 +- .../sensor_datatypes/Sensor_datatypesPackage.java | 1255 +++------- .../sensor_datatypes/impl/CameraInfoImpl.java | 403 ++-- .../sensor_datatypes/impl/CarLikeOdometryImpl.java | 244 +- .../sensor_datatypes/impl/ChannelFloat32Impl.java | 101 +- .../sensor_datatypes/impl/CompressedImageImpl.java | 155 +- .../impl/DifferentialOdometryImpl.java | 215 +- .../sensor_datatypes/impl/ImageImpl.java | 266 +-- .../sensor_datatypes/impl/ImuImpl.java | 336 ++- .../sensor_datatypes/impl/JointStateImpl.java | 157 +- .../impl/JoyFeedbackArrayImpl.java | 75 +- .../sensor_datatypes/impl/JoyFeedbackImpl.java | 214 +- .../sensor_datatypes/impl/JoyImpl.java | 152 +- .../sensor_datatypes/impl/LaserScanImpl.java | 358 ++- .../sensor_datatypes/impl/NavSatFixImpl.java | 301 +-- .../sensor_datatypes/impl/NavSatStatusImpl.java | 211 +- .../sensor_datatypes/impl/PointCloud2Impl.java | 333 ++- .../sensor_datatypes/impl/PointCloudImpl.java | 160 +- .../sensor_datatypes/impl/PointFieldImpl.java | 156 +- .../sensor_datatypes/impl/RangeImpl.java | 296 +-- .../impl/RegionOfInterestImpl.java | 186 +- .../impl/Sensor_datatypesFactoryImpl.java | 190 +- .../impl/Sensor_datatypesPackageImpl.java | 235 +- .../util/Sensor_datatypesAdapterFactory.java | 320 +-- .../util/Sensor_datatypesSwitch.java | 398 ++-- .../std_datatypes/ByteMultiArray.java | 39 +- .../RobotML_DataTypes/std_datatypes/ColorRGBA.java | 82 +- .../std_datatypes/Float32MultiArray.java | 39 +- .../std_datatypes/Float64MultiArray.java | 39 +- .../RobotML_DataTypes/std_datatypes/Header.java | 66 +- .../std_datatypes/Int16MultiArray.java | 39 +- .../std_datatypes/Int32MultiArray.java | 39 +- .../std_datatypes/Int64MultiArray.java | 39 +- .../std_datatypes/Int8MultiArray.java | 39 +- .../std_datatypes/MultiArrayDimension.java | 70 +- .../std_datatypes/MultiArrayLayout.java | 46 +- .../std_datatypes/Std_datatypesFactory.java | 32 +- .../std_datatypes/Std_datatypesPackage.java | 659 ++---- .../std_datatypes/UIint16MultiArray.java | 39 +- .../std_datatypes/UInt32MultiArray.java | 39 +- .../std_datatypes/UInt64MultiArray.java | 39 +- .../std_datatypes/UInt8MultiArray.java | 39 +- .../std_datatypes/impl/ByteMultiArrayImpl.java | 125 +- .../std_datatypes/impl/ColorRGBAImpl.java | 153 +- .../std_datatypes/impl/Float32MultiArrayImpl.java | 125 +- .../std_datatypes/impl/Float64MultiArrayImpl.java | 125 +- .../std_datatypes/impl/HeaderImpl.java | 126 +- .../std_datatypes/impl/Int16MultiArrayImpl.java | 125 +- .../std_datatypes/impl/Int32MultiArrayImpl.java | 125 +- .../std_datatypes/impl/Int64MultiArrayImpl.java | 125 +- .../std_datatypes/impl/Int8MultiArrayImpl.java | 125 +- .../impl/MultiArrayDimensionImpl.java | 128 +- .../std_datatypes/impl/MultiArrayLayoutImpl.java | 108 +- .../impl/Std_datatypesFactoryImpl.java | 288 +-- .../impl/Std_datatypesPackageImpl.java | 175 +- .../std_datatypes/impl/UIint16MultiArrayImpl.java | 125 +- .../std_datatypes/impl/UInt32MultiArrayImpl.java | 125 +- .../std_datatypes/impl/UInt64MultiArrayImpl.java | 125 +- .../std_datatypes/impl/UInt8MultiArrayImpl.java | 125 +- .../util/Std_datatypesAdapterFactory.java | 266 +-- .../std_datatypes/util/Std_datatypesSwitch.java | 324 +-- 361 files changed, 18788 insertions(+), 28251 deletions(-) create mode 100644 extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ExternalLibrary.java create mode 100644 extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/OnProperty.java create mode 100644 extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ExternalLibraryImpl.java create mode 100644 extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OnPropertyImpl.java diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/RoboCab.di b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/RoboCab.di index 9a5f9fcfab9..9fb07f4ec5d 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/RoboCab.di +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/RoboCab.di @@ -1,4 +1,4 @@ - + @@ -107,6 +107,9 @@ + + + diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/RoboCab.notation b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/RoboCab.notation index 3614ede3cd3..8c559b47f73 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/RoboCab.notation +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/RoboCab.notation @@ -941,56 +941,6 @@ - - -
- - -
- - -
- - -
-
-
-
-
- - - - - - - - - - - -
- - -
- - -
- - -
-
-
-
-
- - - - - - - - - @@ -5102,13 +5052,13 @@
- + - + - + @@ -5128,13 +5078,13 @@
- + - + - + @@ -5154,13 +5104,13 @@
- + - + - + diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/RoboCab.uml b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/RoboCab.uml index 1ad731af7cc..0940a60e0af 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/RoboCab.uml +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/RoboCab.uml @@ -1,207 +1,207 @@ - - + + - + - - - + + + - - - - - - - - - + + + + + + + + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + @@ -209,59 +209,59 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -269,34 +269,34 @@ - - + + - + - + - + - - + + - + - + @@ -304,7 +304,7 @@ - + @@ -321,7 +321,7 @@ - + @@ -329,7 +329,7 @@ - + @@ -353,10 +353,10 @@ - + Low Cost GPS - + @@ -364,7 +364,7 @@ - + @@ -385,7 +385,7 @@ - + @@ -393,7 +393,7 @@ - + @@ -401,7 +401,7 @@ - + @@ -409,8 +409,8 @@ - - + + @@ -437,8 +437,6 @@ - - @@ -461,25 +459,25 @@ - + - + - + - + - - + + @@ -491,89 +489,89 @@ - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - + Le pathplanner genere un chemin et une vitesse de consigne @@ -686,18 +684,18 @@ - - - - - - - - - - - - + + + + + + + + + + + + @@ -705,30 +703,30 @@ - - + + - - + + - - + + - - + + - - + + @@ -742,21 +740,21 @@ - + - + - + @@ -801,114 +799,114 @@ - - - + + + - - - + + + - - - + + + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + @@ -956,19 +954,19 @@ - - - - + + + + - - - - - - - + + + + + + + @@ -994,90 +992,93 @@ return (odometryMsg.steeringAngle < -5 ) ? true :false; return ( -5 <= odometryMsg.steeringAngle && odometryMsg.steeringAngle <= 5 ) ? true:false; - - + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1085,19 +1086,19 @@ return ( -5 <= odometryMsg.steeringAngle && odometryMsg.steeringAngle - + - + - + - + - + @@ -1107,10 +1108,10 @@ return ( -5 <= odometryMsg.steeringAngle && odometryMsg.steeringAngle - + - + @@ -1125,55 +1126,55 @@ return ( -5 <= odometryMsg.steeringAngle && odometryMsg.steeringAngle - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1181,19 +1182,19 @@ return ( -5 <= odometryMsg.steeringAngle && odometryMsg.steeringAngle - + - + - + - + - + @@ -1203,10 +1204,10 @@ return ( -5 <= odometryMsg.steeringAngle && odometryMsg.steeringAngle - + - + @@ -1234,8 +1235,8 @@ return ( -5 <= odometryMsg.steeringAngle && odometryMsg.steeringAngle - - + + @@ -1243,20 +1244,20 @@ return ( -5 <= odometryMsg.steeringAngle && odometryMsg.steeringAngle - + - + - - + + - + @@ -1340,24 +1341,24 @@ return ( -5 <= odometryMsg.steeringAngle && odometryMsg.steeringAngle - + - + - - - - - - + + + + + + @@ -1373,12 +1374,12 @@ return ( -5 <= odometryMsg.steeringAngle && odometryMsg.steeringAngle - + - - + + @@ -1387,17 +1388,15 @@ return ( -5 <= odometryMsg.steeringAngle && odometryMsg.steeringAngle - - - + - + - + - + diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/SearchLanding.uml b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/SearchLanding.uml index ad97973cb28..c2da6db6718 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/SearchLanding.uml +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/SearchLanding.uml @@ -285,14 +285,14 @@ end - + - - + + - - - + + + diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/TALC-Challenge.uml b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/TALC-Challenge.uml index 57458bfac42..424a2274732 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/TALC-Challenge.uml +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/TALC-Challenge.uml @@ -644,11 +644,11 @@ - - - + + + - + diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/YouthChallenge.di b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/YouthChallenge.di index e5c8afe918b..615e0705a43 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/YouthChallenge.di +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/YouthChallenge.di @@ -1,4 +1,4 @@ - + diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/YouthChallenge.uml b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/YouthChallenge.uml index dd75561570b..0800540edf4 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/YouthChallenge.uml +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml.templaterepository/resource/YouthChallenge.uml @@ -1,35 +1,35 @@ - + - - + + - - - - + + + + - + Un amer correspond a une balise composee d'une clonne et d'un solide d'une couleur - + - + - + @@ -38,8 +38,8 @@ - - + + @@ -47,7 +47,7 @@ - + @@ -55,7 +55,7 @@ - + @@ -63,9 +63,9 @@ - - - orientation en degr� [0;359] , entier positif, sens horaire 0 Nord + + + orientation en degrés [0;359] , entier positif, sens horaire 0 Nord @@ -76,7 +76,7 @@ - + @@ -84,7 +84,7 @@ - + @@ -92,7 +92,7 @@ - + @@ -100,7 +100,7 @@ - + @@ -110,21 +110,21 @@ - + - + - + @@ -134,7 +134,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -158,7 +158,7 @@ - + @@ -166,7 +166,7 @@ - + @@ -175,14 +175,14 @@ - + - + @@ -190,7 +190,7 @@ - + @@ -198,7 +198,7 @@ - + @@ -206,7 +206,7 @@ - + @@ -214,7 +214,7 @@ - + @@ -222,7 +222,7 @@ - + @@ -230,7 +230,7 @@ - + @@ -239,19 +239,19 @@ - - - - - + + + + + - - - + + + - + @@ -261,7 +261,7 @@ - + @@ -271,8 +271,8 @@ - - + + @@ -280,7 +280,7 @@ - + @@ -290,25 +290,25 @@ - - Un amer correspond � une balise compos�e d'une clonne + + Un amer correspond à une balise composée d'une clonne et d'un solide d'une couleur - + - + - + @@ -317,8 +317,8 @@ et d'un solide d'une couleur - - + + @@ -326,7 +326,7 @@ et d'un solide d'une couleur - + @@ -334,7 +334,7 @@ et d'un solide d'une couleur - + @@ -344,23 +344,23 @@ et d'un solide d'une couleur - + - + - + - + - + @@ -369,311 +369,311 @@ et d'un solide d'une couleur - - - - - - - - - - - + + + + + + + + + + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + @@ -682,7 +682,7 @@ et d'un solide d'une couleur - + This module buid the absolute bitmap map (glob_map) of the scene, using the local map (loc-map). the origine is the entry zone of the robot. @@ -717,49 +717,49 @@ the origine is the entry zone of the robot. - + - - + + - + - - + + - + - - + + - + - - + + - + @@ -768,7 +768,7 @@ the origine is the entry zone of the robot. - + The Local Map module Build a Relative Cartesian 2D bitmap Map (loc_map) The frame is centered on the robot (x <=> forward). it use proxi_map and all proprio and exteroceptive datas giving him the relative displacement. @@ -845,8 +845,8 @@ It place also all the amer on it map. - - + + @@ -860,82 +860,82 @@ It place also all the amer on it map. - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + @@ -944,9 +944,9 @@ It place also all the amer on it map. - + Modele Cinematique Direct (MCD) - Direct Kinematics Model (DKM) -Transformation from articular space (left and right wheels speed) to operational space (cartesian v�locity) +Transformation from articular space (left and right wheels speed) to operational space (cartesian velocity) we call it "Super"-DKM because we not only use odometry speed, but also IMU and GPS inputs, and we output also cartesian position @@ -996,13 +996,13 @@ we call it "Super"-DKM because we not only use odometry speed, but als - + - + Proximetric Map is a bitmap map, but in polar coordinate. the polar 2D frame is linked to the robot (so relative). Origine x forward the robot, angle with trigonometric way/notation (unclocwise) this Polar bitmap map is digitalized in Nrange cell from 0 to MaxRange, and in Nangle, from 0 to 2Pi. @@ -1028,7 +1028,7 @@ Only measures from sensors are directly print on this map : no memory ! - + This Module is able to find a amer in a image, and, using the CameraInfo of the cam, give a position of it, relatively from the robot. it delivers also the shape of the amer, and it color. @@ -1051,7 +1051,7 @@ Only measures from sensors are directly print on this map : no memory ! - + @@ -1094,9 +1094,9 @@ Only measures from sensors are directly print on this map : no memory ! - - - + + + @@ -1112,122 +1112,122 @@ Only measures from sensors are directly print on this map : no memory ! - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + @@ -1398,12 +1398,12 @@ Only measures from sensors are directly print on this map : no memory ! - - - - - - + + + + + + @@ -1420,132 +1420,132 @@ Only measures from sensors are directly print on this map : no memory ! - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + @@ -1570,13 +1570,13 @@ Only measures from sensors are directly print on this map : no memory ! - - - + + + - + @@ -1585,7 +1585,7 @@ Only measures from sensors are directly print on this map : no memory ! - + this module deliver the path (waypoints) for the navigator. it use the global map to calculate these waypoints, taking into account the mission to do. @@ -1635,44 +1635,44 @@ Only measures from sensors are directly print on this map : no memory ! - + - - + + - + - - + + - + - - + + - + - - + + - + @@ -1681,7 +1681,7 @@ Only measures from sensors are directly print on this map : no memory ! - + Navigator deliver local trajectory for the pilot, taking into account local map. It must reach the various waypoints, considering the obstacles placed in the local map (loc_map) @@ -1739,58 +1739,58 @@ It must reach the various waypoints, considering the obstacles placed in the loc - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + @@ -1799,8 +1799,8 @@ It must reach the various waypoints, considering the obstacles placed in the loc - - The pilot must calculate the set points in op�rating space, following the trajectory delivered by the navigator. + + The pilot must calculate the set points in operating space, following the trajectory delivered by the navigator. But the pilot must react to obstacles 'seen' in the proximetric map (prox_map), avoiding them. @@ -1851,8 +1851,8 @@ But the pilot must react to obstacles 'seen' in the proximetric map (prox_map), - - Modele Cin�matique Inverse (MCI) - Invert Kinematic Model (IKM) + + Modele Cinématique Inverse (MCI) - Invert Kinematic Model (IKM) transform the velocities from the operational space to the articular space (left and right wheels velocities) @@ -1888,80 +1888,80 @@ transform the velocities from the operational space to the articular space (left - - + + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + @@ -2006,24 +2006,24 @@ transform the velocities from the operational space to the articular space (left - - - - + + + + - + - - + + - + @@ -2034,8 +2034,8 @@ transform the velocities from the operational space to the articular space (left - - + + @@ -2047,89 +2047,89 @@ transform the velocities from the operational space to the articular space (left - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -2140,13 +2140,13 @@ transform the velocities from the operational space to the articular space (left - + - + - + @@ -2154,16 +2154,16 @@ transform the velocities from the operational space to the articular space (left - + - + - + @@ -2181,19 +2181,13 @@ transform the velocities from the operational space to the articular space (left - + - - + + - - - - - - - + @@ -2330,21 +2324,8 @@ transform the velocities from the operational space to the articular space (left - - - - - - - - - - - - - diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/META-INF/MANIFEST.MF b/extraplugins/robotml/org.eclipse.papyrus.robotml/META-INF/MANIFEST.MF index ba82e3c5a69..7d20d207ea0 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/META-INF/MANIFEST.MF +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/META-INF/MANIFEST.MF @@ -1,10 +1,37 @@ Manifest-Version: 1.0 Require-Bundle: org.eclipse.papyrus.uml.diagram.common;bundle-version="0.10.1", + org.eclipse.core.runtime, org.eclipse.emf.ecore, + org.eclipse.emf.ecore.xmi;visibility:=reexport, + org.eclipse.uml2.types;visibility:=reexport, org.eclipse.uml2.uml Export-Package: org.eclipse.papyrus.RobotML, org.eclipse.papyrus.RobotML.impl, - org.eclipse.papyrus.RobotML.util + org.eclipse.papyrus.RobotML.util, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.util, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.util, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.util, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.util, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.util, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.util, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.util, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl, + org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.util Bundle-Vendor: %Bundle-Vendor Bundle-ActivationPolicy: lazy Bundle-ClassPath: . diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotML.ecore b/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotML.ecore index 612a0d12846..93d9a64704c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotML.ecore +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotML.ecore @@ -6,31 +6,40 @@
+ lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Transition"/> + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Behavior"/> + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Behavior"/>
+ lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Operation"/> + lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"/> + lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/> + lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/> + + +
+ + + + + eType="#//RobotKind" defaultValueLiteral="UGVcar"/> + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Class"/> + lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"/> + lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/> + lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/> + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> @@ -121,7 +130,7 @@ + lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"/> + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//PrimitiveType"/> + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//DataType"/> + lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"/> + lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/> + lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/> + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/> + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Class"/> - - - - - + eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/> @@ -281,7 +282,18 @@ + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Node"/> + + + + + + + eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"/> + eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"/> + eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"/> + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Parameter"/> + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Abstraction"/> @@ -335,9 +347,15 @@ + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Package"/> + lowerBound="1" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//InstanceSpecification"/> + + + + diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotML.genmodel b/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotML.genmodel index 5e0bf9750f4..2c175a28438 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotML.genmodel +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotML.genmodel @@ -1,8 +1,10 @@ + modelName="RobotML" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" + importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" copyrightFields="false" + usedGenPackages="../../org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore ../../org.eclipse.uml2.types/model/Types.genmodel#//types ../../org.eclipse.uml2.uml/model/UML.genmodel#//uml" + operationReflection="true" importOrganizing="true"> RobotML.ecore @@ -57,6 +59,10 @@ + + + + @@ -180,11 +186,6 @@ - - - - - @@ -197,6 +198,12 @@ + + + + + + @@ -229,6 +236,10 @@ + + + + diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotMLProfile.profile.di b/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotMLProfile.profile.di index 37117ef3692..396aab9ae2a 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotMLProfile.profile.di +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotMLProfile.profile.di @@ -4,6 +4,28 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotMLProfile.profile.notation b/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotMLProfile.profile.notation index 49d3ba99e54..89d0f88a631 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotMLProfile.profile.notation +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotMLProfile.profile.notation @@ -433,6 +433,14 @@ + + + + + + + + @@ -1243,7 +1251,7 @@ - + @@ -1533,32 +1541,6 @@ - - -
- - -
- - -
- - - - - - - - - - - - - - - - - @@ -1587,36 +1569,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1638,7 +1590,7 @@ - + @@ -1680,7 +1632,7 @@ - + @@ -1710,7 +1662,7 @@ - + @@ -1731,7 +1683,7 @@ - + @@ -1745,12 +1697,133 @@ - + - + + + + +
+
+
+
+
+ + + + + + + +
+
+
+
+
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+
+
+
+
+ + + + @@ -1774,6 +1847,12 @@ + + + + + + @@ -1795,7 +1874,7 @@ - + @@ -1834,10 +1913,6 @@ - - - - @@ -1850,7 +1925,7 @@ - + @@ -1898,7 +1973,24 @@ - + + + + +
+
+
+
+
+ + + + + + + + + @@ -1920,7 +2012,14 @@ - + + + + + + + + @@ -2552,6 +2651,10 @@ + + + + @@ -2979,6 +3082,11 @@ + + + + + diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotMLProfile.profile.uml b/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotMLProfile.profile.uml index aefa89bf609..07bc48659f0 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotMLProfile.profile.uml +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/model/RobotMLProfile.profile.uml @@ -1,958 +1,1360 @@ - - - - - + + + + +
+
+
+
+
- - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + + + + - - + + + + + + + + + + + - - - + + + + - - - - + + + + - - + + + + - - + + + + - - - + + + - - - - - - - - + + + + - - - - + + + +
+
+
+
+
+ + + + + + - - + + - - - - - - - + + + + - - - - - + + + + + + + + - - - - + + + + + + - - - - + + + + + - - + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - + + + + + + + - - + + + - - - - + + + + + + + + + + - - - - - - - - + + + + + - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - - + + + + + - - - + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - + + + +
+
+
+
+
+ + + + + + + + + + + + - - + + + + + + + + - - + + + + + + - - + + + + + + - - + + + + + - - + + + + - - + + - - + + + + - - + + + - - + + - - - - - + + + + - - - - - + + - - + + - - - - - - - + + - - - - + + + + - - - - - - - - - - - - - + + + + + - - - - - - + + + + + + - - - - - + + + + - - - - + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + - - + + + - - - - - - - - - + + + + + + + + + - - - - + + - - - + + + - - + + - - + + + + + - - + + + + + + + + + + + - - - + + + + - - - - + + + + - - + + + + - - + + + + - - - + + + - - - - - - - - + + + + - - - - + + + +
+
+
+
+
+ + + + + + + + + + + - - + + + + + + + + + + + + + + + - - - + + + - - - + - - - - - + + + + + - - - - + + + + - - - - - + + - - + + + + - - - - + + + - - - - - - - - - - - - - - - - - + + - - + + + + - - - - - - - - - + + - - - - + + - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - - + + + + + - - - + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + - - + + - - + + - - - - + + + - - - + + + + + + + + - - + + - - - + + + - - + + - - - + + + + + + + + + - - - + + + - - - + + + - - + + + + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + +
+
+
+
+
+ + + + + + + - - + + + + + + + - - + + + + + - - + + - - + + - - - - - + + - - - - - + + - - + + - - - - - - - + + - - - - - - - + + - - - - - - - - - - - - + + - - - - - - + + - - - - - + + + + - - - - + + + + + + + + + + - - + + - - + + - - + + - - + + - - - - - - - - + + - - + + - + guard is typed with a boolean operation that have to be defined in the model before using it effect is typed by an operation that is owned by the component that is behaviored by the FSM - + a component could inherit from an algorithm library to have access to the operation defined in the AlgorithmLibrary - + LibFileFormat can be elf, matlab, etc - + + When a state is activated, a behavior is activated and executed. +It is possible to associate more one behavior to the state. But the question is how to define the order of execution of the behaviors? + + + How to allocate an operation of component to an operation that is defined in an external library + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + - - + + - - - + + + - + - - + + - - + + - + - - -
+ + +
- + - + - + @@ -960,7 +1362,7 @@ to have access to the operation defined in the AlgorithmLibrary - + @@ -968,9 +1370,9 @@ to have access to the operation defined in the AlgorithmLibrary - - -
+ + +
@@ -978,134 +1380,137 @@ to have access to the operation defined in the AlgorithmLibrary - - - - - - + + + + + + + + + - - + + - + - - -
-
+ + +
+
- - -
-
+ + +
+
- - -
-
+ + +
+
- - - + + + - - + + - - + + - - -
-
+ + +
+
- - -
-
+ + +
+
- - - -
+ + + +
- - - + + + - - + + - - -
+ + +
- - - -
+ + + +
- - + + - - + + - - + + - - + + - - + + - - -
+ + +
- - + + @@ -1113,10 +1518,10 @@ to have access to the operation defined in the AlgorithmLibrary - + - + @@ -1125,390 +1530,412 @@ to have access to the operation defined in the AlgorithmLibrary - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - -
+ + +
- - - + + + + + + - - + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - -
+ + +
- - - -
+ + + +
- - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - -
+ + + + + + + + + + + + + + + + + + +
- - - -
+ + + +
- - - -
+ + + +
- - - - + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - -
+ + +
- - - -
+ + + +
- - - + + + - - -
+ + +
- - - + + + - - + + - - -
+ + +
- + - + @@ -1516,7 +1943,7 @@ to have access to the operation defined in the AlgorithmLibrary - + @@ -1524,29 +1951,40 @@ to have access to the operation defined in the AlgorithmLibrary - + + + + + + - + + + + + + + - - + + - - + + - + @@ -1559,10 +1997,10 @@ to have access to the operation defined in the AlgorithmLibrary - + - + @@ -1575,37 +2013,32 @@ to have access to the operation defined in the AlgorithmLibrary - + - + + - - - - - - - - - + - + + - + + @@ -1620,90 +2053,94 @@ to have access to the operation defined in the AlgorithmLibrary - - - -
+ + + +
- - + + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - - + + - - -
+ + + + + + +
@@ -1711,96 +2148,96 @@ to have access to the operation defined in the AlgorithmLibrary - - + + - + - - - -
+ + + +
- - - - - + + + + + - - + + - - + + - - + + - - -
+ + +
- - + + - + - - + + - + - - -
+ + +
- - - - + + + + - + - + - + @@ -1809,7 +2246,7 @@ to have access to the operation defined in the AlgorithmLibrary - + @@ -1817,22 +2254,22 @@ to have access to the operation defined in the AlgorithmLibrary - + - + - + - + - + - + @@ -1842,13 +2279,13 @@ to have access to the operation defined in the AlgorithmLibrary - + - + - + @@ -1861,19 +2298,51 @@ to have access to the operation defined in the AlgorithmLibrary - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/plugin.xml b/extraplugins/robotml/org.eclipse.papyrus.robotml/plugin.xml index 28707c45fde..4d8701c4ae1 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/plugin.xml +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/plugin.xml @@ -87,4 +87,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ActuatorSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ActuatorSystem.java index 0a839d23167..db0c7653ac0 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ActuatorSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ActuatorSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Actuator System'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getActuatorSystem() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Agent.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Agent.java index 68873293931..8790a421b5c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Agent.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Agent.java @@ -1,45 +1,36 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.common.util.EList; +// TODO: Auto-generated Javadoc /** * * A representation of the model object 'Agent'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.Agent#getMovesOver Moves Over}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Agent#getMovesOver Moves Over}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAgent() * @model * @generated */ public interface Agent extends PhysicalObject { - /** * Returns the value of the 'Moves Over' reference list. * The list contents are of type {@link org.eclipse.papyrus.RobotML.Surface}. * *

- * If the meaning of the 'Moves Over' reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Moves Over' reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Moves Over' reference list. * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAgent_MovesOver() * @model ordered="false" diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Algorithm.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Algorithm.java index dfa4e4fb60f..878c498d7a7 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Algorithm.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Algorithm.java @@ -1,53 +1,44 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.ecore.EObject; + import org.eclipse.uml2.uml.Operation; /** * * A representation of the model object 'Algorithm'. * - * + * * * LibFileFormat can be elf, matlab, etc * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.Algorithm#getBase_Operation Base Operation}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Algorithm#isIsExternal Is External}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Algorithm#getExtFunctionName Ext Function Name}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Algorithm#getLibPath Lib Path}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Algorithm#getLibFileFormat Lib File Format}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Algorithm#getBase_Operation Base Operation}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Algorithm#isIsExternal Is External}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Algorithm#getExtFunctionName Ext Function Name}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Algorithm#getLibPath Lib Path}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Algorithm#getLibFileFormat Lib File Format}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAlgorithm() * @model * @generated */ public interface Algorithm extends EObject { - /** * Returns the value of the 'Base Operation' reference. * *

- * If the meaning of the 'Base Operation' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base Operation' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base Operation' reference. * @see #setBase_Operation(Operation) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAlgorithm_Base_Operation() @@ -60,9 +51,7 @@ public interface Algorithm extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Algorithm#getBase_Operation Base Operation}' reference. * * - * - * @param value - * the new value of the 'Base Operation' reference. + * @param value the new value of the 'Base Operation' reference. * @see #getBase_Operation() * @generated */ @@ -72,10 +61,10 @@ public interface Algorithm extends EObject { * Returns the value of the 'Is External' attribute. * *

- * If the meaning of the 'Is External' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Is External' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Is External' attribute. * @see #setIsExternal(boolean) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAlgorithm_IsExternal() @@ -88,9 +77,7 @@ public interface Algorithm extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Algorithm#isIsExternal Is External}' attribute. * * - * - * @param value - * the new value of the 'Is External' attribute. + * @param value the new value of the 'Is External' attribute. * @see #isIsExternal() * @generated */ @@ -100,10 +87,10 @@ public interface Algorithm extends EObject { * Returns the value of the 'Ext Function Name' attribute. * *

- * If the meaning of the 'Ext Function Name' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Ext Function Name' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Ext Function Name' attribute. * @see #setExtFunctionName(String) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAlgorithm_ExtFunctionName() @@ -116,9 +103,7 @@ public interface Algorithm extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Algorithm#getExtFunctionName Ext Function Name}' attribute. * * - * - * @param value - * the new value of the 'Ext Function Name' attribute. + * @param value the new value of the 'Ext Function Name' attribute. * @see #getExtFunctionName() * @generated */ @@ -128,10 +113,10 @@ public interface Algorithm extends EObject { * Returns the value of the 'Lib Path' attribute. * *

- * If the meaning of the 'Lib Path' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Lib Path' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Lib Path' attribute. * @see #setLibPath(String) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAlgorithm_LibPath() @@ -144,9 +129,7 @@ public interface Algorithm extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Algorithm#getLibPath Lib Path}' attribute. * * - * - * @param value - * the new value of the 'Lib Path' attribute. + * @param value the new value of the 'Lib Path' attribute. * @see #getLibPath() * @generated */ @@ -157,10 +140,10 @@ public interface Algorithm extends EObject { * The default value is "elf". * *

- * If the meaning of the 'Lib File Format' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Lib File Format' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Lib File Format' attribute. * @see #setLibFileFormat(String) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAlgorithm_LibFileFormat() @@ -173,9 +156,7 @@ public interface Algorithm extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Algorithm#getLibFileFormat Lib File Format}' attribute. * * - * - * @param value - * the new value of the 'Lib File Format' attribute. + * @param value the new value of the 'Lib File Format' attribute. * @see #getLibFileFormat() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/AlgorithmLibrary.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/AlgorithmLibrary.java index 4315b9c4ec3..7fd63d48b77 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/AlgorithmLibrary.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/AlgorithmLibrary.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.ecore.EObject; @@ -17,29 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Algorithm Library'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.AlgorithmLibrary#getBase_Class Base Class}
  • - *
  • {@link org.eclipse.papyrus.RobotML.AlgorithmLibrary#getPath Path}
  • + *
  • {@link org.eclipse.papyrus.RobotML.AlgorithmLibrary#getBase_Class Base Class}
  • + *
  • {@link org.eclipse.papyrus.RobotML.AlgorithmLibrary#getPath Path}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAlgorithmLibrary() * @model * @generated */ public interface AlgorithmLibrary extends EObject { - /** * Returns the value of the 'Base Class' reference. * *

- * If the meaning of the 'Base Class' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base Class' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base Class' reference. * @see #setBase_Class(org.eclipse.uml2.uml.Class) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAlgorithmLibrary_Base_Class() @@ -52,9 +42,7 @@ public interface AlgorithmLibrary extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.AlgorithmLibrary#getBase_Class Base Class}' reference. * * - * - * @param value - * the new value of the 'Base Class' reference. + * @param value the new value of the 'Base Class' reference. * @see #getBase_Class() * @generated */ @@ -64,10 +52,10 @@ public interface AlgorithmLibrary extends EObject { * Returns the value of the 'Path' attribute. * *

- * If the meaning of the 'Path' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Path' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Path' attribute. * @see #setPath(String) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAlgorithmLibrary_Path() @@ -80,9 +68,7 @@ public interface AlgorithmLibrary extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.AlgorithmLibrary#getPath Path}' attribute. * * - * - * @param value - * the new value of the 'Path' attribute. + * @param value the new value of the 'Path' attribute. * @see #getPath() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Allocate.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Allocate.java index a465a83756f..972d8ce4ce7 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Allocate.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Allocate.java @@ -1,45 +1,36 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.ecore.EObject; + import org.eclipse.uml2.uml.Abstraction; /** * * A representation of the model object 'Allocate'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.Allocate#getBase_Abstraction Base Abstraction}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Allocate#getBase_Abstraction Base Abstraction}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAllocate() * @model * @generated */ public interface Allocate extends EObject { - /** * Returns the value of the 'Base Abstraction' reference. * *

- * If the meaning of the 'Base Abstraction' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base Abstraction' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base Abstraction' reference. * @see #setBase_Abstraction(Abstraction) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getAllocate_Base_Abstraction() @@ -52,9 +43,7 @@ public interface Allocate extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Allocate#getBase_Abstraction Base Abstraction}' reference. * * - * - * @param value - * the new value of the 'Base Abstraction' reference. + * @param value the new value of the 'Base Abstraction' reference. * @see #getBase_Abstraction() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/BlenderMorse.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/BlenderMorse.java index 663415d4e46..7099deefc71 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/BlenderMorse.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/BlenderMorse.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,31 +7,30 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Blender Morse'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.BlenderMorse#isDebugMode Debug Mode}
  • - *
  • {@link org.eclipse.papyrus.RobotML.BlenderMorse#isDebugDisplay Debug Display}
  • - *
  • {@link org.eclipse.papyrus.RobotML.BlenderMorse#getGravity Gravity}
  • - *
  • {@link org.eclipse.papyrus.RobotML.BlenderMorse#get_viewport_shade viewport shade}
  • + *
  • {@link org.eclipse.papyrus.RobotML.BlenderMorse#isDebugMode Debug Mode}
  • + *
  • {@link org.eclipse.papyrus.RobotML.BlenderMorse#isDebugDisplay Debug Display}
  • + *
  • {@link org.eclipse.papyrus.RobotML.BlenderMorse#getGravity Gravity}
  • + *
  • {@link org.eclipse.papyrus.RobotML.BlenderMorse#get_viewport_shade viewport shade}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getBlenderMorse() * @model * @generated */ public interface BlenderMorse extends RoboticSimulator { - /** * Returns the value of the 'Debug Mode' attribute. * *

- * If the meaning of the 'Debug Mode' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Debug Mode' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Debug Mode' attribute. * @see #setDebugMode(boolean) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getBlenderMorse_DebugMode() @@ -53,9 +43,7 @@ public interface BlenderMorse extends RoboticSimulator { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.BlenderMorse#isDebugMode Debug Mode}' attribute. * * - * - * @param value - * the new value of the 'Debug Mode' attribute. + * @param value the new value of the 'Debug Mode' attribute. * @see #isDebugMode() * @generated */ @@ -65,10 +53,10 @@ public interface BlenderMorse extends RoboticSimulator { * Returns the value of the 'Debug Display' attribute. * *

- * If the meaning of the 'Debug Display' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Debug Display' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Debug Display' attribute. * @see #setDebugDisplay(boolean) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getBlenderMorse_DebugDisplay() @@ -81,9 +69,7 @@ public interface BlenderMorse extends RoboticSimulator { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.BlenderMorse#isDebugDisplay Debug Display}' attribute. * * - * - * @param value - * the new value of the 'Debug Display' attribute. + * @param value the new value of the 'Debug Display' attribute. * @see #isDebugDisplay() * @generated */ @@ -93,10 +79,10 @@ public interface BlenderMorse extends RoboticSimulator { * Returns the value of the 'Gravity' attribute. * *

- * If the meaning of the 'Gravity' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Gravity' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Gravity' attribute. * @see #setGravity(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getBlenderMorse_Gravity() @@ -109,9 +95,7 @@ public interface BlenderMorse extends RoboticSimulator { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.BlenderMorse#getGravity Gravity}' attribute. * * - * - * @param value - * the new value of the 'Gravity' attribute. + * @param value the new value of the 'Gravity' attribute. * @see #getGravity() * @generated */ @@ -123,10 +107,10 @@ public interface BlenderMorse extends RoboticSimulator { * The literals are from the enumeration {@link org.eclipse.papyrus.RobotML.Shade}. * *

- * If the meaning of the 'viewport shade' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'viewport shade' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'viewport shade' attribute. * @see org.eclipse.papyrus.RobotML.Shade * @see #set_viewport_shade(Shade) @@ -140,9 +124,7 @@ public interface BlenderMorse extends RoboticSimulator { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.BlenderMorse#get_viewport_shade viewport shade}' attribute. * * - * - * @param value - * the new value of the 'viewport shade' attribute. + * @param value the new value of the 'viewport shade' attribute. * @see org.eclipse.papyrus.RobotML.Shade * @see #get_viewport_shade() * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Building.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Building.java index 0314af8b6df..2c962c662ce 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Building.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Building.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Building'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getBuilding() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/CameraSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/CameraSystem.java index ef55b97ae32..190c464395f 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/CameraSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/CameraSystem.java @@ -1,59 +1,47 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; - /** * * A representation of the model object 'Camera System'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getWidth Width}
  • - *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getHeight Height}
  • - *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getAlpha_u Alpha u}
  • - *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getAlpha_v Alpha v}
  • - *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getU0 U0}
  • - *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getV0 V0}
  • - *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getColor_format Color format}
  • - *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getTranslate Translate}
  • - *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getRotate Rotate}
  • + *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getHeight Height}
  • + *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getAlpha_u Alpha u}
  • + *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getAlpha_v Alpha v}
  • + *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getU0 U0}
  • + *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getV0 V0}
  • + *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getColor_format Color format}
  • + *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getTranslate Translate}
  • + *
  • {@link org.eclipse.papyrus.RobotML.CameraSystem#getRotate Rotate}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCameraSystem() * @model * @generated */ public interface CameraSystem extends ImageSensorSystem { - /** * Returns the value of the 'Width' attribute. * The default value is "0". * *

- * If the meaning of the 'Width' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Width' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Width' attribute. * @see #setWidth(long) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCameraSystem_Width() - * @model default="0" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" - * ordered="false" + * @model default="0" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getWidth(); @@ -62,9 +50,7 @@ public interface CameraSystem extends ImageSensorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.CameraSystem#getWidth Width}' attribute. * * - * - * @param value - * the new value of the 'Width' attribute. + * @param value the new value of the 'Width' attribute. * @see #getWidth() * @generated */ @@ -74,15 +60,14 @@ public interface CameraSystem extends ImageSensorSystem { * Returns the value of the 'Height' attribute. * *

- * If the meaning of the 'Height' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Height' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Height' attribute. * @see #setHeight(long) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCameraSystem_Height() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getHeight(); @@ -91,9 +76,7 @@ public interface CameraSystem extends ImageSensorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.CameraSystem#getHeight Height}' attribute. * * - * - * @param value - * the new value of the 'Height' attribute. + * @param value the new value of the 'Height' attribute. * @see #getHeight() * @generated */ @@ -103,15 +86,14 @@ public interface CameraSystem extends ImageSensorSystem { * Returns the value of the 'Alpha u' attribute. * *

- * If the meaning of the 'Alpha u' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Alpha u' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Alpha u' attribute. * @see #setAlpha_u(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCameraSystem_Alpha_u() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getAlpha_u(); @@ -120,9 +102,7 @@ public interface CameraSystem extends ImageSensorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.CameraSystem#getAlpha_u Alpha u}' attribute. * * - * - * @param value - * the new value of the 'Alpha u' attribute. + * @param value the new value of the 'Alpha u' attribute. * @see #getAlpha_u() * @generated */ @@ -132,15 +112,14 @@ public interface CameraSystem extends ImageSensorSystem { * Returns the value of the 'Alpha v' attribute. * *

- * If the meaning of the 'Alpha v' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Alpha v' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Alpha v' attribute. * @see #setAlpha_v(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCameraSystem_Alpha_v() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getAlpha_v(); @@ -149,9 +128,7 @@ public interface CameraSystem extends ImageSensorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.CameraSystem#getAlpha_v Alpha v}' attribute. * * - * - * @param value - * the new value of the 'Alpha v' attribute. + * @param value the new value of the 'Alpha v' attribute. * @see #getAlpha_v() * @generated */ @@ -161,15 +138,14 @@ public interface CameraSystem extends ImageSensorSystem { * Returns the value of the 'U0' attribute. * *

- * If the meaning of the 'U0' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'U0' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'U0' attribute. * @see #setU0(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCameraSystem_U0() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getU0(); @@ -178,9 +154,7 @@ public interface CameraSystem extends ImageSensorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.CameraSystem#getU0 U0}' attribute. * * - * - * @param value - * the new value of the 'U0' attribute. + * @param value the new value of the 'U0' attribute. * @see #getU0() * @generated */ @@ -190,15 +164,14 @@ public interface CameraSystem extends ImageSensorSystem { * Returns the value of the 'V0' attribute. * *

- * If the meaning of the 'V0' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'V0' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'V0' attribute. * @see #setV0(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCameraSystem_V0() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getV0(); @@ -207,9 +180,7 @@ public interface CameraSystem extends ImageSensorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.CameraSystem#getV0 V0}' attribute. * * - * - * @param value - * the new value of the 'V0' attribute. + * @param value the new value of the 'V0' attribute. * @see #getV0() * @generated */ @@ -219,15 +190,14 @@ public interface CameraSystem extends ImageSensorSystem { * Returns the value of the 'Color format' attribute. * *

- * If the meaning of the 'Color format' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Color format' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Color format' attribute. * @see #setColor_format(String) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCameraSystem_Color_format() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getColor_format(); @@ -236,9 +206,7 @@ public interface CameraSystem extends ImageSensorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.CameraSystem#getColor_format Color format}' attribute. * * - * - * @param value - * the new value of the 'Color format' attribute. + * @param value the new value of the 'Color format' attribute. * @see #getColor_format() * @generated */ @@ -248,10 +216,10 @@ public interface CameraSystem extends ImageSensorSystem { * Returns the value of the 'Translate' containment reference. * *

- * If the meaning of the 'Translate' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Translate' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Translate' containment reference. * @see #setTranslate(Point32) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCameraSystem_Translate() @@ -264,9 +232,7 @@ public interface CameraSystem extends ImageSensorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.CameraSystem#getTranslate Translate}' containment reference. * * - * - * @param value - * the new value of the 'Translate' containment reference. + * @param value the new value of the 'Translate' containment reference. * @see #getTranslate() * @generated */ @@ -276,10 +242,10 @@ public interface CameraSystem extends ImageSensorSystem { * Returns the value of the 'Rotate' containment reference. * *

- * If the meaning of the 'Rotate' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Rotate' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Rotate' containment reference. * @see #setRotate(Point32) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCameraSystem_Rotate() @@ -292,9 +258,7 @@ public interface CameraSystem extends ImageSensorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.CameraSystem#getRotate Rotate}' containment reference. * * - * - * @param value - * the new value of the 'Rotate' containment reference. + * @param value the new value of the 'Rotate' containment reference. * @see #getRotate() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/CycabTK.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/CycabTK.java index 1bdcb688714..1e175000dac 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/CycabTK.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/CycabTK.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,30 +7,29 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Cycab TK'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.CycabTK#isUseRealTime Use Real Time}
  • - *
  • {@link org.eclipse.papyrus.RobotML.CycabTK#getTimeStep Time Step}
  • - *
  • {@link org.eclipse.papyrus.RobotML.CycabTK#getTimeFactor Time Factor}
  • + *
  • {@link org.eclipse.papyrus.RobotML.CycabTK#isUseRealTime Use Real Time}
  • + *
  • {@link org.eclipse.papyrus.RobotML.CycabTK#getTimeStep Time Step}
  • + *
  • {@link org.eclipse.papyrus.RobotML.CycabTK#getTimeFactor Time Factor}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCycabTK() * @model * @generated */ public interface CycabTK extends RoboticSimulator { - /** * Returns the value of the 'Use Real Time' attribute. * *

- * If the meaning of the 'Use Real Time' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Use Real Time' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Use Real Time' attribute. * @see #setUseRealTime(boolean) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCycabTK_UseRealTime() @@ -52,9 +42,7 @@ public interface CycabTK extends RoboticSimulator { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.CycabTK#isUseRealTime Use Real Time}' attribute. * * - * - * @param value - * the new value of the 'Use Real Time' attribute. + * @param value the new value of the 'Use Real Time' attribute. * @see #isUseRealTime() * @generated */ @@ -64,10 +52,10 @@ public interface CycabTK extends RoboticSimulator { * Returns the value of the 'Time Step' attribute. * *

- * If the meaning of the 'Time Step' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Time Step' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Time Step' attribute. * @see #setTimeStep(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCycabTK_TimeStep() @@ -80,9 +68,7 @@ public interface CycabTK extends RoboticSimulator { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.CycabTK#getTimeStep Time Step}' attribute. * * - * - * @param value - * the new value of the 'Time Step' attribute. + * @param value the new value of the 'Time Step' attribute. * @see #getTimeStep() * @generated */ @@ -92,10 +78,10 @@ public interface CycabTK extends RoboticSimulator { * Returns the value of the 'Time Factor' attribute. * *

- * If the meaning of the 'Time Factor' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Time Factor' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Time Factor' attribute. * @see #setTimeFactor(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getCycabTK_TimeFactor() @@ -108,9 +94,7 @@ public interface CycabTK extends RoboticSimulator { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.CycabTK#getTimeFactor Time Factor}' attribute. * * - * - * @param value - * the new value of the 'Time Factor' attribute. + * @param value the new value of the 'Time Factor' attribute. * @see #getTimeFactor() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DataFlowDirectionKind.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DataFlowDirectionKind.java index ae6cbcbb42c..045275db5c4 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DataFlowDirectionKind.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DataFlowDirectionKind.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import java.util.Arrays; @@ -17,12 +8,12 @@ import java.util.List; import org.eclipse.emf.common.util.Enumerator; +// TODO: Auto-generated Javadoc /** * * A representation of the literals of the enumeration 'Data Flow Direction Kind', * and utility methods for working with them. * - * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getDataFlowDirectionKind() * @model * @generated @@ -32,7 +23,6 @@ public enum DataFlowDirectionKind implements Enumerator { * The 'In' literal object. * * - * * @see #IN_VALUE * @generated * @ordered @@ -43,7 +33,6 @@ public enum DataFlowDirectionKind implements Enumerator { * The 'Out' literal object. * * - * * @see #OUT_VALUE * @generated * @ordered @@ -54,7 +43,6 @@ public enum DataFlowDirectionKind implements Enumerator { * The 'Inout' literal object. * * - * * @see #INOUT_VALUE * @generated * @ordered @@ -65,10 +53,10 @@ public enum DataFlowDirectionKind implements Enumerator { * The 'In' literal value. * *

- * If the meaning of 'In' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'In' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #IN * @model name="in" * @generated @@ -80,10 +68,10 @@ public enum DataFlowDirectionKind implements Enumerator { * The 'Out' literal value. * *

- * If the meaning of 'Out' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'Out' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #OUT * @model name="out" * @generated @@ -95,10 +83,10 @@ public enum DataFlowDirectionKind implements Enumerator { * The 'Inout' literal value. * *

- * If the meaning of 'Inout' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'Inout' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #INOUT * @model name="inout" * @generated @@ -110,16 +98,19 @@ public enum DataFlowDirectionKind implements Enumerator { * An array of all the 'Data Flow Direction Kind' enumerators. * * - * * @generated */ - private static final DataFlowDirectionKind[] VALUES_ARRAY = new DataFlowDirectionKind[]{ IN, OUT, INOUT, }; + private static final DataFlowDirectionKind[] VALUES_ARRAY = + new DataFlowDirectionKind[] { + IN, + OUT, + INOUT, + }; /** * A public read-only list of all the 'Data Flow Direction Kind' enumerators. * * - * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); @@ -128,13 +119,15 @@ public enum DataFlowDirectionKind implements Enumerator { * Returns the 'Data Flow Direction Kind' literal with the specified literal value. * * - * + * + * @param literal the literal + * @return the data flow direction kind * @generated */ public static DataFlowDirectionKind get(String literal) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { DataFlowDirectionKind result = VALUES_ARRAY[i]; - if(result.toString().equals(literal)) { + if (result.toString().equals(literal)) { return result; } } @@ -145,13 +138,15 @@ public enum DataFlowDirectionKind implements Enumerator { * Returns the 'Data Flow Direction Kind' literal with the specified name. * * - * + * + * @param name the name + * @return the by name * @generated */ public static DataFlowDirectionKind getByName(String name) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { DataFlowDirectionKind result = VALUES_ARRAY[i]; - if(result.getName().equals(name)) { + if (result.getName().equals(name)) { return result; } } @@ -162,50 +157,37 @@ public enum DataFlowDirectionKind implements Enumerator { * Returns the 'Data Flow Direction Kind' literal with the specified integer value. * * - * + * + * @param value the value + * @return the data flow direction kind * @generated */ public static DataFlowDirectionKind get(int value) { - switch(value) { - case IN_VALUE: - return IN; - case OUT_VALUE: - return OUT; - case INOUT_VALUE: - return INOUT; + switch (value) { + case IN_VALUE: return IN; + case OUT_VALUE: return OUT; + case INOUT_VALUE: return INOUT; } return null; } - /** - * - * - * - * @generated - */ + /** . @generated */ private final int value; - /** - * - * - * - * @generated - */ + /** . @generated */ private final String name; - /** - * - * - * - * @generated - */ + /** . @generated */ private final String literal; /** * Only this class can construct instances. * * - * + * + * @param value the value + * @param name the name + * @param literal the literal * @generated */ private DataFlowDirectionKind(int value, String name, String literal) { @@ -216,44 +198,48 @@ public enum DataFlowDirectionKind implements Enumerator { /** * - * - * + * . + * + * @return the value * @generated */ public int getValue() { - return value; + return value; } /** * - * - * + * . + * + * @return the name * @generated */ public String getName() { - return name; + return name; } /** * - * - * + * . + * + * @return the literal * @generated */ public String getLiteral() { - return literal; + return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * * - * + * + * @return the string * @generated */ @Override public String toString() { return literal; } - + } //DataFlowDirectionKind diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DataFlowPort.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DataFlowPort.java index 081a9979f5a..e14bc8a9398 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DataFlowPort.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DataFlowPort.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,30 +7,29 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Data Flow Port'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.DataFlowPort#getDirection Direction}
  • - *
  • {@link org.eclipse.papyrus.RobotML.DataFlowPort#getBufferSize Buffer Size}
  • + *
  • {@link org.eclipse.papyrus.RobotML.DataFlowPort#getDirection Direction}
  • + *
  • {@link org.eclipse.papyrus.RobotML.DataFlowPort#getBufferSize Buffer Size}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getDataFlowPort() * @model * @generated */ public interface DataFlowPort extends Port { - /** * Returns the value of the 'Direction' attribute. * The literals are from the enumeration {@link org.eclipse.papyrus.RobotML.DataFlowDirectionKind}. * *

- * If the meaning of the 'Direction' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Direction' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Direction' attribute. * @see org.eclipse.papyrus.RobotML.DataFlowDirectionKind * @see #setDirection(DataFlowDirectionKind) @@ -53,9 +43,7 @@ public interface DataFlowPort extends Port { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.DataFlowPort#getDirection Direction}' attribute. * * - * - * @param value - * the new value of the 'Direction' attribute. + * @param value the new value of the 'Direction' attribute. * @see org.eclipse.papyrus.RobotML.DataFlowDirectionKind * @see #getDirection() * @generated @@ -67,10 +55,10 @@ public interface DataFlowPort extends Port { * The default value is "0". * *

- * If the meaning of the 'Buffer Size' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Buffer Size' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Buffer Size' attribute. * @see #setBufferSize(int) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getDataFlowPort_BufferSize() @@ -83,9 +71,7 @@ public interface DataFlowPort extends Port { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.DataFlowPort#getBufferSize Buffer Size}' attribute. * * - * - * @param value - * the new value of the 'Buffer Size' attribute. + * @param value the new value of the 'Buffer Size' attribute. * @see #getBufferSize() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DataType.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DataType.java index e548929f7a1..3c4de2721ca 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DataType.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DataType.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.ecore.EObject; @@ -17,30 +8,29 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Data Type'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.DataType#getBase_DataType Base Data Type}
  • - *
  • {@link org.eclipse.papyrus.RobotML.DataType#isNative Native}
  • - *
  • {@link org.eclipse.papyrus.RobotML.DataType#getLibraryPath Library Path}
  • + *
  • {@link org.eclipse.papyrus.RobotML.DataType#getBase_DataType Base Data Type}
  • + *
  • {@link org.eclipse.papyrus.RobotML.DataType#isNative Native}
  • + *
  • {@link org.eclipse.papyrus.RobotML.DataType#getLibraryPath Library Path}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getDataType() * @model * @generated */ public interface DataType extends EObject { - /** * Returns the value of the 'Base Data Type' reference. * *

- * If the meaning of the 'Base Data Type' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base Data Type' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base Data Type' reference. * @see #setBase_DataType(org.eclipse.uml2.uml.DataType) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getDataType_Base_DataType() @@ -53,9 +43,7 @@ public interface DataType extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.DataType#getBase_DataType Base Data Type}' reference. * * - * - * @param value - * the new value of the 'Base Data Type' reference. + * @param value the new value of the 'Base Data Type' reference. * @see #getBase_DataType() * @generated */ @@ -65,10 +53,10 @@ public interface DataType extends EObject { * Returns the value of the 'Native' attribute. * *

- * If the meaning of the 'Native' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Native' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Native' attribute. * @see #setNative(boolean) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getDataType_Native() @@ -81,9 +69,7 @@ public interface DataType extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.DataType#isNative Native}' attribute. * * - * - * @param value - * the new value of the 'Native' attribute. + * @param value the new value of the 'Native' attribute. * @see #isNative() * @generated */ @@ -93,10 +79,10 @@ public interface DataType extends EObject { * Returns the value of the 'Library Path' attribute. * *

- * If the meaning of the 'Library Path' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Library Path' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Library Path' attribute. * @see #setLibraryPath(String) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getDataType_LibraryPath() @@ -109,9 +95,7 @@ public interface DataType extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.DataType#getLibraryPath Library Path}' attribute. * * - * - * @param value - * the new value of the 'Library Path' attribute. + * @param value the new value of the 'Library Path' attribute. * @see #getLibraryPath() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DeploymentPlan.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DeploymentPlan.java index 22eca5c1f90..8c3dd98a2b3 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DeploymentPlan.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/DeploymentPlan.java @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.ecore.EObject; + import org.eclipse.uml2.uml.InstanceSpecification; /** * * A representation of the model object 'Deployment Plan'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.DeploymentPlan#getBase_Package Base Package}
  • - *
  • {@link org.eclipse.papyrus.RobotML.DeploymentPlan#getMainInstance Main Instance}
  • + *
  • {@link org.eclipse.papyrus.RobotML.DeploymentPlan#getBase_Package Base Package}
  • + *
  • {@link org.eclipse.papyrus.RobotML.DeploymentPlan#getMainInstance Main Instance}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getDeploymentPlan() * @model * @generated */ public interface DeploymentPlan extends EObject { - /** * Returns the value of the 'Base Package' reference. * *

- * If the meaning of the 'Base Package' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base Package' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base Package' reference. * @see #setBase_Package(org.eclipse.uml2.uml.Package) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getDeploymentPlan_Base_Package() @@ -53,9 +44,7 @@ public interface DeploymentPlan extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.DeploymentPlan#getBase_Package Base Package}' reference. * * - * - * @param value - * the new value of the 'Base Package' reference. + * @param value the new value of the 'Base Package' reference. * @see #getBase_Package() * @generated */ @@ -65,10 +54,10 @@ public interface DeploymentPlan extends EObject { * Returns the value of the 'Main Instance' reference. * *

- * If the meaning of the 'Main Instance' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Main Instance' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Main Instance' reference. * @see #setMainInstance(InstanceSpecification) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getDeploymentPlan_MainInstance() @@ -81,9 +70,7 @@ public interface DeploymentPlan extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.DeploymentPlan#getMainInstance Main Instance}' reference. * * - * - * @param value - * the new value of the 'Main Instance' reference. + * @param value the new value of the 'Main Instance' reference. * @see #getMainInstance() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/EngineSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/EngineSystem.java index 9f6a065f9c2..950031e2b6a 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/EngineSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/EngineSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,33 +7,32 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Engine System'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.EngineSystem#getVehicleTraction Vehicle Traction}
  • - *
  • {@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxEngineForce Max Engine Force}
  • - *
  • {@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxBreakingForce Max Breaking Force}
  • - *
  • {@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxAllowedSteering Max Allowed Steering}
  • - *
  • {@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxAllowedVelocity Max Allowed Velocity}
  • - *
  • {@link org.eclipse.papyrus.RobotML.EngineSystem#getGear_ration Gear ration}
  • + *
  • {@link org.eclipse.papyrus.RobotML.EngineSystem#getVehicleTraction Vehicle Traction}
  • + *
  • {@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxEngineForce Max Engine Force}
  • + *
  • {@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxBreakingForce Max Breaking Force}
  • + *
  • {@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxAllowedSteering Max Allowed Steering}
  • + *
  • {@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxAllowedVelocity Max Allowed Velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotML.EngineSystem#getGear_ration Gear ration}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getEngineSystem() * @model * @generated */ public interface EngineSystem extends ActuatorSystem { - /** * Returns the value of the 'Vehicle Traction' attribute. * *

- * If the meaning of the 'Vehicle Traction' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Vehicle Traction' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Vehicle Traction' attribute. * @see #setVehicleTraction(String) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getEngineSystem_VehicleTraction() @@ -55,9 +45,7 @@ public interface EngineSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.EngineSystem#getVehicleTraction Vehicle Traction}' attribute. * * - * - * @param value - * the new value of the 'Vehicle Traction' attribute. + * @param value the new value of the 'Vehicle Traction' attribute. * @see #getVehicleTraction() * @generated */ @@ -67,15 +55,14 @@ public interface EngineSystem extends ActuatorSystem { * Returns the value of the 'Max Engine Force' attribute. * *

- * If the meaning of the 'Max Engine Force' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Max Engine Force' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Max Engine Force' attribute. * @see #setMaxEngineForce(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getEngineSystem_MaxEngineForce() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getMaxEngineForce(); @@ -84,9 +71,7 @@ public interface EngineSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxEngineForce Max Engine Force}' attribute. * * - * - * @param value - * the new value of the 'Max Engine Force' attribute. + * @param value the new value of the 'Max Engine Force' attribute. * @see #getMaxEngineForce() * @generated */ @@ -96,15 +81,14 @@ public interface EngineSystem extends ActuatorSystem { * Returns the value of the 'Max Breaking Force' attribute. * *

- * If the meaning of the 'Max Breaking Force' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Max Breaking Force' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Max Breaking Force' attribute. * @see #setMaxBreakingForce(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getEngineSystem_MaxBreakingForce() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getMaxBreakingForce(); @@ -113,9 +97,7 @@ public interface EngineSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxBreakingForce Max Breaking Force}' attribute. * * - * - * @param value - * the new value of the 'Max Breaking Force' attribute. + * @param value the new value of the 'Max Breaking Force' attribute. * @see #getMaxBreakingForce() * @generated */ @@ -125,15 +107,14 @@ public interface EngineSystem extends ActuatorSystem { * Returns the value of the 'Max Allowed Steering' attribute. * *

- * If the meaning of the 'Max Allowed Steering' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Max Allowed Steering' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Max Allowed Steering' attribute. * @see #setMaxAllowedSteering(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getEngineSystem_MaxAllowedSteering() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getMaxAllowedSteering(); @@ -142,9 +123,7 @@ public interface EngineSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxAllowedSteering Max Allowed Steering}' attribute. * * - * - * @param value - * the new value of the 'Max Allowed Steering' attribute. + * @param value the new value of the 'Max Allowed Steering' attribute. * @see #getMaxAllowedSteering() * @generated */ @@ -154,15 +133,14 @@ public interface EngineSystem extends ActuatorSystem { * Returns the value of the 'Max Allowed Velocity' attribute. * *

- * If the meaning of the 'Max Allowed Velocity' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Max Allowed Velocity' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Max Allowed Velocity' attribute. * @see #setMaxAllowedVelocity(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getEngineSystem_MaxAllowedVelocity() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getMaxAllowedVelocity(); @@ -171,9 +149,7 @@ public interface EngineSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxAllowedVelocity Max Allowed Velocity}' attribute. * * - * - * @param value - * the new value of the 'Max Allowed Velocity' attribute. + * @param value the new value of the 'Max Allowed Velocity' attribute. * @see #getMaxAllowedVelocity() * @generated */ @@ -183,15 +159,14 @@ public interface EngineSystem extends ActuatorSystem { * Returns the value of the 'Gear ration' attribute. * *

- * If the meaning of the 'Gear ration' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Gear ration' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Gear ration' attribute. * @see #setGear_ration(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getEngineSystem_Gear_ration() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getGear_ration(); @@ -200,9 +175,7 @@ public interface EngineSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.EngineSystem#getGear_ration Gear ration}' attribute. * * - * - * @param value - * the new value of the 'Gear ration' attribute. + * @param value the new value of the 'Gear ration' attribute. * @see #getGear_ration() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Environment.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Environment.java index 77e1c53129b..50380b4761d 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Environment.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Environment.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Environment'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getEnvironment() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ExternalLibrary.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ExternalLibrary.java new file mode 100644 index 00000000000..852654c0957 --- /dev/null +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ExternalLibrary.java @@ -0,0 +1,107 @@ +/** + */ +package org.eclipse.papyrus.RobotML; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Interface; + +/** + * + * A representation of the model object 'External Library'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.papyrus.RobotML.ExternalLibrary#getLibPath Lib Path}
  • + *
  • {@link org.eclipse.papyrus.RobotML.ExternalLibrary#getLibFileFormat Lib File Format}
  • + *
  • {@link org.eclipse.papyrus.RobotML.ExternalLibrary#getBase_Interface Base Interface}
  • + *
+ *

+ * + * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getExternalLibrary() + * @model + * @generated + */ +public interface ExternalLibrary extends EObject { + /** + * Returns the value of the 'Lib Path' attribute. + * + *

+ * If the meaning of the 'Lib Path' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Lib Path' attribute. + * @see #setLibPath(String) + * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getExternalLibrary_LibPath() + * @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false" + * @generated + */ + String getLibPath(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.RobotML.ExternalLibrary#getLibPath Lib Path}' attribute. + * + * + * @param value the new value of the 'Lib Path' attribute. + * @see #getLibPath() + * @generated + */ + void setLibPath(String value); + + /** + * Returns the value of the 'Lib File Format' attribute. + * The default value is "elf". + * + *

+ * If the meaning of the 'Lib File Format' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Lib File Format' attribute. + * @see #setLibFileFormat(String) + * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getExternalLibrary_LibFileFormat() + * @model default="elf" dataType="org.eclipse.uml2.types.String" required="true" ordered="false" + * @generated + */ + String getLibFileFormat(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.RobotML.ExternalLibrary#getLibFileFormat Lib File Format}' attribute. + * + * + * @param value the new value of the 'Lib File Format' attribute. + * @see #getLibFileFormat() + * @generated + */ + void setLibFileFormat(String value); + + /** + * Returns the value of the 'Base Interface' reference. + * + *

+ * If the meaning of the 'Base Interface' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Base Interface' reference. + * @see #setBase_Interface(Interface) + * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getExternalLibrary_Base_Interface() + * @model required="true" ordered="false" + * @generated + */ + Interface getBase_Interface(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.RobotML.ExternalLibrary#getBase_Interface Base Interface}' reference. + * + * + * @param value the new value of the 'Base Interface' reference. + * @see #getBase_Interface() + * @generated + */ + void setBase_Interface(Interface value); + +} // ExternalLibrary diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Floor.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Floor.java index a22c09384dc..8eb32201c17 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Floor.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Floor.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Floor'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getFloor() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/GPSSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/GPSSystem.java index 164dd1740c8..09a81cb533d 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/GPSSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/GPSSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; @@ -17,28 +8,27 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp * * A representation of the model object 'GPS System'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.GPSSystem#getOriginPosition Origin Position}
  • + *
  • {@link org.eclipse.papyrus.RobotML.GPSSystem#getOriginPosition Origin Position}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getGPSSystem() * @model * @generated */ public interface GPSSystem extends LocalizationSensorSystem { - /** * Returns the value of the 'Origin Position' containment reference. * *

- * If the meaning of the 'Origin Position' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Origin Position' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Origin Position' containment reference. * @see #setOriginPosition(Point32) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getGPSSystem_OriginPosition() @@ -51,9 +41,7 @@ public interface GPSSystem extends LocalizationSensorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.GPSSystem#getOriginPosition Origin Position}' containment reference. * * - * - * @param value - * the new value of the 'Origin Position' containment reference. + * @param value the new value of the 'Origin Position' containment reference. * @see #getOriginPosition() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Ground.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Ground.java index 539c5c4c512..06195c02397 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Ground.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Ground.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Ground'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getGround() * @model abstract="true" * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Gyroscope.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Gyroscope.java index ccf1d1b4b61..4a997cae833 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Gyroscope.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Gyroscope.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Gyroscope'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getGyroscope() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Hardware.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Hardware.java index 083144e3278..285f6a326d2 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Hardware.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Hardware.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Hardware'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getHardware() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Human.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Human.java index 5a2c5f68cf6..090b5cea617 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Human.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Human.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Human'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getHuman() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ImageSensorSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ImageSensorSystem.java index 88a7306e8b5..117c5aabc7c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ImageSensorSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ImageSensorSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Image Sensor System'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getImageSensorSystem() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/InertialMeasurementUnitSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/InertialMeasurementUnitSystem.java index d72623e75f5..55f5c991cb5 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/InertialMeasurementUnitSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/InertialMeasurementUnitSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Inertial Measurement Unit System'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getInertialMeasurementUnitSystem() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/InertialNavigationSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/InertialNavigationSystem.java index 907adc98e51..924d4b990ac 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/InertialNavigationSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/InertialNavigationSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Inertial Navigation System'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getInertialNavigationSystem() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/InfraRedProximetrySystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/InfraRedProximetrySystem.java index d7195457007..8b82e48ac88 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/InfraRedProximetrySystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/InfraRedProximetrySystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Infra Red Proximetry System'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getInfraRedProximetrySystem() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/LandSurface.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/LandSurface.java index 041a8b2336c..981879527a1 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/LandSurface.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/LandSurface.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Land Surface'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLandSurface() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/LidarSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/LidarSystem.java index 37215910d6e..064a743a77c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/LidarSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/LidarSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,44 +7,42 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Lidar System'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getNbLayers Nb Layers}
  • - *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getLayerAngleMin Layer Angle Min}
  • - *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getLayerAngleStep Layer Angle Step}
  • - *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#isNoise Noise}
  • - *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getSigmaNoise Sigma Noise}
  • - *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getAngle_min Angle min}
  • - *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getAngle_max Angle max}
  • - *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getTime_increment Time increment}
  • - *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getScan_time Scan time}
  • - *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getRange_min Range min}
  • - *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getRange_max Range max}
  • - *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getNbRays Nb Rays}
  • + *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getNbLayers Nb Layers}
  • + *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getLayerAngleMin Layer Angle Min}
  • + *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getLayerAngleStep Layer Angle Step}
  • + *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#isNoise Noise}
  • + *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getSigmaNoise Sigma Noise}
  • + *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getAngle_min Angle min}
  • + *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getAngle_max Angle max}
  • + *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getTime_increment Time increment}
  • + *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getScan_time Scan time}
  • + *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getRange_min Range min}
  • + *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getRange_max Range max}
  • + *
  • {@link org.eclipse.papyrus.RobotML.LidarSystem#getNbRays Nb Rays}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem() * @model * @generated */ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTrackingSensorSystem { - /** * Returns the value of the 'Nb Layers' attribute. * *

- * If the meaning of the 'Nb Layers' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Nb Layers' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Nb Layers' attribute. * @see #setNbLayers(long) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem_NbLayers() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getNbLayers(); @@ -62,9 +51,7 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Sets the value of the '{@link org.eclipse.papyrus.RobotML.LidarSystem#getNbLayers Nb Layers}' attribute. * * - * - * @param value - * the new value of the 'Nb Layers' attribute. + * @param value the new value of the 'Nb Layers' attribute. * @see #getNbLayers() * @generated */ @@ -74,15 +61,14 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Returns the value of the 'Layer Angle Min' attribute. * *

- * If the meaning of the 'Layer Angle Min' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Layer Angle Min' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layer Angle Min' attribute. * @see #setLayerAngleMin(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem_LayerAngleMin() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getLayerAngleMin(); @@ -91,9 +77,7 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Sets the value of the '{@link org.eclipse.papyrus.RobotML.LidarSystem#getLayerAngleMin Layer Angle Min}' attribute. * * - * - * @param value - * the new value of the 'Layer Angle Min' attribute. + * @param value the new value of the 'Layer Angle Min' attribute. * @see #getLayerAngleMin() * @generated */ @@ -103,15 +87,14 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Returns the value of the 'Layer Angle Step' attribute. * *

- * If the meaning of the 'Layer Angle Step' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Layer Angle Step' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layer Angle Step' attribute. * @see #setLayerAngleStep(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem_LayerAngleStep() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getLayerAngleStep(); @@ -120,9 +103,7 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Sets the value of the '{@link org.eclipse.papyrus.RobotML.LidarSystem#getLayerAngleStep Layer Angle Step}' attribute. * * - * - * @param value - * the new value of the 'Layer Angle Step' attribute. + * @param value the new value of the 'Layer Angle Step' attribute. * @see #getLayerAngleStep() * @generated */ @@ -132,15 +113,14 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Returns the value of the 'Noise' attribute. * *

- * If the meaning of the 'Noise' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Noise' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Noise' attribute. * @see #setNoise(boolean) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem_Noise() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Bool" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Bool" required="true" ordered="false" * @generated */ boolean isNoise(); @@ -149,9 +129,7 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Sets the value of the '{@link org.eclipse.papyrus.RobotML.LidarSystem#isNoise Noise}' attribute. * * - * - * @param value - * the new value of the 'Noise' attribute. + * @param value the new value of the 'Noise' attribute. * @see #isNoise() * @generated */ @@ -161,15 +139,14 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Returns the value of the 'Sigma Noise' attribute. * *

- * If the meaning of the 'Sigma Noise' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Sigma Noise' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Sigma Noise' attribute. * @see #setSigmaNoise(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem_SigmaNoise() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getSigmaNoise(); @@ -178,9 +155,7 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Sets the value of the '{@link org.eclipse.papyrus.RobotML.LidarSystem#getSigmaNoise Sigma Noise}' attribute. * * - * - * @param value - * the new value of the 'Sigma Noise' attribute. + * @param value the new value of the 'Sigma Noise' attribute. * @see #getSigmaNoise() * @generated */ @@ -190,15 +165,14 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Returns the value of the 'Angle min' attribute. * *

- * If the meaning of the 'Angle min' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Angle min' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Angle min' attribute. * @see #setAngle_min(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem_Angle_min() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getAngle_min(); @@ -207,9 +181,7 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Sets the value of the '{@link org.eclipse.papyrus.RobotML.LidarSystem#getAngle_min Angle min}' attribute. * * - * - * @param value - * the new value of the 'Angle min' attribute. + * @param value the new value of the 'Angle min' attribute. * @see #getAngle_min() * @generated */ @@ -219,15 +191,14 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Returns the value of the 'Angle max' attribute. * *

- * If the meaning of the 'Angle max' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Angle max' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Angle max' attribute. * @see #setAngle_max(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem_Angle_max() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getAngle_max(); @@ -236,9 +207,7 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Sets the value of the '{@link org.eclipse.papyrus.RobotML.LidarSystem#getAngle_max Angle max}' attribute. * * - * - * @param value - * the new value of the 'Angle max' attribute. + * @param value the new value of the 'Angle max' attribute. * @see #getAngle_max() * @generated */ @@ -248,15 +217,14 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Returns the value of the 'Time increment' attribute. * *

- * If the meaning of the 'Time increment' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Time increment' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Time increment' attribute. * @see #setTime_increment(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem_Time_increment() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getTime_increment(); @@ -265,9 +233,7 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Sets the value of the '{@link org.eclipse.papyrus.RobotML.LidarSystem#getTime_increment Time increment}' attribute. * * - * - * @param value - * the new value of the 'Time increment' attribute. + * @param value the new value of the 'Time increment' attribute. * @see #getTime_increment() * @generated */ @@ -277,15 +243,14 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Returns the value of the 'Scan time' attribute. * *

- * If the meaning of the 'Scan time' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Scan time' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Scan time' attribute. * @see #setScan_time(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem_Scan_time() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getScan_time(); @@ -294,9 +259,7 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Sets the value of the '{@link org.eclipse.papyrus.RobotML.LidarSystem#getScan_time Scan time}' attribute. * * - * - * @param value - * the new value of the 'Scan time' attribute. + * @param value the new value of the 'Scan time' attribute. * @see #getScan_time() * @generated */ @@ -306,15 +269,14 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Returns the value of the 'Range min' attribute. * *

- * If the meaning of the 'Range min' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Range min' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Range min' attribute. * @see #setRange_min(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem_Range_min() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getRange_min(); @@ -323,9 +285,7 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Sets the value of the '{@link org.eclipse.papyrus.RobotML.LidarSystem#getRange_min Range min}' attribute. * * - * - * @param value - * the new value of the 'Range min' attribute. + * @param value the new value of the 'Range min' attribute. * @see #getRange_min() * @generated */ @@ -335,15 +295,14 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Returns the value of the 'Range max' attribute. * *

- * If the meaning of the 'Range max' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Range max' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Range max' attribute. * @see #setRange_max(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem_Range_max() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getRange_max(); @@ -352,9 +311,7 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Sets the value of the '{@link org.eclipse.papyrus.RobotML.LidarSystem#getRange_max Range max}' attribute. * * - * - * @param value - * the new value of the 'Range max' attribute. + * @param value the new value of the 'Range max' attribute. * @see #getRange_max() * @generated */ @@ -364,15 +321,14 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Returns the value of the 'Nb Rays' attribute. * *

- * If the meaning of the 'Nb Rays' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Nb Rays' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Nb Rays' attribute. * @see #setNbRays(long) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLidarSystem_NbRays() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getNbRays(); @@ -381,9 +337,7 @@ public interface LidarSystem extends ObjectDetectionSensorSystem, ObjectTracking * Sets the value of the '{@link org.eclipse.papyrus.RobotML.LidarSystem#getNbRays Nb Rays}' attribute. * * - * - * @param value - * the new value of the 'Nb Rays' attribute. + * @param value the new value of the 'Nb Rays' attribute. * @see #getNbRays() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/LocalizationSensorSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/LocalizationSensorSystem.java index 957446618e9..d43841590c0 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/LocalizationSensorSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/LocalizationSensorSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Localization Sensor System'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getLocalizationSensorSystem() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ObjectDetectionSensorSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ObjectDetectionSensorSystem.java index eb41524cee2..1ca542b62b6 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ObjectDetectionSensorSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ObjectDetectionSensorSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Object Detection Sensor System'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getObjectDetectionSensorSystem() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ObjectTrackingSensorSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ObjectTrackingSensorSystem.java index 6f0a782852e..c55a49799df 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ObjectTrackingSensorSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ObjectTrackingSensorSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Object Tracking Sensor System'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getObjectTrackingSensorSystem() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/OdometrySystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/OdometrySystem.java index 8f3de693b17..0b277b214ee 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/OdometrySystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/OdometrySystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Odometry System'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getOdometrySystem() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/OnPort.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/OnPort.java index 11e4157571a..bc7c6b5858c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/OnPort.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/OnPort.java @@ -1,46 +1,38 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.ecore.EObject; + import org.eclipse.uml2.uml.Parameter; +// TODO: Auto-generated Javadoc /** * * A representation of the model object 'On Port'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.OnPort#getPort Port}
  • - *
  • {@link org.eclipse.papyrus.RobotML.OnPort#getBase_Parameter Base Parameter}
  • + *
  • {@link org.eclipse.papyrus.RobotML.OnPort#getPort Port}
  • + *
  • {@link org.eclipse.papyrus.RobotML.OnPort#getBase_Parameter Base Parameter}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getOnPort() * @model * @generated */ public interface OnPort extends EObject { - /** * Returns the value of the 'Port' reference. * *

- * If the meaning of the 'Port' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Port' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Port' reference. * @see #setPort(Port) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getOnPort_Port() @@ -53,9 +45,7 @@ public interface OnPort extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.OnPort#getPort Port}' reference. * * - * - * @param value - * the new value of the 'Port' reference. + * @param value the new value of the 'Port' reference. * @see #getPort() * @generated */ @@ -65,10 +55,10 @@ public interface OnPort extends EObject { * Returns the value of the 'Base Parameter' reference. * *

- * If the meaning of the 'Base Parameter' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base Parameter' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base Parameter' reference. * @see #setBase_Parameter(Parameter) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getOnPort_Base_Parameter() @@ -81,9 +71,7 @@ public interface OnPort extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.OnPort#getBase_Parameter Base Parameter}' reference. * * - * - * @param value - * the new value of the 'Base Parameter' reference. + * @param value the new value of the 'Base Parameter' reference. * @see #getBase_Parameter() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/OnProperty.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/OnProperty.java new file mode 100644 index 00000000000..06b7e3fab5a --- /dev/null +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/OnProperty.java @@ -0,0 +1,81 @@ +/** + */ +package org.eclipse.papyrus.RobotML; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Parameter; +import org.eclipse.uml2.uml.Property; + +// TODO: Auto-generated Javadoc +/** + * + * A representation of the model object 'On Property'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.papyrus.RobotML.OnProperty#getProperty Property}
  • + *
  • {@link org.eclipse.papyrus.RobotML.OnProperty#getBase_Parameter Base Parameter}
  • + *
+ *

+ * + * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getOnProperty() + * @model + * @generated + */ +public interface OnProperty extends EObject { + /** + * Returns the value of the 'Property' reference. + * + *

+ * If the meaning of the 'Property' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Property' reference. + * @see #setProperty(Property) + * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getOnProperty_Property() + * @model required="true" ordered="false" + * @generated + */ + Property getProperty(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.RobotML.OnProperty#getProperty Property}' reference. + * + * + * @param value the new value of the 'Property' reference. + * @see #getProperty() + * @generated + */ + void setProperty(Property value); + + /** + * Returns the value of the 'Base Parameter' reference. + * + *

+ * If the meaning of the 'Base Parameter' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Base Parameter' reference. + * @see #setBase_Parameter(Parameter) + * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getOnProperty_Base_Parameter() + * @model required="true" ordered="false" + * @generated + */ + Parameter getBase_Parameter(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.RobotML.OnProperty#getBase_Parameter Base Parameter}' reference. + * + * + * @param value the new value of the 'Base Parameter' reference. + * @see #getBase_Parameter() + * @generated + */ + void setBase_Parameter(Parameter value); + +} // OnProperty diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Pedestrian.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Pedestrian.java index b80ef657f3e..eb32862ab33 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Pedestrian.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Pedestrian.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Pedestrian'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getPedestrian() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/PhysicalObject.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/PhysicalObject.java index edc9fb9423a..a64e074a42b 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/PhysicalObject.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/PhysicalObject.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.common.util.EList; @@ -17,30 +8,29 @@ import org.eclipse.emf.common.util.EList; * * A representation of the model object 'Physical Object'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.PhysicalObject#getEvelovesIn Eveloves In}
  • - *
  • {@link org.eclipse.papyrus.RobotML.PhysicalObject#getHasSurface Has Surface}
  • + *
  • {@link org.eclipse.papyrus.RobotML.PhysicalObject#getEvelovesIn Eveloves In}
  • + *
  • {@link org.eclipse.papyrus.RobotML.PhysicalObject#getHasSurface Has Surface}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getPhysicalObject() * @model * @generated */ public interface PhysicalObject extends org.eclipse.papyrus.RobotML.System { - /** * Returns the value of the 'Eveloves In' reference list. * The list contents are of type {@link org.eclipse.papyrus.RobotML.Environment}. * *

- * If the meaning of the 'Eveloves In' reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Eveloves In' reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Eveloves In' reference list. * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getPhysicalObject_EvelovesIn() * @model ordered="false" @@ -52,10 +42,10 @@ public interface PhysicalObject extends org.eclipse.papyrus.RobotML.System { * Returns the value of the 'Has Surface' reference. * *

- * If the meaning of the 'Has Surface' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Has Surface' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Has Surface' reference. * @see #setHasSurface(Surface) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getPhysicalObject_HasSurface() @@ -68,9 +58,7 @@ public interface PhysicalObject extends org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.PhysicalObject#getHasSurface Has Surface}' reference. * * - * - * @param value - * the new value of the 'Has Surface' reference. + * @param value the new value of the 'Has Surface' reference. * @see #getHasSurface() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Planet.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Planet.java index 7b6fabb82df..7de7d823993 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Planet.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Planet.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Planet'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getPlanet() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Platform.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Platform.java index 555e67fd759..e00148ac019 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Platform.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Platform.java @@ -1,44 +1,37 @@ -/***************************************************************************** - * 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.RobotML; +import org.eclipse.emf.common.util.EList; + import org.eclipse.uml2.uml.Node; /** * * A representation of the model object 'Platform'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.Platform#getBase_Node Base Node}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Platform#getBase_Node Base Node}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Platform#getLibrary Library}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getPlatform() * @model * @generated */ public interface Platform extends org.eclipse.papyrus.RobotML.System { - /** * Returns the value of the 'Base Node' reference. * *

- * If the meaning of the 'Base Node' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base Node' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base Node' reference. * @see #setBase_Node(Node) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getPlatform_Base_Node() @@ -51,12 +44,26 @@ public interface Platform extends org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Platform#getBase_Node Base Node}' reference. * * - * - * @param value - * the new value of the 'Base Node' reference. + * @param value the new value of the 'Base Node' reference. * @see #getBase_Node() * @generated */ void setBase_Node(Node value); + /** + * Returns the value of the 'Library' reference list. + * The list contents are of type {@link org.eclipse.papyrus.RobotML.ExternalLibrary}. + * + *

+ * If the meaning of the 'Library' reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Library' reference list. + * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getPlatform_Library() + * @model ordered="false" + * @generated + */ + EList getLibrary(); + } // Platform diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Port.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Port.java index 4bbfd60e6b9..fd7e40bfb40 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Port.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Port.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.ecore.EObject; @@ -17,29 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Port'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.Port#getBase_Port Base Port}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Port#getSynchronizationPolicy Synchronization Policy}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Port#getBase_Port Base Port}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Port#getSynchronizationPolicy Synchronization Policy}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getPort() * @model abstract="true" * @generated */ public interface Port extends EObject { - /** * Returns the value of the 'Base Port' reference. * *

- * If the meaning of the 'Base Port' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base Port' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base Port' reference. * @see #setBase_Port(org.eclipse.uml2.uml.Port) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getPort_Base_Port() @@ -52,9 +42,7 @@ public interface Port extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Port#getBase_Port Base Port}' reference. * * - * - * @param value - * the new value of the 'Base Port' reference. + * @param value the new value of the 'Base Port' reference. * @see #getBase_Port() * @generated */ @@ -65,10 +53,10 @@ public interface Port extends EObject { * The literals are from the enumeration {@link org.eclipse.papyrus.RobotML.SynchronizationKind}. * *

- * If the meaning of the 'Synchronization Policy' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Synchronization Policy' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Synchronization Policy' attribute. * @see org.eclipse.papyrus.RobotML.SynchronizationKind * @see #setSynchronizationPolicy(SynchronizationKind) @@ -82,9 +70,7 @@ public interface Port extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Port#getSynchronizationPolicy Synchronization Policy}' attribute. * * - * - * @param value - * the new value of the 'Synchronization Policy' attribute. + * @param value the new value of the 'Synchronization Policy' attribute. * @see org.eclipse.papyrus.RobotML.SynchronizationKind * @see #getSynchronizationPolicy() * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/PrimitiveData.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/PrimitiveData.java index 103f3d0f0e5..b41c08c5124 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/PrimitiveData.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/PrimitiveData.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.uml2.uml.PrimitiveType; @@ -17,28 +8,27 @@ import org.eclipse.uml2.uml.PrimitiveType; * * A representation of the model object 'Primitive Data'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.PrimitiveData#getBase_PrimitiveType Base Primitive Type}
  • + *
  • {@link org.eclipse.papyrus.RobotML.PrimitiveData#getBase_PrimitiveType Base Primitive Type}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getPrimitiveData() * @model * @generated */ public interface PrimitiveData extends DataType { - /** * Returns the value of the 'Base Primitive Type' reference. * *

- * If the meaning of the 'Base Primitive Type' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base Primitive Type' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base Primitive Type' reference. * @see #setBase_PrimitiveType(PrimitiveType) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getPrimitiveData_Base_PrimitiveType() @@ -51,9 +41,7 @@ public interface PrimitiveData extends DataType { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.PrimitiveData#getBase_PrimitiveType Base Primitive Type}' reference. * * - * - * @param value - * the new value of the 'Base Primitive Type' reference. + * @param value the new value of the 'Base Primitive Type' reference. * @see #getBase_PrimitiveType() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Robot.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Robot.java index ea432b7d61b..2d0fa8d519c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Robot.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Robot.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,38 +7,37 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Robot'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.Robot#getKind Kind}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Robot#getMass Mass}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Robot#getWidth Width}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Robot#getUgvKind Ugv Kind}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Robot#getKind Kind}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Robot#getMass Mass}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Robot#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Robot#getUgvKind Ugv Kind}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getRobot() * @model * @generated */ public interface Robot extends Agent, org.eclipse.papyrus.RobotML.System { - /** * Returns the value of the 'Kind' attribute. - * The default value is "UGV". + * The default value is "UGVcar". * The literals are from the enumeration {@link org.eclipse.papyrus.RobotML.RobotKind}. * *

- * If the meaning of the 'Kind' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Kind' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Kind' attribute. * @see org.eclipse.papyrus.RobotML.RobotKind * @see #setKind(RobotKind) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getRobot_Kind() - * @model default="UGV" required="true" ordered="false" + * @model default="UGVcar" required="true" ordered="false" * @generated */ RobotKind getKind(); @@ -56,9 +46,7 @@ public interface Robot extends Agent, org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Robot#getKind Kind}' attribute. * * - * - * @param value - * the new value of the 'Kind' attribute. + * @param value the new value of the 'Kind' attribute. * @see org.eclipse.papyrus.RobotML.RobotKind * @see #getKind() * @generated @@ -69,15 +57,14 @@ public interface Robot extends Agent, org.eclipse.papyrus.RobotML.System { * Returns the value of the 'Mass' attribute. * *

- * If the meaning of the 'Mass' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Mass' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Mass' attribute. * @see #setMass(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getRobot_Mass() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getMass(); @@ -86,9 +73,7 @@ public interface Robot extends Agent, org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Robot#getMass Mass}' attribute. * * - * - * @param value - * the new value of the 'Mass' attribute. + * @param value the new value of the 'Mass' attribute. * @see #getMass() * @generated */ @@ -98,15 +83,14 @@ public interface Robot extends Agent, org.eclipse.papyrus.RobotML.System { * Returns the value of the 'Width' attribute. * *

- * If the meaning of the 'Width' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Width' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Width' attribute. * @see #setWidth(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getRobot_Width() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWidth(); @@ -115,9 +99,7 @@ public interface Robot extends Agent, org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Robot#getWidth Width}' attribute. * * - * - * @param value - * the new value of the 'Width' attribute. + * @param value the new value of the 'Width' attribute. * @see #getWidth() * @generated */ @@ -128,10 +110,10 @@ public interface Robot extends Agent, org.eclipse.papyrus.RobotML.System { * The literals are from the enumeration {@link org.eclipse.papyrus.RobotML.UGVKind}. * *

- * If the meaning of the 'Ugv Kind' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Ugv Kind' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Ugv Kind' attribute. * @see org.eclipse.papyrus.RobotML.UGVKind * @see #setUgvKind(UGVKind) @@ -145,9 +127,7 @@ public interface Robot extends Agent, org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Robot#getUgvKind Ugv Kind}' attribute. * * - * - * @param value - * the new value of the 'Ugv Kind' attribute. + * @param value the new value of the 'Ugv Kind' attribute. * @see org.eclipse.papyrus.RobotML.UGVKind * @see #getUgvKind() * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RobotKind.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RobotKind.java index 0c719064a3b..8de5e9a743d 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RobotKind.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RobotKind.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import java.util.Arrays; @@ -22,7 +13,6 @@ import org.eclipse.emf.common.util.Enumerator; * A representation of the literals of the enumeration 'Robot Kind', * and utility methods for working with them. * - * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getRobotKind() * @model * @generated @@ -32,7 +22,6 @@ public enum RobotKind implements Enumerator { * The 'UUV' literal object. * * - * * @see #UUV_VALUE * @generated * @ordered @@ -43,25 +32,26 @@ public enum RobotKind implements Enumerator { * The 'UG Vcar' literal object. * * - * * @see #UG_VCAR_VALUE * @generated * @ordered */ - UG_VCAR(1, "UGVcar", "UGVcar"), /** + UG_VCAR(1, "UGVcar", "UGVcar"), + + /** * The 'UG Vdifferential' literal object. * * - * * @see #UG_VDIFFERENTIAL_VALUE * @generated * @ordered */ - UG_VDIFFERENTIAL(2, "UGVdifferential", "UGVdifferential"), /** + UG_VDIFFERENTIAL(2, "UGVdifferential", "UGVdifferential"), + + /** * The 'UAV' literal object. * * - * * @see #UAV_VALUE * @generated * @ordered @@ -72,7 +62,6 @@ public enum RobotKind implements Enumerator { * The 'USV' literal object. * * - * * @see #USV_VALUE * @generated * @ordered @@ -83,7 +72,6 @@ public enum RobotKind implements Enumerator { * The 'Piloted' literal object. * * - * * @see #PILOTED_VALUE * @generated * @ordered @@ -94,10 +82,10 @@ public enum RobotKind implements Enumerator { * The 'UUV' literal value. * *

- * If the meaning of 'UUV' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'UUV' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #UUV * @model * @generated @@ -109,10 +97,10 @@ public enum RobotKind implements Enumerator { * The 'UG Vcar' literal value. * *

- * If the meaning of 'UG Vcar' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'UG Vcar' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #UG_VCAR * @model name="UGVcar" * @generated @@ -124,10 +112,10 @@ public enum RobotKind implements Enumerator { * The 'UG Vdifferential' literal value. * *

- * If the meaning of 'UG Vdifferential' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'UG Vdifferential' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #UG_VDIFFERENTIAL * @model name="UGVdifferential" * @generated @@ -139,10 +127,10 @@ public enum RobotKind implements Enumerator { * The 'UAV' literal value. * *

- * If the meaning of 'UAV' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'UAV' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #UAV * @model * @generated @@ -154,10 +142,10 @@ public enum RobotKind implements Enumerator { * The 'USV' literal value. * *

- * If the meaning of 'USV' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'USV' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #USV * @model * @generated @@ -169,10 +157,10 @@ public enum RobotKind implements Enumerator { * The 'Piloted' literal value. * *

- * If the meaning of 'Piloted' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'Piloted' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #PILOTED * @model name="piloted" * @generated @@ -184,16 +172,22 @@ public enum RobotKind implements Enumerator { * An array of all the 'Robot Kind' enumerators. * * - * * @generated */ - private static final RobotKind[] VALUES_ARRAY = new RobotKind[]{ UUV, UG_VCAR, UG_VDIFFERENTIAL, UAV, USV, PILOTED, }; + private static final RobotKind[] VALUES_ARRAY = + new RobotKind[] { + UUV, + UG_VCAR, + UG_VDIFFERENTIAL, + UAV, + USV, + PILOTED, + }; /** * A public read-only list of all the 'Robot Kind' enumerators. * * - * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); @@ -202,13 +196,12 @@ public enum RobotKind implements Enumerator { * Returns the 'Robot Kind' literal with the specified literal value. * * - * * @generated */ public static RobotKind get(String literal) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { RobotKind result = VALUES_ARRAY[i]; - if(result.toString().equals(literal)) { + if (result.toString().equals(literal)) { return result; } } @@ -219,13 +212,12 @@ public enum RobotKind implements Enumerator { * Returns the 'Robot Kind' literal with the specified name. * * - * * @generated */ public static RobotKind getByName(String name) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { RobotKind result = VALUES_ARRAY[i]; - if(result.getName().equals(name)) { + if (result.getName().equals(name)) { return result; } } @@ -236,23 +228,16 @@ public enum RobotKind implements Enumerator { * Returns the 'Robot Kind' literal with the specified integer value. * * - * * @generated */ public static RobotKind get(int value) { - switch(value) { - case UUV_VALUE: - return UUV; - case UG_VCAR_VALUE: - return UG_VCAR; - case UG_VDIFFERENTIAL_VALUE: - return UG_VDIFFERENTIAL; - case UAV_VALUE: - return UAV; - case USV_VALUE: - return USV; - case PILOTED_VALUE: - return PILOTED; + switch (value) { + case UUV_VALUE: return UUV; + case UG_VCAR_VALUE: return UG_VCAR; + case UG_VDIFFERENTIAL_VALUE: return UG_VDIFFERENTIAL; + case UAV_VALUE: return UAV; + case USV_VALUE: return USV; + case PILOTED_VALUE: return PILOTED; } return null; } @@ -260,7 +245,6 @@ public enum RobotKind implements Enumerator { /** * * - * * @generated */ private final int value; @@ -268,7 +252,6 @@ public enum RobotKind implements Enumerator { /** * * - * * @generated */ private final String name; @@ -276,7 +259,6 @@ public enum RobotKind implements Enumerator { /** * * - * * @generated */ private final String literal; @@ -285,7 +267,6 @@ public enum RobotKind implements Enumerator { * Only this class can construct instances. * * - * * @generated */ private RobotKind(int value, String name, String literal) { @@ -297,43 +278,39 @@ public enum RobotKind implements Enumerator { /** * * - * * @generated */ public int getValue() { - return value; + return value; } /** * * - * * @generated */ public String getName() { - return name; + return name; } /** * * - * * @generated */ public String getLiteral() { - return literal; + return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * * - * * @generated */ @Override public String toString() { return literal; } - + } //RobotKind diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RobotMLFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RobotMLFactory.java index 71546ab6348..eeacf5171d4 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RobotMLFactory.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RobotMLFactory.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.ecore.EFactory; @@ -18,17 +9,14 @@ import org.eclipse.emf.ecore.EFactory; * The Factory for the model. * It provides a create method for each non-abstract class of the model. * - * * @see org.eclipse.papyrus.RobotML.RobotMLPackage * @generated */ public interface RobotMLFactory extends EFactory { - /** * The singleton instance of the factory. * * - * * @generated */ RobotMLFactory eINSTANCE = org.eclipse.papyrus.RobotML.impl.RobotMLFactoryImpl.init(); @@ -37,7 +25,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Transition'. * * - * * @return a new object of class 'Transition'. * @generated */ @@ -47,17 +34,24 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Algorithm'. * * - * * @return a new object of class 'Algorithm'. * @generated */ Algorithm createAlgorithm(); + /** + * Returns a new object of class 'State'. + * + * + * @return a new object of class 'State'. + * @generated + */ + State createState(); + /** * Returns a new object of class 'Robot'. * * - * * @return a new object of class 'Robot'. * @generated */ @@ -67,7 +61,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'System'. * * - * * @return a new object of class 'System'. * @generated */ @@ -77,7 +70,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Agent'. * * - * * @return a new object of class 'Agent'. * @generated */ @@ -87,7 +79,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Physical Object'. * * - * * @return a new object of class 'Physical Object'. * @generated */ @@ -97,7 +88,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Environment'. * * - * * @return a new object of class 'Environment'. * @generated */ @@ -107,7 +97,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Surface'. * * - * * @return a new object of class 'Surface'. * @generated */ @@ -117,7 +106,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Data Flow Port'. * * - * * @return a new object of class 'Data Flow Port'. * @generated */ @@ -127,7 +115,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Service Port'. * * - * * @return a new object of class 'Service Port'. * @generated */ @@ -137,7 +124,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Actuator System'. * * - * * @return a new object of class 'Actuator System'. * @generated */ @@ -147,7 +133,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Robotic System'. * * - * * @return a new object of class 'Robotic System'. * @generated */ @@ -157,7 +142,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Sensor System'. * * - * * @return a new object of class 'Sensor System'. * @generated */ @@ -167,7 +151,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Hardware'. * * - * * @return a new object of class 'Hardware'. * @generated */ @@ -177,7 +160,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Software'. * * - * * @return a new object of class 'Software'. * @generated */ @@ -187,7 +169,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Primitive Data'. * * - * * @return a new object of class 'Primitive Data'. * @generated */ @@ -197,7 +178,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Data Type'. * * - * * @return a new object of class 'Data Type'. * @generated */ @@ -207,7 +187,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Engine System'. * * - * * @return a new object of class 'Engine System'. * @generated */ @@ -217,7 +196,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Wheel System'. * * - * * @return a new object of class 'Wheel System'. * @generated */ @@ -227,7 +205,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Image Sensor System'. * * - * * @return a new object of class 'Image Sensor System'. * @generated */ @@ -237,7 +214,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Camera System'. * * - * * @return a new object of class 'Camera System'. * @generated */ @@ -247,7 +223,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Object Detection Sensor System'. * * - * * @return a new object of class 'Object Detection Sensor System'. * @generated */ @@ -257,7 +232,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Object Tracking Sensor System'. * * - * * @return a new object of class 'Object Tracking Sensor System'. * @generated */ @@ -267,7 +241,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Lidar System'. * * - * * @return a new object of class 'Lidar System'. * @generated */ @@ -277,7 +250,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Localization Sensor System'. * * - * * @return a new object of class 'Localization Sensor System'. * @generated */ @@ -287,7 +259,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'GPS System'. * * - * * @return a new object of class 'GPS System'. * @generated */ @@ -297,7 +268,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Simulated System'. * * - * * @return a new object of class 'Simulated System'. * @generated */ @@ -307,27 +277,15 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Algorithm Library'. * * - * * @return a new object of class 'Algorithm Library'. * @generated */ AlgorithmLibrary createAlgorithmLibrary(); - /** - * Returns a new object of class 'State'. - * - * - * - * @return a new object of class 'State'. - * @generated - */ - State createState(); - /** * Returns a new object of class 'Sensor Driver'. * * - * * @return a new object of class 'Sensor Driver'. * @generated */ @@ -337,7 +295,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Building'. * * - * * @return a new object of class 'Building'. * @generated */ @@ -347,7 +304,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Planet'. * * - * * @return a new object of class 'Planet'. * @generated */ @@ -357,7 +313,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Land Surface'. * * - * * @return a new object of class 'Land Surface'. * @generated */ @@ -367,7 +322,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Floor'. * * - * * @return a new object of class 'Floor'. * @generated */ @@ -377,7 +331,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Water Surface'. * * - * * @return a new object of class 'Water Surface'. * @generated */ @@ -387,7 +340,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Human'. * * - * * @return a new object of class 'Human'. * @generated */ @@ -397,7 +349,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Pedestrian'. * * - * * @return a new object of class 'Pedestrian'. * @generated */ @@ -407,7 +358,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Stairs'. * * - * * @return a new object of class 'Stairs'. * @generated */ @@ -417,17 +367,24 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Platform'. * * - * * @return a new object of class 'Platform'. * @generated */ Platform createPlatform(); + /** + * Returns a new object of class 'External Library'. + * + * + * @return a new object of class 'External Library'. + * @generated + */ + ExternalLibrary createExternalLibrary(); + /** * Returns a new object of class 'Robotic Middleware'. * * - * * @return a new object of class 'Robotic Middleware'. * @generated */ @@ -437,7 +394,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Robotic Simulator'. * * - * * @return a new object of class 'Robotic Simulator'. * @generated */ @@ -447,7 +403,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Cycab TK'. * * - * * @return a new object of class 'Cycab TK'. * @generated */ @@ -457,7 +412,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Blender Morse'. * * - * * @return a new object of class 'Blender Morse'. * @generated */ @@ -467,7 +421,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'On Port'. * * - * * @return a new object of class 'On Port'. * @generated */ @@ -477,7 +430,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Allocate'. * * - * * @return a new object of class 'Allocate'. * @generated */ @@ -487,7 +439,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Inertial Measurement Unit System'. * * - * * @return a new object of class 'Inertial Measurement Unit System'. * @generated */ @@ -497,7 +448,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Inertial Navigation System'. * * - * * @return a new object of class 'Inertial Navigation System'. * @generated */ @@ -507,7 +457,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Odometry System'. * * - * * @return a new object of class 'Odometry System'. * @generated */ @@ -517,7 +466,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Infra Red Proximetry System'. * * - * * @return a new object of class 'Infra Red Proximetry System'. * @generated */ @@ -527,7 +475,6 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Deployment Plan'. * * - * * @return a new object of class 'Deployment Plan'. * @generated */ @@ -537,17 +484,24 @@ public interface RobotMLFactory extends EFactory { * Returns a new object of class 'Gyroscope'. * * - * * @return a new object of class 'Gyroscope'. * @generated */ Gyroscope createGyroscope(); + /** + * Returns a new object of class 'On Property'. + * + * + * @return a new object of class 'On Property'. + * @generated + */ + OnProperty createOnProperty(); + /** * Returns the package supported by this factory. * * - * * @return the package supported by this factory. * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RobotMLPackage.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RobotMLPackage.java index 08ae91bb636..89afc31a9f5 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RobotMLPackage.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RobotMLPackage.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.ecore.EAttribute; @@ -22,24 +13,22 @@ import org.eclipse.emf.ecore.EReference; * The Package for the model. * It contains accessors for the meta objects to represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @see org.eclipse.papyrus.RobotML.RobotMLFactory * @model kind="package" * @generated */ public interface RobotMLPackage extends EPackage { - /** * The package name. * * - * * @generated */ String eNAME = "RobotML"; @@ -48,7 +37,6 @@ public interface RobotMLPackage extends EPackage { * The package namespace URI. * * - * * @generated */ String eNS_URI = "http://Papyrus/RobotML/1"; @@ -57,7 +45,6 @@ public interface RobotMLPackage extends EPackage { * The package namespace name. * * - * * @generated */ String eNS_PREFIX = "RobotML"; @@ -66,7 +53,6 @@ public interface RobotMLPackage extends EPackage { * The singleton instance of the package. * * - * * @generated */ RobotMLPackage eINSTANCE = org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl.init(); @@ -75,7 +61,6 @@ public interface RobotMLPackage extends EPackage { * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.TransitionImpl Transition}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.TransitionImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getTransition() * @generated @@ -86,7 +71,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Transition' reference. * * - * * @generated * @ordered */ @@ -96,7 +80,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Guard' reference. * * - * * @generated * @ordered */ @@ -106,7 +89,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Effect' reference. * * - * * @generated * @ordered */ @@ -116,17 +98,24 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Transition' class. * * - * * @generated * @ordered */ int TRANSITION_FEATURE_COUNT = 3; + /** + * The number of operations of the 'Transition' class. + * + * + * @generated + * @ordered + */ + int TRANSITION_OPERATION_COUNT = 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl Algorithm}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.AlgorithmImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getAlgorithm() * @generated @@ -137,7 +126,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Operation' reference. * * - * * @generated * @ordered */ @@ -147,7 +135,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Is External' attribute. * * - * * @generated * @ordered */ @@ -157,7 +144,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Ext Function Name' attribute. * * - * * @generated * @ordered */ @@ -167,7 +153,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Lib Path' attribute. * * - * * @generated * @ordered */ @@ -177,7 +162,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Lib File Format' attribute. * * - * * @generated * @ordered */ @@ -187,28 +171,80 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Algorithm' class. * * - * * @generated * @ordered */ int ALGORITHM_FEATURE_COUNT = 5; + /** + * The number of operations of the 'Algorithm' class. + * + * + * @generated + * @ordered + */ + int ALGORITHM_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.StateImpl State}' class. + * + * + * @see org.eclipse.papyrus.RobotML.impl.StateImpl + * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getState() + * @generated + */ + int STATE = 2; + + /** + * The feature id for the 'Base State' reference. + * + * + * @generated + * @ordered + */ + int STATE__BASE_STATE = 0; + + /** + * The feature id for the 'Behavior' reference. + * + * + * @generated + * @ordered + */ + int STATE__BEHAVIOR = 1; + + /** + * The number of structural features of the 'State' class. + * + * + * @generated + * @ordered + */ + int STATE_FEATURE_COUNT = 2; + + /** + * The number of operations of the 'State' class. + * + * + * @generated + * @ordered + */ + int STATE_OPERATION_COUNT = 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.SystemImpl System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.SystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSystem() * @generated */ - int SYSTEM = 3; + int SYSTEM = 4; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -218,7 +254,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -228,7 +263,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -238,7 +272,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -248,28 +281,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'System' class. * * - * * @generated * @ordered */ int SYSTEM_FEATURE_COUNT = 4; + /** + * The number of operations of the 'System' class. + * + * + * @generated + * @ordered + */ + int SYSTEM_OPERATION_COUNT = 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl Physical Object}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getPhysicalObject() * @generated */ - int PHYSICAL_OBJECT = 5; + int PHYSICAL_OBJECT = 6; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -279,7 +318,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -289,7 +327,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -299,7 +336,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -309,7 +345,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -319,7 +354,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -329,28 +363,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Physical Object' class. * * - * * @generated * @ordered */ int PHYSICAL_OBJECT_FEATURE_COUNT = SYSTEM_FEATURE_COUNT + 2; + /** + * The number of operations of the 'Physical Object' class. + * + * + * @generated + * @ordered + */ + int PHYSICAL_OBJECT_OPERATION_COUNT = SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.AgentImpl Agent}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.AgentImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getAgent() * @generated */ - int AGENT = 4; + int AGENT = 5; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -360,7 +400,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -370,7 +409,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -380,7 +418,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -390,7 +427,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -400,7 +436,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -410,7 +445,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Moves Over' reference list. * * - * * @generated * @ordered */ @@ -420,28 +454,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Agent' class. * * - * * @generated * @ordered */ int AGENT_FEATURE_COUNT = PHYSICAL_OBJECT_FEATURE_COUNT + 1; + /** + * The number of operations of the 'Agent' class. + * + * + * @generated + * @ordered + */ + int AGENT_OPERATION_COUNT = PHYSICAL_OBJECT_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.RobotImpl Robot}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.RobotImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getRobot() * @generated */ - int ROBOT = 2; + int ROBOT = 3; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -451,7 +491,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -461,7 +500,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -471,7 +509,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -481,7 +518,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -491,7 +527,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -501,7 +536,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Moves Over' reference list. * * - * * @generated * @ordered */ @@ -511,7 +545,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Kind' attribute. * * - * * @generated * @ordered */ @@ -521,7 +554,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Mass' attribute. * * - * * @generated * @ordered */ @@ -531,7 +563,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Width' attribute. * * - * * @generated * @ordered */ @@ -541,7 +572,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Ugv Kind' attribute. * * - * * @generated * @ordered */ @@ -551,28 +581,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Robot' class. * * - * * @generated * @ordered */ int ROBOT_FEATURE_COUNT = AGENT_FEATURE_COUNT + 4; + /** + * The number of operations of the 'Robot' class. + * + * + * @generated + * @ordered + */ + int ROBOT_OPERATION_COUNT = AGENT_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.EnvironmentImpl Environment}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.EnvironmentImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getEnvironment() * @generated */ - int ENVIRONMENT = 6; + int ENVIRONMENT = 7; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -582,7 +618,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -592,7 +627,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -602,7 +636,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -612,28 +645,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Environment' class. * * - * * @generated * @ordered */ int ENVIRONMENT_FEATURE_COUNT = SYSTEM_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Environment' class. + * + * + * @generated + * @ordered + */ + int ENVIRONMENT_OPERATION_COUNT = SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.SurfaceImpl Surface}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.SurfaceImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSurface() * @generated */ - int SURFACE = 7; + int SURFACE = 8; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -643,7 +682,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -653,7 +691,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -663,7 +700,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -673,7 +709,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -683,7 +718,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -693,28 +727,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Surface' class. * * - * * @generated * @ordered */ int SURFACE_FEATURE_COUNT = PHYSICAL_OBJECT_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Surface' class. + * + * + * @generated + * @ordered + */ + int SURFACE_OPERATION_COUNT = PHYSICAL_OBJECT_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.PortImpl Port}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.PortImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getPort() * @generated */ - int PORT = 9; + int PORT = 10; /** * The feature id for the 'Base Port' reference. * * - * * @generated * @ordered */ @@ -724,7 +764,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Synchronization Policy' attribute. * * - * * @generated * @ordered */ @@ -734,28 +773,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Port' class. * * - * * @generated * @ordered */ int PORT_FEATURE_COUNT = 2; + /** + * The number of operations of the 'Port' class. + * + * + * @generated + * @ordered + */ + int PORT_OPERATION_COUNT = 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.DataFlowPortImpl Data Flow Port}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.DataFlowPortImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getDataFlowPort() * @generated */ - int DATA_FLOW_PORT = 8; + int DATA_FLOW_PORT = 9; /** * The feature id for the 'Base Port' reference. * * - * * @generated * @ordered */ @@ -765,7 +810,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Synchronization Policy' attribute. * * - * * @generated * @ordered */ @@ -775,7 +819,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Direction' attribute. * * - * * @generated * @ordered */ @@ -785,7 +828,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Buffer Size' attribute. * * - * * @generated * @ordered */ @@ -795,28 +837,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Data Flow Port' class. * * - * * @generated * @ordered */ int DATA_FLOW_PORT_FEATURE_COUNT = PORT_FEATURE_COUNT + 2; + /** + * The number of operations of the 'Data Flow Port' class. + * + * + * @generated + * @ordered + */ + int DATA_FLOW_PORT_OPERATION_COUNT = PORT_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.ServicePortImpl Service Port}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.ServicePortImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getServicePort() * @generated */ - int SERVICE_PORT = 10; + int SERVICE_PORT = 11; /** * The feature id for the 'Base Port' reference. * * - * * @generated * @ordered */ @@ -826,7 +874,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Synchronization Policy' attribute. * * - * * @generated * @ordered */ @@ -836,7 +883,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Kind' attribute. * * - * * @generated * @ordered */ @@ -846,28 +892,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Service Port' class. * * - * * @generated * @ordered */ int SERVICE_PORT_FEATURE_COUNT = PORT_FEATURE_COUNT + 1; + /** + * The number of operations of the 'Service Port' class. + * + * + * @generated + * @ordered + */ + int SERVICE_PORT_OPERATION_COUNT = PORT_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.RoboticSystemImpl Robotic System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.RoboticSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getRoboticSystem() * @generated */ - int ROBOTIC_SYSTEM = 12; + int ROBOTIC_SYSTEM = 13; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -877,7 +929,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -887,7 +938,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -897,7 +947,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -907,7 +956,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -917,7 +965,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -927,28 +974,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Robotic System' class. * * - * * @generated * @ordered */ int ROBOTIC_SYSTEM_FEATURE_COUNT = SYSTEM_FEATURE_COUNT + 2; + /** + * The number of operations of the 'Robotic System' class. + * + * + * @generated + * @ordered + */ + int ROBOTIC_SYSTEM_OPERATION_COUNT = SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.ActuatorSystemImpl Actuator System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.ActuatorSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getActuatorSystem() * @generated */ - int ACTUATOR_SYSTEM = 11; + int ACTUATOR_SYSTEM = 12; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -958,7 +1011,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -968,7 +1020,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -978,7 +1029,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -988,7 +1038,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -998,7 +1047,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -1008,28 +1056,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Actuator System' class. * * - * * @generated * @ordered */ int ACTUATOR_SYSTEM_FEATURE_COUNT = ROBOTIC_SYSTEM_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Actuator System' class. + * + * + * @generated + * @ordered + */ + int ACTUATOR_SYSTEM_OPERATION_COUNT = ROBOTIC_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.SensorSystemImpl Sensor System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.SensorSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSensorSystem() * @generated */ - int SENSOR_SYSTEM = 13; + int SENSOR_SYSTEM = 14; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -1039,7 +1093,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -1049,7 +1102,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -1059,7 +1111,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -1069,7 +1120,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -1079,7 +1129,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -1089,7 +1138,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ @@ -1099,7 +1147,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ @@ -1109,28 +1156,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Sensor System' class. * * - * * @generated * @ordered */ int SENSOR_SYSTEM_FEATURE_COUNT = ROBOTIC_SYSTEM_FEATURE_COUNT + 2; + /** + * The number of operations of the 'Sensor System' class. + * + * + * @generated + * @ordered + */ + int SENSOR_SYSTEM_OPERATION_COUNT = ROBOTIC_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.HardwareImpl Hardware}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.HardwareImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getHardware() * @generated */ - int HARDWARE = 14; + int HARDWARE = 15; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -1140,7 +1193,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -1150,7 +1202,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -1160,7 +1211,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -1170,28 +1220,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Hardware' class. * * - * * @generated * @ordered */ int HARDWARE_FEATURE_COUNT = SYSTEM_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Hardware' class. + * + * + * @generated + * @ordered + */ + int HARDWARE_OPERATION_COUNT = SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl Software}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.SoftwareImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSoftware() * @generated */ - int SOFTWARE = 15; + int SOFTWARE = 16; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -1201,7 +1257,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -1211,7 +1266,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -1221,7 +1275,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -1231,7 +1284,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Is Periodic' attribute. * * - * * @generated * @ordered */ @@ -1241,7 +1293,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Period' attribute. * * - * * @generated * @ordered */ @@ -1251,7 +1302,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Priority' attribute. * * - * * @generated * @ordered */ @@ -1261,7 +1311,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Deadline' attribute. * * - * * @generated * @ordered */ @@ -1271,7 +1320,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wcet' attribute. * * - * * @generated * @ordered */ @@ -1281,28 +1329,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Software' class. * * - * * @generated * @ordered */ int SOFTWARE_FEATURE_COUNT = SYSTEM_FEATURE_COUNT + 5; + /** + * The number of operations of the 'Software' class. + * + * + * @generated + * @ordered + */ + int SOFTWARE_OPERATION_COUNT = SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.DataTypeImpl Data Type}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.DataTypeImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getDataType() * @generated */ - int DATA_TYPE = 17; + int DATA_TYPE = 18; /** * The feature id for the 'Base Data Type' reference. * * - * * @generated * @ordered */ @@ -1312,7 +1366,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -1322,7 +1375,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -1332,28 +1384,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Data Type' class. * * - * * @generated * @ordered */ int DATA_TYPE_FEATURE_COUNT = 3; + /** + * The number of operations of the 'Data Type' class. + * + * + * @generated + * @ordered + */ + int DATA_TYPE_OPERATION_COUNT = 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.PrimitiveDataImpl Primitive Data}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.PrimitiveDataImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getPrimitiveData() * @generated */ - int PRIMITIVE_DATA = 16; + int PRIMITIVE_DATA = 17; /** * The feature id for the 'Base Data Type' reference. * * - * * @generated * @ordered */ @@ -1363,7 +1421,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -1373,7 +1430,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -1383,7 +1439,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Primitive Type' reference. * * - * * @generated * @ordered */ @@ -1393,28 +1448,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Primitive Data' class. * * - * * @generated * @ordered */ int PRIMITIVE_DATA_FEATURE_COUNT = DATA_TYPE_FEATURE_COUNT + 1; + /** + * The number of operations of the 'Primitive Data' class. + * + * + * @generated + * @ordered + */ + int PRIMITIVE_DATA_OPERATION_COUNT = DATA_TYPE_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl Engine System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.EngineSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getEngineSystem() * @generated */ - int ENGINE_SYSTEM = 18; + int ENGINE_SYSTEM = 19; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -1424,7 +1485,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -1434,7 +1494,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -1444,7 +1503,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -1454,7 +1512,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -1464,7 +1521,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -1474,7 +1530,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Vehicle Traction' attribute. * * - * * @generated * @ordered */ @@ -1484,7 +1539,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Max Engine Force' attribute. * * - * * @generated * @ordered */ @@ -1494,7 +1548,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Max Breaking Force' attribute. * * - * * @generated * @ordered */ @@ -1504,7 +1557,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Max Allowed Steering' attribute. * * - * * @generated * @ordered */ @@ -1514,7 +1566,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Max Allowed Velocity' attribute. * * - * * @generated * @ordered */ @@ -1524,7 +1575,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Gear ration' attribute. * * - * * @generated * @ordered */ @@ -1534,28 +1584,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Engine System' class. * * - * * @generated * @ordered */ int ENGINE_SYSTEM_FEATURE_COUNT = ACTUATOR_SYSTEM_FEATURE_COUNT + 6; + /** + * The number of operations of the 'Engine System' class. + * + * + * @generated + * @ordered + */ + int ENGINE_SYSTEM_OPERATION_COUNT = ACTUATOR_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl Wheel System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.WheelSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getWheelSystem() * @generated */ - int WHEEL_SYSTEM = 19; + int WHEEL_SYSTEM = 20; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -1565,7 +1621,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -1575,7 +1630,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -1585,7 +1639,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -1595,7 +1648,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -1605,7 +1657,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -1615,7 +1666,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wheel Radius' attribute. * * - * * @generated * @ordered */ @@ -1625,7 +1675,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wheel Width' attribute. * * - * * @generated * @ordered */ @@ -1635,7 +1684,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Suspension Rest Length' attribute. * * - * * @generated * @ordered */ @@ -1645,7 +1693,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wheel Connection Height' attribute. * * - * * @generated * @ordered */ @@ -1655,7 +1702,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Type Of Wheel' attribute. * * - * * @generated * @ordered */ @@ -1665,7 +1711,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wheel Velocity PI Dkp' attribute. * * - * * @generated * @ordered */ @@ -1675,7 +1720,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wheel Velocity PI Dki' attribute. * * - * * @generated * @ordered */ @@ -1685,7 +1729,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wheel Velocity PI Dkd' attribute. * * - * * @generated * @ordered */ @@ -1695,7 +1738,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wheel Steering PI Dkp' attribute. * * - * * @generated * @ordered */ @@ -1705,7 +1747,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wheel Steering PI Dkd' attribute. * * - * * @generated * @ordered */ @@ -1715,7 +1756,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wheel Friction' attribute. * * - * * @generated * @ordered */ @@ -1725,7 +1765,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Suspension Stiffness' attribute. * * - * * @generated * @ordered */ @@ -1735,7 +1774,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Suspension Damping' attribute. * * - * * @generated * @ordered */ @@ -1745,7 +1783,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Suspension Compression' attribute. * * - * * @generated * @ordered */ @@ -1755,7 +1792,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wheel Velocity PI Dmax Sum' attribute. * * - * * @generated * @ordered */ @@ -1765,7 +1801,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wheel Velocity PI Dmax Val' attribute. * * - * * @generated * @ordered */ @@ -1775,28 +1810,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Wheel System' class. * * - * * @generated * @ordered */ int WHEEL_SYSTEM_FEATURE_COUNT = ACTUATOR_SYSTEM_FEATURE_COUNT + 16; + /** + * The number of operations of the 'Wheel System' class. + * + * + * @generated + * @ordered + */ + int WHEEL_SYSTEM_OPERATION_COUNT = ACTUATOR_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.ImageSensorSystemImpl Image Sensor System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.ImageSensorSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getImageSensorSystem() * @generated */ - int IMAGE_SENSOR_SYSTEM = 20; + int IMAGE_SENSOR_SYSTEM = 21; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -1806,7 +1847,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -1816,7 +1856,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -1826,7 +1865,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -1836,7 +1874,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -1846,7 +1883,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -1856,7 +1892,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ @@ -1866,7 +1901,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ @@ -1876,28 +1910,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Image Sensor System' class. * * - * * @generated * @ordered */ int IMAGE_SENSOR_SYSTEM_FEATURE_COUNT = SENSOR_SYSTEM_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Image Sensor System' class. + * + * + * @generated + * @ordered + */ + int IMAGE_SENSOR_SYSTEM_OPERATION_COUNT = SENSOR_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl Camera System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.CameraSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getCameraSystem() * @generated */ - int CAMERA_SYSTEM = 21; + int CAMERA_SYSTEM = 22; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -1907,7 +1947,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -1917,7 +1956,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -1927,7 +1965,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -1937,7 +1974,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -1947,7 +1983,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -1957,7 +1992,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ @@ -1967,7 +2001,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ @@ -1977,7 +2010,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Width' attribute. * * - * * @generated * @ordered */ @@ -1987,7 +2019,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Height' attribute. * * - * * @generated * @ordered */ @@ -1997,7 +2028,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Alpha u' attribute. * * - * * @generated * @ordered */ @@ -2007,7 +2037,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Alpha v' attribute. * * - * * @generated * @ordered */ @@ -2017,7 +2046,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'U0' attribute. * * - * * @generated * @ordered */ @@ -2027,7 +2055,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'V0' attribute. * * - * * @generated * @ordered */ @@ -2037,7 +2064,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Color format' attribute. * * - * * @generated * @ordered */ @@ -2047,7 +2073,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Translate' containment reference. * * - * * @generated * @ordered */ @@ -2057,7 +2082,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Rotate' containment reference. * * - * * @generated * @ordered */ @@ -2067,29 +2091,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Camera System' class. * * - * * @generated * @ordered */ int CAMERA_SYSTEM_FEATURE_COUNT = IMAGE_SENSOR_SYSTEM_FEATURE_COUNT + 9; /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.ObjectDetectionSensorSystemImpl Object Detection Sensor System}' - * class. + * The number of operations of the 'Camera System' class. + * + * + * @generated + * @ordered + */ + int CAMERA_SYSTEM_OPERATION_COUNT = IMAGE_SENSOR_SYSTEM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.ObjectDetectionSensorSystemImpl Object Detection Sensor System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.ObjectDetectionSensorSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getObjectDetectionSensorSystem() * @generated */ - int OBJECT_DETECTION_SENSOR_SYSTEM = 22; + int OBJECT_DETECTION_SENSOR_SYSTEM = 23; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -2099,7 +2128,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -2109,7 +2137,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -2119,7 +2146,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -2129,7 +2155,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -2139,7 +2164,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -2149,7 +2173,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ @@ -2159,7 +2182,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ @@ -2169,29 +2191,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Object Detection Sensor System' class. * * - * * @generated * @ordered */ int OBJECT_DETECTION_SENSOR_SYSTEM_FEATURE_COUNT = SENSOR_SYSTEM_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.ObjectTrackingSensorSystemImpl Object Tracking Sensor System}' - * class. + * The number of operations of the 'Object Detection Sensor System' class. + * + * + * @generated + * @ordered + */ + int OBJECT_DETECTION_SENSOR_SYSTEM_OPERATION_COUNT = SENSOR_SYSTEM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.ObjectTrackingSensorSystemImpl Object Tracking Sensor System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.ObjectTrackingSensorSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getObjectTrackingSensorSystem() * @generated */ - int OBJECT_TRACKING_SENSOR_SYSTEM = 23; + int OBJECT_TRACKING_SENSOR_SYSTEM = 24; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -2201,7 +2228,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -2211,7 +2237,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -2221,7 +2246,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -2231,7 +2255,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -2241,7 +2264,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -2251,7 +2273,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ @@ -2261,7 +2282,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ @@ -2271,28 +2291,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Object Tracking Sensor System' class. * * - * * @generated * @ordered */ int OBJECT_TRACKING_SENSOR_SYSTEM_FEATURE_COUNT = SENSOR_SYSTEM_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Object Tracking Sensor System' class. + * + * + * @generated + * @ordered + */ + int OBJECT_TRACKING_SENSOR_SYSTEM_OPERATION_COUNT = SENSOR_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl Lidar System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.LidarSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getLidarSystem() * @generated */ - int LIDAR_SYSTEM = 24; + int LIDAR_SYSTEM = 25; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -2302,7 +2328,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -2312,7 +2337,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -2322,7 +2346,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -2332,7 +2355,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -2342,7 +2364,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -2352,7 +2373,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ @@ -2362,7 +2382,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ @@ -2372,7 +2391,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Nb Layers' attribute. * * - * * @generated * @ordered */ @@ -2382,7 +2400,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Layer Angle Min' attribute. * * - * * @generated * @ordered */ @@ -2392,7 +2409,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Layer Angle Step' attribute. * * - * * @generated * @ordered */ @@ -2402,7 +2418,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Noise' attribute. * * - * * @generated * @ordered */ @@ -2412,7 +2427,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Sigma Noise' attribute. * * - * * @generated * @ordered */ @@ -2422,7 +2436,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Angle min' attribute. * * - * * @generated * @ordered */ @@ -2432,7 +2445,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Angle max' attribute. * * - * * @generated * @ordered */ @@ -2442,7 +2454,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Time increment' attribute. * * - * * @generated * @ordered */ @@ -2452,7 +2463,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Scan time' attribute. * * - * * @generated * @ordered */ @@ -2462,7 +2472,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Range min' attribute. * * - * * @generated * @ordered */ @@ -2472,7 +2481,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Range max' attribute. * * - * * @generated * @ordered */ @@ -2482,7 +2490,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Nb Rays' attribute. * * - * * @generated * @ordered */ @@ -2492,28 +2499,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Lidar System' class. * * - * * @generated * @ordered */ int LIDAR_SYSTEM_FEATURE_COUNT = OBJECT_DETECTION_SENSOR_SYSTEM_FEATURE_COUNT + 12; + /** + * The number of operations of the 'Lidar System' class. + * + * + * @generated + * @ordered + */ + int LIDAR_SYSTEM_OPERATION_COUNT = OBJECT_DETECTION_SENSOR_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.LocalizationSensorSystemImpl Localization Sensor System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.LocalizationSensorSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getLocalizationSensorSystem() * @generated */ - int LOCALIZATION_SENSOR_SYSTEM = 25; + int LOCALIZATION_SENSOR_SYSTEM = 26; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -2523,7 +2536,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -2533,7 +2545,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -2543,7 +2554,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -2553,7 +2563,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -2563,7 +2572,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -2573,7 +2581,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ @@ -2583,7 +2590,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ @@ -2593,28 +2599,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Localization Sensor System' class. * * - * * @generated * @ordered */ int LOCALIZATION_SENSOR_SYSTEM_FEATURE_COUNT = SENSOR_SYSTEM_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Localization Sensor System' class. + * + * + * @generated + * @ordered + */ + int LOCALIZATION_SENSOR_SYSTEM_OPERATION_COUNT = SENSOR_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.GPSSystemImpl GPS System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.GPSSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getGPSSystem() * @generated */ - int GPS_SYSTEM = 26; + int GPS_SYSTEM = 27; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -2624,7 +2636,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -2634,7 +2645,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -2644,7 +2654,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -2654,7 +2663,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -2664,7 +2672,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -2674,7 +2681,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ @@ -2684,7 +2690,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ @@ -2694,7 +2699,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Origin Position' containment reference. * * - * * @generated * @ordered */ @@ -2704,28 +2708,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'GPS System' class. * * - * * @generated * @ordered */ int GPS_SYSTEM_FEATURE_COUNT = LOCALIZATION_SENSOR_SYSTEM_FEATURE_COUNT + 1; + /** + * The number of operations of the 'GPS System' class. + * + * + * @generated + * @ordered + */ + int GPS_SYSTEM_OPERATION_COUNT = LOCALIZATION_SENSOR_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.SimulatedSystemImpl Simulated System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.SimulatedSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSimulatedSystem() * @generated */ - int SIMULATED_SYSTEM = 27; + int SIMULATED_SYSTEM = 28; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -2735,7 +2745,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -2745,7 +2754,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -2755,7 +2763,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -2765,7 +2772,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Is Periodic' attribute. * * - * * @generated * @ordered */ @@ -2775,7 +2781,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Period' attribute. * * - * * @generated * @ordered */ @@ -2785,7 +2790,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Priority' attribute. * * - * * @generated * @ordered */ @@ -2795,7 +2799,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Deadline' attribute. * * - * * @generated * @ordered */ @@ -2805,7 +2808,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wcet' attribute. * * - * * @generated * @ordered */ @@ -2815,7 +2817,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Property' reference. * * - * * @generated * @ordered */ @@ -2825,7 +2826,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Mesh' attribute list. * * - * * @generated * @ordered */ @@ -2835,28 +2835,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Simulated System' class. * * - * * @generated * @ordered */ int SIMULATED_SYSTEM_FEATURE_COUNT = SOFTWARE_FEATURE_COUNT + 2; + /** + * The number of operations of the 'Simulated System' class. + * + * + * @generated + * @ordered + */ + int SIMULATED_SYSTEM_OPERATION_COUNT = SOFTWARE_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.AlgorithmLibraryImpl Algorithm Library}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.AlgorithmLibraryImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getAlgorithmLibrary() * @generated */ - int ALGORITHM_LIBRARY = 28; + int ALGORITHM_LIBRARY = 29; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -2866,7 +2872,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Path' attribute. * * - * * @generated * @ordered */ @@ -2876,99 +2881,52 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Algorithm Library' class. * * - * * @generated * @ordered */ int ALGORITHM_LIBRARY_FEATURE_COUNT = 2; /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.StateImpl State}' class. + * The number of operations of the 'Algorithm Library' class. * * - * - * @see org.eclipse.papyrus.RobotML.impl.StateImpl - * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getState() * @generated + * @ordered */ - int STATE = 29; + int ALGORITHM_LIBRARY_OPERATION_COUNT = 0; /** - * The feature id for the 'Base State' reference. + * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.SensorDriverImpl Sensor Driver}' class. * * - * + * @see org.eclipse.papyrus.RobotML.impl.SensorDriverImpl + * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSensorDriver() * @generated - * @ordered */ - int STATE__BASE_STATE = 0; + int SENSOR_DRIVER = 30; /** - * The feature id for the 'Operation' reference. + * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ - int STATE__OPERATION = 1; + int SENSOR_DRIVER__BASE_CLASS = SOFTWARE__BASE_CLASS; /** - * The feature id for the 'Arguments' reference list. + * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ - int STATE__ARGUMENTS = 2; + int SENSOR_DRIVER__NATIVE = SOFTWARE__NATIVE; /** - * The number of structural features of the 'State' class. + * The feature id for the 'Library Path' attribute. * * - * - * @generated - * @ordered - */ - int STATE_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.SensorDriverImpl Sensor Driver}' class. - * - * - * - * @see org.eclipse.papyrus.RobotML.impl.SensorDriverImpl - * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSensorDriver() - * @generated - */ - int SENSOR_DRIVER = 30; - - /** - * The feature id for the 'Base Class' reference. - * - * - * - * @generated - * @ordered - */ - int SENSOR_DRIVER__BASE_CLASS = SOFTWARE__BASE_CLASS; - - /** - * The feature id for the 'Native' attribute. - * - * - * - * @generated - * @ordered - */ - int SENSOR_DRIVER__NATIVE = SOFTWARE__NATIVE; - - /** - * The feature id for the 'Library Path' attribute. - * - * - * * @generated * @ordered */ @@ -2978,7 +2936,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -2988,7 +2945,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Is Periodic' attribute. * * - * * @generated * @ordered */ @@ -2998,7 +2954,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Period' attribute. * * - * * @generated * @ordered */ @@ -3008,7 +2963,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Priority' attribute. * * - * * @generated * @ordered */ @@ -3018,7 +2972,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Deadline' attribute. * * - * * @generated * @ordered */ @@ -3028,7 +2981,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Wcet' attribute. * * - * * @generated * @ordered */ @@ -3038,17 +2990,24 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Sensor Driver' class. * * - * * @generated * @ordered */ int SENSOR_DRIVER_FEATURE_COUNT = SOFTWARE_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Sensor Driver' class. + * + * + * @generated + * @ordered + */ + int SENSOR_DRIVER_OPERATION_COUNT = SOFTWARE_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.BuildingImpl Building}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.BuildingImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getBuilding() * @generated @@ -3059,7 +3018,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -3069,7 +3027,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -3079,7 +3036,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -3089,7 +3045,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -3099,7 +3054,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -3109,7 +3063,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -3119,17 +3072,24 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Building' class. * * - * * @generated * @ordered */ int BUILDING_FEATURE_COUNT = PHYSICAL_OBJECT_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Building' class. + * + * + * @generated + * @ordered + */ + int BUILDING_OPERATION_COUNT = PHYSICAL_OBJECT_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.PlanetImpl Planet}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.PlanetImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getPlanet() * @generated @@ -3140,7 +3100,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -3150,7 +3109,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -3160,7 +3118,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -3170,7 +3127,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -3180,7 +3136,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -3190,7 +3145,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -3200,17 +3154,24 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Planet' class. * * - * * @generated * @ordered */ int PLANET_FEATURE_COUNT = PHYSICAL_OBJECT_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Planet' class. + * + * + * @generated + * @ordered + */ + int PLANET_OPERATION_COUNT = PHYSICAL_OBJECT_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.GroundImpl Ground}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.GroundImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getGround() * @generated @@ -3221,7 +3182,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -3231,7 +3191,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -3241,7 +3200,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -3251,7 +3209,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -3261,7 +3218,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -3271,7 +3227,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -3281,17 +3236,24 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Ground' class. * * - * * @generated * @ordered */ int GROUND_FEATURE_COUNT = SURFACE_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Ground' class. + * + * + * @generated + * @ordered + */ + int GROUND_OPERATION_COUNT = SURFACE_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.LandSurfaceImpl Land Surface}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.LandSurfaceImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getLandSurface() * @generated @@ -3302,7 +3264,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -3312,7 +3273,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -3322,7 +3282,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -3332,7 +3291,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -3342,7 +3300,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -3352,7 +3309,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -3362,17 +3318,24 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Land Surface' class. * * - * * @generated * @ordered */ int LAND_SURFACE_FEATURE_COUNT = GROUND_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Land Surface' class. + * + * + * @generated + * @ordered + */ + int LAND_SURFACE_OPERATION_COUNT = GROUND_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.FloorImpl Floor}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.FloorImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getFloor() * @generated @@ -3383,7 +3346,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -3393,7 +3355,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -3403,7 +3364,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -3413,7 +3373,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -3423,7 +3382,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -3433,7 +3391,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -3443,17 +3400,24 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Floor' class. * * - * * @generated * @ordered */ int FLOOR_FEATURE_COUNT = GROUND_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Floor' class. + * + * + * @generated + * @ordered + */ + int FLOOR_OPERATION_COUNT = GROUND_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.WaterSurfaceImpl Water Surface}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.WaterSurfaceImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getWaterSurface() * @generated @@ -3464,7 +3428,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -3474,7 +3437,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -3484,7 +3446,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -3494,7 +3455,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -3504,7 +3464,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -3514,7 +3473,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -3524,17 +3482,24 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Water Surface' class. * * - * * @generated * @ordered */ int WATER_SURFACE_FEATURE_COUNT = SURFACE_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Water Surface' class. + * + * + * @generated + * @ordered + */ + int WATER_SURFACE_OPERATION_COUNT = SURFACE_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.HumanImpl Human}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.HumanImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getHuman() * @generated @@ -3545,7 +3510,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -3555,7 +3519,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -3565,7 +3528,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -3575,7 +3537,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -3585,7 +3546,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -3595,7 +3555,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -3605,7 +3564,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Moves Over' reference list. * * - * * @generated * @ordered */ @@ -3615,17 +3573,24 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Human' class. * * - * * @generated * @ordered */ int HUMAN_FEATURE_COUNT = AGENT_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Human' class. + * + * + * @generated + * @ordered + */ + int HUMAN_OPERATION_COUNT = AGENT_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.PedestrianImpl Pedestrian}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.PedestrianImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getPedestrian() * @generated @@ -3636,7 +3601,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -3646,7 +3610,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -3656,7 +3619,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -3666,7 +3628,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -3676,7 +3637,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -3686,7 +3646,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -3696,7 +3655,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Moves Over' reference list. * * - * * @generated * @ordered */ @@ -3706,17 +3664,24 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Pedestrian' class. * * - * * @generated * @ordered */ int PEDESTRIAN_FEATURE_COUNT = HUMAN_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Pedestrian' class. + * + * + * @generated + * @ordered + */ + int PEDESTRIAN_OPERATION_COUNT = HUMAN_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.StairsImpl Stairs}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.StairsImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getStairs() * @generated @@ -3727,7 +3692,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -3737,7 +3701,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -3747,7 +3710,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -3757,7 +3719,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -3767,7 +3728,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Eveloves In' reference list. * * - * * @generated * @ordered */ @@ -3777,7 +3737,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Has Surface' reference. * * - * * @generated * @ordered */ @@ -3787,17 +3746,24 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Stairs' class. * * - * * @generated * @ordered */ int STAIRS_FEATURE_COUNT = GROUND_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Stairs' class. + * + * + * @generated + * @ordered + */ + int STAIRS_OPERATION_COUNT = GROUND_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.PlatformImpl Platform}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.PlatformImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getPlatform() * @generated @@ -3808,7 +3774,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -3818,7 +3783,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -3828,7 +3792,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -3838,7 +3801,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -3848,38 +3810,107 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Node' reference. * * - * * @generated * @ordered */ int PLATFORM__BASE_NODE = SYSTEM_FEATURE_COUNT + 0; + /** + * The feature id for the 'Library' reference list. + * + * + * @generated + * @ordered + */ + int PLATFORM__LIBRARY = SYSTEM_FEATURE_COUNT + 1; + /** * The number of structural features of the 'Platform' class. * * - * * @generated * @ordered */ - int PLATFORM_FEATURE_COUNT = SYSTEM_FEATURE_COUNT + 1; + int PLATFORM_FEATURE_COUNT = SYSTEM_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Platform' class. + * + * + * @generated + * @ordered + */ + int PLATFORM_OPERATION_COUNT = SYSTEM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl External Library}' class. + * + * + * @see org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl + * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getExternalLibrary() + * @generated + */ + int EXTERNAL_LIBRARY = 41; + + /** + * The feature id for the 'Lib Path' attribute. + * + * + * @generated + * @ordered + */ + int EXTERNAL_LIBRARY__LIB_PATH = 0; + + /** + * The feature id for the 'Lib File Format' attribute. + * + * + * @generated + * @ordered + */ + int EXTERNAL_LIBRARY__LIB_FILE_FORMAT = 1; + + /** + * The feature id for the 'Base Interface' reference. + * + * + * @generated + * @ordered + */ + int EXTERNAL_LIBRARY__BASE_INTERFACE = 2; + + /** + * The number of structural features of the 'External Library' class. + * + * + * @generated + * @ordered + */ + int EXTERNAL_LIBRARY_FEATURE_COUNT = 3; + + /** + * The number of operations of the 'External Library' class. + * + * + * @generated + * @ordered + */ + int EXTERNAL_LIBRARY_OPERATION_COUNT = 0; /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.RoboticMiddlewareImpl Robotic Middleware}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.RoboticMiddlewareImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getRoboticMiddleware() * @generated */ - int ROBOTIC_MIDDLEWARE = 41; + int ROBOTIC_MIDDLEWARE = 42; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -3889,7 +3920,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -3899,7 +3929,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -3909,7 +3938,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -3919,17 +3947,24 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Node' reference. * * - * * @generated * @ordered */ int ROBOTIC_MIDDLEWARE__BASE_NODE = PLATFORM__BASE_NODE; + /** + * The feature id for the 'Library' reference list. + * + * + * @generated + * @ordered + */ + int ROBOTIC_MIDDLEWARE__LIBRARY = PLATFORM__LIBRARY; + /** * The feature id for the 'Kind' attribute. * * - * * @generated * @ordered */ @@ -3939,28 +3974,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Robotic Middleware' class. * * - * * @generated * @ordered */ int ROBOTIC_MIDDLEWARE_FEATURE_COUNT = PLATFORM_FEATURE_COUNT + 1; + /** + * The number of operations of the 'Robotic Middleware' class. + * + * + * @generated + * @ordered + */ + int ROBOTIC_MIDDLEWARE_OPERATION_COUNT = PLATFORM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.RoboticSimulatorImpl Robotic Simulator}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.RoboticSimulatorImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getRoboticSimulator() * @generated */ - int ROBOTIC_SIMULATOR = 42; + int ROBOTIC_SIMULATOR = 43; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -3970,7 +4011,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -3980,7 +4020,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -3990,7 +4029,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -4000,38 +4038,52 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Node' reference. * * - * * @generated * @ordered */ int ROBOTIC_SIMULATOR__BASE_NODE = PLATFORM__BASE_NODE; + /** + * The feature id for the 'Library' reference list. + * + * + * @generated + * @ordered + */ + int ROBOTIC_SIMULATOR__LIBRARY = PLATFORM__LIBRARY; + /** * The number of structural features of the 'Robotic Simulator' class. * * - * * @generated * @ordered */ int ROBOTIC_SIMULATOR_FEATURE_COUNT = PLATFORM_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Robotic Simulator' class. + * + * + * @generated + * @ordered + */ + int ROBOTIC_SIMULATOR_OPERATION_COUNT = PLATFORM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl Cycab TK}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.CycabTKImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getCycabTK() * @generated */ - int CYCAB_TK = 43; + int CYCAB_TK = 44; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -4041,7 +4093,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -4051,7 +4102,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -4061,7 +4111,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -4071,17 +4120,24 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Node' reference. * * - * * @generated * @ordered */ int CYCAB_TK__BASE_NODE = ROBOTIC_SIMULATOR__BASE_NODE; + /** + * The feature id for the 'Library' reference list. + * + * + * @generated + * @ordered + */ + int CYCAB_TK__LIBRARY = ROBOTIC_SIMULATOR__LIBRARY; + /** * The feature id for the 'Use Real Time' attribute. * * - * * @generated * @ordered */ @@ -4091,7 +4147,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Time Step' attribute. * * - * * @generated * @ordered */ @@ -4101,7 +4156,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Time Factor' attribute. * * - * * @generated * @ordered */ @@ -4111,28 +4165,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Cycab TK' class. * * - * * @generated * @ordered */ int CYCAB_TK_FEATURE_COUNT = ROBOTIC_SIMULATOR_FEATURE_COUNT + 3; + /** + * The number of operations of the 'Cycab TK' class. + * + * + * @generated + * @ordered + */ + int CYCAB_TK_OPERATION_COUNT = ROBOTIC_SIMULATOR_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl Blender Morse}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getBlenderMorse() * @generated */ - int BLENDER_MORSE = 44; + int BLENDER_MORSE = 45; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -4142,7 +4202,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -4152,7 +4211,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -4162,7 +4220,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -4172,17 +4229,24 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Node' reference. * * - * * @generated * @ordered */ int BLENDER_MORSE__BASE_NODE = ROBOTIC_SIMULATOR__BASE_NODE; + /** + * The feature id for the 'Library' reference list. + * + * + * @generated + * @ordered + */ + int BLENDER_MORSE__LIBRARY = ROBOTIC_SIMULATOR__LIBRARY; + /** * The feature id for the 'Debug Mode' attribute. * * - * * @generated * @ordered */ @@ -4192,7 +4256,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Debug Display' attribute. * * - * * @generated * @ordered */ @@ -4202,7 +4265,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Gravity' attribute. * * - * * @generated * @ordered */ @@ -4212,7 +4274,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'viewport shade' attribute. * * - * * @generated * @ordered */ @@ -4222,28 +4283,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Blender Morse' class. * * - * * @generated * @ordered */ int BLENDER_MORSE_FEATURE_COUNT = ROBOTIC_SIMULATOR_FEATURE_COUNT + 4; + /** + * The number of operations of the 'Blender Morse' class. + * + * + * @generated + * @ordered + */ + int BLENDER_MORSE_OPERATION_COUNT = ROBOTIC_SIMULATOR_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.OnPortImpl On Port}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.OnPortImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getOnPort() * @generated */ - int ON_PORT = 45; + int ON_PORT = 46; /** * The feature id for the 'Port' reference. * * - * * @generated * @ordered */ @@ -4253,7 +4320,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Base Parameter' reference. * * - * * @generated * @ordered */ @@ -4263,28 +4329,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'On Port' class. * * - * * @generated * @ordered */ int ON_PORT_FEATURE_COUNT = 2; + /** + * The number of operations of the 'On Port' class. + * + * + * @generated + * @ordered + */ + int ON_PORT_OPERATION_COUNT = 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.AllocateImpl Allocate}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.AllocateImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getAllocate() * @generated */ - int ALLOCATE = 46; + int ALLOCATE = 47; /** * The feature id for the 'Base Abstraction' reference. * * - * * @generated * @ordered */ @@ -4294,29 +4366,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Allocate' class. * * - * * @generated * @ordered */ int ALLOCATE_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.InertialMeasurementUnitSystemImpl - * Inertial Measurement Unit System}' class. + * The number of operations of the 'Allocate' class. + * + * + * @generated + * @ordered + */ + int ALLOCATE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.InertialMeasurementUnitSystemImpl Inertial Measurement Unit System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.InertialMeasurementUnitSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getInertialMeasurementUnitSystem() * @generated */ - int INERTIAL_MEASUREMENT_UNIT_SYSTEM = 47; + int INERTIAL_MEASUREMENT_UNIT_SYSTEM = 48; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -4326,7 +4403,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -4336,7 +4412,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -4346,7 +4421,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -4356,7 +4430,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -4366,7 +4439,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -4376,7 +4448,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ @@ -4386,7 +4457,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ @@ -4396,28 +4466,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Inertial Measurement Unit System' class. * * - * * @generated * @ordered */ int INERTIAL_MEASUREMENT_UNIT_SYSTEM_FEATURE_COUNT = SENSOR_SYSTEM_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Inertial Measurement Unit System' class. + * + * + * @generated + * @ordered + */ + int INERTIAL_MEASUREMENT_UNIT_SYSTEM_OPERATION_COUNT = SENSOR_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.InertialNavigationSystemImpl Inertial Navigation System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.InertialNavigationSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getInertialNavigationSystem() * @generated */ - int INERTIAL_NAVIGATION_SYSTEM = 48; + int INERTIAL_NAVIGATION_SYSTEM = 49; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -4427,7 +4503,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -4437,7 +4512,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -4447,7 +4521,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -4457,7 +4530,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -4467,7 +4539,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -4477,7 +4548,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ @@ -4487,7 +4557,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ @@ -4497,7 +4566,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Origin Position' containment reference. * * - * * @generated * @ordered */ @@ -4507,28 +4575,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Inertial Navigation System' class. * * - * * @generated * @ordered */ int INERTIAL_NAVIGATION_SYSTEM_FEATURE_COUNT = GPS_SYSTEM_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Inertial Navigation System' class. + * + * + * @generated + * @ordered + */ + int INERTIAL_NAVIGATION_SYSTEM_OPERATION_COUNT = GPS_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.OdometrySystemImpl Odometry System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.OdometrySystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getOdometrySystem() * @generated */ - int ODOMETRY_SYSTEM = 49; + int ODOMETRY_SYSTEM = 50; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -4538,7 +4612,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -4548,7 +4621,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -4558,7 +4630,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -4568,7 +4639,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -4578,7 +4648,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -4588,7 +4657,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ @@ -4598,7 +4666,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ @@ -4608,28 +4675,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Odometry System' class. * * - * * @generated * @ordered */ int ODOMETRY_SYSTEM_FEATURE_COUNT = LOCALIZATION_SENSOR_SYSTEM_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Odometry System' class. + * + * + * @generated + * @ordered + */ + int ODOMETRY_SYSTEM_OPERATION_COUNT = LOCALIZATION_SENSOR_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.InfraRedProximetrySystemImpl Infra Red Proximetry System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.InfraRedProximetrySystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getInfraRedProximetrySystem() * @generated */ - int INFRA_RED_PROXIMETRY_SYSTEM = 50; + int INFRA_RED_PROXIMETRY_SYSTEM = 51; /** * The feature id for the 'Base Class' reference. * * - * * @generated * @ordered */ @@ -4639,7 +4712,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Native' attribute. * * - * * @generated * @ordered */ @@ -4649,7 +4721,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Path' attribute. * * - * * @generated * @ordered */ @@ -4659,7 +4730,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Library Component Name' attribute. * * - * * @generated * @ordered */ @@ -4669,7 +4739,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Position' containment reference. * * - * * @generated * @ordered */ @@ -4679,7 +4748,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Local Orientation' containment reference. * * - * * @generated * @ordered */ @@ -4689,7 +4757,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ @@ -4699,7 +4766,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ @@ -4709,28 +4775,34 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Infra Red Proximetry System' class. * * - * * @generated * @ordered */ int INFRA_RED_PROXIMETRY_SYSTEM_FEATURE_COUNT = OBJECT_DETECTION_SENSOR_SYSTEM_FEATURE_COUNT + 0; + /** + * The number of operations of the 'Infra Red Proximetry System' class. + * + * + * @generated + * @ordered + */ + int INFRA_RED_PROXIMETRY_SYSTEM_OPERATION_COUNT = OBJECT_DETECTION_SENSOR_SYSTEM_OPERATION_COUNT + 0; + /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.DeploymentPlanImpl Deployment Plan}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.DeploymentPlanImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getDeploymentPlan() * @generated */ - int DEPLOYMENT_PLAN = 51; + int DEPLOYMENT_PLAN = 52; /** * The feature id for the 'Base Package' reference. * * - * * @generated * @ordered */ @@ -4740,7 +4812,6 @@ public interface RobotMLPackage extends EPackage { * The feature id for the 'Main Instance' reference. * * - * * @generated * @ordered */ @@ -4750,196 +4821,241 @@ public interface RobotMLPackage extends EPackage { * The number of structural features of the 'Deployment Plan' class. * * - * * @generated * @ordered */ - int DEPLOYMENT_PLAN_FEATURE_COUNT = 2; + int DEPLOYMENT_PLAN_FEATURE_COUNT = 2; + + /** + * The number of operations of the 'Deployment Plan' class. + * + * + * @generated + * @ordered + */ + int DEPLOYMENT_PLAN_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.GyroscopeImpl Gyroscope}' class. + * + * + * @see org.eclipse.papyrus.RobotML.impl.GyroscopeImpl + * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getGyroscope() + * @generated + */ + int GYROSCOPE = 53; + + /** + * The feature id for the 'Base Class' reference. + * + * + * @generated + * @ordered + */ + int GYROSCOPE__BASE_CLASS = SENSOR_SYSTEM__BASE_CLASS; + + /** + * The feature id for the 'Native' attribute. + * + * + * @generated + * @ordered + */ + int GYROSCOPE__NATIVE = SENSOR_SYSTEM__NATIVE; + + /** + * The feature id for the 'Library Path' attribute. + * + * + * @generated + * @ordered + */ + int GYROSCOPE__LIBRARY_PATH = SENSOR_SYSTEM__LIBRARY_PATH; + + /** + * The feature id for the 'Library Component Name' attribute. + * + * + * @generated + * @ordered + */ + int GYROSCOPE__LIBRARY_COMPONENT_NAME = SENSOR_SYSTEM__LIBRARY_COMPONENT_NAME; + + /** + * The feature id for the 'Local Position' containment reference. + * + * + * @generated + * @ordered + */ + int GYROSCOPE__LOCAL_POSITION = SENSOR_SYSTEM__LOCAL_POSITION; /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.GyroscopeImpl Gyroscope}' class. + * The feature id for the 'Local Orientation' containment reference. * * - * - * @see org.eclipse.papyrus.RobotML.impl.GyroscopeImpl - * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getGyroscope() * @generated + * @ordered */ - int GYROSCOPE = 52; + int GYROSCOPE__LOCAL_ORIENTATION = SENSOR_SYSTEM__LOCAL_ORIENTATION; /** - * The feature id for the 'Base Class' reference. + * The feature id for the 'Frequency' attribute. * * - * * @generated * @ordered */ - int GYROSCOPE__BASE_CLASS = SENSOR_SYSTEM__BASE_CLASS; + int GYROSCOPE__FREQUENCY = SENSOR_SYSTEM__FREQUENCY; /** - * The feature id for the 'Native' attribute. + * The feature id for the 'Identifier' attribute. * * - * * @generated * @ordered */ - int GYROSCOPE__NATIVE = SENSOR_SYSTEM__NATIVE; + int GYROSCOPE__IDENTIFIER = SENSOR_SYSTEM__IDENTIFIER; /** - * The feature id for the 'Library Path' attribute. + * The number of structural features of the 'Gyroscope' class. * * - * * @generated * @ordered */ - int GYROSCOPE__LIBRARY_PATH = SENSOR_SYSTEM__LIBRARY_PATH; + int GYROSCOPE_FEATURE_COUNT = SENSOR_SYSTEM_FEATURE_COUNT + 0; /** - * The feature id for the 'Library Component Name' attribute. + * The number of operations of the 'Gyroscope' class. * * - * * @generated * @ordered */ - int GYROSCOPE__LIBRARY_COMPONENT_NAME = SENSOR_SYSTEM__LIBRARY_COMPONENT_NAME; + int GYROSCOPE_OPERATION_COUNT = SENSOR_SYSTEM_OPERATION_COUNT + 0; /** - * The feature id for the 'Local Position' containment reference. + * The meta object id for the '{@link org.eclipse.papyrus.RobotML.impl.OnPropertyImpl On Property}' class. * * - * + * @see org.eclipse.papyrus.RobotML.impl.OnPropertyImpl + * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getOnProperty() * @generated - * @ordered */ - int GYROSCOPE__LOCAL_POSITION = SENSOR_SYSTEM__LOCAL_POSITION; + int ON_PROPERTY = 54; /** - * The feature id for the 'Local Orientation' containment reference. + * The feature id for the 'Property' reference. * * - * * @generated * @ordered */ - int GYROSCOPE__LOCAL_ORIENTATION = SENSOR_SYSTEM__LOCAL_ORIENTATION; + int ON_PROPERTY__PROPERTY = 0; /** - * The feature id for the 'Frequency' attribute. + * The feature id for the 'Base Parameter' reference. * * - * * @generated * @ordered */ - int GYROSCOPE__FREQUENCY = SENSOR_SYSTEM__FREQUENCY; + int ON_PROPERTY__BASE_PARAMETER = 1; /** - * The feature id for the 'Identifier' attribute. + * The number of structural features of the 'On Property' class. * * - * * @generated * @ordered */ - int GYROSCOPE__IDENTIFIER = SENSOR_SYSTEM__IDENTIFIER; + int ON_PROPERTY_FEATURE_COUNT = 2; /** - * The number of structural features of the 'Gyroscope' class. + * The number of operations of the 'On Property' class. * * - * * @generated * @ordered */ - int GYROSCOPE_FEATURE_COUNT = SENSOR_SYSTEM_FEATURE_COUNT + 0; + int ON_PROPERTY_OPERATION_COUNT = 0; /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.RobotKind Robot Kind}' enum. * * - * * @see org.eclipse.papyrus.RobotML.RobotKind * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getRobotKind() * @generated */ - int ROBOT_KIND = 53; + int ROBOT_KIND = 55; /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.UGVKind UGV Kind}' enum. * * - * * @see org.eclipse.papyrus.RobotML.UGVKind * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getUGVKind() * @generated */ - int UGV_KIND = 54; + int UGV_KIND = 56; /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.SynchronizationKind Synchronization Kind}' enum. * * - * * @see org.eclipse.papyrus.RobotML.SynchronizationKind * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSynchronizationKind() * @generated */ - int SYNCHRONIZATION_KIND = 55; + int SYNCHRONIZATION_KIND = 57; /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.DataFlowDirectionKind Data Flow Direction Kind}' enum. * * - * * @see org.eclipse.papyrus.RobotML.DataFlowDirectionKind * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getDataFlowDirectionKind() * @generated */ - int DATA_FLOW_DIRECTION_KIND = 56; + int DATA_FLOW_DIRECTION_KIND = 58; /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.ServiceFlowKind Service Flow Kind}' enum. * * - * * @see org.eclipse.papyrus.RobotML.ServiceFlowKind * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getServiceFlowKind() * @generated */ - int SERVICE_FLOW_KIND = 57; + int SERVICE_FLOW_KIND = 59; /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.RoboticMiddlewareKind Robotic Middleware Kind}' enum. * * - * * @see org.eclipse.papyrus.RobotML.RoboticMiddlewareKind * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getRoboticMiddlewareKind() * @generated */ - int ROBOTIC_MIDDLEWARE_KIND = 58; + int ROBOTIC_MIDDLEWARE_KIND = 60; /** * The meta object id for the '{@link org.eclipse.papyrus.RobotML.Shade Shade}' enum. * * - * * @see org.eclipse.papyrus.RobotML.Shade * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getShade() * @generated */ - int SHADE = 59; + int SHADE = 61; /** * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Transition Transition}'. * * - * * @return the meta object for class 'Transition'. * @see org.eclipse.papyrus.RobotML.Transition * @generated @@ -4950,7 +5066,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.Transition#getBase_Transition Base Transition}'. * * - * * @return the meta object for the reference 'Base Transition'. * @see org.eclipse.papyrus.RobotML.Transition#getBase_Transition() * @see #getTransition() @@ -4962,7 +5077,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.Transition#getGuard Guard}'. * * - * * @return the meta object for the reference 'Guard'. * @see org.eclipse.papyrus.RobotML.Transition#getGuard() * @see #getTransition() @@ -4974,7 +5088,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.Transition#getEffect Effect}'. * * - * * @return the meta object for the reference 'Effect'. * @see org.eclipse.papyrus.RobotML.Transition#getEffect() * @see #getTransition() @@ -4986,7 +5099,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Algorithm Algorithm}'. * * - * * @return the meta object for class 'Algorithm'. * @see org.eclipse.papyrus.RobotML.Algorithm * @generated @@ -4997,7 +5109,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.Algorithm#getBase_Operation Base Operation}'. * * - * * @return the meta object for the reference 'Base Operation'. * @see org.eclipse.papyrus.RobotML.Algorithm#getBase_Operation() * @see #getAlgorithm() @@ -5009,7 +5120,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Algorithm#isIsExternal Is External}'. * * - * * @return the meta object for the attribute 'Is External'. * @see org.eclipse.papyrus.RobotML.Algorithm#isIsExternal() * @see #getAlgorithm() @@ -5021,7 +5131,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Algorithm#getExtFunctionName Ext Function Name}'. * * - * * @return the meta object for the attribute 'Ext Function Name'. * @see org.eclipse.papyrus.RobotML.Algorithm#getExtFunctionName() * @see #getAlgorithm() @@ -5033,7 +5142,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Algorithm#getLibPath Lib Path}'. * * - * * @return the meta object for the attribute 'Lib Path'. * @see org.eclipse.papyrus.RobotML.Algorithm#getLibPath() * @see #getAlgorithm() @@ -5045,7 +5153,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Algorithm#getLibFileFormat Lib File Format}'. * * - * * @return the meta object for the attribute 'Lib File Format'. * @see org.eclipse.papyrus.RobotML.Algorithm#getLibFileFormat() * @see #getAlgorithm() @@ -5053,11 +5160,42 @@ public interface RobotMLPackage extends EPackage { */ EAttribute getAlgorithm_LibFileFormat(); + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.State State}'. + * + * + * @return the meta object for class 'State'. + * @see org.eclipse.papyrus.RobotML.State + * @generated + */ + EClass getState(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.State#getBase_State Base State}'. + * + * + * @return the meta object for the reference 'Base State'. + * @see org.eclipse.papyrus.RobotML.State#getBase_State() + * @see #getState() + * @generated + */ + EReference getState_Base_State(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.State#getBehavior Behavior}'. + * + * + * @return the meta object for the reference 'Behavior'. + * @see org.eclipse.papyrus.RobotML.State#getBehavior() + * @see #getState() + * @generated + */ + EReference getState_Behavior(); + /** * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Robot Robot}'. * * - * * @return the meta object for class 'Robot'. * @see org.eclipse.papyrus.RobotML.Robot * @generated @@ -5068,7 +5206,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Robot#getKind Kind}'. * * - * * @return the meta object for the attribute 'Kind'. * @see org.eclipse.papyrus.RobotML.Robot#getKind() * @see #getRobot() @@ -5080,7 +5217,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Robot#getMass Mass}'. * * - * * @return the meta object for the attribute 'Mass'. * @see org.eclipse.papyrus.RobotML.Robot#getMass() * @see #getRobot() @@ -5092,7 +5228,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Robot#getWidth Width}'. * * - * * @return the meta object for the attribute 'Width'. * @see org.eclipse.papyrus.RobotML.Robot#getWidth() * @see #getRobot() @@ -5104,7 +5239,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Robot#getUgvKind Ugv Kind}'. * * - * * @return the meta object for the attribute 'Ugv Kind'. * @see org.eclipse.papyrus.RobotML.Robot#getUgvKind() * @see #getRobot() @@ -5116,7 +5250,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.System System}'. * * - * * @return the meta object for class 'System'. * @see org.eclipse.papyrus.RobotML.System * @generated @@ -5127,7 +5260,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.System#getBase_Class Base Class}'. * * - * * @return the meta object for the reference 'Base Class'. * @see org.eclipse.papyrus.RobotML.System#getBase_Class() * @see #getSystem() @@ -5139,7 +5271,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.System#isNative Native}'. * * - * * @return the meta object for the attribute 'Native'. * @see org.eclipse.papyrus.RobotML.System#isNative() * @see #getSystem() @@ -5151,7 +5282,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.System#getLibraryPath Library Path}'. * * - * * @return the meta object for the attribute 'Library Path'. * @see org.eclipse.papyrus.RobotML.System#getLibraryPath() * @see #getSystem() @@ -5163,7 +5293,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.System#getLibraryComponentName Library Component Name}'. * * - * * @return the meta object for the attribute 'Library Component Name'. * @see org.eclipse.papyrus.RobotML.System#getLibraryComponentName() * @see #getSystem() @@ -5175,7 +5304,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Agent Agent}'. * * - * * @return the meta object for class 'Agent'. * @see org.eclipse.papyrus.RobotML.Agent * @generated @@ -5186,7 +5314,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.RobotML.Agent#getMovesOver Moves Over}'. * * - * * @return the meta object for the reference list 'Moves Over'. * @see org.eclipse.papyrus.RobotML.Agent#getMovesOver() * @see #getAgent() @@ -5198,7 +5325,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.PhysicalObject Physical Object}'. * * - * * @return the meta object for class 'Physical Object'. * @see org.eclipse.papyrus.RobotML.PhysicalObject * @generated @@ -5209,7 +5335,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference list '{@link org.eclipse.papyrus.RobotML.PhysicalObject#getEvelovesIn Eveloves In}'. * * - * * @return the meta object for the reference list 'Eveloves In'. * @see org.eclipse.papyrus.RobotML.PhysicalObject#getEvelovesIn() * @see #getPhysicalObject() @@ -5221,7 +5346,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.PhysicalObject#getHasSurface Has Surface}'. * * - * * @return the meta object for the reference 'Has Surface'. * @see org.eclipse.papyrus.RobotML.PhysicalObject#getHasSurface() * @see #getPhysicalObject() @@ -5233,7 +5357,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Environment Environment}'. * * - * * @return the meta object for class 'Environment'. * @see org.eclipse.papyrus.RobotML.Environment * @generated @@ -5244,7 +5367,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Surface Surface}'. * * - * * @return the meta object for class 'Surface'. * @see org.eclipse.papyrus.RobotML.Surface * @generated @@ -5255,7 +5377,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.DataFlowPort Data Flow Port}'. * * - * * @return the meta object for class 'Data Flow Port'. * @see org.eclipse.papyrus.RobotML.DataFlowPort * @generated @@ -5266,7 +5387,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.DataFlowPort#getDirection Direction}'. * * - * * @return the meta object for the attribute 'Direction'. * @see org.eclipse.papyrus.RobotML.DataFlowPort#getDirection() * @see #getDataFlowPort() @@ -5278,7 +5398,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.DataFlowPort#getBufferSize Buffer Size}'. * * - * * @return the meta object for the attribute 'Buffer Size'. * @see org.eclipse.papyrus.RobotML.DataFlowPort#getBufferSize() * @see #getDataFlowPort() @@ -5290,7 +5409,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Port Port}'. * * - * * @return the meta object for class 'Port'. * @see org.eclipse.papyrus.RobotML.Port * @generated @@ -5301,7 +5419,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.Port#getBase_Port Base Port}'. * * - * * @return the meta object for the reference 'Base Port'. * @see org.eclipse.papyrus.RobotML.Port#getBase_Port() * @see #getPort() @@ -5313,7 +5430,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Port#getSynchronizationPolicy Synchronization Policy}'. * * - * * @return the meta object for the attribute 'Synchronization Policy'. * @see org.eclipse.papyrus.RobotML.Port#getSynchronizationPolicy() * @see #getPort() @@ -5325,7 +5441,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.ServicePort Service Port}'. * * - * * @return the meta object for class 'Service Port'. * @see org.eclipse.papyrus.RobotML.ServicePort * @generated @@ -5336,7 +5451,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.ServicePort#getKind Kind}'. * * - * * @return the meta object for the attribute 'Kind'. * @see org.eclipse.papyrus.RobotML.ServicePort#getKind() * @see #getServicePort() @@ -5348,7 +5462,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.ActuatorSystem Actuator System}'. * * - * * @return the meta object for class 'Actuator System'. * @see org.eclipse.papyrus.RobotML.ActuatorSystem * @generated @@ -5359,7 +5472,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.RoboticSystem Robotic System}'. * * - * * @return the meta object for class 'Robotic System'. * @see org.eclipse.papyrus.RobotML.RoboticSystem * @generated @@ -5367,11 +5479,9 @@ public interface RobotMLPackage extends EPackage { EClass getRoboticSystem(); /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotML.RoboticSystem#getLocalPosition - * Local Position}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotML.RoboticSystem#getLocalPosition Local Position}'. * * - * * @return the meta object for the containment reference 'Local Position'. * @see org.eclipse.papyrus.RobotML.RoboticSystem#getLocalPosition() * @see #getRoboticSystem() @@ -5380,11 +5490,9 @@ public interface RobotMLPackage extends EPackage { EReference getRoboticSystem_LocalPosition(); /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotML.RoboticSystem#getLocalOrientation - * Local Orientation}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotML.RoboticSystem#getLocalOrientation Local Orientation}'. * * - * * @return the meta object for the containment reference 'Local Orientation'. * @see org.eclipse.papyrus.RobotML.RoboticSystem#getLocalOrientation() * @see #getRoboticSystem() @@ -5396,7 +5504,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.SensorSystem Sensor System}'. * * - * * @return the meta object for class 'Sensor System'. * @see org.eclipse.papyrus.RobotML.SensorSystem * @generated @@ -5407,7 +5514,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.SensorSystem#getFrequency Frequency}'. * * - * * @return the meta object for the attribute 'Frequency'. * @see org.eclipse.papyrus.RobotML.SensorSystem#getFrequency() * @see #getSensorSystem() @@ -5419,7 +5525,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.SensorSystem#getIdentifier Identifier}'. * * - * * @return the meta object for the attribute 'Identifier'. * @see org.eclipse.papyrus.RobotML.SensorSystem#getIdentifier() * @see #getSensorSystem() @@ -5431,7 +5536,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Hardware Hardware}'. * * - * * @return the meta object for class 'Hardware'. * @see org.eclipse.papyrus.RobotML.Hardware * @generated @@ -5442,7 +5546,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Software Software}'. * * - * * @return the meta object for class 'Software'. * @see org.eclipse.papyrus.RobotML.Software * @generated @@ -5453,7 +5556,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Software#isIsPeriodic Is Periodic}'. * * - * * @return the meta object for the attribute 'Is Periodic'. * @see org.eclipse.papyrus.RobotML.Software#isIsPeriodic() * @see #getSoftware() @@ -5465,7 +5567,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Software#getPeriod Period}'. * * - * * @return the meta object for the attribute 'Period'. * @see org.eclipse.papyrus.RobotML.Software#getPeriod() * @see #getSoftware() @@ -5477,7 +5578,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Software#getPriority Priority}'. * * - * * @return the meta object for the attribute 'Priority'. * @see org.eclipse.papyrus.RobotML.Software#getPriority() * @see #getSoftware() @@ -5489,7 +5589,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Software#getDeadline Deadline}'. * * - * * @return the meta object for the attribute 'Deadline'. * @see org.eclipse.papyrus.RobotML.Software#getDeadline() * @see #getSoftware() @@ -5501,7 +5600,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.Software#getWcet Wcet}'. * * - * * @return the meta object for the attribute 'Wcet'. * @see org.eclipse.papyrus.RobotML.Software#getWcet() * @see #getSoftware() @@ -5513,7 +5611,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.PrimitiveData Primitive Data}'. * * - * * @return the meta object for class 'Primitive Data'. * @see org.eclipse.papyrus.RobotML.PrimitiveData * @generated @@ -5521,11 +5618,9 @@ public interface RobotMLPackage extends EPackage { EClass getPrimitiveData(); /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.PrimitiveData#getBase_PrimitiveType Base Primitive Type} - * '. + * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.PrimitiveData#getBase_PrimitiveType Base Primitive Type}'. * * - * * @return the meta object for the reference 'Base Primitive Type'. * @see org.eclipse.papyrus.RobotML.PrimitiveData#getBase_PrimitiveType() * @see #getPrimitiveData() @@ -5537,7 +5632,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.DataType Data Type}'. * * - * * @return the meta object for class 'Data Type'. * @see org.eclipse.papyrus.RobotML.DataType * @generated @@ -5548,7 +5642,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.DataType#getBase_DataType Base Data Type}'. * * - * * @return the meta object for the reference 'Base Data Type'. * @see org.eclipse.papyrus.RobotML.DataType#getBase_DataType() * @see #getDataType() @@ -5560,7 +5653,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.DataType#isNative Native}'. * * - * * @return the meta object for the attribute 'Native'. * @see org.eclipse.papyrus.RobotML.DataType#isNative() * @see #getDataType() @@ -5572,7 +5664,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.DataType#getLibraryPath Library Path}'. * * - * * @return the meta object for the attribute 'Library Path'. * @see org.eclipse.papyrus.RobotML.DataType#getLibraryPath() * @see #getDataType() @@ -5584,7 +5675,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.EngineSystem Engine System}'. * * - * * @return the meta object for class 'Engine System'. * @see org.eclipse.papyrus.RobotML.EngineSystem * @generated @@ -5595,7 +5685,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.EngineSystem#getVehicleTraction Vehicle Traction}'. * * - * * @return the meta object for the attribute 'Vehicle Traction'. * @see org.eclipse.papyrus.RobotML.EngineSystem#getVehicleTraction() * @see #getEngineSystem() @@ -5607,7 +5696,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxEngineForce Max Engine Force}'. * * - * * @return the meta object for the attribute 'Max Engine Force'. * @see org.eclipse.papyrus.RobotML.EngineSystem#getMaxEngineForce() * @see #getEngineSystem() @@ -5619,7 +5707,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxBreakingForce Max Breaking Force}'. * * - * * @return the meta object for the attribute 'Max Breaking Force'. * @see org.eclipse.papyrus.RobotML.EngineSystem#getMaxBreakingForce() * @see #getEngineSystem() @@ -5628,11 +5715,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getEngineSystem_MaxBreakingForce(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxAllowedSteering Max Allowed Steering} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxAllowedSteering Max Allowed Steering}'. * * - * * @return the meta object for the attribute 'Max Allowed Steering'. * @see org.eclipse.papyrus.RobotML.EngineSystem#getMaxAllowedSteering() * @see #getEngineSystem() @@ -5641,11 +5726,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getEngineSystem_MaxAllowedSteering(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxAllowedVelocity Max Allowed Velocity} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.EngineSystem#getMaxAllowedVelocity Max Allowed Velocity}'. * * - * * @return the meta object for the attribute 'Max Allowed Velocity'. * @see org.eclipse.papyrus.RobotML.EngineSystem#getMaxAllowedVelocity() * @see #getEngineSystem() @@ -5657,7 +5740,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.EngineSystem#getGear_ration Gear ration}'. * * - * * @return the meta object for the attribute 'Gear ration'. * @see org.eclipse.papyrus.RobotML.EngineSystem#getGear_ration() * @see #getEngineSystem() @@ -5669,7 +5751,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.WheelSystem Wheel System}'. * * - * * @return the meta object for class 'Wheel System'. * @see org.eclipse.papyrus.RobotML.WheelSystem * @generated @@ -5680,7 +5761,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelRadius Wheel Radius}'. * * - * * @return the meta object for the attribute 'Wheel Radius'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getWheelRadius() * @see #getWheelSystem() @@ -5692,7 +5772,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelWidth Wheel Width}'. * * - * * @return the meta object for the attribute 'Wheel Width'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getWheelWidth() * @see #getWheelSystem() @@ -5701,11 +5780,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getWheelSystem_WheelWidth(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionRestLength - * Suspension Rest Length}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionRestLength Suspension Rest Length}'. * * - * * @return the meta object for the attribute 'Suspension Rest Length'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionRestLength() * @see #getWheelSystem() @@ -5714,11 +5791,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getWheelSystem_SuspensionRestLength(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelConnectionHeight - * Wheel Connection Height}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelConnectionHeight Wheel Connection Height}'. * * - * * @return the meta object for the attribute 'Wheel Connection Height'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getWheelConnectionHeight() * @see #getWheelSystem() @@ -5730,7 +5805,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getTypeOfWheel Type Of Wheel}'. * * - * * @return the meta object for the attribute 'Type Of Wheel'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getTypeOfWheel() * @see #getWheelSystem() @@ -5739,11 +5813,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getWheelSystem_TypeOfWheel(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDkp Wheel Velocity PI Dkp} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDkp Wheel Velocity PI Dkp}'. * * - * * @return the meta object for the attribute 'Wheel Velocity PI Dkp'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDkp() * @see #getWheelSystem() @@ -5752,11 +5824,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getWheelSystem_WheelVelocityPIDkp(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDki Wheel Velocity PI Dki} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDki Wheel Velocity PI Dki}'. * * - * * @return the meta object for the attribute 'Wheel Velocity PI Dki'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDki() * @see #getWheelSystem() @@ -5765,11 +5835,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getWheelSystem_WheelVelocityPIDki(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDkd Wheel Velocity PI Dkd} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDkd Wheel Velocity PI Dkd}'. * * - * * @return the meta object for the attribute 'Wheel Velocity PI Dkd'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDkd() * @see #getWheelSystem() @@ -5778,11 +5846,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getWheelSystem_WheelVelocityPIDkd(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelSteeringPIDkp Wheel Steering PI Dkp} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelSteeringPIDkp Wheel Steering PI Dkp}'. * * - * * @return the meta object for the attribute 'Wheel Steering PI Dkp'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getWheelSteeringPIDkp() * @see #getWheelSystem() @@ -5791,11 +5857,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getWheelSystem_WheelSteeringPIDkp(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelSteeringPIDkd Wheel Steering PI Dkd} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelSteeringPIDkd Wheel Steering PI Dkd}'. * * - * * @return the meta object for the attribute 'Wheel Steering PI Dkd'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getWheelSteeringPIDkd() * @see #getWheelSystem() @@ -5807,7 +5871,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelFriction Wheel Friction}'. * * - * * @return the meta object for the attribute 'Wheel Friction'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getWheelFriction() * @see #getWheelSystem() @@ -5816,11 +5879,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getWheelSystem_WheelFriction(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionStiffness Suspension Stiffness} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionStiffness Suspension Stiffness}'. * * - * * @return the meta object for the attribute 'Suspension Stiffness'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionStiffness() * @see #getWheelSystem() @@ -5832,7 +5893,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionDamping Suspension Damping}'. * * - * * @return the meta object for the attribute 'Suspension Damping'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionDamping() * @see #getWheelSystem() @@ -5841,11 +5901,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getWheelSystem_SuspensionDamping(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionCompression - * Suspension Compression}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionCompression Suspension Compression}'. * * - * * @return the meta object for the attribute 'Suspension Compression'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionCompression() * @see #getWheelSystem() @@ -5854,11 +5912,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getWheelSystem_SuspensionCompression(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxSum - * Wheel Velocity PI Dmax Sum}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxSum Wheel Velocity PI Dmax Sum}'. * * - * * @return the meta object for the attribute 'Wheel Velocity PI Dmax Sum'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxSum() * @see #getWheelSystem() @@ -5867,11 +5923,9 @@ public interface RobotMLPackage extends EPackage { EAttribute getWheelSystem_WheelVelocityPIDmaxSum(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxVal - * Wheel Velocity PI Dmax Val}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxVal Wheel Velocity PI Dmax Val}'. * * - * * @return the meta object for the attribute 'Wheel Velocity PI Dmax Val'. * @see org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxVal() * @see #getWheelSystem() @@ -5883,7 +5937,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.ImageSensorSystem Image Sensor System}'. * * - * * @return the meta object for class 'Image Sensor System'. * @see org.eclipse.papyrus.RobotML.ImageSensorSystem * @generated @@ -5894,7 +5947,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.CameraSystem Camera System}'. * * - * * @return the meta object for class 'Camera System'. * @see org.eclipse.papyrus.RobotML.CameraSystem * @generated @@ -5905,7 +5957,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.CameraSystem#getWidth Width}'. * * - * * @return the meta object for the attribute 'Width'. * @see org.eclipse.papyrus.RobotML.CameraSystem#getWidth() * @see #getCameraSystem() @@ -5917,7 +5968,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.CameraSystem#getHeight Height}'. * * - * * @return the meta object for the attribute 'Height'. * @see org.eclipse.papyrus.RobotML.CameraSystem#getHeight() * @see #getCameraSystem() @@ -5929,7 +5979,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.CameraSystem#getAlpha_u Alpha u}'. * * - * * @return the meta object for the attribute 'Alpha u'. * @see org.eclipse.papyrus.RobotML.CameraSystem#getAlpha_u() * @see #getCameraSystem() @@ -5941,7 +5990,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.CameraSystem#getAlpha_v Alpha v}'. * * - * * @return the meta object for the attribute 'Alpha v'. * @see org.eclipse.papyrus.RobotML.CameraSystem#getAlpha_v() * @see #getCameraSystem() @@ -5953,7 +6001,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.CameraSystem#getU0 U0}'. * * - * * @return the meta object for the attribute 'U0'. * @see org.eclipse.papyrus.RobotML.CameraSystem#getU0() * @see #getCameraSystem() @@ -5965,7 +6012,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.CameraSystem#getV0 V0}'. * * - * * @return the meta object for the attribute 'V0'. * @see org.eclipse.papyrus.RobotML.CameraSystem#getV0() * @see #getCameraSystem() @@ -5977,7 +6023,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.CameraSystem#getColor_format Color format}'. * * - * * @return the meta object for the attribute 'Color format'. * @see org.eclipse.papyrus.RobotML.CameraSystem#getColor_format() * @see #getCameraSystem() @@ -5989,7 +6034,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotML.CameraSystem#getTranslate Translate}'. * * - * * @return the meta object for the containment reference 'Translate'. * @see org.eclipse.papyrus.RobotML.CameraSystem#getTranslate() * @see #getCameraSystem() @@ -6001,7 +6045,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotML.CameraSystem#getRotate Rotate}'. * * - * * @return the meta object for the containment reference 'Rotate'. * @see org.eclipse.papyrus.RobotML.CameraSystem#getRotate() * @see #getCameraSystem() @@ -6013,7 +6056,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.ObjectDetectionSensorSystem Object Detection Sensor System}'. * * - * * @return the meta object for class 'Object Detection Sensor System'. * @see org.eclipse.papyrus.RobotML.ObjectDetectionSensorSystem * @generated @@ -6024,7 +6066,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.ObjectTrackingSensorSystem Object Tracking Sensor System}'. * * - * * @return the meta object for class 'Object Tracking Sensor System'. * @see org.eclipse.papyrus.RobotML.ObjectTrackingSensorSystem * @generated @@ -6035,7 +6076,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.LidarSystem Lidar System}'. * * - * * @return the meta object for class 'Lidar System'. * @see org.eclipse.papyrus.RobotML.LidarSystem * @generated @@ -6046,7 +6086,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.LidarSystem#getNbLayers Nb Layers}'. * * - * * @return the meta object for the attribute 'Nb Layers'. * @see org.eclipse.papyrus.RobotML.LidarSystem#getNbLayers() * @see #getLidarSystem() @@ -6058,7 +6097,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.LidarSystem#getLayerAngleMin Layer Angle Min}'. * * - * * @return the meta object for the attribute 'Layer Angle Min'. * @see org.eclipse.papyrus.RobotML.LidarSystem#getLayerAngleMin() * @see #getLidarSystem() @@ -6070,7 +6108,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.LidarSystem#getLayerAngleStep Layer Angle Step}'. * * - * * @return the meta object for the attribute 'Layer Angle Step'. * @see org.eclipse.papyrus.RobotML.LidarSystem#getLayerAngleStep() * @see #getLidarSystem() @@ -6082,7 +6119,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.LidarSystem#isNoise Noise}'. * * - * * @return the meta object for the attribute 'Noise'. * @see org.eclipse.papyrus.RobotML.LidarSystem#isNoise() * @see #getLidarSystem() @@ -6094,7 +6130,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.LidarSystem#getSigmaNoise Sigma Noise}'. * * - * * @return the meta object for the attribute 'Sigma Noise'. * @see org.eclipse.papyrus.RobotML.LidarSystem#getSigmaNoise() * @see #getLidarSystem() @@ -6106,7 +6141,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.LidarSystem#getAngle_min Angle min}'. * * - * * @return the meta object for the attribute 'Angle min'. * @see org.eclipse.papyrus.RobotML.LidarSystem#getAngle_min() * @see #getLidarSystem() @@ -6118,7 +6152,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.LidarSystem#getAngle_max Angle max}'. * * - * * @return the meta object for the attribute 'Angle max'. * @see org.eclipse.papyrus.RobotML.LidarSystem#getAngle_max() * @see #getLidarSystem() @@ -6130,7 +6163,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.LidarSystem#getTime_increment Time increment}'. * * - * * @return the meta object for the attribute 'Time increment'. * @see org.eclipse.papyrus.RobotML.LidarSystem#getTime_increment() * @see #getLidarSystem() @@ -6142,7 +6174,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.LidarSystem#getScan_time Scan time}'. * * - * * @return the meta object for the attribute 'Scan time'. * @see org.eclipse.papyrus.RobotML.LidarSystem#getScan_time() * @see #getLidarSystem() @@ -6154,7 +6185,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.LidarSystem#getRange_min Range min}'. * * - * * @return the meta object for the attribute 'Range min'. * @see org.eclipse.papyrus.RobotML.LidarSystem#getRange_min() * @see #getLidarSystem() @@ -6166,7 +6196,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.LidarSystem#getRange_max Range max}'. * * - * * @return the meta object for the attribute 'Range max'. * @see org.eclipse.papyrus.RobotML.LidarSystem#getRange_max() * @see #getLidarSystem() @@ -6178,7 +6207,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.LidarSystem#getNbRays Nb Rays}'. * * - * * @return the meta object for the attribute 'Nb Rays'. * @see org.eclipse.papyrus.RobotML.LidarSystem#getNbRays() * @see #getLidarSystem() @@ -6190,7 +6218,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.LocalizationSensorSystem Localization Sensor System}'. * * - * * @return the meta object for class 'Localization Sensor System'. * @see org.eclipse.papyrus.RobotML.LocalizationSensorSystem * @generated @@ -6201,7 +6228,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.GPSSystem GPS System}'. * * - * * @return the meta object for class 'GPS System'. * @see org.eclipse.papyrus.RobotML.GPSSystem * @generated @@ -6209,11 +6235,9 @@ public interface RobotMLPackage extends EPackage { EClass getGPSSystem(); /** - * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotML.GPSSystem#getOriginPosition Origin Position} - * '. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotML.GPSSystem#getOriginPosition Origin Position}'. * * - * * @return the meta object for the containment reference 'Origin Position'. * @see org.eclipse.papyrus.RobotML.GPSSystem#getOriginPosition() * @see #getGPSSystem() @@ -6225,7 +6249,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.SimulatedSystem Simulated System}'. * * - * * @return the meta object for class 'Simulated System'. * @see org.eclipse.papyrus.RobotML.SimulatedSystem * @generated @@ -6236,7 +6259,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.SimulatedSystem#getBase_Property Base Property}'. * * - * * @return the meta object for the reference 'Base Property'. * @see org.eclipse.papyrus.RobotML.SimulatedSystem#getBase_Property() * @see #getSimulatedSystem() @@ -6248,7 +6270,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotML.SimulatedSystem#getMesh Mesh}'. * * - * * @return the meta object for the attribute list 'Mesh'. * @see org.eclipse.papyrus.RobotML.SimulatedSystem#getMesh() * @see #getSimulatedSystem() @@ -6260,7 +6281,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.AlgorithmLibrary Algorithm Library}'. * * - * * @return the meta object for class 'Algorithm Library'. * @see org.eclipse.papyrus.RobotML.AlgorithmLibrary * @generated @@ -6271,7 +6291,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.AlgorithmLibrary#getBase_Class Base Class}'. * * - * * @return the meta object for the reference 'Base Class'. * @see org.eclipse.papyrus.RobotML.AlgorithmLibrary#getBase_Class() * @see #getAlgorithmLibrary() @@ -6283,7 +6302,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.AlgorithmLibrary#getPath Path}'. * * - * * @return the meta object for the attribute 'Path'. * @see org.eclipse.papyrus.RobotML.AlgorithmLibrary#getPath() * @see #getAlgorithmLibrary() @@ -6291,58 +6309,10 @@ public interface RobotMLPackage extends EPackage { */ EAttribute getAlgorithmLibrary_Path(); - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.State State}'. - * - * - * - * @return the meta object for class 'State'. - * @see org.eclipse.papyrus.RobotML.State - * @generated - */ - EClass getState(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.State#getBase_State Base State}'. - * - * - * - * @return the meta object for the reference 'Base State'. - * @see org.eclipse.papyrus.RobotML.State#getBase_State() - * @see #getState() - * @generated - */ - EReference getState_Base_State(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.State#getOperation Operation}'. - * - * - * - * @return the meta object for the reference 'Operation'. - * @see org.eclipse.papyrus.RobotML.State#getOperation() - * @see #getState() - * @generated - */ - EReference getState_Operation(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.RobotML.State#getArguments Arguments}'. - * - * - * - * @return the meta object for the reference list 'Arguments'. - * @see org.eclipse.papyrus.RobotML.State#getArguments() - * @see #getState() - * @generated - */ - EReference getState_Arguments(); - /** * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.SensorDriver Sensor Driver}'. * * - * * @return the meta object for class 'Sensor Driver'. * @see org.eclipse.papyrus.RobotML.SensorDriver * @generated @@ -6353,7 +6323,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Building Building}'. * * - * * @return the meta object for class 'Building'. * @see org.eclipse.papyrus.RobotML.Building * @generated @@ -6364,7 +6333,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Planet Planet}'. * * - * * @return the meta object for class 'Planet'. * @see org.eclipse.papyrus.RobotML.Planet * @generated @@ -6375,7 +6343,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.LandSurface Land Surface}'. * * - * * @return the meta object for class 'Land Surface'. * @see org.eclipse.papyrus.RobotML.LandSurface * @generated @@ -6386,7 +6353,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Ground Ground}'. * * - * * @return the meta object for class 'Ground'. * @see org.eclipse.papyrus.RobotML.Ground * @generated @@ -6397,7 +6363,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Floor Floor}'. * * - * * @return the meta object for class 'Floor'. * @see org.eclipse.papyrus.RobotML.Floor * @generated @@ -6408,7 +6373,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.WaterSurface Water Surface}'. * * - * * @return the meta object for class 'Water Surface'. * @see org.eclipse.papyrus.RobotML.WaterSurface * @generated @@ -6419,7 +6383,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Human Human}'. * * - * * @return the meta object for class 'Human'. * @see org.eclipse.papyrus.RobotML.Human * @generated @@ -6430,7 +6393,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Pedestrian Pedestrian}'. * * - * * @return the meta object for class 'Pedestrian'. * @see org.eclipse.papyrus.RobotML.Pedestrian * @generated @@ -6441,7 +6403,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Stairs Stairs}'. * * - * * @return the meta object for class 'Stairs'. * @see org.eclipse.papyrus.RobotML.Stairs * @generated @@ -6452,7 +6413,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Platform Platform}'. * * - * * @return the meta object for class 'Platform'. * @see org.eclipse.papyrus.RobotML.Platform * @generated @@ -6463,7 +6423,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.Platform#getBase_Node Base Node}'. * * - * * @return the meta object for the reference 'Base Node'. * @see org.eclipse.papyrus.RobotML.Platform#getBase_Node() * @see #getPlatform() @@ -6471,11 +6430,64 @@ public interface RobotMLPackage extends EPackage { */ EReference getPlatform_Base_Node(); + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.RobotML.Platform#getLibrary Library}'. + * + * + * @return the meta object for the reference list 'Library'. + * @see org.eclipse.papyrus.RobotML.Platform#getLibrary() + * @see #getPlatform() + * @generated + */ + EReference getPlatform_Library(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.ExternalLibrary External Library}'. + * + * + * @return the meta object for class 'External Library'. + * @see org.eclipse.papyrus.RobotML.ExternalLibrary + * @generated + */ + EClass getExternalLibrary(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.ExternalLibrary#getLibPath Lib Path}'. + * + * + * @return the meta object for the attribute 'Lib Path'. + * @see org.eclipse.papyrus.RobotML.ExternalLibrary#getLibPath() + * @see #getExternalLibrary() + * @generated + */ + EAttribute getExternalLibrary_LibPath(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.ExternalLibrary#getLibFileFormat Lib File Format}'. + * + * + * @return the meta object for the attribute 'Lib File Format'. + * @see org.eclipse.papyrus.RobotML.ExternalLibrary#getLibFileFormat() + * @see #getExternalLibrary() + * @generated + */ + EAttribute getExternalLibrary_LibFileFormat(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.ExternalLibrary#getBase_Interface Base Interface}'. + * + * + * @return the meta object for the reference 'Base Interface'. + * @see org.eclipse.papyrus.RobotML.ExternalLibrary#getBase_Interface() + * @see #getExternalLibrary() + * @generated + */ + EReference getExternalLibrary_Base_Interface(); + /** * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.RoboticMiddleware Robotic Middleware}'. * * - * * @return the meta object for class 'Robotic Middleware'. * @see org.eclipse.papyrus.RobotML.RoboticMiddleware * @generated @@ -6486,7 +6498,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.RoboticMiddleware#getKind Kind}'. * * - * * @return the meta object for the attribute 'Kind'. * @see org.eclipse.papyrus.RobotML.RoboticMiddleware#getKind() * @see #getRoboticMiddleware() @@ -6498,7 +6509,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.RoboticSimulator Robotic Simulator}'. * * - * * @return the meta object for class 'Robotic Simulator'. * @see org.eclipse.papyrus.RobotML.RoboticSimulator * @generated @@ -6509,7 +6519,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.CycabTK Cycab TK}'. * * - * * @return the meta object for class 'Cycab TK'. * @see org.eclipse.papyrus.RobotML.CycabTK * @generated @@ -6520,7 +6529,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.CycabTK#isUseRealTime Use Real Time}'. * * - * * @return the meta object for the attribute 'Use Real Time'. * @see org.eclipse.papyrus.RobotML.CycabTK#isUseRealTime() * @see #getCycabTK() @@ -6532,7 +6540,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.CycabTK#getTimeStep Time Step}'. * * - * * @return the meta object for the attribute 'Time Step'. * @see org.eclipse.papyrus.RobotML.CycabTK#getTimeStep() * @see #getCycabTK() @@ -6544,7 +6551,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.CycabTK#getTimeFactor Time Factor}'. * * - * * @return the meta object for the attribute 'Time Factor'. * @see org.eclipse.papyrus.RobotML.CycabTK#getTimeFactor() * @see #getCycabTK() @@ -6556,7 +6562,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.BlenderMorse Blender Morse}'. * * - * * @return the meta object for class 'Blender Morse'. * @see org.eclipse.papyrus.RobotML.BlenderMorse * @generated @@ -6567,7 +6572,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.BlenderMorse#isDebugMode Debug Mode}'. * * - * * @return the meta object for the attribute 'Debug Mode'. * @see org.eclipse.papyrus.RobotML.BlenderMorse#isDebugMode() * @see #getBlenderMorse() @@ -6579,7 +6583,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.BlenderMorse#isDebugDisplay Debug Display}'. * * - * * @return the meta object for the attribute 'Debug Display'. * @see org.eclipse.papyrus.RobotML.BlenderMorse#isDebugDisplay() * @see #getBlenderMorse() @@ -6591,7 +6594,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.BlenderMorse#getGravity Gravity}'. * * - * * @return the meta object for the attribute 'Gravity'. * @see org.eclipse.papyrus.RobotML.BlenderMorse#getGravity() * @see #getBlenderMorse() @@ -6603,7 +6605,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotML.BlenderMorse#get_viewport_shade viewport shade}'. * * - * * @return the meta object for the attribute 'viewport shade'. * @see org.eclipse.papyrus.RobotML.BlenderMorse#get_viewport_shade() * @see #getBlenderMorse() @@ -6615,7 +6616,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.OnPort On Port}'. * * - * * @return the meta object for class 'On Port'. * @see org.eclipse.papyrus.RobotML.OnPort * @generated @@ -6626,7 +6626,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.OnPort#getPort Port}'. * * - * * @return the meta object for the reference 'Port'. * @see org.eclipse.papyrus.RobotML.OnPort#getPort() * @see #getOnPort() @@ -6638,7 +6637,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.OnPort#getBase_Parameter Base Parameter}'. * * - * * @return the meta object for the reference 'Base Parameter'. * @see org.eclipse.papyrus.RobotML.OnPort#getBase_Parameter() * @see #getOnPort() @@ -6650,7 +6648,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Allocate Allocate}'. * * - * * @return the meta object for class 'Allocate'. * @see org.eclipse.papyrus.RobotML.Allocate * @generated @@ -6661,7 +6658,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.Allocate#getBase_Abstraction Base Abstraction}'. * * - * * @return the meta object for the reference 'Base Abstraction'. * @see org.eclipse.papyrus.RobotML.Allocate#getBase_Abstraction() * @see #getAllocate() @@ -6670,11 +6666,9 @@ public interface RobotMLPackage extends EPackage { EReference getAllocate_Base_Abstraction(); /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.InertialMeasurementUnitSystem Inertial Measurement Unit System} - * '. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.InertialMeasurementUnitSystem Inertial Measurement Unit System}'. * * - * * @return the meta object for class 'Inertial Measurement Unit System'. * @see org.eclipse.papyrus.RobotML.InertialMeasurementUnitSystem * @generated @@ -6685,7 +6679,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.InertialNavigationSystem Inertial Navigation System}'. * * - * * @return the meta object for class 'Inertial Navigation System'. * @see org.eclipse.papyrus.RobotML.InertialNavigationSystem * @generated @@ -6696,7 +6689,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.OdometrySystem Odometry System}'. * * - * * @return the meta object for class 'Odometry System'. * @see org.eclipse.papyrus.RobotML.OdometrySystem * @generated @@ -6707,7 +6699,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.InfraRedProximetrySystem Infra Red Proximetry System}'. * * - * * @return the meta object for class 'Infra Red Proximetry System'. * @see org.eclipse.papyrus.RobotML.InfraRedProximetrySystem * @generated @@ -6718,7 +6709,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.DeploymentPlan Deployment Plan}'. * * - * * @return the meta object for class 'Deployment Plan'. * @see org.eclipse.papyrus.RobotML.DeploymentPlan * @generated @@ -6729,7 +6719,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.DeploymentPlan#getBase_Package Base Package}'. * * - * * @return the meta object for the reference 'Base Package'. * @see org.eclipse.papyrus.RobotML.DeploymentPlan#getBase_Package() * @see #getDeploymentPlan() @@ -6741,7 +6730,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.DeploymentPlan#getMainInstance Main Instance}'. * * - * * @return the meta object for the reference 'Main Instance'. * @see org.eclipse.papyrus.RobotML.DeploymentPlan#getMainInstance() * @see #getDeploymentPlan() @@ -6753,18 +6741,48 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.Gyroscope Gyroscope}'. * * - * * @return the meta object for class 'Gyroscope'. * @see org.eclipse.papyrus.RobotML.Gyroscope * @generated */ EClass getGyroscope(); + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotML.OnProperty On Property}'. + * + * + * @return the meta object for class 'On Property'. + * @see org.eclipse.papyrus.RobotML.OnProperty + * @generated + */ + EClass getOnProperty(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.OnProperty#getProperty Property}'. + * + * + * @return the meta object for the reference 'Property'. + * @see org.eclipse.papyrus.RobotML.OnProperty#getProperty() + * @see #getOnProperty() + * @generated + */ + EReference getOnProperty_Property(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.RobotML.OnProperty#getBase_Parameter Base Parameter}'. + * + * + * @return the meta object for the reference 'Base Parameter'. + * @see org.eclipse.papyrus.RobotML.OnProperty#getBase_Parameter() + * @see #getOnProperty() + * @generated + */ + EReference getOnProperty_Base_Parameter(); + /** * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotML.RobotKind Robot Kind}'. * * - * * @return the meta object for enum 'Robot Kind'. * @see org.eclipse.papyrus.RobotML.RobotKind * @generated @@ -6775,7 +6793,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotML.UGVKind UGV Kind}'. * * - * * @return the meta object for enum 'UGV Kind'. * @see org.eclipse.papyrus.RobotML.UGVKind * @generated @@ -6786,7 +6803,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotML.SynchronizationKind Synchronization Kind}'. * * - * * @return the meta object for enum 'Synchronization Kind'. * @see org.eclipse.papyrus.RobotML.SynchronizationKind * @generated @@ -6797,7 +6813,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotML.DataFlowDirectionKind Data Flow Direction Kind}'. * * - * * @return the meta object for enum 'Data Flow Direction Kind'. * @see org.eclipse.papyrus.RobotML.DataFlowDirectionKind * @generated @@ -6808,7 +6823,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotML.ServiceFlowKind Service Flow Kind}'. * * - * * @return the meta object for enum 'Service Flow Kind'. * @see org.eclipse.papyrus.RobotML.ServiceFlowKind * @generated @@ -6819,7 +6833,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotML.RoboticMiddlewareKind Robotic Middleware Kind}'. * * - * * @return the meta object for enum 'Robotic Middleware Kind'. * @see org.eclipse.papyrus.RobotML.RoboticMiddlewareKind * @generated @@ -6830,7 +6843,6 @@ public interface RobotMLPackage extends EPackage { * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotML.Shade Shade}'. * * - * * @return the meta object for enum 'Shade'. * @see org.eclipse.papyrus.RobotML.Shade * @generated @@ -6841,7 +6853,6 @@ public interface RobotMLPackage extends EPackage { * Returns the factory that creates the instances of the model. * * - * * @return the factory that creates the instances of the model. * @generated */ @@ -6851,22 +6862,20 @@ public interface RobotMLPackage extends EPackage { * * Defines literals for the meta objects that represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @generated */ interface Literals { - /** * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.TransitionImpl Transition}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.TransitionImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getTransition() * @generated @@ -6877,7 +6886,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Base Transition' reference feature. * * - * * @generated */ EReference TRANSITION__BASE_TRANSITION = eINSTANCE.getTransition_Base_Transition(); @@ -6886,7 +6894,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Guard' reference feature. * * - * * @generated */ EReference TRANSITION__GUARD = eINSTANCE.getTransition_Guard(); @@ -6895,7 +6902,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Effect' reference feature. * * - * * @generated */ EReference TRANSITION__EFFECT = eINSTANCE.getTransition_Effect(); @@ -6904,7 +6910,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl Algorithm}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.AlgorithmImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getAlgorithm() * @generated @@ -6915,7 +6920,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Base Operation' reference feature. * * - * * @generated */ EReference ALGORITHM__BASE_OPERATION = eINSTANCE.getAlgorithm_Base_Operation(); @@ -6924,7 +6928,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Is External' attribute feature. * * - * * @generated */ EAttribute ALGORITHM__IS_EXTERNAL = eINSTANCE.getAlgorithm_IsExternal(); @@ -6933,7 +6936,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Ext Function Name' attribute feature. * * - * * @generated */ EAttribute ALGORITHM__EXT_FUNCTION_NAME = eINSTANCE.getAlgorithm_ExtFunctionName(); @@ -6942,7 +6944,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Lib Path' attribute feature. * * - * * @generated */ EAttribute ALGORITHM__LIB_PATH = eINSTANCE.getAlgorithm_LibPath(); @@ -6951,16 +6952,40 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Lib File Format' attribute feature. * * - * * @generated */ EAttribute ALGORITHM__LIB_FILE_FORMAT = eINSTANCE.getAlgorithm_LibFileFormat(); + /** + * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.StateImpl State}' class. + * + * + * @see org.eclipse.papyrus.RobotML.impl.StateImpl + * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getState() + * @generated + */ + EClass STATE = eINSTANCE.getState(); + + /** + * The meta object literal for the 'Base State' reference feature. + * + * + * @generated + */ + EReference STATE__BASE_STATE = eINSTANCE.getState_Base_State(); + + /** + * The meta object literal for the 'Behavior' reference feature. + * + * + * @generated + */ + EReference STATE__BEHAVIOR = eINSTANCE.getState_Behavior(); + /** * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.RobotImpl Robot}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.RobotImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getRobot() * @generated @@ -6971,7 +6996,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Kind' attribute feature. * * - * * @generated */ EAttribute ROBOT__KIND = eINSTANCE.getRobot_Kind(); @@ -6980,7 +7004,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Mass' attribute feature. * * - * * @generated */ EAttribute ROBOT__MASS = eINSTANCE.getRobot_Mass(); @@ -6989,7 +7012,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Width' attribute feature. * * - * * @generated */ EAttribute ROBOT__WIDTH = eINSTANCE.getRobot_Width(); @@ -6998,7 +7020,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Ugv Kind' attribute feature. * * - * * @generated */ EAttribute ROBOT__UGV_KIND = eINSTANCE.getRobot_UgvKind(); @@ -7007,7 +7028,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.SystemImpl System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.SystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSystem() * @generated @@ -7018,7 +7038,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Base Class' reference feature. * * - * * @generated */ EReference SYSTEM__BASE_CLASS = eINSTANCE.getSystem_Base_Class(); @@ -7027,7 +7046,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Native' attribute feature. * * - * * @generated */ EAttribute SYSTEM__NATIVE = eINSTANCE.getSystem_Native(); @@ -7036,7 +7054,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Library Path' attribute feature. * * - * * @generated */ EAttribute SYSTEM__LIBRARY_PATH = eINSTANCE.getSystem_LibraryPath(); @@ -7045,7 +7062,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Library Component Name' attribute feature. * * - * * @generated */ EAttribute SYSTEM__LIBRARY_COMPONENT_NAME = eINSTANCE.getSystem_LibraryComponentName(); @@ -7054,7 +7070,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.AgentImpl Agent}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.AgentImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getAgent() * @generated @@ -7065,7 +7080,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Moves Over' reference list feature. * * - * * @generated */ EReference AGENT__MOVES_OVER = eINSTANCE.getAgent_MovesOver(); @@ -7074,7 +7088,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl Physical Object}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getPhysicalObject() * @generated @@ -7085,7 +7098,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Eveloves In' reference list feature. * * - * * @generated */ EReference PHYSICAL_OBJECT__EVELOVES_IN = eINSTANCE.getPhysicalObject_EvelovesIn(); @@ -7094,7 +7106,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Has Surface' reference feature. * * - * * @generated */ EReference PHYSICAL_OBJECT__HAS_SURFACE = eINSTANCE.getPhysicalObject_HasSurface(); @@ -7103,7 +7114,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.EnvironmentImpl Environment}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.EnvironmentImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getEnvironment() * @generated @@ -7114,7 +7124,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.SurfaceImpl Surface}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.SurfaceImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSurface() * @generated @@ -7125,7 +7134,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.DataFlowPortImpl Data Flow Port}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.DataFlowPortImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getDataFlowPort() * @generated @@ -7136,7 +7144,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Direction' attribute feature. * * - * * @generated */ EAttribute DATA_FLOW_PORT__DIRECTION = eINSTANCE.getDataFlowPort_Direction(); @@ -7145,7 +7152,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Buffer Size' attribute feature. * * - * * @generated */ EAttribute DATA_FLOW_PORT__BUFFER_SIZE = eINSTANCE.getDataFlowPort_BufferSize(); @@ -7154,7 +7160,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.PortImpl Port}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.PortImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getPort() * @generated @@ -7165,7 +7170,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Base Port' reference feature. * * - * * @generated */ EReference PORT__BASE_PORT = eINSTANCE.getPort_Base_Port(); @@ -7174,7 +7178,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Synchronization Policy' attribute feature. * * - * * @generated */ EAttribute PORT__SYNCHRONIZATION_POLICY = eINSTANCE.getPort_SynchronizationPolicy(); @@ -7183,7 +7186,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.ServicePortImpl Service Port}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.ServicePortImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getServicePort() * @generated @@ -7194,7 +7196,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Kind' attribute feature. * * - * * @generated */ EAttribute SERVICE_PORT__KIND = eINSTANCE.getServicePort_Kind(); @@ -7203,7 +7204,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.ActuatorSystemImpl Actuator System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.ActuatorSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getActuatorSystem() * @generated @@ -7214,7 +7214,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.RoboticSystemImpl Robotic System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.RoboticSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getRoboticSystem() * @generated @@ -7225,7 +7224,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Local Position' containment reference feature. * * - * * @generated */ EReference ROBOTIC_SYSTEM__LOCAL_POSITION = eINSTANCE.getRoboticSystem_LocalPosition(); @@ -7234,7 +7232,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Local Orientation' containment reference feature. * * - * * @generated */ EReference ROBOTIC_SYSTEM__LOCAL_ORIENTATION = eINSTANCE.getRoboticSystem_LocalOrientation(); @@ -7243,7 +7240,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.SensorSystemImpl Sensor System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.SensorSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSensorSystem() * @generated @@ -7254,7 +7250,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Frequency' attribute feature. * * - * * @generated */ EAttribute SENSOR_SYSTEM__FREQUENCY = eINSTANCE.getSensorSystem_Frequency(); @@ -7263,7 +7258,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Identifier' attribute feature. * * - * * @generated */ EAttribute SENSOR_SYSTEM__IDENTIFIER = eINSTANCE.getSensorSystem_Identifier(); @@ -7272,7 +7266,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.HardwareImpl Hardware}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.HardwareImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getHardware() * @generated @@ -7283,7 +7276,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl Software}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.SoftwareImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSoftware() * @generated @@ -7294,7 +7286,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Is Periodic' attribute feature. * * - * * @generated */ EAttribute SOFTWARE__IS_PERIODIC = eINSTANCE.getSoftware_IsPeriodic(); @@ -7303,7 +7294,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Period' attribute feature. * * - * * @generated */ EAttribute SOFTWARE__PERIOD = eINSTANCE.getSoftware_Period(); @@ -7312,7 +7302,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Priority' attribute feature. * * - * * @generated */ EAttribute SOFTWARE__PRIORITY = eINSTANCE.getSoftware_Priority(); @@ -7321,7 +7310,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Deadline' attribute feature. * * - * * @generated */ EAttribute SOFTWARE__DEADLINE = eINSTANCE.getSoftware_Deadline(); @@ -7330,7 +7318,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Wcet' attribute feature. * * - * * @generated */ EAttribute SOFTWARE__WCET = eINSTANCE.getSoftware_Wcet(); @@ -7339,7 +7326,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.PrimitiveDataImpl Primitive Data}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.PrimitiveDataImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getPrimitiveData() * @generated @@ -7350,7 +7336,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Base Primitive Type' reference feature. * * - * * @generated */ EReference PRIMITIVE_DATA__BASE_PRIMITIVE_TYPE = eINSTANCE.getPrimitiveData_Base_PrimitiveType(); @@ -7359,7 +7344,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.DataTypeImpl Data Type}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.DataTypeImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getDataType() * @generated @@ -7370,7 +7354,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Base Data Type' reference feature. * * - * * @generated */ EReference DATA_TYPE__BASE_DATA_TYPE = eINSTANCE.getDataType_Base_DataType(); @@ -7379,7 +7362,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Native' attribute feature. * * - * * @generated */ EAttribute DATA_TYPE__NATIVE = eINSTANCE.getDataType_Native(); @@ -7388,7 +7370,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Library Path' attribute feature. * * - * * @generated */ EAttribute DATA_TYPE__LIBRARY_PATH = eINSTANCE.getDataType_LibraryPath(); @@ -7397,7 +7378,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl Engine System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.EngineSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getEngineSystem() * @generated @@ -7408,7 +7388,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Vehicle Traction' attribute feature. * * - * * @generated */ EAttribute ENGINE_SYSTEM__VEHICLE_TRACTION = eINSTANCE.getEngineSystem_VehicleTraction(); @@ -7417,7 +7396,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Max Engine Force' attribute feature. * * - * * @generated */ EAttribute ENGINE_SYSTEM__MAX_ENGINE_FORCE = eINSTANCE.getEngineSystem_MaxEngineForce(); @@ -7426,7 +7404,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Max Breaking Force' attribute feature. * * - * * @generated */ EAttribute ENGINE_SYSTEM__MAX_BREAKING_FORCE = eINSTANCE.getEngineSystem_MaxBreakingForce(); @@ -7435,7 +7412,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Max Allowed Steering' attribute feature. * * - * * @generated */ EAttribute ENGINE_SYSTEM__MAX_ALLOWED_STEERING = eINSTANCE.getEngineSystem_MaxAllowedSteering(); @@ -7444,7 +7420,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Max Allowed Velocity' attribute feature. * * - * * @generated */ EAttribute ENGINE_SYSTEM__MAX_ALLOWED_VELOCITY = eINSTANCE.getEngineSystem_MaxAllowedVelocity(); @@ -7453,7 +7428,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Gear ration' attribute feature. * * - * * @generated */ EAttribute ENGINE_SYSTEM__GEAR_RATION = eINSTANCE.getEngineSystem_Gear_ration(); @@ -7462,7 +7436,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl Wheel System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.WheelSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getWheelSystem() * @generated @@ -7473,7 +7446,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Wheel Radius' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__WHEEL_RADIUS = eINSTANCE.getWheelSystem_WheelRadius(); @@ -7482,7 +7454,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Wheel Width' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__WHEEL_WIDTH = eINSTANCE.getWheelSystem_WheelWidth(); @@ -7491,7 +7462,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Suspension Rest Length' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__SUSPENSION_REST_LENGTH = eINSTANCE.getWheelSystem_SuspensionRestLength(); @@ -7500,7 +7470,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Wheel Connection Height' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT = eINSTANCE.getWheelSystem_WheelConnectionHeight(); @@ -7509,7 +7478,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Type Of Wheel' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__TYPE_OF_WHEEL = eINSTANCE.getWheelSystem_TypeOfWheel(); @@ -7518,7 +7486,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Wheel Velocity PI Dkp' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP = eINSTANCE.getWheelSystem_WheelVelocityPIDkp(); @@ -7527,7 +7494,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Wheel Velocity PI Dki' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI = eINSTANCE.getWheelSystem_WheelVelocityPIDki(); @@ -7536,7 +7502,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Wheel Velocity PI Dkd' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD = eINSTANCE.getWheelSystem_WheelVelocityPIDkd(); @@ -7545,7 +7510,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Wheel Steering PI Dkp' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP = eINSTANCE.getWheelSystem_WheelSteeringPIDkp(); @@ -7554,7 +7518,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Wheel Steering PI Dkd' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD = eINSTANCE.getWheelSystem_WheelSteeringPIDkd(); @@ -7563,7 +7526,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Wheel Friction' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__WHEEL_FRICTION = eINSTANCE.getWheelSystem_WheelFriction(); @@ -7572,7 +7534,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Suspension Stiffness' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__SUSPENSION_STIFFNESS = eINSTANCE.getWheelSystem_SuspensionStiffness(); @@ -7581,7 +7542,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Suspension Damping' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__SUSPENSION_DAMPING = eINSTANCE.getWheelSystem_SuspensionDamping(); @@ -7590,7 +7550,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Suspension Compression' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__SUSPENSION_COMPRESSION = eINSTANCE.getWheelSystem_SuspensionCompression(); @@ -7599,7 +7558,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Wheel Velocity PI Dmax Sum' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM = eINSTANCE.getWheelSystem_WheelVelocityPIDmaxSum(); @@ -7608,7 +7566,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Wheel Velocity PI Dmax Val' attribute feature. * * - * * @generated */ EAttribute WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL = eINSTANCE.getWheelSystem_WheelVelocityPIDmaxVal(); @@ -7617,7 +7574,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.ImageSensorSystemImpl Image Sensor System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.ImageSensorSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getImageSensorSystem() * @generated @@ -7628,7 +7584,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl Camera System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.CameraSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getCameraSystem() * @generated @@ -7639,7 +7594,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Width' attribute feature. * * - * * @generated */ EAttribute CAMERA_SYSTEM__WIDTH = eINSTANCE.getCameraSystem_Width(); @@ -7648,7 +7602,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Height' attribute feature. * * - * * @generated */ EAttribute CAMERA_SYSTEM__HEIGHT = eINSTANCE.getCameraSystem_Height(); @@ -7657,7 +7610,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Alpha u' attribute feature. * * - * * @generated */ EAttribute CAMERA_SYSTEM__ALPHA_U = eINSTANCE.getCameraSystem_Alpha_u(); @@ -7666,7 +7618,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Alpha v' attribute feature. * * - * * @generated */ EAttribute CAMERA_SYSTEM__ALPHA_V = eINSTANCE.getCameraSystem_Alpha_v(); @@ -7675,7 +7626,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'U0' attribute feature. * * - * * @generated */ EAttribute CAMERA_SYSTEM__U0 = eINSTANCE.getCameraSystem_U0(); @@ -7684,7 +7634,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'V0' attribute feature. * * - * * @generated */ EAttribute CAMERA_SYSTEM__V0 = eINSTANCE.getCameraSystem_V0(); @@ -7693,7 +7642,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Color format' attribute feature. * * - * * @generated */ EAttribute CAMERA_SYSTEM__COLOR_FORMAT = eINSTANCE.getCameraSystem_Color_format(); @@ -7702,7 +7650,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Translate' containment reference feature. * * - * * @generated */ EReference CAMERA_SYSTEM__TRANSLATE = eINSTANCE.getCameraSystem_Translate(); @@ -7711,17 +7658,14 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Rotate' containment reference feature. * * - * * @generated */ EReference CAMERA_SYSTEM__ROTATE = eINSTANCE.getCameraSystem_Rotate(); /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.ObjectDetectionSensorSystemImpl - * Object Detection Sensor System}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.ObjectDetectionSensorSystemImpl Object Detection Sensor System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.ObjectDetectionSensorSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getObjectDetectionSensorSystem() * @generated @@ -7729,11 +7673,9 @@ public interface RobotMLPackage extends EPackage { EClass OBJECT_DETECTION_SENSOR_SYSTEM = eINSTANCE.getObjectDetectionSensorSystem(); /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.ObjectTrackingSensorSystemImpl - * Object Tracking Sensor System}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.ObjectTrackingSensorSystemImpl Object Tracking Sensor System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.ObjectTrackingSensorSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getObjectTrackingSensorSystem() * @generated @@ -7744,7 +7686,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl Lidar System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.LidarSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getLidarSystem() * @generated @@ -7755,7 +7696,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Nb Layers' attribute feature. * * - * * @generated */ EAttribute LIDAR_SYSTEM__NB_LAYERS = eINSTANCE.getLidarSystem_NbLayers(); @@ -7764,7 +7704,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Layer Angle Min' attribute feature. * * - * * @generated */ EAttribute LIDAR_SYSTEM__LAYER_ANGLE_MIN = eINSTANCE.getLidarSystem_LayerAngleMin(); @@ -7773,7 +7712,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Layer Angle Step' attribute feature. * * - * * @generated */ EAttribute LIDAR_SYSTEM__LAYER_ANGLE_STEP = eINSTANCE.getLidarSystem_LayerAngleStep(); @@ -7782,7 +7720,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Noise' attribute feature. * * - * * @generated */ EAttribute LIDAR_SYSTEM__NOISE = eINSTANCE.getLidarSystem_Noise(); @@ -7791,7 +7728,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Sigma Noise' attribute feature. * * - * * @generated */ EAttribute LIDAR_SYSTEM__SIGMA_NOISE = eINSTANCE.getLidarSystem_SigmaNoise(); @@ -7800,7 +7736,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Angle min' attribute feature. * * - * * @generated */ EAttribute LIDAR_SYSTEM__ANGLE_MIN = eINSTANCE.getLidarSystem_Angle_min(); @@ -7809,7 +7744,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Angle max' attribute feature. * * - * * @generated */ EAttribute LIDAR_SYSTEM__ANGLE_MAX = eINSTANCE.getLidarSystem_Angle_max(); @@ -7818,7 +7752,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Time increment' attribute feature. * * - * * @generated */ EAttribute LIDAR_SYSTEM__TIME_INCREMENT = eINSTANCE.getLidarSystem_Time_increment(); @@ -7827,7 +7760,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Scan time' attribute feature. * * - * * @generated */ EAttribute LIDAR_SYSTEM__SCAN_TIME = eINSTANCE.getLidarSystem_Scan_time(); @@ -7836,7 +7768,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Range min' attribute feature. * * - * * @generated */ EAttribute LIDAR_SYSTEM__RANGE_MIN = eINSTANCE.getLidarSystem_Range_min(); @@ -7845,7 +7776,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Range max' attribute feature. * * - * * @generated */ EAttribute LIDAR_SYSTEM__RANGE_MAX = eINSTANCE.getLidarSystem_Range_max(); @@ -7854,17 +7784,14 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Nb Rays' attribute feature. * * - * * @generated */ EAttribute LIDAR_SYSTEM__NB_RAYS = eINSTANCE.getLidarSystem_NbRays(); /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.LocalizationSensorSystemImpl Localization Sensor System}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.LocalizationSensorSystemImpl Localization Sensor System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.LocalizationSensorSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getLocalizationSensorSystem() * @generated @@ -7875,7 +7802,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.GPSSystemImpl GPS System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.GPSSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getGPSSystem() * @generated @@ -7886,7 +7812,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Origin Position' containment reference feature. * * - * * @generated */ EReference GPS_SYSTEM__ORIGIN_POSITION = eINSTANCE.getGPSSystem_OriginPosition(); @@ -7895,7 +7820,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.SimulatedSystemImpl Simulated System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.SimulatedSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSimulatedSystem() * @generated @@ -7906,7 +7830,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Base Property' reference feature. * * - * * @generated */ EReference SIMULATED_SYSTEM__BASE_PROPERTY = eINSTANCE.getSimulatedSystem_Base_Property(); @@ -7915,7 +7838,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Mesh' attribute list feature. * * - * * @generated */ EAttribute SIMULATED_SYSTEM__MESH = eINSTANCE.getSimulatedSystem_Mesh(); @@ -7924,7 +7846,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.AlgorithmLibraryImpl Algorithm Library}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.AlgorithmLibraryImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getAlgorithmLibrary() * @generated @@ -7935,7 +7856,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Base Class' reference feature. * * - * * @generated */ EReference ALGORITHM_LIBRARY__BASE_CLASS = eINSTANCE.getAlgorithmLibrary_Base_Class(); @@ -7944,54 +7864,14 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Path' attribute feature. * * - * * @generated */ EAttribute ALGORITHM_LIBRARY__PATH = eINSTANCE.getAlgorithmLibrary_Path(); - /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.StateImpl State}' class. - * - * - * - * @see org.eclipse.papyrus.RobotML.impl.StateImpl - * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getState() - * @generated - */ - EClass STATE = eINSTANCE.getState(); - - /** - * The meta object literal for the 'Base State' reference feature. - * - * - * - * @generated - */ - EReference STATE__BASE_STATE = eINSTANCE.getState_Base_State(); - - /** - * The meta object literal for the 'Operation' reference feature. - * - * - * - * @generated - */ - EReference STATE__OPERATION = eINSTANCE.getState_Operation(); - - /** - * The meta object literal for the 'Arguments' reference list feature. - * - * - * - * @generated - */ - EReference STATE__ARGUMENTS = eINSTANCE.getState_Arguments(); - /** * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.SensorDriverImpl Sensor Driver}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.SensorDriverImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSensorDriver() * @generated @@ -8002,7 +7882,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.BuildingImpl Building}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.BuildingImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getBuilding() * @generated @@ -8013,7 +7892,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.PlanetImpl Planet}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.PlanetImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getPlanet() * @generated @@ -8024,7 +7902,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.LandSurfaceImpl Land Surface}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.LandSurfaceImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getLandSurface() * @generated @@ -8035,7 +7912,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.GroundImpl Ground}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.GroundImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getGround() * @generated @@ -8046,7 +7922,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.FloorImpl Floor}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.FloorImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getFloor() * @generated @@ -8057,7 +7932,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.WaterSurfaceImpl Water Surface}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.WaterSurfaceImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getWaterSurface() * @generated @@ -8068,7 +7942,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.HumanImpl Human}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.HumanImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getHuman() * @generated @@ -8079,7 +7952,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.PedestrianImpl Pedestrian}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.PedestrianImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getPedestrian() * @generated @@ -8090,7 +7962,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.StairsImpl Stairs}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.StairsImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getStairs() * @generated @@ -8101,7 +7972,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.PlatformImpl Platform}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.PlatformImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getPlatform() * @generated @@ -8112,16 +7982,56 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Base Node' reference feature. * * - * * @generated */ EReference PLATFORM__BASE_NODE = eINSTANCE.getPlatform_Base_Node(); + /** + * The meta object literal for the 'Library' reference list feature. + * + * + * @generated + */ + EReference PLATFORM__LIBRARY = eINSTANCE.getPlatform_Library(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl External Library}' class. + * + * + * @see org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl + * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getExternalLibrary() + * @generated + */ + EClass EXTERNAL_LIBRARY = eINSTANCE.getExternalLibrary(); + + /** + * The meta object literal for the 'Lib Path' attribute feature. + * + * + * @generated + */ + EAttribute EXTERNAL_LIBRARY__LIB_PATH = eINSTANCE.getExternalLibrary_LibPath(); + + /** + * The meta object literal for the 'Lib File Format' attribute feature. + * + * + * @generated + */ + EAttribute EXTERNAL_LIBRARY__LIB_FILE_FORMAT = eINSTANCE.getExternalLibrary_LibFileFormat(); + + /** + * The meta object literal for the 'Base Interface' reference feature. + * + * + * @generated + */ + EReference EXTERNAL_LIBRARY__BASE_INTERFACE = eINSTANCE.getExternalLibrary_Base_Interface(); + /** * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.RoboticMiddlewareImpl Robotic Middleware}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.RoboticMiddlewareImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getRoboticMiddleware() * @generated @@ -8132,7 +8042,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Kind' attribute feature. * * - * * @generated */ EAttribute ROBOTIC_MIDDLEWARE__KIND = eINSTANCE.getRoboticMiddleware_Kind(); @@ -8141,7 +8050,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.RoboticSimulatorImpl Robotic Simulator}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.RoboticSimulatorImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getRoboticSimulator() * @generated @@ -8152,7 +8060,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl Cycab TK}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.CycabTKImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getCycabTK() * @generated @@ -8163,7 +8070,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Use Real Time' attribute feature. * * - * * @generated */ EAttribute CYCAB_TK__USE_REAL_TIME = eINSTANCE.getCycabTK_UseRealTime(); @@ -8172,7 +8078,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Time Step' attribute feature. * * - * * @generated */ EAttribute CYCAB_TK__TIME_STEP = eINSTANCE.getCycabTK_TimeStep(); @@ -8181,7 +8086,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Time Factor' attribute feature. * * - * * @generated */ EAttribute CYCAB_TK__TIME_FACTOR = eINSTANCE.getCycabTK_TimeFactor(); @@ -8190,7 +8094,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl Blender Morse}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getBlenderMorse() * @generated @@ -8201,7 +8104,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Debug Mode' attribute feature. * * - * * @generated */ EAttribute BLENDER_MORSE__DEBUG_MODE = eINSTANCE.getBlenderMorse_DebugMode(); @@ -8210,7 +8112,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Debug Display' attribute feature. * * - * * @generated */ EAttribute BLENDER_MORSE__DEBUG_DISPLAY = eINSTANCE.getBlenderMorse_DebugDisplay(); @@ -8219,7 +8120,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Gravity' attribute feature. * * - * * @generated */ EAttribute BLENDER_MORSE__GRAVITY = eINSTANCE.getBlenderMorse_Gravity(); @@ -8228,7 +8128,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'viewport shade' attribute feature. * * - * * @generated */ EAttribute BLENDER_MORSE__VIEWPORT_SHADE = eINSTANCE.getBlenderMorse__viewport_shade(); @@ -8237,7 +8136,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.OnPortImpl On Port}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.OnPortImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getOnPort() * @generated @@ -8248,7 +8146,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Port' reference feature. * * - * * @generated */ EReference ON_PORT__PORT = eINSTANCE.getOnPort_Port(); @@ -8257,7 +8154,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Base Parameter' reference feature. * * - * * @generated */ EReference ON_PORT__BASE_PARAMETER = eINSTANCE.getOnPort_Base_Parameter(); @@ -8266,7 +8162,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.AllocateImpl Allocate}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.AllocateImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getAllocate() * @generated @@ -8277,17 +8172,14 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Base Abstraction' reference feature. * * - * * @generated */ EReference ALLOCATE__BASE_ABSTRACTION = eINSTANCE.getAllocate_Base_Abstraction(); /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.InertialMeasurementUnitSystemImpl - * Inertial Measurement Unit System}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.InertialMeasurementUnitSystemImpl Inertial Measurement Unit System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.InertialMeasurementUnitSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getInertialMeasurementUnitSystem() * @generated @@ -8295,11 +8187,9 @@ public interface RobotMLPackage extends EPackage { EClass INERTIAL_MEASUREMENT_UNIT_SYSTEM = eINSTANCE.getInertialMeasurementUnitSystem(); /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.InertialNavigationSystemImpl Inertial Navigation System}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.InertialNavigationSystemImpl Inertial Navigation System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.InertialNavigationSystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getInertialNavigationSystem() * @generated @@ -8310,7 +8200,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.OdometrySystemImpl Odometry System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.OdometrySystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getOdometrySystem() * @generated @@ -8318,11 +8207,9 @@ public interface RobotMLPackage extends EPackage { EClass ODOMETRY_SYSTEM = eINSTANCE.getOdometrySystem(); /** - * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.InfraRedProximetrySystemImpl Infra Red Proximetry System} - * ' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.InfraRedProximetrySystemImpl Infra Red Proximetry System}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.InfraRedProximetrySystemImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getInfraRedProximetrySystem() * @generated @@ -8333,7 +8220,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.DeploymentPlanImpl Deployment Plan}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.DeploymentPlanImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getDeploymentPlan() * @generated @@ -8344,7 +8230,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Base Package' reference feature. * * - * * @generated */ EReference DEPLOYMENT_PLAN__BASE_PACKAGE = eINSTANCE.getDeploymentPlan_Base_Package(); @@ -8353,7 +8238,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the 'Main Instance' reference feature. * * - * * @generated */ EReference DEPLOYMENT_PLAN__MAIN_INSTANCE = eINSTANCE.getDeploymentPlan_MainInstance(); @@ -8362,18 +8246,42 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.GyroscopeImpl Gyroscope}' class. * * - * * @see org.eclipse.papyrus.RobotML.impl.GyroscopeImpl * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getGyroscope() * @generated */ EClass GYROSCOPE = eINSTANCE.getGyroscope(); + /** + * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.impl.OnPropertyImpl On Property}' class. + * + * + * @see org.eclipse.papyrus.RobotML.impl.OnPropertyImpl + * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getOnProperty() + * @generated + */ + EClass ON_PROPERTY = eINSTANCE.getOnProperty(); + + /** + * The meta object literal for the 'Property' reference feature. + * + * + * @generated + */ + EReference ON_PROPERTY__PROPERTY = eINSTANCE.getOnProperty_Property(); + + /** + * The meta object literal for the 'Base Parameter' reference feature. + * + * + * @generated + */ + EReference ON_PROPERTY__BASE_PARAMETER = eINSTANCE.getOnProperty_Base_Parameter(); + /** * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.RobotKind Robot Kind}' enum. * * - * * @see org.eclipse.papyrus.RobotML.RobotKind * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getRobotKind() * @generated @@ -8384,7 +8292,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.UGVKind UGV Kind}' enum. * * - * * @see org.eclipse.papyrus.RobotML.UGVKind * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getUGVKind() * @generated @@ -8395,7 +8302,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.SynchronizationKind Synchronization Kind}' enum. * * - * * @see org.eclipse.papyrus.RobotML.SynchronizationKind * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getSynchronizationKind() * @generated @@ -8406,7 +8312,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.DataFlowDirectionKind Data Flow Direction Kind}' enum. * * - * * @see org.eclipse.papyrus.RobotML.DataFlowDirectionKind * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getDataFlowDirectionKind() * @generated @@ -8417,7 +8322,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.ServiceFlowKind Service Flow Kind}' enum. * * - * * @see org.eclipse.papyrus.RobotML.ServiceFlowKind * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getServiceFlowKind() * @generated @@ -8428,7 +8332,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.RoboticMiddlewareKind Robotic Middleware Kind}' enum. * * - * * @see org.eclipse.papyrus.RobotML.RoboticMiddlewareKind * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getRoboticMiddlewareKind() * @generated @@ -8439,7 +8342,6 @@ public interface RobotMLPackage extends EPackage { * The meta object literal for the '{@link org.eclipse.papyrus.RobotML.Shade Shade}' enum. * * - * * @see org.eclipse.papyrus.RobotML.Shade * @see org.eclipse.papyrus.RobotML.impl.RobotMLPackageImpl#getShade() * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticMiddleware.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticMiddleware.java index d428738f4ae..5b898a14eaf 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticMiddleware.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticMiddleware.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,29 +7,28 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Robotic Middleware'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.RoboticMiddleware#getKind Kind}
  • + *
  • {@link org.eclipse.papyrus.RobotML.RoboticMiddleware#getKind Kind}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getRoboticMiddleware() * @model * @generated */ public interface RoboticMiddleware extends Platform { - /** * Returns the value of the 'Kind' attribute. * The literals are from the enumeration {@link org.eclipse.papyrus.RobotML.RoboticMiddlewareKind}. * *

- * If the meaning of the 'Kind' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Kind' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Kind' attribute. * @see org.eclipse.papyrus.RobotML.RoboticMiddlewareKind * @see #setKind(RoboticMiddlewareKind) @@ -52,9 +42,7 @@ public interface RoboticMiddleware extends Platform { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.RoboticMiddleware#getKind Kind}' attribute. * * - * - * @param value - * the new value of the 'Kind' attribute. + * @param value the new value of the 'Kind' attribute. * @see org.eclipse.papyrus.RobotML.RoboticMiddlewareKind * @see #getKind() * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticMiddlewareKind.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticMiddlewareKind.java index c8b9e3ad736..45d6d9c817a 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticMiddlewareKind.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticMiddlewareKind.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import java.util.Arrays; @@ -22,7 +13,6 @@ import org.eclipse.emf.common.util.Enumerator; * A representation of the literals of the enumeration 'Robotic Middleware Kind', * and utility methods for working with them. * - * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getRoboticMiddlewareKind() * @model * @generated @@ -32,7 +22,6 @@ public enum RoboticMiddlewareKind implements Enumerator { * The 'RT Maps' literal object. * * - * * @see #RT_MAPS_VALUE * @generated * @ordered @@ -43,7 +32,6 @@ public enum RoboticMiddlewareKind implements Enumerator { * The 'AROCAM' literal object. * * - * * @see #AROCAM_VALUE * @generated * @ordered @@ -54,7 +42,6 @@ public enum RoboticMiddlewareKind implements Enumerator { * The 'ROS' literal object. * * - * * @see #ROS_VALUE * @generated * @ordered @@ -65,7 +52,6 @@ public enum RoboticMiddlewareKind implements Enumerator { * The 'OROCOS' literal object. * * - * * @see #OROCOS_VALUE * @generated * @ordered @@ -76,7 +62,6 @@ public enum RoboticMiddlewareKind implements Enumerator { * The 'URBI' literal object. * * - * * @see #URBI_VALUE * @generated * @ordered @@ -87,10 +72,10 @@ public enum RoboticMiddlewareKind implements Enumerator { * The 'RT Maps' literal value. * *

- * If the meaning of 'RT Maps' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'RT Maps' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #RT_MAPS * @model name="RTMaps" * @generated @@ -102,10 +87,10 @@ public enum RoboticMiddlewareKind implements Enumerator { * The 'AROCAM' literal value. * *

- * If the meaning of 'AROCAM' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'AROCAM' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #AROCAM * @model * @generated @@ -117,10 +102,10 @@ public enum RoboticMiddlewareKind implements Enumerator { * The 'ROS' literal value. * *

- * If the meaning of 'ROS' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'ROS' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #ROS * @model * @generated @@ -132,10 +117,10 @@ public enum RoboticMiddlewareKind implements Enumerator { * The 'OROCOS' literal value. * *

- * If the meaning of 'OROCOS' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'OROCOS' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #OROCOS * @model * @generated @@ -147,10 +132,10 @@ public enum RoboticMiddlewareKind implements Enumerator { * The 'URBI' literal value. * *

- * If the meaning of 'URBI' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'URBI' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #URBI * @model * @generated @@ -162,16 +147,21 @@ public enum RoboticMiddlewareKind implements Enumerator { * An array of all the 'Robotic Middleware Kind' enumerators. * * - * * @generated */ - private static final RoboticMiddlewareKind[] VALUES_ARRAY = new RoboticMiddlewareKind[]{ RT_MAPS, AROCAM, ROS, OROCOS, URBI, }; + private static final RoboticMiddlewareKind[] VALUES_ARRAY = + new RoboticMiddlewareKind[] { + RT_MAPS, + AROCAM, + ROS, + OROCOS, + URBI, + }; /** * A public read-only list of all the 'Robotic Middleware Kind' enumerators. * * - * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); @@ -180,13 +170,12 @@ public enum RoboticMiddlewareKind implements Enumerator { * Returns the 'Robotic Middleware Kind' literal with the specified literal value. * * - * * @generated */ public static RoboticMiddlewareKind get(String literal) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { RoboticMiddlewareKind result = VALUES_ARRAY[i]; - if(result.toString().equals(literal)) { + if (result.toString().equals(literal)) { return result; } } @@ -197,13 +186,12 @@ public enum RoboticMiddlewareKind implements Enumerator { * Returns the 'Robotic Middleware Kind' literal with the specified name. * * - * * @generated */ public static RoboticMiddlewareKind getByName(String name) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { RoboticMiddlewareKind result = VALUES_ARRAY[i]; - if(result.getName().equals(name)) { + if (result.getName().equals(name)) { return result; } } @@ -214,21 +202,15 @@ public enum RoboticMiddlewareKind implements Enumerator { * Returns the 'Robotic Middleware Kind' literal with the specified integer value. * * - * * @generated */ public static RoboticMiddlewareKind get(int value) { - switch(value) { - case RT_MAPS_VALUE: - return RT_MAPS; - case AROCAM_VALUE: - return AROCAM; - case ROS_VALUE: - return ROS; - case OROCOS_VALUE: - return OROCOS; - case URBI_VALUE: - return URBI; + switch (value) { + case RT_MAPS_VALUE: return RT_MAPS; + case AROCAM_VALUE: return AROCAM; + case ROS_VALUE: return ROS; + case OROCOS_VALUE: return OROCOS; + case URBI_VALUE: return URBI; } return null; } @@ -236,7 +218,6 @@ public enum RoboticMiddlewareKind implements Enumerator { /** * * - * * @generated */ private final int value; @@ -244,7 +225,6 @@ public enum RoboticMiddlewareKind implements Enumerator { /** * * - * * @generated */ private final String name; @@ -252,7 +232,6 @@ public enum RoboticMiddlewareKind implements Enumerator { /** * * - * * @generated */ private final String literal; @@ -261,7 +240,6 @@ public enum RoboticMiddlewareKind implements Enumerator { * Only this class can construct instances. * * - * * @generated */ private RoboticMiddlewareKind(int value, String name, String literal) { @@ -273,43 +251,39 @@ public enum RoboticMiddlewareKind implements Enumerator { /** * * - * * @generated */ public int getValue() { - return value; + return value; } /** * * - * * @generated */ public String getName() { - return name; + return name; } /** * * - * * @generated */ public String getLiteral() { - return literal; + return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * * - * * @generated */ @Override public String toString() { return literal; } - + } //RoboticMiddlewareKind diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticSimulator.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticSimulator.java index a03aac7b529..9733abc6201 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticSimulator.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticSimulator.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Robotic Simulator'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getRoboticSimulator() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticSystem.java index dec0ba705f1..1de436f5f78 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/RoboticSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; @@ -17,29 +8,28 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp * * A representation of the model object 'Robotic System'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.RoboticSystem#getLocalPosition Local Position}
  • - *
  • {@link org.eclipse.papyrus.RobotML.RoboticSystem#getLocalOrientation Local Orientation}
  • + *
  • {@link org.eclipse.papyrus.RobotML.RoboticSystem#getLocalPosition Local Position}
  • + *
  • {@link org.eclipse.papyrus.RobotML.RoboticSystem#getLocalOrientation Local Orientation}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getRoboticSystem() * @model * @generated */ public interface RoboticSystem extends org.eclipse.papyrus.RobotML.System { - /** * Returns the value of the 'Local Position' containment reference. * *

- * If the meaning of the 'Local Position' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Local Position' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Local Position' containment reference. * @see #setLocalPosition(Point32) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getRoboticSystem_LocalPosition() @@ -52,9 +42,7 @@ public interface RoboticSystem extends org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.RoboticSystem#getLocalPosition Local Position}' containment reference. * * - * - * @param value - * the new value of the 'Local Position' containment reference. + * @param value the new value of the 'Local Position' containment reference. * @see #getLocalPosition() * @generated */ @@ -64,10 +52,10 @@ public interface RoboticSystem extends org.eclipse.papyrus.RobotML.System { * Returns the value of the 'Local Orientation' containment reference. * *

- * If the meaning of the 'Local Orientation' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Local Orientation' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Local Orientation' containment reference. * @see #setLocalOrientation(Point32) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getRoboticSystem_LocalOrientation() @@ -80,9 +68,7 @@ public interface RoboticSystem extends org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.RoboticSystem#getLocalOrientation Local Orientation}' containment reference. * * - * - * @param value - * the new value of the 'Local Orientation' containment reference. + * @param value the new value of the 'Local Orientation' containment reference. * @see #getLocalOrientation() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SensorDriver.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SensorDriver.java index 5254bc75287..edf3e579098 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SensorDriver.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SensorDriver.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Sensor Driver'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSensorDriver() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SensorSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SensorSystem.java index 84e3016a753..2a4f457f162 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SensorSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SensorSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,34 +7,32 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Sensor System'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.SensorSystem#getFrequency Frequency}
  • - *
  • {@link org.eclipse.papyrus.RobotML.SensorSystem#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.papyrus.RobotML.SensorSystem#getFrequency Frequency}
  • + *
  • {@link org.eclipse.papyrus.RobotML.SensorSystem#getIdentifier Identifier}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSensorSystem() * @model * @generated */ public interface SensorSystem extends RoboticSystem { - /** * Returns the value of the 'Frequency' attribute. * *

- * If the meaning of the 'Frequency' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Frequency' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Frequency' attribute. * @see #setFrequency(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSensorSystem_Frequency() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getFrequency(); @@ -52,9 +41,7 @@ public interface SensorSystem extends RoboticSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.SensorSystem#getFrequency Frequency}' attribute. * * - * - * @param value - * the new value of the 'Frequency' attribute. + * @param value the new value of the 'Frequency' attribute. * @see #getFrequency() * @generated */ @@ -64,15 +51,14 @@ public interface SensorSystem extends RoboticSystem { * Returns the value of the 'Identifier' attribute. * *

- * If the meaning of the 'Identifier' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Identifier' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSensorSystem_Identifier() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getIdentifier(); @@ -81,9 +67,7 @@ public interface SensorSystem extends RoboticSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.SensorSystem#getIdentifier Identifier}' attribute. * * - * - * @param value - * the new value of the 'Identifier' attribute. + * @param value the new value of the 'Identifier' attribute. * @see #getIdentifier() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ServiceFlowKind.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ServiceFlowKind.java index 22f8b171e56..4dcdc08d6cb 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ServiceFlowKind.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ServiceFlowKind.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import java.util.Arrays; @@ -22,7 +13,6 @@ import org.eclipse.emf.common.util.Enumerator; * A representation of the literals of the enumeration 'Service Flow Kind', * and utility methods for working with them. * - * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getServiceFlowKind() * @model * @generated @@ -32,7 +22,6 @@ public enum ServiceFlowKind implements Enumerator { * The 'Provided' literal object. * * - * * @see #PROVIDED_VALUE * @generated * @ordered @@ -43,7 +32,6 @@ public enum ServiceFlowKind implements Enumerator { * The 'Required' literal object. * * - * * @see #REQUIRED_VALUE * @generated * @ordered @@ -54,10 +42,10 @@ public enum ServiceFlowKind implements Enumerator { * The 'Provided' literal value. * *

- * If the meaning of 'Provided' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'Provided' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #PROVIDED * @model name="provided" * @generated @@ -69,10 +57,10 @@ public enum ServiceFlowKind implements Enumerator { * The 'Required' literal value. * *

- * If the meaning of 'Required' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'Required' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #REQUIRED * @model name="required" * @generated @@ -84,16 +72,18 @@ public enum ServiceFlowKind implements Enumerator { * An array of all the 'Service Flow Kind' enumerators. * * - * * @generated */ - private static final ServiceFlowKind[] VALUES_ARRAY = new ServiceFlowKind[]{ PROVIDED, REQUIRED, }; + private static final ServiceFlowKind[] VALUES_ARRAY = + new ServiceFlowKind[] { + PROVIDED, + REQUIRED, + }; /** * A public read-only list of all the 'Service Flow Kind' enumerators. * * - * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); @@ -102,13 +92,12 @@ public enum ServiceFlowKind implements Enumerator { * Returns the 'Service Flow Kind' literal with the specified literal value. * * - * * @generated */ public static ServiceFlowKind get(String literal) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { ServiceFlowKind result = VALUES_ARRAY[i]; - if(result.toString().equals(literal)) { + if (result.toString().equals(literal)) { return result; } } @@ -119,13 +108,12 @@ public enum ServiceFlowKind implements Enumerator { * Returns the 'Service Flow Kind' literal with the specified name. * * - * * @generated */ public static ServiceFlowKind getByName(String name) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { ServiceFlowKind result = VALUES_ARRAY[i]; - if(result.getName().equals(name)) { + if (result.getName().equals(name)) { return result; } } @@ -136,15 +124,12 @@ public enum ServiceFlowKind implements Enumerator { * Returns the 'Service Flow Kind' literal with the specified integer value. * * - * * @generated */ public static ServiceFlowKind get(int value) { - switch(value) { - case PROVIDED_VALUE: - return PROVIDED; - case REQUIRED_VALUE: - return REQUIRED; + switch (value) { + case PROVIDED_VALUE: return PROVIDED; + case REQUIRED_VALUE: return REQUIRED; } return null; } @@ -152,7 +137,6 @@ public enum ServiceFlowKind implements Enumerator { /** * * - * * @generated */ private final int value; @@ -160,7 +144,6 @@ public enum ServiceFlowKind implements Enumerator { /** * * - * * @generated */ private final String name; @@ -168,7 +151,6 @@ public enum ServiceFlowKind implements Enumerator { /** * * - * * @generated */ private final String literal; @@ -177,7 +159,6 @@ public enum ServiceFlowKind implements Enumerator { * Only this class can construct instances. * * - * * @generated */ private ServiceFlowKind(int value, String name, String literal) { @@ -189,43 +170,39 @@ public enum ServiceFlowKind implements Enumerator { /** * * - * * @generated */ public int getValue() { - return value; + return value; } /** * * - * * @generated */ public String getName() { - return name; + return name; } /** * * - * * @generated */ public String getLiteral() { - return literal; + return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * * - * * @generated */ @Override public String toString() { return literal; } - + } //ServiceFlowKind diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ServicePort.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ServicePort.java index a3e8af25e2c..fb2b9714fc1 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ServicePort.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/ServicePort.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,29 +7,28 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Service Port'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.ServicePort#getKind Kind}
  • + *
  • {@link org.eclipse.papyrus.RobotML.ServicePort#getKind Kind}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getServicePort() * @model * @generated */ public interface ServicePort extends Port { - /** * Returns the value of the 'Kind' attribute. * The literals are from the enumeration {@link org.eclipse.papyrus.RobotML.ServiceFlowKind}. * *

- * If the meaning of the 'Kind' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Kind' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Kind' attribute. * @see org.eclipse.papyrus.RobotML.ServiceFlowKind * @see #setKind(ServiceFlowKind) @@ -52,9 +42,7 @@ public interface ServicePort extends Port { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.ServicePort#getKind Kind}' attribute. * * - * - * @param value - * the new value of the 'Kind' attribute. + * @param value the new value of the 'Kind' attribute. * @see org.eclipse.papyrus.RobotML.ServiceFlowKind * @see #getKind() * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Shade.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Shade.java index eb2ced4d1ae..1ba924a2d29 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Shade.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Shade.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import java.util.Arrays; @@ -22,7 +13,6 @@ import org.eclipse.emf.common.util.Enumerator; * A representation of the literals of the enumeration 'Shade', * and utility methods for working with them. * - * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getShade() * @model * @generated @@ -32,7 +22,6 @@ public enum Shade implements Enumerator { * The 'WIREFRAME' literal object. * * - * * @see #WIREFRAME_VALUE * @generated * @ordered @@ -43,7 +32,6 @@ public enum Shade implements Enumerator { * The 'BOUNDBOX' literal object. * * - * * @see #BOUNDBOX_VALUE * @generated * @ordered @@ -54,7 +42,6 @@ public enum Shade implements Enumerator { * The 'SOLID' literal object. * * - * * @see #SOLID_VALUE * @generated * @ordered @@ -65,7 +52,6 @@ public enum Shade implements Enumerator { * The 'TEXTURED' literal object. * * - * * @see #TEXTURED_VALUE * @generated * @ordered @@ -76,10 +62,10 @@ public enum Shade implements Enumerator { * The 'WIREFRAME' literal value. * *

- * If the meaning of 'WIREFRAME' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'WIREFRAME' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #WIREFRAME * @model * @generated @@ -91,10 +77,10 @@ public enum Shade implements Enumerator { * The 'BOUNDBOX' literal value. * *

- * If the meaning of 'BOUNDBOX' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'BOUNDBOX' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #BOUNDBOX * @model * @generated @@ -106,10 +92,10 @@ public enum Shade implements Enumerator { * The 'SOLID' literal value. * *

- * If the meaning of 'SOLID' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'SOLID' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #SOLID * @model * @generated @@ -121,10 +107,10 @@ public enum Shade implements Enumerator { * The 'TEXTURED' literal value. * *

- * If the meaning of 'TEXTURED' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'TEXTURED' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #TEXTURED * @model * @generated @@ -136,16 +122,20 @@ public enum Shade implements Enumerator { * An array of all the 'Shade' enumerators. * * - * * @generated */ - private static final Shade[] VALUES_ARRAY = new Shade[]{ WIREFRAME, BOUNDBOX, SOLID, TEXTURED, }; + private static final Shade[] VALUES_ARRAY = + new Shade[] { + WIREFRAME, + BOUNDBOX, + SOLID, + TEXTURED, + }; /** * A public read-only list of all the 'Shade' enumerators. * * - * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); @@ -154,13 +144,12 @@ public enum Shade implements Enumerator { * Returns the 'Shade' literal with the specified literal value. * * - * * @generated */ public static Shade get(String literal) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { Shade result = VALUES_ARRAY[i]; - if(result.toString().equals(literal)) { + if (result.toString().equals(literal)) { return result; } } @@ -171,13 +160,12 @@ public enum Shade implements Enumerator { * Returns the 'Shade' literal with the specified name. * * - * * @generated */ public static Shade getByName(String name) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { Shade result = VALUES_ARRAY[i]; - if(result.getName().equals(name)) { + if (result.getName().equals(name)) { return result; } } @@ -188,19 +176,14 @@ public enum Shade implements Enumerator { * Returns the 'Shade' literal with the specified integer value. * * - * * @generated */ public static Shade get(int value) { - switch(value) { - case WIREFRAME_VALUE: - return WIREFRAME; - case BOUNDBOX_VALUE: - return BOUNDBOX; - case SOLID_VALUE: - return SOLID; - case TEXTURED_VALUE: - return TEXTURED; + switch (value) { + case WIREFRAME_VALUE: return WIREFRAME; + case BOUNDBOX_VALUE: return BOUNDBOX; + case SOLID_VALUE: return SOLID; + case TEXTURED_VALUE: return TEXTURED; } return null; } @@ -208,7 +191,6 @@ public enum Shade implements Enumerator { /** * * - * * @generated */ private final int value; @@ -216,7 +198,6 @@ public enum Shade implements Enumerator { /** * * - * * @generated */ private final String name; @@ -224,7 +205,6 @@ public enum Shade implements Enumerator { /** * * - * * @generated */ private final String literal; @@ -233,7 +213,6 @@ public enum Shade implements Enumerator { * Only this class can construct instances. * * - * * @generated */ private Shade(int value, String name, String literal) { @@ -245,43 +224,39 @@ public enum Shade implements Enumerator { /** * * - * * @generated */ public int getValue() { - return value; + return value; } /** * * - * * @generated */ public String getName() { - return name; + return name; } /** * * - * * @generated */ public String getLiteral() { - return literal; + return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * * - * * @generated */ @Override public String toString() { return literal; } - + } //Shade diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SimulatedSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SimulatedSystem.java index 5ea6ee6fbfe..bb000814e7d 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SimulatedSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SimulatedSystem.java @@ -1,46 +1,38 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.common.util.EList; + import org.eclipse.uml2.uml.Property; +// TODO: Auto-generated Javadoc /** * * A representation of the model object 'Simulated System'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.SimulatedSystem#getBase_Property Base Property}
  • - *
  • {@link org.eclipse.papyrus.RobotML.SimulatedSystem#getMesh Mesh}
  • + *
  • {@link org.eclipse.papyrus.RobotML.SimulatedSystem#getBase_Property Base Property}
  • + *
  • {@link org.eclipse.papyrus.RobotML.SimulatedSystem#getMesh Mesh}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSimulatedSystem() * @model * @generated */ public interface SimulatedSystem extends Software { - /** * Returns the value of the 'Base Property' reference. * *

- * If the meaning of the 'Base Property' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base Property' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base Property' reference. * @see #setBase_Property(Property) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSimulatedSystem_Base_Property() @@ -53,9 +45,7 @@ public interface SimulatedSystem extends Software { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.SimulatedSystem#getBase_Property Base Property}' reference. * * - * - * @param value - * the new value of the 'Base Property' reference. + * @param value the new value of the 'Base Property' reference. * @see #getBase_Property() * @generated */ @@ -66,10 +56,10 @@ public interface SimulatedSystem extends Software { * The list contents are of type {@link java.lang.String}. * *

- * If the meaning of the 'Mesh' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Mesh' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Mesh' attribute list. * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSimulatedSystem_Mesh() * @model dataType="org.eclipse.uml2.types.String" ordered="false" diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Software.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Software.java index fdd09998bc7..239f44f2857 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Software.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Software.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,32 +7,31 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Software'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.Software#isIsPeriodic Is Periodic}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Software#getPeriod Period}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Software#getPriority Priority}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Software#getDeadline Deadline}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Software#getWcet Wcet}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Software#isIsPeriodic Is Periodic}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Software#getPeriod Period}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Software#getPriority Priority}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Software#getDeadline Deadline}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Software#getWcet Wcet}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSoftware() * @model * @generated */ public interface Software extends org.eclipse.papyrus.RobotML.System { - /** * Returns the value of the 'Is Periodic' attribute. * *

- * If the meaning of the 'Is Periodic' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Is Periodic' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Is Periodic' attribute. * @see #setIsPeriodic(boolean) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSoftware_IsPeriodic() @@ -54,9 +44,7 @@ public interface Software extends org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Software#isIsPeriodic Is Periodic}' attribute. * * - * - * @param value - * the new value of the 'Is Periodic' attribute. + * @param value the new value of the 'Is Periodic' attribute. * @see #isIsPeriodic() * @generated */ @@ -66,15 +54,14 @@ public interface Software extends org.eclipse.papyrus.RobotML.System { * Returns the value of the 'Period' attribute. * *

- * If the meaning of the 'Period' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Period' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Period' attribute. * @see #setPeriod(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSoftware_Period() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getPeriod(); @@ -83,9 +70,7 @@ public interface Software extends org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Software#getPeriod Period}' attribute. * * - * - * @param value - * the new value of the 'Period' attribute. + * @param value the new value of the 'Period' attribute. * @see #getPeriod() * @generated */ @@ -95,15 +80,14 @@ public interface Software extends org.eclipse.papyrus.RobotML.System { * Returns the value of the 'Priority' attribute. * *

- * If the meaning of the 'Priority' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Priority' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Priority' attribute. * @see #setPriority(char) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSoftware_Priority() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getPriority(); @@ -112,9 +96,7 @@ public interface Software extends org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Software#getPriority Priority}' attribute. * * - * - * @param value - * the new value of the 'Priority' attribute. + * @param value the new value of the 'Priority' attribute. * @see #getPriority() * @generated */ @@ -124,15 +106,14 @@ public interface Software extends org.eclipse.papyrus.RobotML.System { * Returns the value of the 'Deadline' attribute. * *

- * If the meaning of the 'Deadline' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Deadline' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Deadline' attribute. * @see #setDeadline(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSoftware_Deadline() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getDeadline(); @@ -141,9 +122,7 @@ public interface Software extends org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Software#getDeadline Deadline}' attribute. * * - * - * @param value - * the new value of the 'Deadline' attribute. + * @param value the new value of the 'Deadline' attribute. * @see #getDeadline() * @generated */ @@ -153,15 +132,14 @@ public interface Software extends org.eclipse.papyrus.RobotML.System { * Returns the value of the 'Wcet' attribute. * *

- * If the meaning of the 'Wcet' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Wcet' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wcet' attribute. * @see #setWcet(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSoftware_Wcet() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWcet(); @@ -170,9 +148,7 @@ public interface Software extends org.eclipse.papyrus.RobotML.System { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Software#getWcet Wcet}' attribute. * * - * - * @param value - * the new value of the 'Wcet' attribute. + * @param value the new value of the 'Wcet' attribute. * @see #getWcet() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Stairs.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Stairs.java index 968a1a4434d..ae6e8dd0c55 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Stairs.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Stairs.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Stairs'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getStairs() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/State.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/State.java index f2615eb6471..b99c3dbd19e 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/State.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/State.java @@ -1,48 +1,42 @@ -/***************************************************************************** - * 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.RobotML; -import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; -import org.eclipse.uml2.uml.Property; + +import org.eclipse.uml2.uml.Behavior; /** * * A representation of the model object 'State'. * - * + * + * + * When a state is activated, a behavior is activated and executed. + * It is possible to associate more one behavior to the state. But the question is how to define the order of execution of the behaviors? + * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.State#getBase_State Base State}
  • - *
  • {@link org.eclipse.papyrus.RobotML.State#getOperation Operation}
  • - *
  • {@link org.eclipse.papyrus.RobotML.State#getArguments Arguments}
  • + *
  • {@link org.eclipse.papyrus.RobotML.State#getBase_State Base State}
  • + *
  • {@link org.eclipse.papyrus.RobotML.State#getBehavior Behavior}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getState() * @model * @generated */ public interface State extends EObject { - /** * Returns the value of the 'Base State' reference. * *

- * If the meaning of the 'Base State' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base State' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base State' reference. * @see #setBase_State(org.eclipse.uml2.uml.State) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getState_Base_State() @@ -55,56 +49,36 @@ public interface State extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.State#getBase_State Base State}' reference. * * - * - * @param value - * the new value of the 'Base State' reference. + * @param value the new value of the 'Base State' reference. * @see #getBase_State() * @generated */ void setBase_State(org.eclipse.uml2.uml.State value); /** - * Returns the value of the 'Operation' reference. + * Returns the value of the 'Behavior' reference. * *

- * If the meaning of the 'Operation' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Behavior' reference isn't clear, + * there really should be more of a description here... *

* - * - * @return the value of the 'Operation' reference. - * @see #setOperation(Algorithm) - * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getState_Operation() + * @return the value of the 'Behavior' reference. + * @see #setBehavior(Behavior) + * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getState_Behavior() * @model required="true" ordered="false" * @generated */ - Algorithm getOperation(); + Behavior getBehavior(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotML.State#getOperation Operation}' reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotML.State#getBehavior Behavior}' reference. * * - * - * @param value - * the new value of the 'Operation' reference. - * @see #getOperation() - * @generated - */ - void setOperation(Algorithm value); - - /** - * Returns the value of the 'Arguments' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Property}. - * - *

- * If the meaning of the 'Arguments' reference list isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'Arguments' reference list. - * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getState_Arguments() - * @model ordered="false" + * @param value the new value of the 'Behavior' reference. + * @see #getBehavior() * @generated */ - EList getArguments(); + void setBehavior(Behavior value); } // State diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Surface.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Surface.java index 28d87ee618b..6bba437077a 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Surface.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Surface.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Surface'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSurface() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SynchronizationKind.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SynchronizationKind.java index 6aefe794041..3f1bcb8b677 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SynchronizationKind.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/SynchronizationKind.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import java.util.Arrays; @@ -22,7 +13,6 @@ import org.eclipse.emf.common.util.Enumerator; * A representation of the literals of the enumeration 'Synchronization Kind', * and utility methods for working with them. * - * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSynchronizationKind() * @model * @generated @@ -32,7 +22,6 @@ public enum SynchronizationKind implements Enumerator { * The 'SYNCH' literal object. * * - * * @see #SYNCH_VALUE * @generated * @ordered @@ -43,7 +32,6 @@ public enum SynchronizationKind implements Enumerator { * The 'ASYNCH' literal object. * * - * * @see #ASYNCH_VALUE * @generated * @ordered @@ -54,7 +42,6 @@ public enum SynchronizationKind implements Enumerator { * The 'Undefined' literal object. * * - * * @see #UNDEFINED_VALUE * @generated * @ordered @@ -65,10 +52,10 @@ public enum SynchronizationKind implements Enumerator { * The 'SYNCH' literal value. * *

- * If the meaning of 'SYNCH' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'SYNCH' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #SYNCH * @model * @generated @@ -80,10 +67,10 @@ public enum SynchronizationKind implements Enumerator { * The 'ASYNCH' literal value. * *

- * If the meaning of 'ASYNCH' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'ASYNCH' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #ASYNCH * @model * @generated @@ -95,10 +82,10 @@ public enum SynchronizationKind implements Enumerator { * The 'Undefined' literal value. * *

- * If the meaning of 'Undefined' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'Undefined' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #UNDEFINED * @model name="undefined" * @generated @@ -110,16 +97,19 @@ public enum SynchronizationKind implements Enumerator { * An array of all the 'Synchronization Kind' enumerators. * * - * * @generated */ - private static final SynchronizationKind[] VALUES_ARRAY = new SynchronizationKind[]{ SYNCH, ASYNCH, UNDEFINED, }; + private static final SynchronizationKind[] VALUES_ARRAY = + new SynchronizationKind[] { + SYNCH, + ASYNCH, + UNDEFINED, + }; /** * A public read-only list of all the 'Synchronization Kind' enumerators. * * - * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); @@ -128,13 +118,12 @@ public enum SynchronizationKind implements Enumerator { * Returns the 'Synchronization Kind' literal with the specified literal value. * * - * * @generated */ public static SynchronizationKind get(String literal) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { SynchronizationKind result = VALUES_ARRAY[i]; - if(result.toString().equals(literal)) { + if (result.toString().equals(literal)) { return result; } } @@ -145,13 +134,12 @@ public enum SynchronizationKind implements Enumerator { * Returns the 'Synchronization Kind' literal with the specified name. * * - * * @generated */ public static SynchronizationKind getByName(String name) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { SynchronizationKind result = VALUES_ARRAY[i]; - if(result.getName().equals(name)) { + if (result.getName().equals(name)) { return result; } } @@ -162,17 +150,13 @@ public enum SynchronizationKind implements Enumerator { * Returns the 'Synchronization Kind' literal with the specified integer value. * * - * * @generated */ public static SynchronizationKind get(int value) { - switch(value) { - case SYNCH_VALUE: - return SYNCH; - case ASYNCH_VALUE: - return ASYNCH; - case UNDEFINED_VALUE: - return UNDEFINED; + switch (value) { + case SYNCH_VALUE: return SYNCH; + case ASYNCH_VALUE: return ASYNCH; + case UNDEFINED_VALUE: return UNDEFINED; } return null; } @@ -180,7 +164,6 @@ public enum SynchronizationKind implements Enumerator { /** * * - * * @generated */ private final int value; @@ -188,7 +171,6 @@ public enum SynchronizationKind implements Enumerator { /** * * - * * @generated */ private final String name; @@ -196,7 +178,6 @@ public enum SynchronizationKind implements Enumerator { /** * * - * * @generated */ private final String literal; @@ -205,7 +186,6 @@ public enum SynchronizationKind implements Enumerator { * Only this class can construct instances. * * - * * @generated */ private SynchronizationKind(int value, String name, String literal) { @@ -217,43 +197,39 @@ public enum SynchronizationKind implements Enumerator { /** * * - * * @generated */ public int getValue() { - return value; + return value; } /** * * - * * @generated */ public String getName() { - return name; + return name; } /** * * - * * @generated */ public String getLiteral() { - return literal; + return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * * - * * @generated */ @Override public String toString() { return literal; } - + } //SynchronizationKind diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/System.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/System.java index 74818696c7c..b92ab5e885b 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/System.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/System.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.ecore.EObject; @@ -17,31 +8,30 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'System'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.System#getBase_Class Base Class}
  • - *
  • {@link org.eclipse.papyrus.RobotML.System#isNative Native}
  • - *
  • {@link org.eclipse.papyrus.RobotML.System#getLibraryPath Library Path}
  • - *
  • {@link org.eclipse.papyrus.RobotML.System#getLibraryComponentName Library Component Name}
  • + *
  • {@link org.eclipse.papyrus.RobotML.System#getBase_Class Base Class}
  • + *
  • {@link org.eclipse.papyrus.RobotML.System#isNative Native}
  • + *
  • {@link org.eclipse.papyrus.RobotML.System#getLibraryPath Library Path}
  • + *
  • {@link org.eclipse.papyrus.RobotML.System#getLibraryComponentName Library Component Name}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSystem() * @model * @generated */ public interface System extends EObject { - /** * Returns the value of the 'Base Class' reference. * *

- * If the meaning of the 'Base Class' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base Class' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base Class' reference. * @see #setBase_Class(org.eclipse.uml2.uml.Class) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSystem_Base_Class() @@ -54,9 +44,7 @@ public interface System extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.System#getBase_Class Base Class}' reference. * * - * - * @param value - * the new value of the 'Base Class' reference. + * @param value the new value of the 'Base Class' reference. * @see #getBase_Class() * @generated */ @@ -66,10 +54,10 @@ public interface System extends EObject { * Returns the value of the 'Native' attribute. * *

- * If the meaning of the 'Native' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Native' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Native' attribute. * @see #setNative(boolean) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSystem_Native() @@ -82,9 +70,7 @@ public interface System extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.System#isNative Native}' attribute. * * - * - * @param value - * the new value of the 'Native' attribute. + * @param value the new value of the 'Native' attribute. * @see #isNative() * @generated */ @@ -94,10 +80,10 @@ public interface System extends EObject { * Returns the value of the 'Library Path' attribute. * *

- * If the meaning of the 'Library Path' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Library Path' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Library Path' attribute. * @see #setLibraryPath(String) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSystem_LibraryPath() @@ -110,9 +96,7 @@ public interface System extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.System#getLibraryPath Library Path}' attribute. * * - * - * @param value - * the new value of the 'Library Path' attribute. + * @param value the new value of the 'Library Path' attribute. * @see #getLibraryPath() * @generated */ @@ -122,10 +106,10 @@ public interface System extends EObject { * Returns the value of the 'Library Component Name' attribute. * *

- * If the meaning of the 'Library Component Name' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Library Component Name' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Library Component Name' attribute. * @see #setLibraryComponentName(String) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getSystem_LibraryComponentName() @@ -138,9 +122,7 @@ public interface System extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.System#getLibraryComponentName Library Component Name}' attribute. * * - * - * @param value - * the new value of the 'Library Component Name' attribute. + * @param value the new value of the 'Library Component Name' attribute. * @see #getLibraryComponentName() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Transition.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Transition.java index 669f3ad4b65..4c17bdb2393 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Transition.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/Transition.java @@ -1,52 +1,44 @@ -/***************************************************************************** - * 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.RobotML; import org.eclipse.emf.ecore.EObject; +import org.eclipse.uml2.uml.Behavior; + /** * * A representation of the model object 'Transition'. * - * + * * * guard is typed with a boolean operation that have to be defined in the model before using it * effect is typed by an operation that is owned by the component that is behaviored by the FSM * * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.Transition#getBase_Transition Base Transition}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Transition#getGuard Guard}
  • - *
  • {@link org.eclipse.papyrus.RobotML.Transition#getEffect Effect}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Transition#getBase_Transition Base Transition}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Transition#getGuard Guard}
  • + *
  • {@link org.eclipse.papyrus.RobotML.Transition#getEffect Effect}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getTransition() * @model * @generated */ public interface Transition extends EObject { - /** * Returns the value of the 'Base Transition' reference. * *

- * If the meaning of the 'Base Transition' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Base Transition' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Base Transition' reference. * @see #setBase_Transition(org.eclipse.uml2.uml.Transition) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getTransition_Base_Transition() @@ -59,9 +51,7 @@ public interface Transition extends EObject { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Transition#getBase_Transition Base Transition}' reference. * * - * - * @param value - * the new value of the 'Base Transition' reference. + * @param value the new value of the 'Base Transition' reference. * @see #getBase_Transition() * @generated */ @@ -71,56 +61,52 @@ public interface Transition extends EObject { * Returns the value of the 'Guard' reference. * *

- * If the meaning of the 'Guard' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Guard' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Guard' reference. - * @see #setGuard(Algorithm) + * @see #setGuard(Behavior) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getTransition_Guard() * @model required="true" ordered="false" * @generated */ - Algorithm getGuard(); + Behavior getGuard(); /** * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Transition#getGuard Guard}' reference. * * - * - * @param value - * the new value of the 'Guard' reference. + * @param value the new value of the 'Guard' reference. * @see #getGuard() * @generated */ - void setGuard(Algorithm value); + void setGuard(Behavior value); /** * Returns the value of the 'Effect' reference. * *

- * If the meaning of the 'Effect' reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Effect' reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Effect' reference. - * @see #setEffect(Algorithm) + * @see #setEffect(Behavior) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getTransition_Effect() * @model required="true" ordered="false" * @generated */ - Algorithm getEffect(); + Behavior getEffect(); /** * Sets the value of the '{@link org.eclipse.papyrus.RobotML.Transition#getEffect Effect}' reference. * * - * - * @param value - * the new value of the 'Effect' reference. + * @param value the new value of the 'Effect' reference. * @see #getEffect() * @generated */ - void setEffect(Algorithm value); + void setEffect(Behavior value); } // Transition diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/UGVKind.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/UGVKind.java index af101077f40..0ce0fb29fc1 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/UGVKind.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/UGVKind.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; import java.util.Arrays; @@ -22,7 +13,6 @@ import org.eclipse.emf.common.util.Enumerator; * A representation of the literals of the enumeration 'UGV Kind', * and utility methods for working with them. * - * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getUGVKind() * @model * @generated @@ -32,7 +22,6 @@ public enum UGVKind implements Enumerator { * The 'Differential' literal object. * * - * * @see #DIFFERENTIAL_VALUE * @generated * @ordered @@ -43,7 +32,6 @@ public enum UGVKind implements Enumerator { * The 'Car' literal object. * * - * * @see #CAR_VALUE * @generated * @ordered @@ -54,10 +42,10 @@ public enum UGVKind implements Enumerator { * The 'Differential' literal value. * *

- * If the meaning of 'Differential' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'Differential' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #DIFFERENTIAL * @model name="differential" * @generated @@ -69,10 +57,10 @@ public enum UGVKind implements Enumerator { * The 'Car' literal value. * *

- * If the meaning of 'Car' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'Car' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #CAR * @model name="car" * @generated @@ -84,16 +72,18 @@ public enum UGVKind implements Enumerator { * An array of all the 'UGV Kind' enumerators. * * - * * @generated */ - private static final UGVKind[] VALUES_ARRAY = new UGVKind[]{ DIFFERENTIAL, CAR, }; + private static final UGVKind[] VALUES_ARRAY = + new UGVKind[] { + DIFFERENTIAL, + CAR, + }; /** * A public read-only list of all the 'UGV Kind' enumerators. * * - * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); @@ -102,13 +92,12 @@ public enum UGVKind implements Enumerator { * Returns the 'UGV Kind' literal with the specified literal value. * * - * * @generated */ public static UGVKind get(String literal) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { UGVKind result = VALUES_ARRAY[i]; - if(result.toString().equals(literal)) { + if (result.toString().equals(literal)) { return result; } } @@ -119,13 +108,12 @@ public enum UGVKind implements Enumerator { * Returns the 'UGV Kind' literal with the specified name. * * - * * @generated */ public static UGVKind getByName(String name) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { UGVKind result = VALUES_ARRAY[i]; - if(result.getName().equals(name)) { + if (result.getName().equals(name)) { return result; } } @@ -136,15 +124,12 @@ public enum UGVKind implements Enumerator { * Returns the 'UGV Kind' literal with the specified integer value. * * - * * @generated */ public static UGVKind get(int value) { - switch(value) { - case DIFFERENTIAL_VALUE: - return DIFFERENTIAL; - case CAR_VALUE: - return CAR; + switch (value) { + case DIFFERENTIAL_VALUE: return DIFFERENTIAL; + case CAR_VALUE: return CAR; } return null; } @@ -152,7 +137,6 @@ public enum UGVKind implements Enumerator { /** * * - * * @generated */ private final int value; @@ -160,7 +144,6 @@ public enum UGVKind implements Enumerator { /** * * - * * @generated */ private final String name; @@ -168,7 +151,6 @@ public enum UGVKind implements Enumerator { /** * * - * * @generated */ private final String literal; @@ -177,7 +159,6 @@ public enum UGVKind implements Enumerator { * Only this class can construct instances. * * - * * @generated */ private UGVKind(int value, String name, String literal) { @@ -189,43 +170,39 @@ public enum UGVKind implements Enumerator { /** * * - * * @generated */ public int getValue() { - return value; + return value; } /** * * - * * @generated */ public String getName() { - return name; + return name; } /** * * - * * @generated */ public String getLiteral() { - return literal; + return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * * - * * @generated */ @Override public String toString() { return literal; } - + } //UGVKind diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/WaterSurface.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/WaterSurface.java index 43f292fa4be..563955f3c54 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/WaterSurface.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/WaterSurface.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,8 +7,8 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Water Surface'. * - * - * + * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWaterSurface() * @model * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/WheelSystem.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/WheelSystem.java index a342aaa30b3..244c78073f6 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/WheelSystem.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/WheelSystem.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML; @@ -16,48 +7,46 @@ package org.eclipse.papyrus.RobotML; * * A representation of the model object 'Wheel System'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelRadius Wheel Radius}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelWidth Wheel Width}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionRestLength Suspension Rest Length}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelConnectionHeight Wheel Connection Height}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getTypeOfWheel Type Of Wheel}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDkp Wheel Velocity PI Dkp}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDki Wheel Velocity PI Dki}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDkd Wheel Velocity PI Dkd}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelSteeringPIDkp Wheel Steering PI Dkp}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelSteeringPIDkd Wheel Steering PI Dkd}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelFriction Wheel Friction}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionStiffness Suspension Stiffness}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionDamping Suspension Damping}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionCompression Suspension Compression}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxSum Wheel Velocity PI Dmax Sum}
  • - *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxVal Wheel Velocity PI Dmax Val}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelRadius Wheel Radius}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelWidth Wheel Width}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionRestLength Suspension Rest Length}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelConnectionHeight Wheel Connection Height}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getTypeOfWheel Type Of Wheel}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDkp Wheel Velocity PI Dkp}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDki Wheel Velocity PI Dki}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDkd Wheel Velocity PI Dkd}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelSteeringPIDkp Wheel Steering PI Dkp}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelSteeringPIDkd Wheel Steering PI Dkd}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelFriction Wheel Friction}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionStiffness Suspension Stiffness}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionDamping Suspension Damping}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionCompression Suspension Compression}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxSum Wheel Velocity PI Dmax Sum}
  • + *
  • {@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxVal Wheel Velocity PI Dmax Val}
  • *
*

- * + * * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem() * @model * @generated */ public interface WheelSystem extends ActuatorSystem { - /** * Returns the value of the 'Wheel Radius' attribute. * *

- * If the meaning of the 'Wheel Radius' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Wheel Radius' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wheel Radius' attribute. * @see #setWheelRadius(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_WheelRadius() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWheelRadius(); @@ -66,9 +55,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelRadius Wheel Radius}' attribute. * * - * - * @param value - * the new value of the 'Wheel Radius' attribute. + * @param value the new value of the 'Wheel Radius' attribute. * @see #getWheelRadius() * @generated */ @@ -78,15 +65,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Wheel Width' attribute. * *

- * If the meaning of the 'Wheel Width' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Wheel Width' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wheel Width' attribute. * @see #setWheelWidth(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_WheelWidth() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWheelWidth(); @@ -95,9 +81,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelWidth Wheel Width}' attribute. * * - * - * @param value - * the new value of the 'Wheel Width' attribute. + * @param value the new value of the 'Wheel Width' attribute. * @see #getWheelWidth() * @generated */ @@ -107,15 +91,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Suspension Rest Length' attribute. * *

- * If the meaning of the 'Suspension Rest Length' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Suspension Rest Length' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Suspension Rest Length' attribute. * @see #setSuspensionRestLength(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_SuspensionRestLength() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getSuspensionRestLength(); @@ -124,9 +107,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionRestLength Suspension Rest Length}' attribute. * * - * - * @param value - * the new value of the 'Suspension Rest Length' attribute. + * @param value the new value of the 'Suspension Rest Length' attribute. * @see #getSuspensionRestLength() * @generated */ @@ -136,15 +117,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Wheel Connection Height' attribute. * *

- * If the meaning of the 'Wheel Connection Height' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Wheel Connection Height' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wheel Connection Height' attribute. * @see #setWheelConnectionHeight(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_WheelConnectionHeight() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWheelConnectionHeight(); @@ -153,9 +133,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelConnectionHeight Wheel Connection Height}' attribute. * * - * - * @param value - * the new value of the 'Wheel Connection Height' attribute. + * @param value the new value of the 'Wheel Connection Height' attribute. * @see #getWheelConnectionHeight() * @generated */ @@ -165,15 +143,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Type Of Wheel' attribute. * *

- * If the meaning of the 'Type Of Wheel' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Type Of Wheel' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Type Of Wheel' attribute. * @see #setTypeOfWheel(String) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_TypeOfWheel() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getTypeOfWheel(); @@ -182,9 +159,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getTypeOfWheel Type Of Wheel}' attribute. * * - * - * @param value - * the new value of the 'Type Of Wheel' attribute. + * @param value the new value of the 'Type Of Wheel' attribute. * @see #getTypeOfWheel() * @generated */ @@ -194,15 +169,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Wheel Velocity PI Dkp' attribute. * *

- * If the meaning of the 'Wheel Velocity PI Dkp' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Wheel Velocity PI Dkp' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wheel Velocity PI Dkp' attribute. * @see #setWheelVelocityPIDkp(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_WheelVelocityPIDkp() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWheelVelocityPIDkp(); @@ -211,9 +185,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDkp Wheel Velocity PI Dkp}' attribute. * * - * - * @param value - * the new value of the 'Wheel Velocity PI Dkp' attribute. + * @param value the new value of the 'Wheel Velocity PI Dkp' attribute. * @see #getWheelVelocityPIDkp() * @generated */ @@ -223,15 +195,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Wheel Velocity PI Dki' attribute. * *

- * If the meaning of the 'Wheel Velocity PI Dki' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Wheel Velocity PI Dki' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wheel Velocity PI Dki' attribute. * @see #setWheelVelocityPIDki(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_WheelVelocityPIDki() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWheelVelocityPIDki(); @@ -240,9 +211,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDki Wheel Velocity PI Dki}' attribute. * * - * - * @param value - * the new value of the 'Wheel Velocity PI Dki' attribute. + * @param value the new value of the 'Wheel Velocity PI Dki' attribute. * @see #getWheelVelocityPIDki() * @generated */ @@ -252,15 +221,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Wheel Velocity PI Dkd' attribute. * *

- * If the meaning of the 'Wheel Velocity PI Dkd' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Wheel Velocity PI Dkd' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wheel Velocity PI Dkd' attribute. * @see #setWheelVelocityPIDkd(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_WheelVelocityPIDkd() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWheelVelocityPIDkd(); @@ -269,9 +237,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDkd Wheel Velocity PI Dkd}' attribute. * * - * - * @param value - * the new value of the 'Wheel Velocity PI Dkd' attribute. + * @param value the new value of the 'Wheel Velocity PI Dkd' attribute. * @see #getWheelVelocityPIDkd() * @generated */ @@ -281,15 +247,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Wheel Steering PI Dkp' attribute. * *

- * If the meaning of the 'Wheel Steering PI Dkp' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Wheel Steering PI Dkp' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wheel Steering PI Dkp' attribute. * @see #setWheelSteeringPIDkp(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_WheelSteeringPIDkp() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWheelSteeringPIDkp(); @@ -298,9 +263,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelSteeringPIDkp Wheel Steering PI Dkp}' attribute. * * - * - * @param value - * the new value of the 'Wheel Steering PI Dkp' attribute. + * @param value the new value of the 'Wheel Steering PI Dkp' attribute. * @see #getWheelSteeringPIDkp() * @generated */ @@ -310,15 +273,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Wheel Steering PI Dkd' attribute. * *

- * If the meaning of the 'Wheel Steering PI Dkd' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Wheel Steering PI Dkd' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wheel Steering PI Dkd' attribute. * @see #setWheelSteeringPIDkd(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_WheelSteeringPIDkd() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWheelSteeringPIDkd(); @@ -327,9 +289,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelSteeringPIDkd Wheel Steering PI Dkd}' attribute. * * - * - * @param value - * the new value of the 'Wheel Steering PI Dkd' attribute. + * @param value the new value of the 'Wheel Steering PI Dkd' attribute. * @see #getWheelSteeringPIDkd() * @generated */ @@ -339,15 +299,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Wheel Friction' attribute. * *

- * If the meaning of the 'Wheel Friction' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Wheel Friction' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wheel Friction' attribute. * @see #setWheelFriction(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_WheelFriction() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWheelFriction(); @@ -356,9 +315,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelFriction Wheel Friction}' attribute. * * - * - * @param value - * the new value of the 'Wheel Friction' attribute. + * @param value the new value of the 'Wheel Friction' attribute. * @see #getWheelFriction() * @generated */ @@ -368,15 +325,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Suspension Stiffness' attribute. * *

- * If the meaning of the 'Suspension Stiffness' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Suspension Stiffness' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Suspension Stiffness' attribute. * @see #setSuspensionStiffness(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_SuspensionStiffness() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getSuspensionStiffness(); @@ -385,9 +341,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionStiffness Suspension Stiffness}' attribute. * * - * - * @param value - * the new value of the 'Suspension Stiffness' attribute. + * @param value the new value of the 'Suspension Stiffness' attribute. * @see #getSuspensionStiffness() * @generated */ @@ -397,15 +351,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Suspension Damping' attribute. * *

- * If the meaning of the 'Suspension Damping' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Suspension Damping' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Suspension Damping' attribute. * @see #setSuspensionDamping(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_SuspensionDamping() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getSuspensionDamping(); @@ -414,9 +367,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionDamping Suspension Damping}' attribute. * * - * - * @param value - * the new value of the 'Suspension Damping' attribute. + * @param value the new value of the 'Suspension Damping' attribute. * @see #getSuspensionDamping() * @generated */ @@ -426,15 +377,14 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Suspension Compression' attribute. * *

- * If the meaning of the 'Suspension Compression' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Suspension Compression' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Suspension Compression' attribute. * @see #setSuspensionCompression(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_SuspensionCompression() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getSuspensionCompression(); @@ -443,9 +393,7 @@ public interface WheelSystem extends ActuatorSystem { * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getSuspensionCompression Suspension Compression}' attribute. * * - * - * @param value - * the new value of the 'Suspension Compression' attribute. + * @param value the new value of the 'Suspension Compression' attribute. * @see #getSuspensionCompression() * @generated */ @@ -455,27 +403,23 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Wheel Velocity PI Dmax Sum' attribute. * *

- * If the meaning of the 'Wheel Velocity PI Dmax Sum' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Wheel Velocity PI Dmax Sum' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wheel Velocity PI Dmax Sum' attribute. * @see #setWheelVelocityPIDmaxSum(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_WheelVelocityPIDmaxSum() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWheelVelocityPIDmaxSum(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxSum Wheel Velocity PI Dmax Sum}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxSum Wheel Velocity PI Dmax Sum}' attribute. * * - * - * @param value - * the new value of the 'Wheel Velocity PI Dmax Sum' attribute. + * @param value the new value of the 'Wheel Velocity PI Dmax Sum' attribute. * @see #getWheelVelocityPIDmaxSum() * @generated */ @@ -485,27 +429,23 @@ public interface WheelSystem extends ActuatorSystem { * Returns the value of the 'Wheel Velocity PI Dmax Val' attribute. * *

- * If the meaning of the 'Wheel Velocity PI Dmax Val' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Wheel Velocity PI Dmax Val' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wheel Velocity PI Dmax Val' attribute. * @see #setWheelVelocityPIDmaxVal(float) * @see org.eclipse.papyrus.RobotML.RobotMLPackage#getWheelSystem_WheelVelocityPIDmaxVal() - * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" - * ordered="false" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getWheelVelocityPIDmaxVal(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxVal Wheel Velocity PI Dmax Val}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotML.WheelSystem#getWheelVelocityPIDmaxVal Wheel Velocity PI Dmax Val}' attribute. * * - * - * @param value - * the new value of the 'Wheel Velocity PI Dmax Val' attribute. + * @param value the new value of the 'Wheel Velocity PI Dmax Val' attribute. * @see #getWheelVelocityPIDmaxVal() * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ActuatorSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ActuatorSystemImpl.java index 209a7736939..f0698537cfc 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ActuatorSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ActuatorSystemImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.ActuatorSystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class ActuatorSystemImpl extends RoboticSystemImpl implements ActuatorSystem { - /** * * - * * @generated */ protected ActuatorSystemImpl() { @@ -39,7 +29,6 @@ public class ActuatorSystemImpl extends RoboticSystemImpl implements ActuatorSys /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AgentImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AgentImpl.java index 89a407bd8c9..2e1b2c45c98 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AgentImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AgentImpl.java @@ -1,21 +1,15 @@ -/***************************************************************************** - * 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.RobotML.impl; import java.util.Collection; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.util.EObjectResolvingEList; + import org.eclipse.papyrus.RobotML.Agent; import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.Surface; @@ -27,19 +21,17 @@ import org.eclipse.papyrus.RobotML.Surface; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.AgentImpl#getMovesOver Moves Over}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.AgentImpl#getMovesOver Moves Over}
  • *
*

- * + * * @generated */ public class AgentImpl extends PhysicalObjectImpl implements Agent { - /** * The cached value of the '{@link #getMovesOver() Moves Over}' reference list. * * - * * @see #getMovesOver() * @generated * @ordered @@ -49,7 +41,6 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * * - * * @generated */ protected AgentImpl() { @@ -59,7 +50,6 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * * - * * @generated */ @Override @@ -70,11 +60,10 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * * - * * @generated */ public EList getMovesOver() { - if(movesOver == null) { + if (movesOver == null) { movesOver = new EObjectResolvingEList(Surface.class, this, RobotMLPackage.AGENT__MOVES_OVER); } return movesOver; @@ -83,14 +72,13 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.AGENT__MOVES_OVER: - return getMovesOver(); + switch (featureID) { + case RobotMLPackage.AGENT__MOVES_OVER: + return getMovesOver(); } return super.eGet(featureID, resolve, coreType); } @@ -98,17 +86,16 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.AGENT__MOVES_OVER: - getMovesOver().clear(); - getMovesOver().addAll((Collection)newValue); - return; + switch (featureID) { + case RobotMLPackage.AGENT__MOVES_OVER: + getMovesOver().clear(); + getMovesOver().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -116,15 +103,14 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.AGENT__MOVES_OVER: - getMovesOver().clear(); - return; + switch (featureID) { + case RobotMLPackage.AGENT__MOVES_OVER: + getMovesOver().clear(); + return; } super.eUnset(featureID); } @@ -132,14 +118,13 @@ public class AgentImpl extends PhysicalObjectImpl implements Agent { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.AGENT__MOVES_OVER: - return movesOver != null && !movesOver.isEmpty(); + switch (featureID) { + case RobotMLPackage.AGENT__MOVES_OVER: + return movesOver != null && !movesOver.isEmpty(); } return super.eIsSet(featureID); } diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AlgorithmImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AlgorithmImpl.java index 8be565e5308..f46c5c98c80 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AlgorithmImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AlgorithmImpl.java @@ -1,23 +1,18 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + 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.EObjectImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + import org.eclipse.papyrus.RobotML.Algorithm; import org.eclipse.papyrus.RobotML.RobotMLPackage; + import org.eclipse.uml2.uml.Operation; /** @@ -27,23 +22,21 @@ import org.eclipse.uml2.uml.Operation; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getBase_Operation Base Operation}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#isIsExternal Is External}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getExtFunctionName Ext Function Name}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getLibPath Lib Path}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getLibFileFormat Lib File Format}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getBase_Operation Base Operation}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#isIsExternal Is External}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getExtFunctionName Ext Function Name}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getLibPath Lib Path}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmImpl#getLibFileFormat Lib File Format}
  • *
*

- * + * * @generated */ -public class AlgorithmImpl extends EObjectImpl implements Algorithm { - +public class AlgorithmImpl extends MinimalEObjectImpl.Container implements Algorithm { /** * The cached value of the '{@link #getBase_Operation() Base Operation}' reference. * * - * * @see #getBase_Operation() * @generated * @ordered @@ -54,7 +47,6 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { * The default value of the '{@link #isIsExternal() Is External}' attribute. * * - * * @see #isIsExternal() * @generated * @ordered @@ -65,7 +57,6 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { * The cached value of the '{@link #isIsExternal() Is External}' attribute. * * - * * @see #isIsExternal() * @generated * @ordered @@ -76,7 +67,6 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { * The default value of the '{@link #getExtFunctionName() Ext Function Name}' attribute. * * - * * @see #getExtFunctionName() * @generated * @ordered @@ -87,7 +77,6 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { * The cached value of the '{@link #getExtFunctionName() Ext Function Name}' attribute. * * - * * @see #getExtFunctionName() * @generated * @ordered @@ -98,7 +87,6 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { * The default value of the '{@link #getLibPath() Lib Path}' attribute. * * - * * @see #getLibPath() * @generated * @ordered @@ -109,7 +97,6 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { * The cached value of the '{@link #getLibPath() Lib Path}' attribute. * * - * * @see #getLibPath() * @generated * @ordered @@ -120,7 +107,6 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { * The default value of the '{@link #getLibFileFormat() Lib File Format}' attribute. * * - * * @see #getLibFileFormat() * @generated * @ordered @@ -131,7 +117,6 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { * The cached value of the '{@link #getLibFileFormat() Lib File Format}' attribute. * * - * * @see #getLibFileFormat() * @generated * @ordered @@ -141,7 +126,6 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ protected AlgorithmImpl() { @@ -151,7 +135,6 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ @Override @@ -162,15 +145,14 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ public Operation getBase_Operation() { - if(base_Operation != null && base_Operation.eIsProxy()) { + if (base_Operation != null && base_Operation.eIsProxy()) { InternalEObject oldBase_Operation = (InternalEObject)base_Operation; base_Operation = (Operation)eResolveProxy(oldBase_Operation); - if(base_Operation != oldBase_Operation) { - if(eNotificationRequired()) + if (base_Operation != oldBase_Operation) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ALGORITHM__BASE_OPERATION, oldBase_Operation, base_Operation)); } } @@ -180,7 +162,6 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ public Operation basicGetBase_Operation() { @@ -190,20 +171,18 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ public void setBase_Operation(Operation newBase_Operation) { Operation oldBase_Operation = base_Operation; base_Operation = newBase_Operation; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ALGORITHM__BASE_OPERATION, oldBase_Operation, base_Operation)); } /** * * - * * @generated */ public boolean isIsExternal() { @@ -213,20 +192,18 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ public void setIsExternal(boolean newIsExternal) { boolean oldIsExternal = isExternal; isExternal = newIsExternal; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ALGORITHM__IS_EXTERNAL, oldIsExternal, isExternal)); } /** * * - * * @generated */ public String getExtFunctionName() { @@ -236,20 +213,18 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ public void setExtFunctionName(String newExtFunctionName) { String oldExtFunctionName = extFunctionName; extFunctionName = newExtFunctionName; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ALGORITHM__EXT_FUNCTION_NAME, oldExtFunctionName, extFunctionName)); } /** * * - * * @generated */ public String getLibPath() { @@ -259,20 +234,18 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ public void setLibPath(String newLibPath) { String oldLibPath = libPath; libPath = newLibPath; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ALGORITHM__LIB_PATH, oldLibPath, libPath)); } /** * * - * * @generated */ public String getLibFileFormat() { @@ -282,37 +255,34 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ public void setLibFileFormat(String newLibFileFormat) { String oldLibFileFormat = libFileFormat; libFileFormat = newLibFileFormat; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ALGORITHM__LIB_FILE_FORMAT, oldLibFileFormat, libFileFormat)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.ALGORITHM__BASE_OPERATION: - if(resolve) - return getBase_Operation(); - return basicGetBase_Operation(); - case RobotMLPackage.ALGORITHM__IS_EXTERNAL: - return isIsExternal(); - case RobotMLPackage.ALGORITHM__EXT_FUNCTION_NAME: - return getExtFunctionName(); - case RobotMLPackage.ALGORITHM__LIB_PATH: - return getLibPath(); - case RobotMLPackage.ALGORITHM__LIB_FILE_FORMAT: - return getLibFileFormat(); + switch (featureID) { + case RobotMLPackage.ALGORITHM__BASE_OPERATION: + if (resolve) return getBase_Operation(); + return basicGetBase_Operation(); + case RobotMLPackage.ALGORITHM__IS_EXTERNAL: + return isIsExternal(); + case RobotMLPackage.ALGORITHM__EXT_FUNCTION_NAME: + return getExtFunctionName(); + case RobotMLPackage.ALGORITHM__LIB_PATH: + return getLibPath(); + case RobotMLPackage.ALGORITHM__LIB_FILE_FORMAT: + return getLibFileFormat(); } return super.eGet(featureID, resolve, coreType); } @@ -320,27 +290,26 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.ALGORITHM__BASE_OPERATION: - setBase_Operation((Operation)newValue); - return; - case RobotMLPackage.ALGORITHM__IS_EXTERNAL: - setIsExternal((Boolean)newValue); - return; - case RobotMLPackage.ALGORITHM__EXT_FUNCTION_NAME: - setExtFunctionName((String)newValue); - return; - case RobotMLPackage.ALGORITHM__LIB_PATH: - setLibPath((String)newValue); - return; - case RobotMLPackage.ALGORITHM__LIB_FILE_FORMAT: - setLibFileFormat((String)newValue); - return; + switch (featureID) { + case RobotMLPackage.ALGORITHM__BASE_OPERATION: + setBase_Operation((Operation)newValue); + return; + case RobotMLPackage.ALGORITHM__IS_EXTERNAL: + setIsExternal((Boolean)newValue); + return; + case RobotMLPackage.ALGORITHM__EXT_FUNCTION_NAME: + setExtFunctionName((String)newValue); + return; + case RobotMLPackage.ALGORITHM__LIB_PATH: + setLibPath((String)newValue); + return; + case RobotMLPackage.ALGORITHM__LIB_FILE_FORMAT: + setLibFileFormat((String)newValue); + return; } super.eSet(featureID, newValue); } @@ -348,27 +317,26 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.ALGORITHM__BASE_OPERATION: - setBase_Operation((Operation)null); - return; - case RobotMLPackage.ALGORITHM__IS_EXTERNAL: - setIsExternal(IS_EXTERNAL_EDEFAULT); - return; - case RobotMLPackage.ALGORITHM__EXT_FUNCTION_NAME: - setExtFunctionName(EXT_FUNCTION_NAME_EDEFAULT); - return; - case RobotMLPackage.ALGORITHM__LIB_PATH: - setLibPath(LIB_PATH_EDEFAULT); - return; - case RobotMLPackage.ALGORITHM__LIB_FILE_FORMAT: - setLibFileFormat(LIB_FILE_FORMAT_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.ALGORITHM__BASE_OPERATION: + setBase_Operation((Operation)null); + return; + case RobotMLPackage.ALGORITHM__IS_EXTERNAL: + setIsExternal(IS_EXTERNAL_EDEFAULT); + return; + case RobotMLPackage.ALGORITHM__EXT_FUNCTION_NAME: + setExtFunctionName(EXT_FUNCTION_NAME_EDEFAULT); + return; + case RobotMLPackage.ALGORITHM__LIB_PATH: + setLibPath(LIB_PATH_EDEFAULT); + return; + case RobotMLPackage.ALGORITHM__LIB_FILE_FORMAT: + setLibFileFormat(LIB_FILE_FORMAT_EDEFAULT); + return; } super.eUnset(featureID); } @@ -376,22 +344,21 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.ALGORITHM__BASE_OPERATION: - return base_Operation != null; - case RobotMLPackage.ALGORITHM__IS_EXTERNAL: - return isExternal != IS_EXTERNAL_EDEFAULT; - case RobotMLPackage.ALGORITHM__EXT_FUNCTION_NAME: - return EXT_FUNCTION_NAME_EDEFAULT == null ? extFunctionName != null : !EXT_FUNCTION_NAME_EDEFAULT.equals(extFunctionName); - case RobotMLPackage.ALGORITHM__LIB_PATH: - return LIB_PATH_EDEFAULT == null ? libPath != null : !LIB_PATH_EDEFAULT.equals(libPath); - case RobotMLPackage.ALGORITHM__LIB_FILE_FORMAT: - return LIB_FILE_FORMAT_EDEFAULT == null ? libFileFormat != null : !LIB_FILE_FORMAT_EDEFAULT.equals(libFileFormat); + switch (featureID) { + case RobotMLPackage.ALGORITHM__BASE_OPERATION: + return base_Operation != null; + case RobotMLPackage.ALGORITHM__IS_EXTERNAL: + return isExternal != IS_EXTERNAL_EDEFAULT; + case RobotMLPackage.ALGORITHM__EXT_FUNCTION_NAME: + return EXT_FUNCTION_NAME_EDEFAULT == null ? extFunctionName != null : !EXT_FUNCTION_NAME_EDEFAULT.equals(extFunctionName); + case RobotMLPackage.ALGORITHM__LIB_PATH: + return LIB_PATH_EDEFAULT == null ? libPath != null : !LIB_PATH_EDEFAULT.equals(libPath); + case RobotMLPackage.ALGORITHM__LIB_FILE_FORMAT: + return LIB_FILE_FORMAT_EDEFAULT == null ? libFileFormat != null : !LIB_FILE_FORMAT_EDEFAULT.equals(libFileFormat); } return super.eIsSet(featureID); } @@ -399,13 +366,11 @@ public class AlgorithmImpl extends EObjectImpl implements Algorithm { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (isExternal: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AlgorithmLibraryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AlgorithmLibraryImpl.java index 9401983dae0..ea94aa54bf6 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AlgorithmLibraryImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AlgorithmLibraryImpl.java @@ -1,21 +1,15 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + 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.EObjectImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + import org.eclipse.papyrus.RobotML.AlgorithmLibrary; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -26,20 +20,18 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmLibraryImpl#getBase_Class Base Class}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmLibraryImpl#getPath Path}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmLibraryImpl#getBase_Class Base Class}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.AlgorithmLibraryImpl#getPath Path}
  • *
*

- * + * * @generated */ -public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrary { - +public class AlgorithmLibraryImpl extends MinimalEObjectImpl.Container implements AlgorithmLibrary { /** * The cached value of the '{@link #getBase_Class() Base Class}' reference. * * - * * @see #getBase_Class() * @generated * @ordered @@ -50,7 +42,6 @@ public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrar * The default value of the '{@link #getPath() Path}' attribute. * * - * * @see #getPath() * @generated * @ordered @@ -61,7 +52,6 @@ public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrar * The cached value of the '{@link #getPath() Path}' attribute. * * - * * @see #getPath() * @generated * @ordered @@ -71,7 +61,6 @@ public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrar /** * * - * * @generated */ protected AlgorithmLibraryImpl() { @@ -81,7 +70,6 @@ public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrar /** * * - * * @generated */ @Override @@ -92,15 +80,14 @@ public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrar /** * * - * * @generated */ public org.eclipse.uml2.uml.Class getBase_Class() { - if(base_Class != null && base_Class.eIsProxy()) { + if (base_Class != null && base_Class.eIsProxy()) { InternalEObject oldBase_Class = (InternalEObject)base_Class; base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); - if(base_Class != oldBase_Class) { - if(eNotificationRequired()) + if (base_Class != oldBase_Class) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ALGORITHM_LIBRARY__BASE_CLASS, oldBase_Class, base_Class)); } } @@ -110,7 +97,6 @@ public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrar /** * * - * * @generated */ public org.eclipse.uml2.uml.Class basicGetBase_Class() { @@ -120,20 +106,18 @@ public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrar /** * * - * * @generated */ public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) { org.eclipse.uml2.uml.Class oldBase_Class = base_Class; base_Class = newBase_Class; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ALGORITHM_LIBRARY__BASE_CLASS, oldBase_Class, base_Class)); } /** * * - * * @generated */ public String getPath() { @@ -143,31 +127,28 @@ public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrar /** * * - * * @generated */ public void setPath(String newPath) { String oldPath = path; path = newPath; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ALGORITHM_LIBRARY__PATH, oldPath, path)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.ALGORITHM_LIBRARY__BASE_CLASS: - if(resolve) - return getBase_Class(); - return basicGetBase_Class(); - case RobotMLPackage.ALGORITHM_LIBRARY__PATH: - return getPath(); + switch (featureID) { + case RobotMLPackage.ALGORITHM_LIBRARY__BASE_CLASS: + if (resolve) return getBase_Class(); + return basicGetBase_Class(); + case RobotMLPackage.ALGORITHM_LIBRARY__PATH: + return getPath(); } return super.eGet(featureID, resolve, coreType); } @@ -175,18 +156,17 @@ public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrar /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.ALGORITHM_LIBRARY__BASE_CLASS: - setBase_Class((org.eclipse.uml2.uml.Class)newValue); - return; - case RobotMLPackage.ALGORITHM_LIBRARY__PATH: - setPath((String)newValue); - return; + switch (featureID) { + case RobotMLPackage.ALGORITHM_LIBRARY__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)newValue); + return; + case RobotMLPackage.ALGORITHM_LIBRARY__PATH: + setPath((String)newValue); + return; } super.eSet(featureID, newValue); } @@ -194,18 +174,17 @@ public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrar /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.ALGORITHM_LIBRARY__BASE_CLASS: - setBase_Class((org.eclipse.uml2.uml.Class)null); - return; - case RobotMLPackage.ALGORITHM_LIBRARY__PATH: - setPath(PATH_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.ALGORITHM_LIBRARY__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)null); + return; + case RobotMLPackage.ALGORITHM_LIBRARY__PATH: + setPath(PATH_EDEFAULT); + return; } super.eUnset(featureID); } @@ -213,16 +192,15 @@ public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrar /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.ALGORITHM_LIBRARY__BASE_CLASS: - return base_Class != null; - case RobotMLPackage.ALGORITHM_LIBRARY__PATH: - return PATH_EDEFAULT == null ? path != null : !PATH_EDEFAULT.equals(path); + switch (featureID) { + case RobotMLPackage.ALGORITHM_LIBRARY__BASE_CLASS: + return base_Class != null; + case RobotMLPackage.ALGORITHM_LIBRARY__PATH: + return PATH_EDEFAULT == null ? path != null : !PATH_EDEFAULT.equals(path); } return super.eIsSet(featureID); } @@ -230,13 +208,11 @@ public class AlgorithmLibraryImpl extends EObjectImpl implements AlgorithmLibrar /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (path: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AllocateImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AllocateImpl.java index 44488ff5966..9331126ba21 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AllocateImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/AllocateImpl.java @@ -1,23 +1,18 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + 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.EObjectImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + import org.eclipse.papyrus.RobotML.Allocate; import org.eclipse.papyrus.RobotML.RobotMLPackage; + import org.eclipse.uml2.uml.Abstraction; /** @@ -27,19 +22,17 @@ import org.eclipse.uml2.uml.Abstraction; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.AllocateImpl#getBase_Abstraction Base Abstraction}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.AllocateImpl#getBase_Abstraction Base Abstraction}
  • *
*

- * + * * @generated */ -public class AllocateImpl extends EObjectImpl implements Allocate { - +public class AllocateImpl extends MinimalEObjectImpl.Container implements Allocate { /** * The cached value of the '{@link #getBase_Abstraction() Base Abstraction}' reference. * * - * * @see #getBase_Abstraction() * @generated * @ordered @@ -49,7 +42,6 @@ public class AllocateImpl extends EObjectImpl implements Allocate { /** * * - * * @generated */ protected AllocateImpl() { @@ -59,7 +51,6 @@ public class AllocateImpl extends EObjectImpl implements Allocate { /** * * - * * @generated */ @Override @@ -70,15 +61,14 @@ public class AllocateImpl extends EObjectImpl implements Allocate { /** * * - * * @generated */ public Abstraction getBase_Abstraction() { - if(base_Abstraction != null && base_Abstraction.eIsProxy()) { + if (base_Abstraction != null && base_Abstraction.eIsProxy()) { InternalEObject oldBase_Abstraction = (InternalEObject)base_Abstraction; base_Abstraction = (Abstraction)eResolveProxy(oldBase_Abstraction); - if(base_Abstraction != oldBase_Abstraction) { - if(eNotificationRequired()) + if (base_Abstraction != oldBase_Abstraction) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ALLOCATE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); } } @@ -88,7 +78,6 @@ public class AllocateImpl extends EObjectImpl implements Allocate { /** * * - * * @generated */ public Abstraction basicGetBase_Abstraction() { @@ -98,29 +87,26 @@ public class AllocateImpl extends EObjectImpl implements Allocate { /** * * - * * @generated */ public void setBase_Abstraction(Abstraction newBase_Abstraction) { Abstraction oldBase_Abstraction = base_Abstraction; base_Abstraction = newBase_Abstraction; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ALLOCATE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: - if(resolve) - return getBase_Abstraction(); - return basicGetBase_Abstraction(); + switch (featureID) { + case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: + if (resolve) return getBase_Abstraction(); + return basicGetBase_Abstraction(); } return super.eGet(featureID, resolve, coreType); } @@ -128,15 +114,14 @@ public class AllocateImpl extends EObjectImpl implements Allocate { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: - setBase_Abstraction((Abstraction)newValue); - return; + switch (featureID) { + case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: + setBase_Abstraction((Abstraction)newValue); + return; } super.eSet(featureID, newValue); } @@ -144,15 +129,14 @@ public class AllocateImpl extends EObjectImpl implements Allocate { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: - setBase_Abstraction((Abstraction)null); - return; + switch (featureID) { + case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: + setBase_Abstraction((Abstraction)null); + return; } super.eUnset(featureID); } @@ -160,14 +144,13 @@ public class AllocateImpl extends EObjectImpl implements Allocate { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: - return base_Abstraction != null; + switch (featureID) { + case RobotMLPackage.ALLOCATE__BASE_ABSTRACTION: + return base_Abstraction != null; } return super.eIsSet(featureID); } diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/BlenderMorseImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/BlenderMorseImpl.java index c4d439dcc2c..188f81f3c9a 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/BlenderMorseImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/BlenderMorseImpl.java @@ -1,19 +1,13 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.BlenderMorse; import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.Shade; @@ -25,22 +19,20 @@ import org.eclipse.papyrus.RobotML.Shade; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#isDebugMode Debug Mode}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#isDebugDisplay Debug Display}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#getGravity Gravity}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#get_viewport_shade viewport shade}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#isDebugMode Debug Mode}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#isDebugDisplay Debug Display}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#getGravity Gravity}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.BlenderMorseImpl#get_viewport_shade viewport shade}
  • *
*

- * + * * @generated */ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMorse { - /** * The default value of the '{@link #isDebugMode() Debug Mode}' attribute. * * - * * @see #isDebugMode() * @generated * @ordered @@ -51,7 +43,6 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The cached value of the '{@link #isDebugMode() Debug Mode}' attribute. * * - * * @see #isDebugMode() * @generated * @ordered @@ -62,7 +53,6 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The default value of the '{@link #isDebugDisplay() Debug Display}' attribute. * * - * * @see #isDebugDisplay() * @generated * @ordered @@ -73,7 +63,6 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The cached value of the '{@link #isDebugDisplay() Debug Display}' attribute. * * - * * @see #isDebugDisplay() * @generated * @ordered @@ -84,7 +73,6 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The default value of the '{@link #getGravity() Gravity}' attribute. * * - * * @see #getGravity() * @generated * @ordered @@ -95,7 +83,6 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The cached value of the '{@link #getGravity() Gravity}' attribute. * * - * * @see #getGravity() * @generated * @ordered @@ -106,7 +93,6 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The default value of the '{@link #get_viewport_shade() viewport shade}' attribute. * * - * * @see #get_viewport_shade() * @generated * @ordered @@ -117,7 +103,6 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor * The cached value of the '{@link #get_viewport_shade() viewport shade}' attribute. * * - * * @see #get_viewport_shade() * @generated * @ordered @@ -127,7 +112,6 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * * - * * @generated */ protected BlenderMorseImpl() { @@ -137,7 +121,6 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * * - * * @generated */ @Override @@ -148,7 +131,6 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * * - * * @generated */ public boolean isDebugMode() { @@ -158,20 +140,18 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * * - * * @generated */ public void setDebugMode(boolean newDebugMode) { boolean oldDebugMode = debugMode; debugMode = newDebugMode; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.BLENDER_MORSE__DEBUG_MODE, oldDebugMode, debugMode)); } /** * * - * * @generated */ public boolean isDebugDisplay() { @@ -181,20 +161,18 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * * - * * @generated */ public void setDebugDisplay(boolean newDebugDisplay) { boolean oldDebugDisplay = debugDisplay; debugDisplay = newDebugDisplay; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.BLENDER_MORSE__DEBUG_DISPLAY, oldDebugDisplay, debugDisplay)); } /** * * - * * @generated */ public float getGravity() { @@ -204,20 +182,18 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * * - * * @generated */ public void setGravity(float newGravity) { float oldGravity = gravity; gravity = newGravity; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.BLENDER_MORSE__GRAVITY, oldGravity, gravity)); } /** * * - * * @generated */ public Shade get_viewport_shade() { @@ -227,33 +203,31 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * * - * * @generated */ public void set_viewport_shade(Shade new_viewport_shade) { Shade old_viewport_shade = _viewport_shade; _viewport_shade = new_viewport_shade == null ? _VIEWPORT_SHADE_EDEFAULT : new_viewport_shade; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.BLENDER_MORSE__VIEWPORT_SHADE, old_viewport_shade, _viewport_shade)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.BLENDER_MORSE__DEBUG_MODE: - return isDebugMode(); - case RobotMLPackage.BLENDER_MORSE__DEBUG_DISPLAY: - return isDebugDisplay(); - case RobotMLPackage.BLENDER_MORSE__GRAVITY: - return getGravity(); - case RobotMLPackage.BLENDER_MORSE__VIEWPORT_SHADE: - return get_viewport_shade(); + switch (featureID) { + case RobotMLPackage.BLENDER_MORSE__DEBUG_MODE: + return isDebugMode(); + case RobotMLPackage.BLENDER_MORSE__DEBUG_DISPLAY: + return isDebugDisplay(); + case RobotMLPackage.BLENDER_MORSE__GRAVITY: + return getGravity(); + case RobotMLPackage.BLENDER_MORSE__VIEWPORT_SHADE: + return get_viewport_shade(); } return super.eGet(featureID, resolve, coreType); } @@ -261,24 +235,23 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.BLENDER_MORSE__DEBUG_MODE: - setDebugMode((Boolean)newValue); - return; - case RobotMLPackage.BLENDER_MORSE__DEBUG_DISPLAY: - setDebugDisplay((Boolean)newValue); - return; - case RobotMLPackage.BLENDER_MORSE__GRAVITY: - setGravity((Float)newValue); - return; - case RobotMLPackage.BLENDER_MORSE__VIEWPORT_SHADE: - set_viewport_shade((Shade)newValue); - return; + switch (featureID) { + case RobotMLPackage.BLENDER_MORSE__DEBUG_MODE: + setDebugMode((Boolean)newValue); + return; + case RobotMLPackage.BLENDER_MORSE__DEBUG_DISPLAY: + setDebugDisplay((Boolean)newValue); + return; + case RobotMLPackage.BLENDER_MORSE__GRAVITY: + setGravity((Float)newValue); + return; + case RobotMLPackage.BLENDER_MORSE__VIEWPORT_SHADE: + set_viewport_shade((Shade)newValue); + return; } super.eSet(featureID, newValue); } @@ -286,24 +259,23 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.BLENDER_MORSE__DEBUG_MODE: - setDebugMode(DEBUG_MODE_EDEFAULT); - return; - case RobotMLPackage.BLENDER_MORSE__DEBUG_DISPLAY: - setDebugDisplay(DEBUG_DISPLAY_EDEFAULT); - return; - case RobotMLPackage.BLENDER_MORSE__GRAVITY: - setGravity(GRAVITY_EDEFAULT); - return; - case RobotMLPackage.BLENDER_MORSE__VIEWPORT_SHADE: - set_viewport_shade(_VIEWPORT_SHADE_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.BLENDER_MORSE__DEBUG_MODE: + setDebugMode(DEBUG_MODE_EDEFAULT); + return; + case RobotMLPackage.BLENDER_MORSE__DEBUG_DISPLAY: + setDebugDisplay(DEBUG_DISPLAY_EDEFAULT); + return; + case RobotMLPackage.BLENDER_MORSE__GRAVITY: + setGravity(GRAVITY_EDEFAULT); + return; + case RobotMLPackage.BLENDER_MORSE__VIEWPORT_SHADE: + set_viewport_shade(_VIEWPORT_SHADE_EDEFAULT); + return; } super.eUnset(featureID); } @@ -311,20 +283,19 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.BLENDER_MORSE__DEBUG_MODE: - return debugMode != DEBUG_MODE_EDEFAULT; - case RobotMLPackage.BLENDER_MORSE__DEBUG_DISPLAY: - return debugDisplay != DEBUG_DISPLAY_EDEFAULT; - case RobotMLPackage.BLENDER_MORSE__GRAVITY: - return gravity != GRAVITY_EDEFAULT; - case RobotMLPackage.BLENDER_MORSE__VIEWPORT_SHADE: - return _viewport_shade != _VIEWPORT_SHADE_EDEFAULT; + switch (featureID) { + case RobotMLPackage.BLENDER_MORSE__DEBUG_MODE: + return debugMode != DEBUG_MODE_EDEFAULT; + case RobotMLPackage.BLENDER_MORSE__DEBUG_DISPLAY: + return debugDisplay != DEBUG_DISPLAY_EDEFAULT; + case RobotMLPackage.BLENDER_MORSE__GRAVITY: + return gravity != GRAVITY_EDEFAULT; + case RobotMLPackage.BLENDER_MORSE__VIEWPORT_SHADE: + return _viewport_shade != _VIEWPORT_SHADE_EDEFAULT; } return super.eIsSet(featureID); } @@ -332,13 +303,11 @@ public class BlenderMorseImpl extends RoboticSimulatorImpl implements BlenderMor /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (debugMode: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/BuildingImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/BuildingImpl.java index 963047f06b5..ba25d5bf311 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/BuildingImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/BuildingImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.Building; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class BuildingImpl extends PhysicalObjectImpl implements Building { - /** * * - * * @generated */ protected BuildingImpl() { @@ -39,7 +29,6 @@ public class BuildingImpl extends PhysicalObjectImpl implements Building { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CameraSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CameraSystemImpl.java index 02dc1cc5bf8..2964a6d069f 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CameraSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CameraSystemImpl.java @@ -1,23 +1,18 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; + import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.CameraSystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; /** @@ -27,27 +22,25 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getWidth Width}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getHeight Height}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getAlpha_u Alpha u}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getAlpha_v Alpha v}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getU0 U0}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getV0 V0}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getColor_format Color format}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getTranslate Translate}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getRotate Rotate}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getHeight Height}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getAlpha_u Alpha u}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getAlpha_v Alpha v}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getU0 U0}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getV0 V0}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getColor_format Color format}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getTranslate Translate}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.CameraSystemImpl#getRotate Rotate}
  • *
*

- * + * * @generated */ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSystem { - /** * The default value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -58,7 +51,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -69,7 +61,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getHeight() Height}' attribute. * * - * * @see #getHeight() * @generated * @ordered @@ -80,7 +71,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getHeight() Height}' attribute. * * - * * @see #getHeight() * @generated * @ordered @@ -91,7 +81,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getAlpha_u() Alpha u}' attribute. * * - * * @see #getAlpha_u() * @generated * @ordered @@ -102,7 +91,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getAlpha_u() Alpha u}' attribute. * * - * * @see #getAlpha_u() * @generated * @ordered @@ -113,7 +101,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getAlpha_v() Alpha v}' attribute. * * - * * @see #getAlpha_v() * @generated * @ordered @@ -124,7 +111,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getAlpha_v() Alpha v}' attribute. * * - * * @see #getAlpha_v() * @generated * @ordered @@ -135,7 +121,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getU0() U0}' attribute. * * - * * @see #getU0() * @generated * @ordered @@ -146,7 +131,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getU0() U0}' attribute. * * - * * @see #getU0() * @generated * @ordered @@ -157,7 +141,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getV0() V0}' attribute. * * - * * @see #getV0() * @generated * @ordered @@ -168,7 +151,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getV0() V0}' attribute. * * - * * @see #getV0() * @generated * @ordered @@ -179,7 +161,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The default value of the '{@link #getColor_format() Color format}' attribute. * * - * * @see #getColor_format() * @generated * @ordered @@ -190,51 +171,26 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys * The cached value of the '{@link #getColor_format() Color format}' attribute. * * - * * @see #getColor_format() * @generated * @ordered */ protected String color_format = COLOR_FORMAT_EDEFAULT; - /** - * The default value of the '{@link #getTranslate() Translate}' attribute. - * - * - * - * @see #getTranslate() - * @generated - * @ordered - */ - - /** * The cached value of the '{@link #getTranslate() Translate}' containment reference. * * - * * @see #getTranslate() * @generated * @ordered */ protected Point32 translate; - /** - * The default value of the '{@link #getRotate() Rotate}' attribute. - * - * - * - * @see #getRotate() - * @generated - * @ordered - */ - - /** * The cached value of the '{@link #getRotate() Rotate}' containment reference. * * - * * @see #getRotate() * @generated * @ordered @@ -244,7 +200,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ protected CameraSystemImpl() { @@ -254,7 +209,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ @Override @@ -265,7 +219,6 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ public long getWidth() { @@ -275,20 +228,18 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ public void setWidth(long newWidth) { long oldWidth = width; width = newWidth; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__WIDTH, oldWidth, width)); } /** * * - * * @generated */ public long getHeight() { @@ -298,20 +249,18 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ public void setHeight(long newHeight) { long oldHeight = height; height = newHeight; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__HEIGHT, oldHeight, height)); } /** * * - * * @generated */ public float getAlpha_u() { @@ -321,20 +270,18 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ public void setAlpha_u(float newAlpha_u) { float oldAlpha_u = alpha_u; alpha_u = newAlpha_u; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__ALPHA_U, oldAlpha_u, alpha_u)); } /** * * - * * @generated */ public float getAlpha_v() { @@ -344,20 +291,18 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ public void setAlpha_v(float newAlpha_v) { float oldAlpha_v = alpha_v; alpha_v = newAlpha_v; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__ALPHA_V, oldAlpha_v, alpha_v)); } /** * * - * * @generated */ public float getU0() { @@ -367,20 +312,18 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ public void setU0(float newU0) { float oldU0 = u0; u0 = newU0; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__U0, oldU0, u0)); } /** * * - * * @generated */ public float getV0() { @@ -390,20 +333,18 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ public void setV0(float newV0) { float oldV0 = v0; v0 = newV0; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__V0, oldV0, v0)); } /** * * - * * @generated */ public String getColor_format() { @@ -413,20 +354,18 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ public void setColor_format(String newColor_format) { String oldColor_format = color_format; color_format = newColor_format; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__COLOR_FORMAT, oldColor_format, color_format)); } /** * * - * * @generated */ public Point32 getTranslate() { @@ -436,18 +375,14 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ public NotificationChain basicSetTranslate(Point32 newTranslate, NotificationChain msgs) { Point32 oldTranslate = translate; translate = newTranslate; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__TRANSLATE, oldTranslate, newTranslate); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -455,27 +390,25 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ public void setTranslate(Point32 newTranslate) { - if(newTranslate != translate) { + if (newTranslate != translate) { NotificationChain msgs = null; - if(translate != null) + if (translate != null) msgs = ((InternalEObject)translate).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.CAMERA_SYSTEM__TRANSLATE, null, msgs); - if(newTranslate != null) + if (newTranslate != null) msgs = ((InternalEObject)newTranslate).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.CAMERA_SYSTEM__TRANSLATE, null, msgs); msgs = basicSetTranslate(newTranslate, msgs); - if(msgs != null) - msgs.dispatch(); - } else if(eNotificationRequired()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__TRANSLATE, newTranslate, newTranslate)); } /** * * - * * @generated */ public Point32 getRotate() { @@ -485,18 +418,14 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ public NotificationChain basicSetRotate(Point32 newRotate, NotificationChain msgs) { Point32 oldRotate = rotate; rotate = newRotate; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__ROTATE, oldRotate, newRotate); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -504,36 +433,34 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ public void setRotate(Point32 newRotate) { - if(newRotate != rotate) { + if (newRotate != rotate) { NotificationChain msgs = null; - if(rotate != null) + if (rotate != null) msgs = ((InternalEObject)rotate).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.CAMERA_SYSTEM__ROTATE, null, msgs); - if(newRotate != null) + if (newRotate != null) msgs = ((InternalEObject)newRotate).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.CAMERA_SYSTEM__ROTATE, null, msgs); msgs = basicSetRotate(newRotate, msgs); - if(msgs != null) - msgs.dispatch(); - } else if(eNotificationRequired()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CAMERA_SYSTEM__ROTATE, newRotate, newRotate)); } /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case RobotMLPackage.CAMERA_SYSTEM__TRANSLATE: - return basicSetTranslate(null, msgs); - case RobotMLPackage.CAMERA_SYSTEM__ROTATE: - return basicSetRotate(null, msgs); + switch (featureID) { + case RobotMLPackage.CAMERA_SYSTEM__TRANSLATE: + return basicSetTranslate(null, msgs); + case RobotMLPackage.CAMERA_SYSTEM__ROTATE: + return basicSetRotate(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -541,30 +468,29 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.CAMERA_SYSTEM__WIDTH: - return getWidth(); - case RobotMLPackage.CAMERA_SYSTEM__HEIGHT: - return getHeight(); - case RobotMLPackage.CAMERA_SYSTEM__ALPHA_U: - return getAlpha_u(); - case RobotMLPackage.CAMERA_SYSTEM__ALPHA_V: - return getAlpha_v(); - case RobotMLPackage.CAMERA_SYSTEM__U0: - return getU0(); - case RobotMLPackage.CAMERA_SYSTEM__V0: - return getV0(); - case RobotMLPackage.CAMERA_SYSTEM__COLOR_FORMAT: - return getColor_format(); - case RobotMLPackage.CAMERA_SYSTEM__TRANSLATE: - return getTranslate(); - case RobotMLPackage.CAMERA_SYSTEM__ROTATE: - return getRotate(); + switch (featureID) { + case RobotMLPackage.CAMERA_SYSTEM__WIDTH: + return getWidth(); + case RobotMLPackage.CAMERA_SYSTEM__HEIGHT: + return getHeight(); + case RobotMLPackage.CAMERA_SYSTEM__ALPHA_U: + return getAlpha_u(); + case RobotMLPackage.CAMERA_SYSTEM__ALPHA_V: + return getAlpha_v(); + case RobotMLPackage.CAMERA_SYSTEM__U0: + return getU0(); + case RobotMLPackage.CAMERA_SYSTEM__V0: + return getV0(); + case RobotMLPackage.CAMERA_SYSTEM__COLOR_FORMAT: + return getColor_format(); + case RobotMLPackage.CAMERA_SYSTEM__TRANSLATE: + return getTranslate(); + case RobotMLPackage.CAMERA_SYSTEM__ROTATE: + return getRotate(); } return super.eGet(featureID, resolve, coreType); } @@ -572,39 +498,38 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.CAMERA_SYSTEM__WIDTH: - setWidth((Long)newValue); - return; - case RobotMLPackage.CAMERA_SYSTEM__HEIGHT: - setHeight((Long)newValue); - return; - case RobotMLPackage.CAMERA_SYSTEM__ALPHA_U: - setAlpha_u((Float)newValue); - return; - case RobotMLPackage.CAMERA_SYSTEM__ALPHA_V: - setAlpha_v((Float)newValue); - return; - case RobotMLPackage.CAMERA_SYSTEM__U0: - setU0((Float)newValue); - return; - case RobotMLPackage.CAMERA_SYSTEM__V0: - setV0((Float)newValue); - return; - case RobotMLPackage.CAMERA_SYSTEM__COLOR_FORMAT: - setColor_format((String)newValue); - return; - case RobotMLPackage.CAMERA_SYSTEM__TRANSLATE: - setTranslate((Point32)newValue); - return; - case RobotMLPackage.CAMERA_SYSTEM__ROTATE: - setRotate((Point32)newValue); - return; + switch (featureID) { + case RobotMLPackage.CAMERA_SYSTEM__WIDTH: + setWidth((Long)newValue); + return; + case RobotMLPackage.CAMERA_SYSTEM__HEIGHT: + setHeight((Long)newValue); + return; + case RobotMLPackage.CAMERA_SYSTEM__ALPHA_U: + setAlpha_u((Float)newValue); + return; + case RobotMLPackage.CAMERA_SYSTEM__ALPHA_V: + setAlpha_v((Float)newValue); + return; + case RobotMLPackage.CAMERA_SYSTEM__U0: + setU0((Float)newValue); + return; + case RobotMLPackage.CAMERA_SYSTEM__V0: + setV0((Float)newValue); + return; + case RobotMLPackage.CAMERA_SYSTEM__COLOR_FORMAT: + setColor_format((String)newValue); + return; + case RobotMLPackage.CAMERA_SYSTEM__TRANSLATE: + setTranslate((Point32)newValue); + return; + case RobotMLPackage.CAMERA_SYSTEM__ROTATE: + setRotate((Point32)newValue); + return; } super.eSet(featureID, newValue); } @@ -612,39 +537,38 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.CAMERA_SYSTEM__WIDTH: - setWidth(WIDTH_EDEFAULT); - return; - case RobotMLPackage.CAMERA_SYSTEM__HEIGHT: - setHeight(HEIGHT_EDEFAULT); - return; - case RobotMLPackage.CAMERA_SYSTEM__ALPHA_U: - setAlpha_u(ALPHA_U_EDEFAULT); - return; - case RobotMLPackage.CAMERA_SYSTEM__ALPHA_V: - setAlpha_v(ALPHA_V_EDEFAULT); - return; - case RobotMLPackage.CAMERA_SYSTEM__U0: - setU0(U0_EDEFAULT); - return; - case RobotMLPackage.CAMERA_SYSTEM__V0: - setV0(V0_EDEFAULT); - return; - case RobotMLPackage.CAMERA_SYSTEM__COLOR_FORMAT: - setColor_format(COLOR_FORMAT_EDEFAULT); - return; - case RobotMLPackage.CAMERA_SYSTEM__TRANSLATE: - setTranslate((Point32)null); - return; - case RobotMLPackage.CAMERA_SYSTEM__ROTATE: - setRotate((Point32)null); - return; + switch (featureID) { + case RobotMLPackage.CAMERA_SYSTEM__WIDTH: + setWidth(WIDTH_EDEFAULT); + return; + case RobotMLPackage.CAMERA_SYSTEM__HEIGHT: + setHeight(HEIGHT_EDEFAULT); + return; + case RobotMLPackage.CAMERA_SYSTEM__ALPHA_U: + setAlpha_u(ALPHA_U_EDEFAULT); + return; + case RobotMLPackage.CAMERA_SYSTEM__ALPHA_V: + setAlpha_v(ALPHA_V_EDEFAULT); + return; + case RobotMLPackage.CAMERA_SYSTEM__U0: + setU0(U0_EDEFAULT); + return; + case RobotMLPackage.CAMERA_SYSTEM__V0: + setV0(V0_EDEFAULT); + return; + case RobotMLPackage.CAMERA_SYSTEM__COLOR_FORMAT: + setColor_format(COLOR_FORMAT_EDEFAULT); + return; + case RobotMLPackage.CAMERA_SYSTEM__TRANSLATE: + setTranslate((Point32)null); + return; + case RobotMLPackage.CAMERA_SYSTEM__ROTATE: + setRotate((Point32)null); + return; } super.eUnset(featureID); } @@ -652,30 +576,29 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.CAMERA_SYSTEM__WIDTH: - return width != WIDTH_EDEFAULT; - case RobotMLPackage.CAMERA_SYSTEM__HEIGHT: - return height != HEIGHT_EDEFAULT; - case RobotMLPackage.CAMERA_SYSTEM__ALPHA_U: - return alpha_u != ALPHA_U_EDEFAULT; - case RobotMLPackage.CAMERA_SYSTEM__ALPHA_V: - return alpha_v != ALPHA_V_EDEFAULT; - case RobotMLPackage.CAMERA_SYSTEM__U0: - return u0 != U0_EDEFAULT; - case RobotMLPackage.CAMERA_SYSTEM__V0: - return v0 != V0_EDEFAULT; - case RobotMLPackage.CAMERA_SYSTEM__COLOR_FORMAT: - return COLOR_FORMAT_EDEFAULT == null ? color_format != null : !COLOR_FORMAT_EDEFAULT.equals(color_format); - case RobotMLPackage.CAMERA_SYSTEM__TRANSLATE: - return translate != null; - case RobotMLPackage.CAMERA_SYSTEM__ROTATE: - return rotate != null; + switch (featureID) { + case RobotMLPackage.CAMERA_SYSTEM__WIDTH: + return width != WIDTH_EDEFAULT; + case RobotMLPackage.CAMERA_SYSTEM__HEIGHT: + return height != HEIGHT_EDEFAULT; + case RobotMLPackage.CAMERA_SYSTEM__ALPHA_U: + return alpha_u != ALPHA_U_EDEFAULT; + case RobotMLPackage.CAMERA_SYSTEM__ALPHA_V: + return alpha_v != ALPHA_V_EDEFAULT; + case RobotMLPackage.CAMERA_SYSTEM__U0: + return u0 != U0_EDEFAULT; + case RobotMLPackage.CAMERA_SYSTEM__V0: + return v0 != V0_EDEFAULT; + case RobotMLPackage.CAMERA_SYSTEM__COLOR_FORMAT: + return COLOR_FORMAT_EDEFAULT == null ? color_format != null : !COLOR_FORMAT_EDEFAULT.equals(color_format); + case RobotMLPackage.CAMERA_SYSTEM__TRANSLATE: + return translate != null; + case RobotMLPackage.CAMERA_SYSTEM__ROTATE: + return rotate != null; } return super.eIsSet(featureID); } @@ -683,13 +606,11 @@ public class CameraSystemImpl extends ImageSensorSystemImpl implements CameraSys /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (width: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CycabTKImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CycabTKImpl.java index 96004a71d3d..0e050b13c75 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CycabTKImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/CycabTKImpl.java @@ -1,19 +1,13 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.CycabTK; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -24,21 +18,19 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl#isUseRealTime Use Real Time}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl#getTimeStep Time Step}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl#getTimeFactor Time Factor}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl#isUseRealTime Use Real Time}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl#getTimeStep Time Step}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.CycabTKImpl#getTimeFactor Time Factor}
  • *
*

- * + * * @generated */ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { - /** * The default value of the '{@link #isUseRealTime() Use Real Time}' attribute. * * - * * @see #isUseRealTime() * @generated * @ordered @@ -49,7 +41,6 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { * The cached value of the '{@link #isUseRealTime() Use Real Time}' attribute. * * - * * @see #isUseRealTime() * @generated * @ordered @@ -60,7 +51,6 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { * The default value of the '{@link #getTimeStep() Time Step}' attribute. * * - * * @see #getTimeStep() * @generated * @ordered @@ -71,7 +61,6 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { * The cached value of the '{@link #getTimeStep() Time Step}' attribute. * * - * * @see #getTimeStep() * @generated * @ordered @@ -82,7 +71,6 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { * The default value of the '{@link #getTimeFactor() Time Factor}' attribute. * * - * * @see #getTimeFactor() * @generated * @ordered @@ -93,7 +81,6 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { * The cached value of the '{@link #getTimeFactor() Time Factor}' attribute. * * - * * @see #getTimeFactor() * @generated * @ordered @@ -103,7 +90,6 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * * - * * @generated */ protected CycabTKImpl() { @@ -113,7 +99,6 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * * - * * @generated */ @Override @@ -124,7 +109,6 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * * - * * @generated */ public boolean isUseRealTime() { @@ -134,20 +118,18 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * * - * * @generated */ public void setUseRealTime(boolean newUseRealTime) { boolean oldUseRealTime = useRealTime; useRealTime = newUseRealTime; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CYCAB_TK__USE_REAL_TIME, oldUseRealTime, useRealTime)); } /** * * - * * @generated */ public float getTimeStep() { @@ -157,20 +139,18 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * * - * * @generated */ public void setTimeStep(float newTimeStep) { float oldTimeStep = timeStep; timeStep = newTimeStep; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CYCAB_TK__TIME_STEP, oldTimeStep, timeStep)); } /** * * - * * @generated */ public float getTimeFactor() { @@ -180,31 +160,29 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * * - * * @generated */ public void setTimeFactor(float newTimeFactor) { float oldTimeFactor = timeFactor; timeFactor = newTimeFactor; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.CYCAB_TK__TIME_FACTOR, oldTimeFactor, timeFactor)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.CYCAB_TK__USE_REAL_TIME: - return isUseRealTime(); - case RobotMLPackage.CYCAB_TK__TIME_STEP: - return getTimeStep(); - case RobotMLPackage.CYCAB_TK__TIME_FACTOR: - return getTimeFactor(); + switch (featureID) { + case RobotMLPackage.CYCAB_TK__USE_REAL_TIME: + return isUseRealTime(); + case RobotMLPackage.CYCAB_TK__TIME_STEP: + return getTimeStep(); + case RobotMLPackage.CYCAB_TK__TIME_FACTOR: + return getTimeFactor(); } return super.eGet(featureID, resolve, coreType); } @@ -212,21 +190,20 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.CYCAB_TK__USE_REAL_TIME: - setUseRealTime((Boolean)newValue); - return; - case RobotMLPackage.CYCAB_TK__TIME_STEP: - setTimeStep((Float)newValue); - return; - case RobotMLPackage.CYCAB_TK__TIME_FACTOR: - setTimeFactor((Float)newValue); - return; + switch (featureID) { + case RobotMLPackage.CYCAB_TK__USE_REAL_TIME: + setUseRealTime((Boolean)newValue); + return; + case RobotMLPackage.CYCAB_TK__TIME_STEP: + setTimeStep((Float)newValue); + return; + case RobotMLPackage.CYCAB_TK__TIME_FACTOR: + setTimeFactor((Float)newValue); + return; } super.eSet(featureID, newValue); } @@ -234,21 +211,20 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.CYCAB_TK__USE_REAL_TIME: - setUseRealTime(USE_REAL_TIME_EDEFAULT); - return; - case RobotMLPackage.CYCAB_TK__TIME_STEP: - setTimeStep(TIME_STEP_EDEFAULT); - return; - case RobotMLPackage.CYCAB_TK__TIME_FACTOR: - setTimeFactor(TIME_FACTOR_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.CYCAB_TK__USE_REAL_TIME: + setUseRealTime(USE_REAL_TIME_EDEFAULT); + return; + case RobotMLPackage.CYCAB_TK__TIME_STEP: + setTimeStep(TIME_STEP_EDEFAULT); + return; + case RobotMLPackage.CYCAB_TK__TIME_FACTOR: + setTimeFactor(TIME_FACTOR_EDEFAULT); + return; } super.eUnset(featureID); } @@ -256,18 +232,17 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.CYCAB_TK__USE_REAL_TIME: - return useRealTime != USE_REAL_TIME_EDEFAULT; - case RobotMLPackage.CYCAB_TK__TIME_STEP: - return timeStep != TIME_STEP_EDEFAULT; - case RobotMLPackage.CYCAB_TK__TIME_FACTOR: - return timeFactor != TIME_FACTOR_EDEFAULT; + switch (featureID) { + case RobotMLPackage.CYCAB_TK__USE_REAL_TIME: + return useRealTime != USE_REAL_TIME_EDEFAULT; + case RobotMLPackage.CYCAB_TK__TIME_STEP: + return timeStep != TIME_STEP_EDEFAULT; + case RobotMLPackage.CYCAB_TK__TIME_FACTOR: + return timeFactor != TIME_FACTOR_EDEFAULT; } return super.eIsSet(featureID); } @@ -275,13 +250,11 @@ public class CycabTKImpl extends RoboticSimulatorImpl implements CycabTK { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (useRealTime: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/DataFlowPortImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/DataFlowPortImpl.java index be9a20c40a7..d98f2e1c329 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/DataFlowPortImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/DataFlowPortImpl.java @@ -1,24 +1,16 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.DataFlowDirectionKind; import org.eclipse.papyrus.RobotML.DataFlowPort; import org.eclipse.papyrus.RobotML.RobotMLPackage; -import org.eclipse.uml2.uml.Image; -import org.eclipse.uml2.uml.Stereotype; /** * @@ -27,20 +19,18 @@ import org.eclipse.uml2.uml.Stereotype; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.DataFlowPortImpl#getDirection Direction}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.DataFlowPortImpl#getBufferSize Buffer Size}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.DataFlowPortImpl#getDirection Direction}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.DataFlowPortImpl#getBufferSize Buffer Size}
  • *
*

- * + * * @generated */ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { - /** * The default value of the '{@link #getDirection() Direction}' attribute. * * - * * @see #getDirection() * @generated * @ordered @@ -51,7 +41,6 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { * The cached value of the '{@link #getDirection() Direction}' attribute. * * - * * @see #getDirection() * @generated * @ordered @@ -62,7 +51,6 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { * The default value of the '{@link #getBufferSize() Buffer Size}' attribute. * * - * * @see #getBufferSize() * @generated * @ordered @@ -73,7 +61,6 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { * The cached value of the '{@link #getBufferSize() Buffer Size}' attribute. * * - * * @see #getBufferSize() * @generated * @ordered @@ -83,7 +70,6 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /** * * - * * @generated */ protected DataFlowPortImpl() { @@ -93,7 +79,6 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /** * * - * * @generated */ @Override @@ -104,7 +89,6 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /** * * - * * @generated */ public DataFlowDirectionKind getDirection() { @@ -114,20 +98,18 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /** * * - * * @generated */ public void setDirection(DataFlowDirectionKind newDirection) { DataFlowDirectionKind oldDirection = direction; direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.DATA_FLOW_PORT__DIRECTION, oldDirection, direction)); } /** * * - * * @generated */ public int getBufferSize() { @@ -137,29 +119,27 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /** * * - * * @generated */ public void setBufferSize(int newBufferSize) { int oldBufferSize = bufferSize; bufferSize = newBufferSize; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.DATA_FLOW_PORT__BUFFER_SIZE, oldBufferSize, bufferSize)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.DATA_FLOW_PORT__DIRECTION: - return getDirection(); - case RobotMLPackage.DATA_FLOW_PORT__BUFFER_SIZE: - return getBufferSize(); + switch (featureID) { + case RobotMLPackage.DATA_FLOW_PORT__DIRECTION: + return getDirection(); + case RobotMLPackage.DATA_FLOW_PORT__BUFFER_SIZE: + return getBufferSize(); } return super.eGet(featureID, resolve, coreType); } @@ -167,18 +147,17 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.DATA_FLOW_PORT__DIRECTION: - setDirection((DataFlowDirectionKind)newValue); - return; - case RobotMLPackage.DATA_FLOW_PORT__BUFFER_SIZE: - setBufferSize((Integer)newValue); - return; + switch (featureID) { + case RobotMLPackage.DATA_FLOW_PORT__DIRECTION: + setDirection((DataFlowDirectionKind)newValue); + return; + case RobotMLPackage.DATA_FLOW_PORT__BUFFER_SIZE: + setBufferSize((Integer)newValue); + return; } super.eSet(featureID, newValue); } @@ -186,18 +165,17 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.DATA_FLOW_PORT__DIRECTION: - setDirection(DIRECTION_EDEFAULT); - return; - case RobotMLPackage.DATA_FLOW_PORT__BUFFER_SIZE: - setBufferSize(BUFFER_SIZE_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.DATA_FLOW_PORT__DIRECTION: + setDirection(DIRECTION_EDEFAULT); + return; + case RobotMLPackage.DATA_FLOW_PORT__BUFFER_SIZE: + setBufferSize(BUFFER_SIZE_EDEFAULT); + return; } super.eUnset(featureID); } @@ -205,16 +183,15 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.DATA_FLOW_PORT__DIRECTION: - return direction != DIRECTION_EDEFAULT; - case RobotMLPackage.DATA_FLOW_PORT__BUFFER_SIZE: - return bufferSize != BUFFER_SIZE_EDEFAULT; + switch (featureID) { + case RobotMLPackage.DATA_FLOW_PORT__DIRECTION: + return direction != DIRECTION_EDEFAULT; + case RobotMLPackage.DATA_FLOW_PORT__BUFFER_SIZE: + return bufferSize != BUFFER_SIZE_EDEFAULT; } return super.eIsSet(featureID); } @@ -222,13 +199,11 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (direction: "); @@ -239,34 +214,4 @@ public class DataFlowPortImpl extends PortImpl implements DataFlowPort { return result.toString(); } - /** - * - * Images registered in Profile are : - * - * 0 - FlowPort IN - * 1 - FlowPort OUT - * - * . - * - * @return the icon - * @generated NOT - */ - public Image getIcon() { - Image ImageNotFound = null; - if(getBase_Port() != null) { - Stereotype st = getBase_Port().getAppliedStereotype("RobotML::DataFlowPort"); - Image image = st.getIcons().get(0); - - if(getDirection() == DataFlowDirectionKind.OUT) { - image = st.getIcons().get(1); - } else if(getDirection() == DataFlowDirectionKind.INOUT) { - image = st.getIcons().get(2); - } - - return image; - } else { - return ImageNotFound; - } - } - } //DataFlowPortImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/DataTypeImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/DataTypeImpl.java index 974f6439d84..99957b7ae4a 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/DataTypeImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/DataTypeImpl.java @@ -1,21 +1,15 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + 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.EObjectImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + import org.eclipse.papyrus.RobotML.DataType; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -26,21 +20,19 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.DataTypeImpl#getBase_DataType Base Data Type}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.DataTypeImpl#isNative Native}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.DataTypeImpl#getLibraryPath Library Path}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.DataTypeImpl#getBase_DataType Base Data Type}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.DataTypeImpl#isNative Native}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.DataTypeImpl#getLibraryPath Library Path}
  • *
*

- * + * * @generated */ -public class DataTypeImpl extends EObjectImpl implements DataType { - +public class DataTypeImpl extends MinimalEObjectImpl.Container implements DataType { /** * The cached value of the '{@link #getBase_DataType() Base Data Type}' reference. * * - * * @see #getBase_DataType() * @generated * @ordered @@ -51,7 +43,6 @@ public class DataTypeImpl extends EObjectImpl implements DataType { * The default value of the '{@link #isNative() Native}' attribute. * * - * * @see #isNative() * @generated * @ordered @@ -62,7 +53,6 @@ public class DataTypeImpl extends EObjectImpl implements DataType { * The cached value of the '{@link #isNative() Native}' attribute. * * - * * @see #isNative() * @generated * @ordered @@ -73,7 +63,6 @@ public class DataTypeImpl extends EObjectImpl implements DataType { * The default value of the '{@link #getLibraryPath() Library Path}' attribute. * * - * * @see #getLibraryPath() * @generated * @ordered @@ -84,7 +73,6 @@ public class DataTypeImpl extends EObjectImpl implements DataType { * The cached value of the '{@link #getLibraryPath() Library Path}' attribute. * * - * * @see #getLibraryPath() * @generated * @ordered @@ -94,7 +82,6 @@ public class DataTypeImpl extends EObjectImpl implements DataType { /** * * - * * @generated */ protected DataTypeImpl() { @@ -104,7 +91,6 @@ public class DataTypeImpl extends EObjectImpl implements DataType { /** * * - * * @generated */ @Override @@ -115,15 +101,14 @@ public class DataTypeImpl extends EObjectImpl implements DataType { /** * * - * * @generated */ public org.eclipse.uml2.uml.DataType getBase_DataType() { - if(base_DataType != null && base_DataType.eIsProxy()) { + if (base_DataType != null && base_DataType.eIsProxy()) { InternalEObject oldBase_DataType = (InternalEObject)base_DataType; base_DataType = (org.eclipse.uml2.uml.DataType)eResolveProxy(oldBase_DataType); - if(base_DataType != oldBase_DataType) { - if(eNotificationRequired()) + if (base_DataType != oldBase_DataType) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.DATA_TYPE__BASE_DATA_TYPE, oldBase_DataType, base_DataType)); } } @@ -133,7 +118,6 @@ public class DataTypeImpl extends EObjectImpl implements DataType { /** * * - * * @generated */ public org.eclipse.uml2.uml.DataType basicGetBase_DataType() { @@ -143,20 +127,18 @@ public class DataTypeImpl extends EObjectImpl implements DataType { /** * * - * * @generated */ public void setBase_DataType(org.eclipse.uml2.uml.DataType newBase_DataType) { org.eclipse.uml2.uml.DataType oldBase_DataType = base_DataType; base_DataType = newBase_DataType; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.DATA_TYPE__BASE_DATA_TYPE, oldBase_DataType, base_DataType)); } /** * * - * * @generated */ public boolean isNative() { @@ -166,20 +148,18 @@ public class DataTypeImpl extends EObjectImpl implements DataType { /** * * - * * @generated */ public void setNative(boolean newNative) { boolean oldNative = native_; native_ = newNative; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.DATA_TYPE__NATIVE, oldNative, native_)); } /** * * - * * @generated */ public String getLibraryPath() { @@ -189,33 +169,30 @@ public class DataTypeImpl extends EObjectImpl implements DataType { /** * * - * * @generated */ public void setLibraryPath(String newLibraryPath) { String oldLibraryPath = libraryPath; libraryPath = newLibraryPath; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.DATA_TYPE__LIBRARY_PATH, oldLibraryPath, libraryPath)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.DATA_TYPE__BASE_DATA_TYPE: - if(resolve) - return getBase_DataType(); - return basicGetBase_DataType(); - case RobotMLPackage.DATA_TYPE__NATIVE: - return isNative(); - case RobotMLPackage.DATA_TYPE__LIBRARY_PATH: - return getLibraryPath(); + switch (featureID) { + case RobotMLPackage.DATA_TYPE__BASE_DATA_TYPE: + if (resolve) return getBase_DataType(); + return basicGetBase_DataType(); + case RobotMLPackage.DATA_TYPE__NATIVE: + return isNative(); + case RobotMLPackage.DATA_TYPE__LIBRARY_PATH: + return getLibraryPath(); } return super.eGet(featureID, resolve, coreType); } @@ -223,21 +200,20 @@ public class DataTypeImpl extends EObjectImpl implements DataType { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.DATA_TYPE__BASE_DATA_TYPE: - setBase_DataType((org.eclipse.uml2.uml.DataType)newValue); - return; - case RobotMLPackage.DATA_TYPE__NATIVE: - setNative((Boolean)newValue); - return; - case RobotMLPackage.DATA_TYPE__LIBRARY_PATH: - setLibraryPath((String)newValue); - return; + switch (featureID) { + case RobotMLPackage.DATA_TYPE__BASE_DATA_TYPE: + setBase_DataType((org.eclipse.uml2.uml.DataType)newValue); + return; + case RobotMLPackage.DATA_TYPE__NATIVE: + setNative((Boolean)newValue); + return; + case RobotMLPackage.DATA_TYPE__LIBRARY_PATH: + setLibraryPath((String)newValue); + return; } super.eSet(featureID, newValue); } @@ -245,21 +221,20 @@ public class DataTypeImpl extends EObjectImpl implements DataType { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.DATA_TYPE__BASE_DATA_TYPE: - setBase_DataType((org.eclipse.uml2.uml.DataType)null); - return; - case RobotMLPackage.DATA_TYPE__NATIVE: - setNative(NATIVE_EDEFAULT); - return; - case RobotMLPackage.DATA_TYPE__LIBRARY_PATH: - setLibraryPath(LIBRARY_PATH_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.DATA_TYPE__BASE_DATA_TYPE: + setBase_DataType((org.eclipse.uml2.uml.DataType)null); + return; + case RobotMLPackage.DATA_TYPE__NATIVE: + setNative(NATIVE_EDEFAULT); + return; + case RobotMLPackage.DATA_TYPE__LIBRARY_PATH: + setLibraryPath(LIBRARY_PATH_EDEFAULT); + return; } super.eUnset(featureID); } @@ -267,18 +242,17 @@ public class DataTypeImpl extends EObjectImpl implements DataType { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.DATA_TYPE__BASE_DATA_TYPE: - return base_DataType != null; - case RobotMLPackage.DATA_TYPE__NATIVE: - return native_ != NATIVE_EDEFAULT; - case RobotMLPackage.DATA_TYPE__LIBRARY_PATH: - return LIBRARY_PATH_EDEFAULT == null ? libraryPath != null : !LIBRARY_PATH_EDEFAULT.equals(libraryPath); + switch (featureID) { + case RobotMLPackage.DATA_TYPE__BASE_DATA_TYPE: + return base_DataType != null; + case RobotMLPackage.DATA_TYPE__NATIVE: + return native_ != NATIVE_EDEFAULT; + case RobotMLPackage.DATA_TYPE__LIBRARY_PATH: + return LIBRARY_PATH_EDEFAULT == null ? libraryPath != null : !LIBRARY_PATH_EDEFAULT.equals(libraryPath); } return super.eIsSet(featureID); } @@ -286,13 +260,11 @@ public class DataTypeImpl extends EObjectImpl implements DataType { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (native: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/DeploymentPlanImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/DeploymentPlanImpl.java index ed52b3a3045..e622cdf6919 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/DeploymentPlanImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/DeploymentPlanImpl.java @@ -1,23 +1,18 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + 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.EObjectImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + import org.eclipse.papyrus.RobotML.DeploymentPlan; import org.eclipse.papyrus.RobotML.RobotMLPackage; + import org.eclipse.uml2.uml.InstanceSpecification; /** @@ -27,20 +22,18 @@ import org.eclipse.uml2.uml.InstanceSpecification; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.DeploymentPlanImpl#getBase_Package Base Package}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.DeploymentPlanImpl#getMainInstance Main Instance}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.DeploymentPlanImpl#getBase_Package Base Package}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.DeploymentPlanImpl#getMainInstance Main Instance}
  • *
*

- * + * * @generated */ -public class DeploymentPlanImpl extends EObjectImpl implements DeploymentPlan { - +public class DeploymentPlanImpl extends MinimalEObjectImpl.Container implements DeploymentPlan { /** * The cached value of the '{@link #getBase_Package() Base Package}' reference. * * - * * @see #getBase_Package() * @generated * @ordered @@ -51,7 +44,6 @@ public class DeploymentPlanImpl extends EObjectImpl implements DeploymentPlan { * The cached value of the '{@link #getMainInstance() Main Instance}' reference. * * - * * @see #getMainInstance() * @generated * @ordered @@ -61,7 +53,6 @@ public class DeploymentPlanImpl extends EObjectImpl implements DeploymentPlan { /** * * - * * @generated */ protected DeploymentPlanImpl() { @@ -71,7 +62,6 @@ public class DeploymentPlanImpl extends EObjectImpl implements DeploymentPlan { /** * * - * * @generated */ @Override @@ -82,15 +72,14 @@ public class DeploymentPlanImpl extends EObjectImpl implements DeploymentPlan { /** * * - * * @generated */ public org.eclipse.uml2.uml.Package getBase_Package() { - if(base_Package != null && base_Package.eIsProxy()) { + if (base_Package != null && base_Package.eIsProxy()) { InternalEObject oldBase_Package = (InternalEObject)base_Package; base_Package = (org.eclipse.uml2.uml.Package)eResolveProxy(oldBase_Package); - if(base_Package != oldBase_Package) { - if(eNotificationRequired()) + if (base_Package != oldBase_Package) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.DEPLOYMENT_PLAN__BASE_PACKAGE, oldBase_Package, base_Package)); } } @@ -100,7 +89,6 @@ public class DeploymentPlanImpl extends EObjectImpl implements DeploymentPlan { /** * * - * * @generated */ public org.eclipse.uml2.uml.Package basicGetBase_Package() { @@ -110,28 +98,26 @@ public class DeploymentPlanImpl extends EObjectImpl implements DeploymentPlan { /** * * - * * @generated */ public void setBase_Package(org.eclipse.uml2.uml.Package newBase_Package) { org.eclipse.uml2.uml.Package oldBase_Package = base_Package; base_Package = newBase_Package; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.DEPLOYMENT_PLAN__BASE_PACKAGE, oldBase_Package, base_Package)); } /** * * - * * @generated */ public InstanceSpecification getMainInstance() { - if(mainInstance != null && mainInstance.eIsProxy()) { + if (mainInstance != null && mainInstance.eIsProxy()) { InternalEObject oldMainInstance = (InternalEObject)mainInstance; mainInstance = (InstanceSpecification)eResolveProxy(oldMainInstance); - if(mainInstance != oldMainInstance) { - if(eNotificationRequired()) + if (mainInstance != oldMainInstance) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.DEPLOYMENT_PLAN__MAIN_INSTANCE, oldMainInstance, mainInstance)); } } @@ -141,7 +127,6 @@ public class DeploymentPlanImpl extends EObjectImpl implements DeploymentPlan { /** * * - * * @generated */ public InstanceSpecification basicGetMainInstance() { @@ -151,33 +136,29 @@ public class DeploymentPlanImpl extends EObjectImpl implements DeploymentPlan { /** * * - * * @generated */ public void setMainInstance(InstanceSpecification newMainInstance) { InstanceSpecification oldMainInstance = mainInstance; mainInstance = newMainInstance; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.DEPLOYMENT_PLAN__MAIN_INSTANCE, oldMainInstance, mainInstance)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.DEPLOYMENT_PLAN__BASE_PACKAGE: - if(resolve) - return getBase_Package(); - return basicGetBase_Package(); - case RobotMLPackage.DEPLOYMENT_PLAN__MAIN_INSTANCE: - if(resolve) - return getMainInstance(); - return basicGetMainInstance(); + switch (featureID) { + case RobotMLPackage.DEPLOYMENT_PLAN__BASE_PACKAGE: + if (resolve) return getBase_Package(); + return basicGetBase_Package(); + case RobotMLPackage.DEPLOYMENT_PLAN__MAIN_INSTANCE: + if (resolve) return getMainInstance(); + return basicGetMainInstance(); } return super.eGet(featureID, resolve, coreType); } @@ -185,18 +166,17 @@ public class DeploymentPlanImpl extends EObjectImpl implements DeploymentPlan { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.DEPLOYMENT_PLAN__BASE_PACKAGE: - setBase_Package((org.eclipse.uml2.uml.Package)newValue); - return; - case RobotMLPackage.DEPLOYMENT_PLAN__MAIN_INSTANCE: - setMainInstance((InstanceSpecification)newValue); - return; + switch (featureID) { + case RobotMLPackage.DEPLOYMENT_PLAN__BASE_PACKAGE: + setBase_Package((org.eclipse.uml2.uml.Package)newValue); + return; + case RobotMLPackage.DEPLOYMENT_PLAN__MAIN_INSTANCE: + setMainInstance((InstanceSpecification)newValue); + return; } super.eSet(featureID, newValue); } @@ -204,18 +184,17 @@ public class DeploymentPlanImpl extends EObjectImpl implements DeploymentPlan { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.DEPLOYMENT_PLAN__BASE_PACKAGE: - setBase_Package((org.eclipse.uml2.uml.Package)null); - return; - case RobotMLPackage.DEPLOYMENT_PLAN__MAIN_INSTANCE: - setMainInstance((InstanceSpecification)null); - return; + switch (featureID) { + case RobotMLPackage.DEPLOYMENT_PLAN__BASE_PACKAGE: + setBase_Package((org.eclipse.uml2.uml.Package)null); + return; + case RobotMLPackage.DEPLOYMENT_PLAN__MAIN_INSTANCE: + setMainInstance((InstanceSpecification)null); + return; } super.eUnset(featureID); } @@ -223,16 +202,15 @@ public class DeploymentPlanImpl extends EObjectImpl implements DeploymentPlan { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.DEPLOYMENT_PLAN__BASE_PACKAGE: - return base_Package != null; - case RobotMLPackage.DEPLOYMENT_PLAN__MAIN_INSTANCE: - return mainInstance != null; + switch (featureID) { + case RobotMLPackage.DEPLOYMENT_PLAN__BASE_PACKAGE: + return base_Package != null; + case RobotMLPackage.DEPLOYMENT_PLAN__MAIN_INSTANCE: + return mainInstance != null; } return super.eIsSet(featureID); } diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/EngineSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/EngineSystemImpl.java index b8b40c43fe3..22403113999 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/EngineSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/EngineSystemImpl.java @@ -1,19 +1,13 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.EngineSystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -24,24 +18,22 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getVehicleTraction Vehicle Traction}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxEngineForce Max Engine Force}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxBreakingForce Max Breaking Force}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxAllowedSteering Max Allowed Steering}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxAllowedVelocity Max Allowed Velocity}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getGear_ration Gear ration}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getVehicleTraction Vehicle Traction}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxEngineForce Max Engine Force}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxBreakingForce Max Breaking Force}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxAllowedSteering Max Allowed Steering}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getMaxAllowedVelocity Max Allowed Velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.EngineSystemImpl#getGear_ration Gear ration}
  • *
*

- * + * * @generated */ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem { - /** * The default value of the '{@link #getVehicleTraction() Vehicle Traction}' attribute. * * - * * @see #getVehicleTraction() * @generated * @ordered @@ -52,7 +44,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The cached value of the '{@link #getVehicleTraction() Vehicle Traction}' attribute. * * - * * @see #getVehicleTraction() * @generated * @ordered @@ -63,7 +54,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The default value of the '{@link #getMaxEngineForce() Max Engine Force}' attribute. * * - * * @see #getMaxEngineForce() * @generated * @ordered @@ -74,7 +64,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The cached value of the '{@link #getMaxEngineForce() Max Engine Force}' attribute. * * - * * @see #getMaxEngineForce() * @generated * @ordered @@ -85,7 +74,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The default value of the '{@link #getMaxBreakingForce() Max Breaking Force}' attribute. * * - * * @see #getMaxBreakingForce() * @generated * @ordered @@ -96,7 +84,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The cached value of the '{@link #getMaxBreakingForce() Max Breaking Force}' attribute. * * - * * @see #getMaxBreakingForce() * @generated * @ordered @@ -107,7 +94,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The default value of the '{@link #getMaxAllowedSteering() Max Allowed Steering}' attribute. * * - * * @see #getMaxAllowedSteering() * @generated * @ordered @@ -118,7 +104,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The cached value of the '{@link #getMaxAllowedSteering() Max Allowed Steering}' attribute. * * - * * @see #getMaxAllowedSteering() * @generated * @ordered @@ -129,7 +114,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The default value of the '{@link #getMaxAllowedVelocity() Max Allowed Velocity}' attribute. * * - * * @see #getMaxAllowedVelocity() * @generated * @ordered @@ -140,7 +124,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The cached value of the '{@link #getMaxAllowedVelocity() Max Allowed Velocity}' attribute. * * - * * @see #getMaxAllowedVelocity() * @generated * @ordered @@ -151,7 +134,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The default value of the '{@link #getGear_ration() Gear ration}' attribute. * * - * * @see #getGear_ration() * @generated * @ordered @@ -162,7 +144,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem * The cached value of the '{@link #getGear_ration() Gear ration}' attribute. * * - * * @see #getGear_ration() * @generated * @ordered @@ -172,7 +153,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ protected EngineSystemImpl() { @@ -182,7 +162,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ @Override @@ -193,7 +172,6 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ public String getVehicleTraction() { @@ -203,20 +181,18 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ public void setVehicleTraction(String newVehicleTraction) { String oldVehicleTraction = vehicleTraction; vehicleTraction = newVehicleTraction; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ENGINE_SYSTEM__VEHICLE_TRACTION, oldVehicleTraction, vehicleTraction)); } /** * * - * * @generated */ public float getMaxEngineForce() { @@ -226,20 +202,18 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ public void setMaxEngineForce(float newMaxEngineForce) { float oldMaxEngineForce = maxEngineForce; maxEngineForce = newMaxEngineForce; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ENGINE_SYSTEM__MAX_ENGINE_FORCE, oldMaxEngineForce, maxEngineForce)); } /** * * - * * @generated */ public float getMaxBreakingForce() { @@ -249,20 +223,18 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ public void setMaxBreakingForce(float newMaxBreakingForce) { float oldMaxBreakingForce = maxBreakingForce; maxBreakingForce = newMaxBreakingForce; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ENGINE_SYSTEM__MAX_BREAKING_FORCE, oldMaxBreakingForce, maxBreakingForce)); } /** * * - * * @generated */ public float getMaxAllowedSteering() { @@ -272,20 +244,18 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ public void setMaxAllowedSteering(float newMaxAllowedSteering) { float oldMaxAllowedSteering = maxAllowedSteering; maxAllowedSteering = newMaxAllowedSteering; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_STEERING, oldMaxAllowedSteering, maxAllowedSteering)); } /** * * - * * @generated */ public float getMaxAllowedVelocity() { @@ -295,20 +265,18 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ public void setMaxAllowedVelocity(float newMaxAllowedVelocity) { float oldMaxAllowedVelocity = maxAllowedVelocity; maxAllowedVelocity = newMaxAllowedVelocity; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_VELOCITY, oldMaxAllowedVelocity, maxAllowedVelocity)); } /** * * - * * @generated */ public float getGear_ration() { @@ -318,37 +286,35 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ public void setGear_ration(float newGear_ration) { float oldGear_ration = gear_ration; gear_ration = newGear_ration; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ENGINE_SYSTEM__GEAR_RATION, oldGear_ration, gear_ration)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.ENGINE_SYSTEM__VEHICLE_TRACTION: - return getVehicleTraction(); - case RobotMLPackage.ENGINE_SYSTEM__MAX_ENGINE_FORCE: - return getMaxEngineForce(); - case RobotMLPackage.ENGINE_SYSTEM__MAX_BREAKING_FORCE: - return getMaxBreakingForce(); - case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_STEERING: - return getMaxAllowedSteering(); - case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_VELOCITY: - return getMaxAllowedVelocity(); - case RobotMLPackage.ENGINE_SYSTEM__GEAR_RATION: - return getGear_ration(); + switch (featureID) { + case RobotMLPackage.ENGINE_SYSTEM__VEHICLE_TRACTION: + return getVehicleTraction(); + case RobotMLPackage.ENGINE_SYSTEM__MAX_ENGINE_FORCE: + return getMaxEngineForce(); + case RobotMLPackage.ENGINE_SYSTEM__MAX_BREAKING_FORCE: + return getMaxBreakingForce(); + case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_STEERING: + return getMaxAllowedSteering(); + case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_VELOCITY: + return getMaxAllowedVelocity(); + case RobotMLPackage.ENGINE_SYSTEM__GEAR_RATION: + return getGear_ration(); } return super.eGet(featureID, resolve, coreType); } @@ -356,30 +322,29 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.ENGINE_SYSTEM__VEHICLE_TRACTION: - setVehicleTraction((String)newValue); - return; - case RobotMLPackage.ENGINE_SYSTEM__MAX_ENGINE_FORCE: - setMaxEngineForce((Float)newValue); - return; - case RobotMLPackage.ENGINE_SYSTEM__MAX_BREAKING_FORCE: - setMaxBreakingForce((Float)newValue); - return; - case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_STEERING: - setMaxAllowedSteering((Float)newValue); - return; - case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_VELOCITY: - setMaxAllowedVelocity((Float)newValue); - return; - case RobotMLPackage.ENGINE_SYSTEM__GEAR_RATION: - setGear_ration((Float)newValue); - return; + switch (featureID) { + case RobotMLPackage.ENGINE_SYSTEM__VEHICLE_TRACTION: + setVehicleTraction((String)newValue); + return; + case RobotMLPackage.ENGINE_SYSTEM__MAX_ENGINE_FORCE: + setMaxEngineForce((Float)newValue); + return; + case RobotMLPackage.ENGINE_SYSTEM__MAX_BREAKING_FORCE: + setMaxBreakingForce((Float)newValue); + return; + case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_STEERING: + setMaxAllowedSteering((Float)newValue); + return; + case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_VELOCITY: + setMaxAllowedVelocity((Float)newValue); + return; + case RobotMLPackage.ENGINE_SYSTEM__GEAR_RATION: + setGear_ration((Float)newValue); + return; } super.eSet(featureID, newValue); } @@ -387,30 +352,29 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.ENGINE_SYSTEM__VEHICLE_TRACTION: - setVehicleTraction(VEHICLE_TRACTION_EDEFAULT); - return; - case RobotMLPackage.ENGINE_SYSTEM__MAX_ENGINE_FORCE: - setMaxEngineForce(MAX_ENGINE_FORCE_EDEFAULT); - return; - case RobotMLPackage.ENGINE_SYSTEM__MAX_BREAKING_FORCE: - setMaxBreakingForce(MAX_BREAKING_FORCE_EDEFAULT); - return; - case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_STEERING: - setMaxAllowedSteering(MAX_ALLOWED_STEERING_EDEFAULT); - return; - case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_VELOCITY: - setMaxAllowedVelocity(MAX_ALLOWED_VELOCITY_EDEFAULT); - return; - case RobotMLPackage.ENGINE_SYSTEM__GEAR_RATION: - setGear_ration(GEAR_RATION_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.ENGINE_SYSTEM__VEHICLE_TRACTION: + setVehicleTraction(VEHICLE_TRACTION_EDEFAULT); + return; + case RobotMLPackage.ENGINE_SYSTEM__MAX_ENGINE_FORCE: + setMaxEngineForce(MAX_ENGINE_FORCE_EDEFAULT); + return; + case RobotMLPackage.ENGINE_SYSTEM__MAX_BREAKING_FORCE: + setMaxBreakingForce(MAX_BREAKING_FORCE_EDEFAULT); + return; + case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_STEERING: + setMaxAllowedSteering(MAX_ALLOWED_STEERING_EDEFAULT); + return; + case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_VELOCITY: + setMaxAllowedVelocity(MAX_ALLOWED_VELOCITY_EDEFAULT); + return; + case RobotMLPackage.ENGINE_SYSTEM__GEAR_RATION: + setGear_ration(GEAR_RATION_EDEFAULT); + return; } super.eUnset(featureID); } @@ -418,24 +382,23 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.ENGINE_SYSTEM__VEHICLE_TRACTION: - return VEHICLE_TRACTION_EDEFAULT == null ? vehicleTraction != null : !VEHICLE_TRACTION_EDEFAULT.equals(vehicleTraction); - case RobotMLPackage.ENGINE_SYSTEM__MAX_ENGINE_FORCE: - return maxEngineForce != MAX_ENGINE_FORCE_EDEFAULT; - case RobotMLPackage.ENGINE_SYSTEM__MAX_BREAKING_FORCE: - return maxBreakingForce != MAX_BREAKING_FORCE_EDEFAULT; - case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_STEERING: - return maxAllowedSteering != MAX_ALLOWED_STEERING_EDEFAULT; - case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_VELOCITY: - return maxAllowedVelocity != MAX_ALLOWED_VELOCITY_EDEFAULT; - case RobotMLPackage.ENGINE_SYSTEM__GEAR_RATION: - return gear_ration != GEAR_RATION_EDEFAULT; + switch (featureID) { + case RobotMLPackage.ENGINE_SYSTEM__VEHICLE_TRACTION: + return VEHICLE_TRACTION_EDEFAULT == null ? vehicleTraction != null : !VEHICLE_TRACTION_EDEFAULT.equals(vehicleTraction); + case RobotMLPackage.ENGINE_SYSTEM__MAX_ENGINE_FORCE: + return maxEngineForce != MAX_ENGINE_FORCE_EDEFAULT; + case RobotMLPackage.ENGINE_SYSTEM__MAX_BREAKING_FORCE: + return maxBreakingForce != MAX_BREAKING_FORCE_EDEFAULT; + case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_STEERING: + return maxAllowedSteering != MAX_ALLOWED_STEERING_EDEFAULT; + case RobotMLPackage.ENGINE_SYSTEM__MAX_ALLOWED_VELOCITY: + return maxAllowedVelocity != MAX_ALLOWED_VELOCITY_EDEFAULT; + case RobotMLPackage.ENGINE_SYSTEM__GEAR_RATION: + return gear_ration != GEAR_RATION_EDEFAULT; } return super.eIsSet(featureID); } @@ -443,13 +406,11 @@ public class EngineSystemImpl extends ActuatorSystemImpl implements EngineSystem /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (vehicleTraction: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/EnvironmentImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/EnvironmentImpl.java index 76cacdb8d2f..cba123d0e99 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/EnvironmentImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/EnvironmentImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.Environment; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class EnvironmentImpl extends SystemImpl implements Environment { - /** * * - * * @generated */ protected EnvironmentImpl() { @@ -39,7 +29,6 @@ public class EnvironmentImpl extends SystemImpl implements Environment { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ExternalLibraryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ExternalLibraryImpl.java new file mode 100644 index 00000000000..2f4ebf6ecee --- /dev/null +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ExternalLibraryImpl.java @@ -0,0 +1,280 @@ +/** + */ +package org.eclipse.papyrus.RobotML.impl; + +import org.eclipse.emf.common.notify.Notification; + +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.RobotML.ExternalLibrary; +import org.eclipse.papyrus.RobotML.RobotMLPackage; + +import org.eclipse.uml2.uml.Interface; + +/** + * + * An implementation of the model object 'External Library'. + * + *

+ * The following features are implemented: + *

    + *
  • {@link org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl#getLibPath Lib Path}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl#getLibFileFormat Lib File Format}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.ExternalLibraryImpl#getBase_Interface Base Interface}
  • + *
+ *

+ * + * @generated + */ +public class ExternalLibraryImpl extends MinimalEObjectImpl.Container implements ExternalLibrary { + /** + * The default value of the '{@link #getLibPath() Lib Path}' attribute. + * + * + * @see #getLibPath() + * @generated + * @ordered + */ + protected static final String LIB_PATH_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLibPath() Lib Path}' attribute. + * + * + * @see #getLibPath() + * @generated + * @ordered + */ + protected String libPath = LIB_PATH_EDEFAULT; + + /** + * The default value of the '{@link #getLibFileFormat() Lib File Format}' attribute. + * + * + * @see #getLibFileFormat() + * @generated + * @ordered + */ + protected static final String LIB_FILE_FORMAT_EDEFAULT = "elf"; + + /** + * The cached value of the '{@link #getLibFileFormat() Lib File Format}' attribute. + * + * + * @see #getLibFileFormat() + * @generated + * @ordered + */ + protected String libFileFormat = LIB_FILE_FORMAT_EDEFAULT; + + /** + * The cached value of the '{@link #getBase_Interface() Base Interface}' reference. + * + * + * @see #getBase_Interface() + * @generated + * @ordered + */ + protected Interface base_Interface; + + /** + * + * + * @generated + */ + protected ExternalLibraryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return RobotMLPackage.Literals.EXTERNAL_LIBRARY; + } + + /** + * + * + * @generated + */ + public String getLibPath() { + return libPath; + } + + /** + * + * + * @generated + */ + public void setLibPath(String newLibPath) { + String oldLibPath = libPath; + libPath = newLibPath; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.EXTERNAL_LIBRARY__LIB_PATH, oldLibPath, libPath)); + } + + /** + * + * + * @generated + */ + public String getLibFileFormat() { + return libFileFormat; + } + + /** + * + * + * @generated + */ + public void setLibFileFormat(String newLibFileFormat) { + String oldLibFileFormat = libFileFormat; + libFileFormat = newLibFileFormat; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.EXTERNAL_LIBRARY__LIB_FILE_FORMAT, oldLibFileFormat, libFileFormat)); + } + + /** + * + * + * @generated + */ + public Interface getBase_Interface() { + if (base_Interface != null && base_Interface.eIsProxy()) { + InternalEObject oldBase_Interface = (InternalEObject)base_Interface; + base_Interface = (Interface)eResolveProxy(oldBase_Interface); + if (base_Interface != oldBase_Interface) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.EXTERNAL_LIBRARY__BASE_INTERFACE, oldBase_Interface, base_Interface)); + } + } + return base_Interface; + } + + /** + * + * + * @generated + */ + public Interface basicGetBase_Interface() { + return base_Interface; + } + + /** + * + * + * @generated + */ + public void setBase_Interface(Interface newBase_Interface) { + Interface oldBase_Interface = base_Interface; + base_Interface = newBase_Interface; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.EXTERNAL_LIBRARY__BASE_INTERFACE, oldBase_Interface, base_Interface)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RobotMLPackage.EXTERNAL_LIBRARY__LIB_PATH: + return getLibPath(); + case RobotMLPackage.EXTERNAL_LIBRARY__LIB_FILE_FORMAT: + return getLibFileFormat(); + case RobotMLPackage.EXTERNAL_LIBRARY__BASE_INTERFACE: + if (resolve) return getBase_Interface(); + return basicGetBase_Interface(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RobotMLPackage.EXTERNAL_LIBRARY__LIB_PATH: + setLibPath((String)newValue); + return; + case RobotMLPackage.EXTERNAL_LIBRARY__LIB_FILE_FORMAT: + setLibFileFormat((String)newValue); + return; + case RobotMLPackage.EXTERNAL_LIBRARY__BASE_INTERFACE: + setBase_Interface((Interface)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RobotMLPackage.EXTERNAL_LIBRARY__LIB_PATH: + setLibPath(LIB_PATH_EDEFAULT); + return; + case RobotMLPackage.EXTERNAL_LIBRARY__LIB_FILE_FORMAT: + setLibFileFormat(LIB_FILE_FORMAT_EDEFAULT); + return; + case RobotMLPackage.EXTERNAL_LIBRARY__BASE_INTERFACE: + setBase_Interface((Interface)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RobotMLPackage.EXTERNAL_LIBRARY__LIB_PATH: + return LIB_PATH_EDEFAULT == null ? libPath != null : !LIB_PATH_EDEFAULT.equals(libPath); + case RobotMLPackage.EXTERNAL_LIBRARY__LIB_FILE_FORMAT: + return LIB_FILE_FORMAT_EDEFAULT == null ? libFileFormat != null : !LIB_FILE_FORMAT_EDEFAULT.equals(libFileFormat); + case RobotMLPackage.EXTERNAL_LIBRARY__BASE_INTERFACE: + return base_Interface != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (libPath: "); + result.append(libPath); + result.append(", libFileFormat: "); + result.append(libFileFormat); + result.append(')'); + return result.toString(); + } + +} //ExternalLibraryImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/FloorImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/FloorImpl.java index 904d092a1ef..b25f1daf3af 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/FloorImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/FloorImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.Floor; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class FloorImpl extends GroundImpl implements Floor { - /** * * - * * @generated */ protected FloorImpl() { @@ -39,7 +29,6 @@ public class FloorImpl extends GroundImpl implements Floor { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GPSSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GPSSystemImpl.java index 1a77adaf323..dc8cebd266c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GPSSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GPSSystemImpl.java @@ -1,23 +1,18 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; + import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.GPSSystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; /** @@ -27,19 +22,17 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.GPSSystemImpl#getOriginPosition Origin Position}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.GPSSystemImpl#getOriginPosition Origin Position}
  • *
*

- * + * * @generated */ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSystem { - /** * The cached value of the '{@link #getOriginPosition() Origin Position}' containment reference. * * - * * @see #getOriginPosition() * @generated * @ordered @@ -49,7 +42,6 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * * - * * @generated */ protected GPSSystemImpl() { @@ -59,7 +51,6 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * * - * * @generated */ @Override @@ -70,7 +61,6 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * * - * * @generated */ public Point32 getOriginPosition() { @@ -80,18 +70,14 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * * - * * @generated */ public NotificationChain basicSetOriginPosition(Point32 newOriginPosition, NotificationChain msgs) { Point32 oldOriginPosition = originPosition; originPosition = newOriginPosition; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION, oldOriginPosition, newOriginPosition); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -99,34 +85,32 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * * - * * @generated */ public void setOriginPosition(Point32 newOriginPosition) { - if(newOriginPosition != originPosition) { + if (newOriginPosition != originPosition) { NotificationChain msgs = null; - if(originPosition != null) + if (originPosition != null) msgs = ((InternalEObject)originPosition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION, null, msgs); - if(newOriginPosition != null) + if (newOriginPosition != null) msgs = ((InternalEObject)newOriginPosition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION, null, msgs); msgs = basicSetOriginPosition(newOriginPosition, msgs); - if(msgs != null) - msgs.dispatch(); - } else if(eNotificationRequired()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION, newOriginPosition, newOriginPosition)); } /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: - return basicSetOriginPosition(null, msgs); + switch (featureID) { + case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: + return basicSetOriginPosition(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -134,14 +118,13 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: - return getOriginPosition(); + switch (featureID) { + case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: + return getOriginPosition(); } return super.eGet(featureID, resolve, coreType); } @@ -149,15 +132,14 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: - setOriginPosition((Point32)newValue); - return; + switch (featureID) { + case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: + setOriginPosition((Point32)newValue); + return; } super.eSet(featureID, newValue); } @@ -165,15 +147,14 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: - setOriginPosition((Point32)null); - return; + switch (featureID) { + case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: + setOriginPosition((Point32)null); + return; } super.eUnset(featureID); } @@ -181,14 +162,13 @@ public class GPSSystemImpl extends LocalizationSensorSystemImpl implements GPSSy /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: - return originPosition != null; + switch (featureID) { + case RobotMLPackage.GPS_SYSTEM__ORIGIN_POSITION: + return originPosition != null; } return super.eIsSet(featureID); } diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GroundImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GroundImpl.java index 9c287e24381..89eff85cc27 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GroundImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GroundImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.Ground; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public abstract class GroundImpl extends SurfaceImpl implements Ground { - /** * * - * * @generated */ protected GroundImpl() { @@ -39,7 +29,6 @@ public abstract class GroundImpl extends SurfaceImpl implements Ground { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GyroscopeImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GyroscopeImpl.java index 62d87765c6f..32280006802 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GyroscopeImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/GyroscopeImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.Gyroscope; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class GyroscopeImpl extends SensorSystemImpl implements Gyroscope { - /** * * - * * @generated */ protected GyroscopeImpl() { @@ -39,7 +29,6 @@ public class GyroscopeImpl extends SensorSystemImpl implements Gyroscope { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/HardwareImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/HardwareImpl.java index 787a0e40292..7ce3613d6f9 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/HardwareImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/HardwareImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.Hardware; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class HardwareImpl extends SystemImpl implements Hardware { - /** * * - * * @generated */ protected HardwareImpl() { @@ -39,7 +29,6 @@ public class HardwareImpl extends SystemImpl implements Hardware { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/HumanImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/HumanImpl.java index 075fc3713ba..28054d78787 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/HumanImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/HumanImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.Human; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class HumanImpl extends AgentImpl implements Human { - /** * * - * * @generated */ protected HumanImpl() { @@ -39,7 +29,6 @@ public class HumanImpl extends AgentImpl implements Human { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ImageSensorSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ImageSensorSystemImpl.java index b80d54beaa5..8662390f174 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ImageSensorSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ImageSensorSystemImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.ImageSensorSystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class ImageSensorSystemImpl extends SensorSystemImpl implements ImageSensorSystem { - /** * * - * * @generated */ protected ImageSensorSystemImpl() { @@ -39,7 +29,6 @@ public class ImageSensorSystemImpl extends SensorSystemImpl implements ImageSens /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/InertialMeasurementUnitSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/InertialMeasurementUnitSystemImpl.java index 06e62ec7f72..c90e769a08b 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/InertialMeasurementUnitSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/InertialMeasurementUnitSystemImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.InertialMeasurementUnitSystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class InertialMeasurementUnitSystemImpl extends SensorSystemImpl implements InertialMeasurementUnitSystem { - /** * * - * * @generated */ protected InertialMeasurementUnitSystemImpl() { @@ -39,7 +29,6 @@ public class InertialMeasurementUnitSystemImpl extends SensorSystemImpl implemen /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/InertialNavigationSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/InertialNavigationSystemImpl.java index 594a5eefd0e..fc24504941a 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/InertialNavigationSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/InertialNavigationSystemImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.InertialNavigationSystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class InertialNavigationSystemImpl extends GPSSystemImpl implements InertialNavigationSystem { - /** * * - * * @generated */ protected InertialNavigationSystemImpl() { @@ -39,7 +29,6 @@ public class InertialNavigationSystemImpl extends GPSSystemImpl implements Inert /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/InfraRedProximetrySystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/InfraRedProximetrySystemImpl.java index 6900ff4b341..d337013ade3 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/InfraRedProximetrySystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/InfraRedProximetrySystemImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.InfraRedProximetrySystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class InfraRedProximetrySystemImpl extends ObjectDetectionSensorSystemImpl implements InfraRedProximetrySystem { - /** * * - * * @generated */ protected InfraRedProximetrySystemImpl() { @@ -39,7 +29,6 @@ public class InfraRedProximetrySystemImpl extends ObjectDetectionSensorSystemImp /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LandSurfaceImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LandSurfaceImpl.java index 5444a16868b..420db6b44a2 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LandSurfaceImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LandSurfaceImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.LandSurface; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class LandSurfaceImpl extends GroundImpl implements LandSurface { - /** * * - * * @generated */ protected LandSurfaceImpl() { @@ -39,7 +29,6 @@ public class LandSurfaceImpl extends GroundImpl implements LandSurface { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LidarSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LidarSystemImpl.java index 097c2e96061..4fcda7e0049 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LidarSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LidarSystemImpl.java @@ -1,19 +1,13 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.LidarSystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -24,30 +18,28 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getNbLayers Nb Layers}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getLayerAngleMin Layer Angle Min}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getLayerAngleStep Layer Angle Step}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#isNoise Noise}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getSigmaNoise Sigma Noise}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getAngle_min Angle min}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getAngle_max Angle max}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getTime_increment Time increment}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getScan_time Scan time}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getRange_min Range min}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getRange_max Range max}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getNbRays Nb Rays}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getNbLayers Nb Layers}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getLayerAngleMin Layer Angle Min}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getLayerAngleStep Layer Angle Step}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#isNoise Noise}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getSigmaNoise Sigma Noise}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getAngle_min Angle min}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getAngle_max Angle max}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getTime_increment Time increment}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getScan_time Scan time}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getRange_min Range min}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getRange_max Range max}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.LidarSystemImpl#getNbRays Nb Rays}
  • *
*

- * + * * @generated */ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements LidarSystem { - /** * The default value of the '{@link #getNbLayers() Nb Layers}' attribute. * * - * * @see #getNbLayers() * @generated * @ordered @@ -58,7 +50,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getNbLayers() Nb Layers}' attribute. * * - * * @see #getNbLayers() * @generated * @ordered @@ -69,7 +60,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getLayerAngleMin() Layer Angle Min}' attribute. * * - * * @see #getLayerAngleMin() * @generated * @ordered @@ -80,7 +70,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getLayerAngleMin() Layer Angle Min}' attribute. * * - * * @see #getLayerAngleMin() * @generated * @ordered @@ -91,7 +80,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getLayerAngleStep() Layer Angle Step}' attribute. * * - * * @see #getLayerAngleStep() * @generated * @ordered @@ -102,7 +90,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getLayerAngleStep() Layer Angle Step}' attribute. * * - * * @see #getLayerAngleStep() * @generated * @ordered @@ -113,7 +100,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #isNoise() Noise}' attribute. * * - * * @see #isNoise() * @generated * @ordered @@ -124,7 +110,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #isNoise() Noise}' attribute. * * - * * @see #isNoise() * @generated * @ordered @@ -135,7 +120,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getSigmaNoise() Sigma Noise}' attribute. * * - * * @see #getSigmaNoise() * @generated * @ordered @@ -146,7 +130,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getSigmaNoise() Sigma Noise}' attribute. * * - * * @see #getSigmaNoise() * @generated * @ordered @@ -157,7 +140,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getAngle_min() Angle min}' attribute. * * - * * @see #getAngle_min() * @generated * @ordered @@ -168,7 +150,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getAngle_min() Angle min}' attribute. * * - * * @see #getAngle_min() * @generated * @ordered @@ -179,7 +160,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getAngle_max() Angle max}' attribute. * * - * * @see #getAngle_max() * @generated * @ordered @@ -190,7 +170,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getAngle_max() Angle max}' attribute. * * - * * @see #getAngle_max() * @generated * @ordered @@ -201,7 +180,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getTime_increment() Time increment}' attribute. * * - * * @see #getTime_increment() * @generated * @ordered @@ -212,7 +190,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getTime_increment() Time increment}' attribute. * * - * * @see #getTime_increment() * @generated * @ordered @@ -223,7 +200,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getScan_time() Scan time}' attribute. * * - * * @see #getScan_time() * @generated * @ordered @@ -234,7 +210,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getScan_time() Scan time}' attribute. * * - * * @see #getScan_time() * @generated * @ordered @@ -245,7 +220,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getRange_min() Range min}' attribute. * * - * * @see #getRange_min() * @generated * @ordered @@ -256,7 +230,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getRange_min() Range min}' attribute. * * - * * @see #getRange_min() * @generated * @ordered @@ -267,7 +240,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getRange_max() Range max}' attribute. * * - * * @see #getRange_max() * @generated * @ordered @@ -278,7 +250,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getRange_max() Range max}' attribute. * * - * * @see #getRange_max() * @generated * @ordered @@ -289,7 +260,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The default value of the '{@link #getNbRays() Nb Rays}' attribute. * * - * * @see #getNbRays() * @generated * @ordered @@ -300,7 +270,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements * The cached value of the '{@link #getNbRays() Nb Rays}' attribute. * * - * * @see #getNbRays() * @generated * @ordered @@ -310,7 +279,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ protected LidarSystemImpl() { @@ -320,7 +288,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ @Override @@ -331,7 +298,6 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public long getNbLayers() { @@ -341,20 +307,18 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public void setNbLayers(long newNbLayers) { long oldNbLayers = nbLayers; nbLayers = newNbLayers; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.LIDAR_SYSTEM__NB_LAYERS, oldNbLayers, nbLayers)); } /** * * - * * @generated */ public float getLayerAngleMin() { @@ -364,20 +328,18 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public void setLayerAngleMin(float newLayerAngleMin) { float oldLayerAngleMin = layerAngleMin; layerAngleMin = newLayerAngleMin; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_MIN, oldLayerAngleMin, layerAngleMin)); } /** * * - * * @generated */ public float getLayerAngleStep() { @@ -387,20 +349,18 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public void setLayerAngleStep(float newLayerAngleStep) { float oldLayerAngleStep = layerAngleStep; layerAngleStep = newLayerAngleStep; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_STEP, oldLayerAngleStep, layerAngleStep)); } /** * * - * * @generated */ public boolean isNoise() { @@ -410,20 +370,18 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public void setNoise(boolean newNoise) { boolean oldNoise = noise; noise = newNoise; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.LIDAR_SYSTEM__NOISE, oldNoise, noise)); } /** * * - * * @generated */ public float getSigmaNoise() { @@ -433,20 +391,18 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public void setSigmaNoise(float newSigmaNoise) { float oldSigmaNoise = sigmaNoise; sigmaNoise = newSigmaNoise; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.LIDAR_SYSTEM__SIGMA_NOISE, oldSigmaNoise, sigmaNoise)); } /** * * - * * @generated */ public float getAngle_min() { @@ -456,20 +412,18 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public void setAngle_min(float newAngle_min) { float oldAngle_min = angle_min; angle_min = newAngle_min; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.LIDAR_SYSTEM__ANGLE_MIN, oldAngle_min, angle_min)); } /** * * - * * @generated */ public float getAngle_max() { @@ -479,20 +433,18 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public void setAngle_max(float newAngle_max) { float oldAngle_max = angle_max; angle_max = newAngle_max; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.LIDAR_SYSTEM__ANGLE_MAX, oldAngle_max, angle_max)); } /** * * - * * @generated */ public float getTime_increment() { @@ -502,20 +454,18 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public void setTime_increment(float newTime_increment) { float oldTime_increment = time_increment; time_increment = newTime_increment; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.LIDAR_SYSTEM__TIME_INCREMENT, oldTime_increment, time_increment)); } /** * * - * * @generated */ public float getScan_time() { @@ -525,20 +475,18 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public void setScan_time(float newScan_time) { float oldScan_time = scan_time; scan_time = newScan_time; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.LIDAR_SYSTEM__SCAN_TIME, oldScan_time, scan_time)); } /** * * - * * @generated */ public float getRange_min() { @@ -548,20 +496,18 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public void setRange_min(float newRange_min) { float oldRange_min = range_min; range_min = newRange_min; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.LIDAR_SYSTEM__RANGE_MIN, oldRange_min, range_min)); } /** * * - * * @generated */ public float getRange_max() { @@ -571,20 +517,18 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public void setRange_max(float newRange_max) { float oldRange_max = range_max; range_max = newRange_max; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.LIDAR_SYSTEM__RANGE_MAX, oldRange_max, range_max)); } /** * * - * * @generated */ public long getNbRays() { @@ -594,49 +538,47 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ public void setNbRays(long newNbRays) { long oldNbRays = nbRays; nbRays = newNbRays; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.LIDAR_SYSTEM__NB_RAYS, oldNbRays, nbRays)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.LIDAR_SYSTEM__NB_LAYERS: - return getNbLayers(); - case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_MIN: - return getLayerAngleMin(); - case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_STEP: - return getLayerAngleStep(); - case RobotMLPackage.LIDAR_SYSTEM__NOISE: - return isNoise(); - case RobotMLPackage.LIDAR_SYSTEM__SIGMA_NOISE: - return getSigmaNoise(); - case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MIN: - return getAngle_min(); - case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MAX: - return getAngle_max(); - case RobotMLPackage.LIDAR_SYSTEM__TIME_INCREMENT: - return getTime_increment(); - case RobotMLPackage.LIDAR_SYSTEM__SCAN_TIME: - return getScan_time(); - case RobotMLPackage.LIDAR_SYSTEM__RANGE_MIN: - return getRange_min(); - case RobotMLPackage.LIDAR_SYSTEM__RANGE_MAX: - return getRange_max(); - case RobotMLPackage.LIDAR_SYSTEM__NB_RAYS: - return getNbRays(); + switch (featureID) { + case RobotMLPackage.LIDAR_SYSTEM__NB_LAYERS: + return getNbLayers(); + case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_MIN: + return getLayerAngleMin(); + case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_STEP: + return getLayerAngleStep(); + case RobotMLPackage.LIDAR_SYSTEM__NOISE: + return isNoise(); + case RobotMLPackage.LIDAR_SYSTEM__SIGMA_NOISE: + return getSigmaNoise(); + case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MIN: + return getAngle_min(); + case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MAX: + return getAngle_max(); + case RobotMLPackage.LIDAR_SYSTEM__TIME_INCREMENT: + return getTime_increment(); + case RobotMLPackage.LIDAR_SYSTEM__SCAN_TIME: + return getScan_time(); + case RobotMLPackage.LIDAR_SYSTEM__RANGE_MIN: + return getRange_min(); + case RobotMLPackage.LIDAR_SYSTEM__RANGE_MAX: + return getRange_max(); + case RobotMLPackage.LIDAR_SYSTEM__NB_RAYS: + return getNbRays(); } return super.eGet(featureID, resolve, coreType); } @@ -644,48 +586,47 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.LIDAR_SYSTEM__NB_LAYERS: - setNbLayers((Long)newValue); - return; - case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_MIN: - setLayerAngleMin((Float)newValue); - return; - case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_STEP: - setLayerAngleStep((Float)newValue); - return; - case RobotMLPackage.LIDAR_SYSTEM__NOISE: - setNoise((Boolean)newValue); - return; - case RobotMLPackage.LIDAR_SYSTEM__SIGMA_NOISE: - setSigmaNoise((Float)newValue); - return; - case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MIN: - setAngle_min((Float)newValue); - return; - case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MAX: - setAngle_max((Float)newValue); - return; - case RobotMLPackage.LIDAR_SYSTEM__TIME_INCREMENT: - setTime_increment((Float)newValue); - return; - case RobotMLPackage.LIDAR_SYSTEM__SCAN_TIME: - setScan_time((Float)newValue); - return; - case RobotMLPackage.LIDAR_SYSTEM__RANGE_MIN: - setRange_min((Float)newValue); - return; - case RobotMLPackage.LIDAR_SYSTEM__RANGE_MAX: - setRange_max((Float)newValue); - return; - case RobotMLPackage.LIDAR_SYSTEM__NB_RAYS: - setNbRays((Long)newValue); - return; + switch (featureID) { + case RobotMLPackage.LIDAR_SYSTEM__NB_LAYERS: + setNbLayers((Long)newValue); + return; + case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_MIN: + setLayerAngleMin((Float)newValue); + return; + case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_STEP: + setLayerAngleStep((Float)newValue); + return; + case RobotMLPackage.LIDAR_SYSTEM__NOISE: + setNoise((Boolean)newValue); + return; + case RobotMLPackage.LIDAR_SYSTEM__SIGMA_NOISE: + setSigmaNoise((Float)newValue); + return; + case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MIN: + setAngle_min((Float)newValue); + return; + case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MAX: + setAngle_max((Float)newValue); + return; + case RobotMLPackage.LIDAR_SYSTEM__TIME_INCREMENT: + setTime_increment((Float)newValue); + return; + case RobotMLPackage.LIDAR_SYSTEM__SCAN_TIME: + setScan_time((Float)newValue); + return; + case RobotMLPackage.LIDAR_SYSTEM__RANGE_MIN: + setRange_min((Float)newValue); + return; + case RobotMLPackage.LIDAR_SYSTEM__RANGE_MAX: + setRange_max((Float)newValue); + return; + case RobotMLPackage.LIDAR_SYSTEM__NB_RAYS: + setNbRays((Long)newValue); + return; } super.eSet(featureID, newValue); } @@ -693,48 +634,47 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.LIDAR_SYSTEM__NB_LAYERS: - setNbLayers(NB_LAYERS_EDEFAULT); - return; - case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_MIN: - setLayerAngleMin(LAYER_ANGLE_MIN_EDEFAULT); - return; - case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_STEP: - setLayerAngleStep(LAYER_ANGLE_STEP_EDEFAULT); - return; - case RobotMLPackage.LIDAR_SYSTEM__NOISE: - setNoise(NOISE_EDEFAULT); - return; - case RobotMLPackage.LIDAR_SYSTEM__SIGMA_NOISE: - setSigmaNoise(SIGMA_NOISE_EDEFAULT); - return; - case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MIN: - setAngle_min(ANGLE_MIN_EDEFAULT); - return; - case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MAX: - setAngle_max(ANGLE_MAX_EDEFAULT); - return; - case RobotMLPackage.LIDAR_SYSTEM__TIME_INCREMENT: - setTime_increment(TIME_INCREMENT_EDEFAULT); - return; - case RobotMLPackage.LIDAR_SYSTEM__SCAN_TIME: - setScan_time(SCAN_TIME_EDEFAULT); - return; - case RobotMLPackage.LIDAR_SYSTEM__RANGE_MIN: - setRange_min(RANGE_MIN_EDEFAULT); - return; - case RobotMLPackage.LIDAR_SYSTEM__RANGE_MAX: - setRange_max(RANGE_MAX_EDEFAULT); - return; - case RobotMLPackage.LIDAR_SYSTEM__NB_RAYS: - setNbRays(NB_RAYS_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.LIDAR_SYSTEM__NB_LAYERS: + setNbLayers(NB_LAYERS_EDEFAULT); + return; + case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_MIN: + setLayerAngleMin(LAYER_ANGLE_MIN_EDEFAULT); + return; + case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_STEP: + setLayerAngleStep(LAYER_ANGLE_STEP_EDEFAULT); + return; + case RobotMLPackage.LIDAR_SYSTEM__NOISE: + setNoise(NOISE_EDEFAULT); + return; + case RobotMLPackage.LIDAR_SYSTEM__SIGMA_NOISE: + setSigmaNoise(SIGMA_NOISE_EDEFAULT); + return; + case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MIN: + setAngle_min(ANGLE_MIN_EDEFAULT); + return; + case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MAX: + setAngle_max(ANGLE_MAX_EDEFAULT); + return; + case RobotMLPackage.LIDAR_SYSTEM__TIME_INCREMENT: + setTime_increment(TIME_INCREMENT_EDEFAULT); + return; + case RobotMLPackage.LIDAR_SYSTEM__SCAN_TIME: + setScan_time(SCAN_TIME_EDEFAULT); + return; + case RobotMLPackage.LIDAR_SYSTEM__RANGE_MIN: + setRange_min(RANGE_MIN_EDEFAULT); + return; + case RobotMLPackage.LIDAR_SYSTEM__RANGE_MAX: + setRange_max(RANGE_MAX_EDEFAULT); + return; + case RobotMLPackage.LIDAR_SYSTEM__NB_RAYS: + setNbRays(NB_RAYS_EDEFAULT); + return; } super.eUnset(featureID); } @@ -742,36 +682,35 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.LIDAR_SYSTEM__NB_LAYERS: - return nbLayers != NB_LAYERS_EDEFAULT; - case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_MIN: - return layerAngleMin != LAYER_ANGLE_MIN_EDEFAULT; - case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_STEP: - return layerAngleStep != LAYER_ANGLE_STEP_EDEFAULT; - case RobotMLPackage.LIDAR_SYSTEM__NOISE: - return noise != NOISE_EDEFAULT; - case RobotMLPackage.LIDAR_SYSTEM__SIGMA_NOISE: - return sigmaNoise != SIGMA_NOISE_EDEFAULT; - case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MIN: - return angle_min != ANGLE_MIN_EDEFAULT; - case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MAX: - return angle_max != ANGLE_MAX_EDEFAULT; - case RobotMLPackage.LIDAR_SYSTEM__TIME_INCREMENT: - return time_increment != TIME_INCREMENT_EDEFAULT; - case RobotMLPackage.LIDAR_SYSTEM__SCAN_TIME: - return scan_time != SCAN_TIME_EDEFAULT; - case RobotMLPackage.LIDAR_SYSTEM__RANGE_MIN: - return range_min != RANGE_MIN_EDEFAULT; - case RobotMLPackage.LIDAR_SYSTEM__RANGE_MAX: - return range_max != RANGE_MAX_EDEFAULT; - case RobotMLPackage.LIDAR_SYSTEM__NB_RAYS: - return nbRays != NB_RAYS_EDEFAULT; + switch (featureID) { + case RobotMLPackage.LIDAR_SYSTEM__NB_LAYERS: + return nbLayers != NB_LAYERS_EDEFAULT; + case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_MIN: + return layerAngleMin != LAYER_ANGLE_MIN_EDEFAULT; + case RobotMLPackage.LIDAR_SYSTEM__LAYER_ANGLE_STEP: + return layerAngleStep != LAYER_ANGLE_STEP_EDEFAULT; + case RobotMLPackage.LIDAR_SYSTEM__NOISE: + return noise != NOISE_EDEFAULT; + case RobotMLPackage.LIDAR_SYSTEM__SIGMA_NOISE: + return sigmaNoise != SIGMA_NOISE_EDEFAULT; + case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MIN: + return angle_min != ANGLE_MIN_EDEFAULT; + case RobotMLPackage.LIDAR_SYSTEM__ANGLE_MAX: + return angle_max != ANGLE_MAX_EDEFAULT; + case RobotMLPackage.LIDAR_SYSTEM__TIME_INCREMENT: + return time_increment != TIME_INCREMENT_EDEFAULT; + case RobotMLPackage.LIDAR_SYSTEM__SCAN_TIME: + return scan_time != SCAN_TIME_EDEFAULT; + case RobotMLPackage.LIDAR_SYSTEM__RANGE_MIN: + return range_min != RANGE_MIN_EDEFAULT; + case RobotMLPackage.LIDAR_SYSTEM__RANGE_MAX: + return range_max != RANGE_MAX_EDEFAULT; + case RobotMLPackage.LIDAR_SYSTEM__NB_RAYS: + return nbRays != NB_RAYS_EDEFAULT; } return super.eIsSet(featureID); } @@ -779,13 +718,11 @@ public class LidarSystemImpl extends ObjectDetectionSensorSystemImpl implements /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (nbLayers: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LocalizationSensorSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LocalizationSensorSystemImpl.java index 97e5a36754e..d09661474a4 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LocalizationSensorSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/LocalizationSensorSystemImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.LocalizationSensorSystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class LocalizationSensorSystemImpl extends SensorSystemImpl implements LocalizationSensorSystem { - /** * * - * * @generated */ protected LocalizationSensorSystemImpl() { @@ -39,7 +29,6 @@ public class LocalizationSensorSystemImpl extends SensorSystemImpl implements Lo /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ObjectDetectionSensorSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ObjectDetectionSensorSystemImpl.java index 4eba4a84b15..93175770d8b 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ObjectDetectionSensorSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ObjectDetectionSensorSystemImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.ObjectDetectionSensorSystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class ObjectDetectionSensorSystemImpl extends SensorSystemImpl implements ObjectDetectionSensorSystem { - /** * * - * * @generated */ protected ObjectDetectionSensorSystemImpl() { @@ -39,7 +29,6 @@ public class ObjectDetectionSensorSystemImpl extends SensorSystemImpl implements /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ObjectTrackingSensorSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ObjectTrackingSensorSystemImpl.java index 1754bebb26d..56733b31291 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ObjectTrackingSensorSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ObjectTrackingSensorSystemImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.ObjectTrackingSensorSystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class ObjectTrackingSensorSystemImpl extends SensorSystemImpl implements ObjectTrackingSensorSystem { - /** * * - * * @generated */ protected ObjectTrackingSensorSystemImpl() { @@ -39,7 +29,6 @@ public class ObjectTrackingSensorSystemImpl extends SensorSystemImpl implements /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OdometrySystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OdometrySystemImpl.java index f49e5f2aa62..7d7b16b01b1 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OdometrySystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OdometrySystemImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.OdometrySystem; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class OdometrySystemImpl extends LocalizationSensorSystemImpl implements OdometrySystem { - /** * * - * * @generated */ protected OdometrySystemImpl() { @@ -39,7 +29,6 @@ public class OdometrySystemImpl extends LocalizationSensorSystemImpl implements /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OnPortImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OnPortImpl.java index 7729d09326e..b7f8cfca24c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OnPortImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OnPortImpl.java @@ -1,24 +1,19 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + 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.EObjectImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + import org.eclipse.papyrus.RobotML.OnPort; import org.eclipse.papyrus.RobotML.Port; import org.eclipse.papyrus.RobotML.RobotMLPackage; + import org.eclipse.uml2.uml.Parameter; /** @@ -28,20 +23,18 @@ import org.eclipse.uml2.uml.Parameter; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.OnPortImpl#getPort Port}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.OnPortImpl#getBase_Parameter Base Parameter}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.OnPortImpl#getPort Port}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.OnPortImpl#getBase_Parameter Base Parameter}
  • *
*

- * + * * @generated */ -public class OnPortImpl extends EObjectImpl implements OnPort { - +public class OnPortImpl extends MinimalEObjectImpl.Container implements OnPort { /** * The cached value of the '{@link #getPort() Port}' reference. * * - * * @see #getPort() * @generated * @ordered @@ -52,7 +45,6 @@ public class OnPortImpl extends EObjectImpl implements OnPort { * The cached value of the '{@link #getBase_Parameter() Base Parameter}' reference. * * - * * @see #getBase_Parameter() * @generated * @ordered @@ -62,7 +54,6 @@ public class OnPortImpl extends EObjectImpl implements OnPort { /** * * - * * @generated */ protected OnPortImpl() { @@ -72,7 +63,6 @@ public class OnPortImpl extends EObjectImpl implements OnPort { /** * * - * * @generated */ @Override @@ -83,15 +73,14 @@ public class OnPortImpl extends EObjectImpl implements OnPort { /** * * - * * @generated */ public Port getPort() { - if(port != null && port.eIsProxy()) { + if (port != null && port.eIsProxy()) { InternalEObject oldPort = (InternalEObject)port; port = (Port)eResolveProxy(oldPort); - if(port != oldPort) { - if(eNotificationRequired()) + if (port != oldPort) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ON_PORT__PORT, oldPort, port)); } } @@ -101,7 +90,6 @@ public class OnPortImpl extends EObjectImpl implements OnPort { /** * * - * * @generated */ public Port basicGetPort() { @@ -111,28 +99,26 @@ public class OnPortImpl extends EObjectImpl implements OnPort { /** * * - * * @generated */ public void setPort(Port newPort) { Port oldPort = port; port = newPort; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ON_PORT__PORT, oldPort, port)); } /** * * - * * @generated */ public Parameter getBase_Parameter() { - if(base_Parameter != null && base_Parameter.eIsProxy()) { + if (base_Parameter != null && base_Parameter.eIsProxy()) { InternalEObject oldBase_Parameter = (InternalEObject)base_Parameter; base_Parameter = (Parameter)eResolveProxy(oldBase_Parameter); - if(base_Parameter != oldBase_Parameter) { - if(eNotificationRequired()) + if (base_Parameter != oldBase_Parameter) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ON_PORT__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); } } @@ -142,7 +128,6 @@ public class OnPortImpl extends EObjectImpl implements OnPort { /** * * - * * @generated */ public Parameter basicGetBase_Parameter() { @@ -152,33 +137,29 @@ public class OnPortImpl extends EObjectImpl implements OnPort { /** * * - * * @generated */ public void setBase_Parameter(Parameter newBase_Parameter) { Parameter oldBase_Parameter = base_Parameter; base_Parameter = newBase_Parameter; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ON_PORT__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.ON_PORT__PORT: - if(resolve) - return getPort(); - return basicGetPort(); - case RobotMLPackage.ON_PORT__BASE_PARAMETER: - if(resolve) - return getBase_Parameter(); - return basicGetBase_Parameter(); + switch (featureID) { + case RobotMLPackage.ON_PORT__PORT: + if (resolve) return getPort(); + return basicGetPort(); + case RobotMLPackage.ON_PORT__BASE_PARAMETER: + if (resolve) return getBase_Parameter(); + return basicGetBase_Parameter(); } return super.eGet(featureID, resolve, coreType); } @@ -186,18 +167,17 @@ public class OnPortImpl extends EObjectImpl implements OnPort { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.ON_PORT__PORT: - setPort((Port)newValue); - return; - case RobotMLPackage.ON_PORT__BASE_PARAMETER: - setBase_Parameter((Parameter)newValue); - return; + switch (featureID) { + case RobotMLPackage.ON_PORT__PORT: + setPort((Port)newValue); + return; + case RobotMLPackage.ON_PORT__BASE_PARAMETER: + setBase_Parameter((Parameter)newValue); + return; } super.eSet(featureID, newValue); } @@ -205,18 +185,17 @@ public class OnPortImpl extends EObjectImpl implements OnPort { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.ON_PORT__PORT: - setPort((Port)null); - return; - case RobotMLPackage.ON_PORT__BASE_PARAMETER: - setBase_Parameter((Parameter)null); - return; + switch (featureID) { + case RobotMLPackage.ON_PORT__PORT: + setPort((Port)null); + return; + case RobotMLPackage.ON_PORT__BASE_PARAMETER: + setBase_Parameter((Parameter)null); + return; } super.eUnset(featureID); } @@ -224,16 +203,15 @@ public class OnPortImpl extends EObjectImpl implements OnPort { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.ON_PORT__PORT: - return port != null; - case RobotMLPackage.ON_PORT__BASE_PARAMETER: - return base_Parameter != null; + switch (featureID) { + case RobotMLPackage.ON_PORT__PORT: + return port != null; + case RobotMLPackage.ON_PORT__BASE_PARAMETER: + return base_Parameter != null; } return super.eIsSet(featureID); } diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OnPropertyImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OnPropertyImpl.java new file mode 100644 index 00000000000..63483c483ae --- /dev/null +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/OnPropertyImpl.java @@ -0,0 +1,219 @@ +/** + */ +package org.eclipse.papyrus.RobotML.impl; + +import org.eclipse.emf.common.notify.Notification; + +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.RobotML.OnProperty; +import org.eclipse.papyrus.RobotML.RobotMLPackage; + +import org.eclipse.uml2.uml.Parameter; +import org.eclipse.uml2.uml.Property; + +/** + * + * An implementation of the model object 'On Property'. + * + *

+ * The following features are implemented: + *

    + *
  • {@link org.eclipse.papyrus.RobotML.impl.OnPropertyImpl#getProperty Property}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.OnPropertyImpl#getBase_Parameter Base Parameter}
  • + *
+ *

+ * + * @generated + */ +public class OnPropertyImpl extends MinimalEObjectImpl.Container implements OnProperty { + /** + * The cached value of the '{@link #getProperty() Property}' reference. + * + * + * @see #getProperty() + * @generated + * @ordered + */ + protected Property property; + + /** + * The cached value of the '{@link #getBase_Parameter() Base Parameter}' reference. + * + * + * @see #getBase_Parameter() + * @generated + * @ordered + */ + protected Parameter base_Parameter; + + /** + * + * + * @generated + */ + protected OnPropertyImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return RobotMLPackage.Literals.ON_PROPERTY; + } + + /** + * + * + * @generated + */ + public Property getProperty() { + if (property != null && property.eIsProxy()) { + InternalEObject oldProperty = (InternalEObject)property; + property = (Property)eResolveProxy(oldProperty); + if (property != oldProperty) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ON_PROPERTY__PROPERTY, oldProperty, property)); + } + } + return property; + } + + /** + * + * + * @generated + */ + public Property basicGetProperty() { + return property; + } + + /** + * + * + * @generated + */ + public void setProperty(Property newProperty) { + Property oldProperty = property; + property = newProperty; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ON_PROPERTY__PROPERTY, oldProperty, property)); + } + + /** + * + * + * @generated + */ + public Parameter getBase_Parameter() { + if (base_Parameter != null && base_Parameter.eIsProxy()) { + InternalEObject oldBase_Parameter = (InternalEObject)base_Parameter; + base_Parameter = (Parameter)eResolveProxy(oldBase_Parameter); + if (base_Parameter != oldBase_Parameter) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.ON_PROPERTY__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); + } + } + return base_Parameter; + } + + /** + * + * + * @generated + */ + public Parameter basicGetBase_Parameter() { + return base_Parameter; + } + + /** + * + * + * @generated + */ + public void setBase_Parameter(Parameter newBase_Parameter) { + Parameter oldBase_Parameter = base_Parameter; + base_Parameter = newBase_Parameter; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ON_PROPERTY__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RobotMLPackage.ON_PROPERTY__PROPERTY: + if (resolve) return getProperty(); + return basicGetProperty(); + case RobotMLPackage.ON_PROPERTY__BASE_PARAMETER: + if (resolve) return getBase_Parameter(); + return basicGetBase_Parameter(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RobotMLPackage.ON_PROPERTY__PROPERTY: + setProperty((Property)newValue); + return; + case RobotMLPackage.ON_PROPERTY__BASE_PARAMETER: + setBase_Parameter((Parameter)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RobotMLPackage.ON_PROPERTY__PROPERTY: + setProperty((Property)null); + return; + case RobotMLPackage.ON_PROPERTY__BASE_PARAMETER: + setBase_Parameter((Parameter)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RobotMLPackage.ON_PROPERTY__PROPERTY: + return property != null; + case RobotMLPackage.ON_PROPERTY__BASE_PARAMETER: + return base_Parameter != null; + } + return super.eIsSet(featureID); + } + +} //OnPropertyImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PedestrianImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PedestrianImpl.java index e84bc2c8dd1..43a068e3786 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PedestrianImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PedestrianImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.Pedestrian; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class PedestrianImpl extends HumanImpl implements Pedestrian { - /** * * - * * @generated */ protected PedestrianImpl() { @@ -39,7 +29,6 @@ public class PedestrianImpl extends HumanImpl implements Pedestrian { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PhysicalObjectImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PhysicalObjectImpl.java index 7b40137fa92..7785441d484 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PhysicalObjectImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PhysicalObjectImpl.java @@ -1,24 +1,20 @@ -/***************************************************************************** - * 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.RobotML.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.InternalEObject; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.emf.ecore.util.EObjectResolvingEList; + import org.eclipse.papyrus.RobotML.Environment; import org.eclipse.papyrus.RobotML.PhysicalObject; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -31,20 +27,18 @@ import org.eclipse.papyrus.RobotML.Surface; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl#getEvelovesIn Eveloves In}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl#getHasSurface Has Surface}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl#getEvelovesIn Eveloves In}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.PhysicalObjectImpl#getHasSurface Has Surface}
  • *
*

- * + * * @generated */ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { - /** * The cached value of the '{@link #getEvelovesIn() Eveloves In}' reference list. * * - * * @see #getEvelovesIn() * @generated * @ordered @@ -55,7 +49,6 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { * The cached value of the '{@link #getHasSurface() Has Surface}' reference. * * - * * @see #getHasSurface() * @generated * @ordered @@ -65,7 +58,6 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * * - * * @generated */ protected PhysicalObjectImpl() { @@ -75,7 +67,6 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * * - * * @generated */ @Override @@ -86,11 +77,10 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * * - * * @generated */ public EList getEvelovesIn() { - if(evelovesIn == null) { + if (evelovesIn == null) { evelovesIn = new EObjectResolvingEList(Environment.class, this, RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN); } return evelovesIn; @@ -99,15 +89,14 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * * - * * @generated */ public Surface getHasSurface() { - if(hasSurface != null && hasSurface.eIsProxy()) { + if (hasSurface != null && hasSurface.eIsProxy()) { InternalEObject oldHasSurface = (InternalEObject)hasSurface; hasSurface = (Surface)eResolveProxy(oldHasSurface); - if(hasSurface != oldHasSurface) { - if(eNotificationRequired()) + if (hasSurface != oldHasSurface) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE, oldHasSurface, hasSurface)); } } @@ -117,7 +106,6 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * * - * * @generated */ public Surface basicGetHasSurface() { @@ -127,31 +115,28 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * * - * * @generated */ public void setHasSurface(Surface newHasSurface) { Surface oldHasSurface = hasSurface; hasSurface = newHasSurface; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE, oldHasSurface, hasSurface)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: - return getEvelovesIn(); - case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: - if(resolve) - return getHasSurface(); - return basicGetHasSurface(); + switch (featureID) { + case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: + return getEvelovesIn(); + case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: + if (resolve) return getHasSurface(); + return basicGetHasSurface(); } return super.eGet(featureID, resolve, coreType); } @@ -159,20 +144,19 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: - getEvelovesIn().clear(); - getEvelovesIn().addAll((Collection)newValue); - return; - case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: - setHasSurface((Surface)newValue); - return; + switch (featureID) { + case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: + getEvelovesIn().clear(); + getEvelovesIn().addAll((Collection)newValue); + return; + case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: + setHasSurface((Surface)newValue); + return; } super.eSet(featureID, newValue); } @@ -180,18 +164,17 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: - getEvelovesIn().clear(); - return; - case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: - setHasSurface((Surface)null); - return; + switch (featureID) { + case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: + getEvelovesIn().clear(); + return; + case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: + setHasSurface((Surface)null); + return; } super.eUnset(featureID); } @@ -199,16 +182,15 @@ public class PhysicalObjectImpl extends SystemImpl implements PhysicalObject { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: - return evelovesIn != null && !evelovesIn.isEmpty(); - case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: - return hasSurface != null; + switch (featureID) { + case RobotMLPackage.PHYSICAL_OBJECT__EVELOVES_IN: + return evelovesIn != null && !evelovesIn.isEmpty(); + case RobotMLPackage.PHYSICAL_OBJECT__HAS_SURFACE: + return hasSurface != null; } return super.eIsSet(featureID); } diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PlanetImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PlanetImpl.java index 2f0212cc91c..54c463afa60 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PlanetImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PlanetImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.Planet; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; * *

*

- * + * * @generated */ public class PlanetImpl extends PhysicalObjectImpl implements Planet { - /** * * - * * @generated */ protected PlanetImpl() { @@ -39,7 +29,6 @@ public class PlanetImpl extends PhysicalObjectImpl implements Planet { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PlatformImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PlatformImpl.java index 3f94bc1fe9c..882bc9a5170 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PlatformImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PlatformImpl.java @@ -1,22 +1,24 @@ -/***************************************************************************** - * 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.RobotML.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.InternalEObject; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.papyrus.RobotML.ExternalLibrary; import org.eclipse.papyrus.RobotML.Platform; import org.eclipse.papyrus.RobotML.RobotMLPackage; + import org.eclipse.uml2.uml.Node; /** @@ -26,29 +28,37 @@ import org.eclipse.uml2.uml.Node; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.PlatformImpl#getBase_Node Base Node}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.PlatformImpl#getBase_Node Base Node}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.PlatformImpl#getLibrary Library}
  • *
*

- * + * * @generated */ public class PlatformImpl extends SystemImpl implements Platform { - /** * The cached value of the '{@link #getBase_Node() Base Node}' reference. * * - * * @see #getBase_Node() * @generated * @ordered */ protected Node base_Node; + /** + * The cached value of the '{@link #getLibrary() Library}' reference list. + * + * + * @see #getLibrary() + * @generated + * @ordered + */ + protected EList library; + /** * * - * * @generated */ protected PlatformImpl() { @@ -58,7 +68,6 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * * - * * @generated */ @Override @@ -69,15 +78,14 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * * - * * @generated */ public Node getBase_Node() { - if(base_Node != null && base_Node.eIsProxy()) { + if (base_Node != null && base_Node.eIsProxy()) { InternalEObject oldBase_Node = (InternalEObject)base_Node; base_Node = (Node)eResolveProxy(oldBase_Node); - if(base_Node != oldBase_Node) { - if(eNotificationRequired()) + if (base_Node != oldBase_Node) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.PLATFORM__BASE_NODE, oldBase_Node, base_Node)); } } @@ -87,7 +95,6 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * * - * * @generated */ public Node basicGetBase_Node() { @@ -97,29 +104,40 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * * - * * @generated */ public void setBase_Node(Node newBase_Node) { Node oldBase_Node = base_Node; base_Node = newBase_Node; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.PLATFORM__BASE_NODE, oldBase_Node, base_Node)); } /** * * - * + * @generated + */ + public EList getLibrary() { + if (library == null) { + library = new EObjectResolvingEList(ExternalLibrary.class, this, RobotMLPackage.PLATFORM__LIBRARY); + } + return library; + } + + /** + * + * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.PLATFORM__BASE_NODE: - if(resolve) - return getBase_Node(); - return basicGetBase_Node(); + switch (featureID) { + case RobotMLPackage.PLATFORM__BASE_NODE: + if (resolve) return getBase_Node(); + return basicGetBase_Node(); + case RobotMLPackage.PLATFORM__LIBRARY: + return getLibrary(); } return super.eGet(featureID, resolve, coreType); } @@ -127,15 +145,19 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * * - * * @generated */ + @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.PLATFORM__BASE_NODE: - setBase_Node((Node)newValue); - return; + switch (featureID) { + case RobotMLPackage.PLATFORM__BASE_NODE: + setBase_Node((Node)newValue); + return; + case RobotMLPackage.PLATFORM__LIBRARY: + getLibrary().clear(); + getLibrary().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -143,15 +165,17 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.PLATFORM__BASE_NODE: - setBase_Node((Node)null); - return; + switch (featureID) { + case RobotMLPackage.PLATFORM__BASE_NODE: + setBase_Node((Node)null); + return; + case RobotMLPackage.PLATFORM__LIBRARY: + getLibrary().clear(); + return; } super.eUnset(featureID); } @@ -159,14 +183,15 @@ public class PlatformImpl extends SystemImpl implements Platform { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.PLATFORM__BASE_NODE: - return base_Node != null; + switch (featureID) { + case RobotMLPackage.PLATFORM__BASE_NODE: + return base_Node != null; + case RobotMLPackage.PLATFORM__LIBRARY: + return library != null && !library.isEmpty(); } return super.eIsSet(featureID); } diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PortImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PortImpl.java index eb9ee775a14..0ad75e29f39 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PortImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PortImpl.java @@ -1,21 +1,15 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + 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.EObjectImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + import org.eclipse.papyrus.RobotML.Port; import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.SynchronizationKind; @@ -27,20 +21,18 @@ import org.eclipse.papyrus.RobotML.SynchronizationKind; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.PortImpl#getBase_Port Base Port}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.PortImpl#getSynchronizationPolicy Synchronization Policy}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.PortImpl#getBase_Port Base Port}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.PortImpl#getSynchronizationPolicy Synchronization Policy}
  • *
*

- * + * * @generated */ -public abstract class PortImpl extends EObjectImpl implements Port { - +public abstract class PortImpl extends MinimalEObjectImpl.Container implements Port { /** * The cached value of the '{@link #getBase_Port() Base Port}' reference. * * - * * @see #getBase_Port() * @generated * @ordered @@ -51,7 +43,6 @@ public abstract class PortImpl extends EObjectImpl implements Port { * The default value of the '{@link #getSynchronizationPolicy() Synchronization Policy}' attribute. * * - * * @see #getSynchronizationPolicy() * @generated * @ordered @@ -62,7 +53,6 @@ public abstract class PortImpl extends EObjectImpl implements Port { * The cached value of the '{@link #getSynchronizationPolicy() Synchronization Policy}' attribute. * * - * * @see #getSynchronizationPolicy() * @generated * @ordered @@ -72,7 +62,6 @@ public abstract class PortImpl extends EObjectImpl implements Port { /** * * - * * @generated */ protected PortImpl() { @@ -82,7 +71,6 @@ public abstract class PortImpl extends EObjectImpl implements Port { /** * * - * * @generated */ @Override @@ -93,15 +81,14 @@ public abstract class PortImpl extends EObjectImpl implements Port { /** * * - * * @generated */ public org.eclipse.uml2.uml.Port getBase_Port() { - if(base_Port != null && base_Port.eIsProxy()) { + if (base_Port != null && base_Port.eIsProxy()) { InternalEObject oldBase_Port = (InternalEObject)base_Port; base_Port = (org.eclipse.uml2.uml.Port)eResolveProxy(oldBase_Port); - if(base_Port != oldBase_Port) { - if(eNotificationRequired()) + if (base_Port != oldBase_Port) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.PORT__BASE_PORT, oldBase_Port, base_Port)); } } @@ -111,7 +98,6 @@ public abstract class PortImpl extends EObjectImpl implements Port { /** * * - * * @generated */ public org.eclipse.uml2.uml.Port basicGetBase_Port() { @@ -121,20 +107,18 @@ public abstract class PortImpl extends EObjectImpl implements Port { /** * * - * * @generated */ public void setBase_Port(org.eclipse.uml2.uml.Port newBase_Port) { org.eclipse.uml2.uml.Port oldBase_Port = base_Port; base_Port = newBase_Port; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.PORT__BASE_PORT, oldBase_Port, base_Port)); } /** * * - * * @generated */ public SynchronizationKind getSynchronizationPolicy() { @@ -144,31 +128,28 @@ public abstract class PortImpl extends EObjectImpl implements Port { /** * * - * * @generated */ public void setSynchronizationPolicy(SynchronizationKind newSynchronizationPolicy) { SynchronizationKind oldSynchronizationPolicy = synchronizationPolicy; synchronizationPolicy = newSynchronizationPolicy == null ? SYNCHRONIZATION_POLICY_EDEFAULT : newSynchronizationPolicy; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.PORT__SYNCHRONIZATION_POLICY, oldSynchronizationPolicy, synchronizationPolicy)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.PORT__BASE_PORT: - if(resolve) - return getBase_Port(); - return basicGetBase_Port(); - case RobotMLPackage.PORT__SYNCHRONIZATION_POLICY: - return getSynchronizationPolicy(); + switch (featureID) { + case RobotMLPackage.PORT__BASE_PORT: + if (resolve) return getBase_Port(); + return basicGetBase_Port(); + case RobotMLPackage.PORT__SYNCHRONIZATION_POLICY: + return getSynchronizationPolicy(); } return super.eGet(featureID, resolve, coreType); } @@ -176,18 +157,17 @@ public abstract class PortImpl extends EObjectImpl implements Port { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.PORT__BASE_PORT: - setBase_Port((org.eclipse.uml2.uml.Port)newValue); - return; - case RobotMLPackage.PORT__SYNCHRONIZATION_POLICY: - setSynchronizationPolicy((SynchronizationKind)newValue); - return; + switch (featureID) { + case RobotMLPackage.PORT__BASE_PORT: + setBase_Port((org.eclipse.uml2.uml.Port)newValue); + return; + case RobotMLPackage.PORT__SYNCHRONIZATION_POLICY: + setSynchronizationPolicy((SynchronizationKind)newValue); + return; } super.eSet(featureID, newValue); } @@ -195,18 +175,17 @@ public abstract class PortImpl extends EObjectImpl implements Port { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.PORT__BASE_PORT: - setBase_Port((org.eclipse.uml2.uml.Port)null); - return; - case RobotMLPackage.PORT__SYNCHRONIZATION_POLICY: - setSynchronizationPolicy(SYNCHRONIZATION_POLICY_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.PORT__BASE_PORT: + setBase_Port((org.eclipse.uml2.uml.Port)null); + return; + case RobotMLPackage.PORT__SYNCHRONIZATION_POLICY: + setSynchronizationPolicy(SYNCHRONIZATION_POLICY_EDEFAULT); + return; } super.eUnset(featureID); } @@ -214,16 +193,15 @@ public abstract class PortImpl extends EObjectImpl implements Port { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.PORT__BASE_PORT: - return base_Port != null; - case RobotMLPackage.PORT__SYNCHRONIZATION_POLICY: - return synchronizationPolicy != SYNCHRONIZATION_POLICY_EDEFAULT; + switch (featureID) { + case RobotMLPackage.PORT__BASE_PORT: + return base_Port != null; + case RobotMLPackage.PORT__SYNCHRONIZATION_POLICY: + return synchronizationPolicy != SYNCHRONIZATION_POLICY_EDEFAULT; } return super.eIsSet(featureID); } @@ -231,13 +209,11 @@ public abstract class PortImpl extends EObjectImpl implements Port { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (synchronizationPolicy: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PrimitiveDataImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PrimitiveDataImpl.java index c44e3f4b98c..b0ddfe10861 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PrimitiveDataImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/PrimitiveDataImpl.java @@ -1,22 +1,17 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.PrimitiveData; import org.eclipse.papyrus.RobotML.RobotMLPackage; + import org.eclipse.uml2.uml.PrimitiveType; /** @@ -26,19 +21,17 @@ import org.eclipse.uml2.uml.PrimitiveType; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.PrimitiveDataImpl#getBase_PrimitiveType Base Primitive Type}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.PrimitiveDataImpl#getBase_PrimitiveType Base Primitive Type}
  • *
*

- * + * * @generated */ public class PrimitiveDataImpl extends DataTypeImpl implements PrimitiveData { - /** * The cached value of the '{@link #getBase_PrimitiveType() Base Primitive Type}' reference. * * - * * @see #getBase_PrimitiveType() * @generated * @ordered @@ -48,7 +41,6 @@ public class PrimitiveDataImpl extends DataTypeImpl implements PrimitiveData { /** * * - * * @generated */ protected PrimitiveDataImpl() { @@ -58,7 +50,6 @@ public class PrimitiveDataImpl extends DataTypeImpl implements PrimitiveData { /** * * - * * @generated */ @Override @@ -69,15 +60,14 @@ public class PrimitiveDataImpl extends DataTypeImpl implements PrimitiveData { /** * * - * * @generated */ public PrimitiveType getBase_PrimitiveType() { - if(base_PrimitiveType != null && base_PrimitiveType.eIsProxy()) { + if (base_PrimitiveType != null && base_PrimitiveType.eIsProxy()) { InternalEObject oldBase_PrimitiveType = (InternalEObject)base_PrimitiveType; base_PrimitiveType = (PrimitiveType)eResolveProxy(oldBase_PrimitiveType); - if(base_PrimitiveType != oldBase_PrimitiveType) { - if(eNotificationRequired()) + if (base_PrimitiveType != oldBase_PrimitiveType) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.PRIMITIVE_DATA__BASE_PRIMITIVE_TYPE, oldBase_PrimitiveType, base_PrimitiveType)); } } @@ -87,7 +77,6 @@ public class PrimitiveDataImpl extends DataTypeImpl implements PrimitiveData { /** * * - * * @generated */ public PrimitiveType basicGetBase_PrimitiveType() { @@ -97,29 +86,26 @@ public class PrimitiveDataImpl extends DataTypeImpl implements PrimitiveData { /** * * - * * @generated */ public void setBase_PrimitiveType(PrimitiveType newBase_PrimitiveType) { PrimitiveType oldBase_PrimitiveType = base_PrimitiveType; base_PrimitiveType = newBase_PrimitiveType; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.PRIMITIVE_DATA__BASE_PRIMITIVE_TYPE, oldBase_PrimitiveType, base_PrimitiveType)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.PRIMITIVE_DATA__BASE_PRIMITIVE_TYPE: - if(resolve) - return getBase_PrimitiveType(); - return basicGetBase_PrimitiveType(); + switch (featureID) { + case RobotMLPackage.PRIMITIVE_DATA__BASE_PRIMITIVE_TYPE: + if (resolve) return getBase_PrimitiveType(); + return basicGetBase_PrimitiveType(); } return super.eGet(featureID, resolve, coreType); } @@ -127,15 +113,14 @@ public class PrimitiveDataImpl extends DataTypeImpl implements PrimitiveData { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.PRIMITIVE_DATA__BASE_PRIMITIVE_TYPE: - setBase_PrimitiveType((PrimitiveType)newValue); - return; + switch (featureID) { + case RobotMLPackage.PRIMITIVE_DATA__BASE_PRIMITIVE_TYPE: + setBase_PrimitiveType((PrimitiveType)newValue); + return; } super.eSet(featureID, newValue); } @@ -143,15 +128,14 @@ public class PrimitiveDataImpl extends DataTypeImpl implements PrimitiveData { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.PRIMITIVE_DATA__BASE_PRIMITIVE_TYPE: - setBase_PrimitiveType((PrimitiveType)null); - return; + switch (featureID) { + case RobotMLPackage.PRIMITIVE_DATA__BASE_PRIMITIVE_TYPE: + setBase_PrimitiveType((PrimitiveType)null); + return; } super.eUnset(featureID); } @@ -159,14 +143,13 @@ public class PrimitiveDataImpl extends DataTypeImpl implements PrimitiveData { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.PRIMITIVE_DATA__BASE_PRIMITIVE_TYPE: - return base_PrimitiveType != null; + switch (featureID) { + case RobotMLPackage.PRIMITIVE_DATA__BASE_PRIMITIVE_TYPE: + return base_PrimitiveType != null; } return super.eIsSet(featureID); } diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RobotImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RobotImpl.java index 1382fb0cd07..4daadb67722 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RobotImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RobotImpl.java @@ -1,19 +1,13 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.Robot; import org.eclipse.papyrus.RobotML.RobotKind; import org.eclipse.papyrus.RobotML.RobotMLPackage; @@ -26,33 +20,30 @@ import org.eclipse.papyrus.RobotML.UGVKind; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.RobotImpl#getKind Kind}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.RobotImpl#getMass Mass}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.RobotImpl#getWidth Width}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.RobotImpl#getUgvKind Ugv Kind}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.RobotImpl#getKind Kind}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.RobotImpl#getMass Mass}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.RobotImpl#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.RobotImpl#getUgvKind Ugv Kind}
  • *
*

- * + * * @generated */ public class RobotImpl extends AgentImpl implements Robot { - /** * The default value of the '{@link #getKind() Kind}' attribute. * * - * * @see #getKind() * @generated * @ordered */ - protected static final RobotKind KIND_EDEFAULT = RobotKind.UUV; + protected static final RobotKind KIND_EDEFAULT = RobotKind.UG_VCAR; /** * The cached value of the '{@link #getKind() Kind}' attribute. * * - * * @see #getKind() * @generated * @ordered @@ -63,7 +54,6 @@ public class RobotImpl extends AgentImpl implements Robot { * The default value of the '{@link #getMass() Mass}' attribute. * * - * * @see #getMass() * @generated * @ordered @@ -74,7 +64,6 @@ public class RobotImpl extends AgentImpl implements Robot { * The cached value of the '{@link #getMass() Mass}' attribute. * * - * * @see #getMass() * @generated * @ordered @@ -85,7 +74,6 @@ public class RobotImpl extends AgentImpl implements Robot { * The default value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -96,7 +84,6 @@ public class RobotImpl extends AgentImpl implements Robot { * The cached value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -107,7 +94,6 @@ public class RobotImpl extends AgentImpl implements Robot { * The default value of the '{@link #getUgvKind() Ugv Kind}' attribute. * * - * * @see #getUgvKind() * @generated * @ordered @@ -118,7 +104,6 @@ public class RobotImpl extends AgentImpl implements Robot { * The cached value of the '{@link #getUgvKind() Ugv Kind}' attribute. * * - * * @see #getUgvKind() * @generated * @ordered @@ -128,7 +113,6 @@ public class RobotImpl extends AgentImpl implements Robot { /** * * - * * @generated */ protected RobotImpl() { @@ -138,7 +122,6 @@ public class RobotImpl extends AgentImpl implements Robot { /** * * - * * @generated */ @Override @@ -149,7 +132,6 @@ public class RobotImpl extends AgentImpl implements Robot { /** * * - * * @generated */ public RobotKind getKind() { @@ -159,20 +141,18 @@ public class RobotImpl extends AgentImpl implements Robot { /** * * - * * @generated */ public void setKind(RobotKind newKind) { RobotKind oldKind = kind; kind = newKind == null ? KIND_EDEFAULT : newKind; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ROBOT__KIND, oldKind, kind)); } /** * * - * * @generated */ public float getMass() { @@ -182,20 +162,18 @@ public class RobotImpl extends AgentImpl implements Robot { /** * * - * * @generated */ public void setMass(float newMass) { float oldMass = mass; mass = newMass; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ROBOT__MASS, oldMass, mass)); } /** * * - * * @generated */ public float getWidth() { @@ -205,20 +183,18 @@ public class RobotImpl extends AgentImpl implements Robot { /** * * - * * @generated */ public void setWidth(float newWidth) { float oldWidth = width; width = newWidth; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ROBOT__WIDTH, oldWidth, width)); } /** * * - * * @generated */ public UGVKind getUgvKind() { @@ -228,33 +204,31 @@ public class RobotImpl extends AgentImpl implements Robot { /** * * - * * @generated */ public void setUgvKind(UGVKind newUgvKind) { UGVKind oldUgvKind = ugvKind; ugvKind = newUgvKind == null ? UGV_KIND_EDEFAULT : newUgvKind; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ROBOT__UGV_KIND, oldUgvKind, ugvKind)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.ROBOT__KIND: - return getKind(); - case RobotMLPackage.ROBOT__MASS: - return getMass(); - case RobotMLPackage.ROBOT__WIDTH: - return getWidth(); - case RobotMLPackage.ROBOT__UGV_KIND: - return getUgvKind(); + switch (featureID) { + case RobotMLPackage.ROBOT__KIND: + return getKind(); + case RobotMLPackage.ROBOT__MASS: + return getMass(); + case RobotMLPackage.ROBOT__WIDTH: + return getWidth(); + case RobotMLPackage.ROBOT__UGV_KIND: + return getUgvKind(); } return super.eGet(featureID, resolve, coreType); } @@ -262,24 +236,23 @@ public class RobotImpl extends AgentImpl implements Robot { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.ROBOT__KIND: - setKind((RobotKind)newValue); - return; - case RobotMLPackage.ROBOT__MASS: - setMass((Float)newValue); - return; - case RobotMLPackage.ROBOT__WIDTH: - setWidth((Float)newValue); - return; - case RobotMLPackage.ROBOT__UGV_KIND: - setUgvKind((UGVKind)newValue); - return; + switch (featureID) { + case RobotMLPackage.ROBOT__KIND: + setKind((RobotKind)newValue); + return; + case RobotMLPackage.ROBOT__MASS: + setMass((Float)newValue); + return; + case RobotMLPackage.ROBOT__WIDTH: + setWidth((Float)newValue); + return; + case RobotMLPackage.ROBOT__UGV_KIND: + setUgvKind((UGVKind)newValue); + return; } super.eSet(featureID, newValue); } @@ -287,24 +260,23 @@ public class RobotImpl extends AgentImpl implements Robot { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.ROBOT__KIND: - setKind(KIND_EDEFAULT); - return; - case RobotMLPackage.ROBOT__MASS: - setMass(MASS_EDEFAULT); - return; - case RobotMLPackage.ROBOT__WIDTH: - setWidth(WIDTH_EDEFAULT); - return; - case RobotMLPackage.ROBOT__UGV_KIND: - setUgvKind(UGV_KIND_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.ROBOT__KIND: + setKind(KIND_EDEFAULT); + return; + case RobotMLPackage.ROBOT__MASS: + setMass(MASS_EDEFAULT); + return; + case RobotMLPackage.ROBOT__WIDTH: + setWidth(WIDTH_EDEFAULT); + return; + case RobotMLPackage.ROBOT__UGV_KIND: + setUgvKind(UGV_KIND_EDEFAULT); + return; } super.eUnset(featureID); } @@ -312,20 +284,19 @@ public class RobotImpl extends AgentImpl implements Robot { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.ROBOT__KIND: - return kind != KIND_EDEFAULT; - case RobotMLPackage.ROBOT__MASS: - return mass != MASS_EDEFAULT; - case RobotMLPackage.ROBOT__WIDTH: - return width != WIDTH_EDEFAULT; - case RobotMLPackage.ROBOT__UGV_KIND: - return ugvKind != UGV_KIND_EDEFAULT; + switch (featureID) { + case RobotMLPackage.ROBOT__KIND: + return kind != KIND_EDEFAULT; + case RobotMLPackage.ROBOT__MASS: + return mass != MASS_EDEFAULT; + case RobotMLPackage.ROBOT__WIDTH: + return width != WIDTH_EDEFAULT; + case RobotMLPackage.ROBOT__UGV_KIND: + return ugvKind != UGV_KIND_EDEFAULT; } return super.eIsSet(featureID); } @@ -333,13 +304,11 @@ public class RobotImpl extends AgentImpl implements Robot { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (kind: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RobotMLFactoryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RobotMLFactoryImpl.java index 1da4961da1a..3f4ebd6efdc 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RobotMLFactoryImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RobotMLFactoryImpl.java @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.RobotML.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.RobotML.ActuatorSystem; import org.eclipse.papyrus.RobotML.Agent; import org.eclipse.papyrus.RobotML.Algorithm; @@ -32,6 +26,7 @@ import org.eclipse.papyrus.RobotML.DataType; import org.eclipse.papyrus.RobotML.DeploymentPlan; import org.eclipse.papyrus.RobotML.EngineSystem; import org.eclipse.papyrus.RobotML.Environment; +import org.eclipse.papyrus.RobotML.ExternalLibrary; import org.eclipse.papyrus.RobotML.Floor; import org.eclipse.papyrus.RobotML.GPSSystem; import org.eclipse.papyrus.RobotML.Gyroscope; @@ -48,6 +43,7 @@ import org.eclipse.papyrus.RobotML.ObjectDetectionSensorSystem; import org.eclipse.papyrus.RobotML.ObjectTrackingSensorSystem; import org.eclipse.papyrus.RobotML.OdometrySystem; import org.eclipse.papyrus.RobotML.OnPort; +import org.eclipse.papyrus.RobotML.OnProperty; import org.eclipse.papyrus.RobotML.Pedestrian; import org.eclipse.papyrus.RobotML.PhysicalObject; import org.eclipse.papyrus.RobotML.Planet; @@ -81,25 +77,23 @@ import org.eclipse.papyrus.RobotML.WheelSystem; * * An implementation of the model Factory. * - * * @generated */ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { - /** * Creates the default factory implementation. * * - * * @generated */ public static RobotMLFactory init() { try { - RobotMLFactory theRobotMLFactory = (RobotMLFactory)EPackage.Registry.INSTANCE.getEFactory("http://Papyrus/RobotML/1"); - if(theRobotMLFactory != null) { + RobotMLFactory theRobotMLFactory = (RobotMLFactory)EPackage.Registry.INSTANCE.getEFactory(RobotMLPackage.eNS_URI); + if (theRobotMLFactory != null) { return theRobotMLFactory; } - } catch (Exception exception) { + } + catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new RobotMLFactoryImpl(); @@ -109,7 +103,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { * Creates an instance of the factory. * * - * * @generated */ public RobotMLFactoryImpl() { @@ -119,179 +112,126 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ @Override public EObject create(EClass eClass) { - switch(eClass.getClassifierID()) { - case RobotMLPackage.TRANSITION: - return createTransition(); - case RobotMLPackage.ALGORITHM: - return createAlgorithm(); - case RobotMLPackage.ROBOT: - return createRobot(); - case RobotMLPackage.SYSTEM: - return createSystem(); - case RobotMLPackage.AGENT: - return createAgent(); - case RobotMLPackage.PHYSICAL_OBJECT: - return createPhysicalObject(); - case RobotMLPackage.ENVIRONMENT: - return createEnvironment(); - case RobotMLPackage.SURFACE: - return createSurface(); - case RobotMLPackage.DATA_FLOW_PORT: - return createDataFlowPort(); - case RobotMLPackage.SERVICE_PORT: - return createServicePort(); - case RobotMLPackage.ACTUATOR_SYSTEM: - return createActuatorSystem(); - case RobotMLPackage.ROBOTIC_SYSTEM: - return createRoboticSystem(); - case RobotMLPackage.SENSOR_SYSTEM: - return createSensorSystem(); - case RobotMLPackage.HARDWARE: - return createHardware(); - case RobotMLPackage.SOFTWARE: - return createSoftware(); - case RobotMLPackage.PRIMITIVE_DATA: - return createPrimitiveData(); - case RobotMLPackage.DATA_TYPE: - return createDataType(); - case RobotMLPackage.ENGINE_SYSTEM: - return createEngineSystem(); - case RobotMLPackage.WHEEL_SYSTEM: - return createWheelSystem(); - case RobotMLPackage.IMAGE_SENSOR_SYSTEM: - return createImageSensorSystem(); - case RobotMLPackage.CAMERA_SYSTEM: - return createCameraSystem(); - case RobotMLPackage.OBJECT_DETECTION_SENSOR_SYSTEM: - return createObjectDetectionSensorSystem(); - case RobotMLPackage.OBJECT_TRACKING_SENSOR_SYSTEM: - return createObjectTrackingSensorSystem(); - case RobotMLPackage.LIDAR_SYSTEM: - return createLidarSystem(); - case RobotMLPackage.LOCALIZATION_SENSOR_SYSTEM: - return createLocalizationSensorSystem(); - case RobotMLPackage.GPS_SYSTEM: - return createGPSSystem(); - case RobotMLPackage.SIMULATED_SYSTEM: - return createSimulatedSystem(); - case RobotMLPackage.ALGORITHM_LIBRARY: - return createAlgorithmLibrary(); - case RobotMLPackage.STATE: - return createState(); - case RobotMLPackage.SENSOR_DRIVER: - return createSensorDriver(); - case RobotMLPackage.BUILDING: - return createBuilding(); - case RobotMLPackage.PLANET: - return createPlanet(); - case RobotMLPackage.LAND_SURFACE: - return createLandSurface(); - case RobotMLPackage.FLOOR: - return createFloor(); - case RobotMLPackage.WATER_SURFACE: - return createWaterSurface(); - case RobotMLPackage.HUMAN: - return createHuman(); - case RobotMLPackage.PEDESTRIAN: - return createPedestrian(); - case RobotMLPackage.STAIRS: - return createStairs(); - case RobotMLPackage.PLATFORM: - return createPlatform(); - case RobotMLPackage.ROBOTIC_MIDDLEWARE: - return createRoboticMiddleware(); - case RobotMLPackage.ROBOTIC_SIMULATOR: - return createRoboticSimulator(); - case RobotMLPackage.CYCAB_TK: - return createCycabTK(); - case RobotMLPackage.BLENDER_MORSE: - return createBlenderMorse(); - case RobotMLPackage.ON_PORT: - return createOnPort(); - case RobotMLPackage.ALLOCATE: - return createAllocate(); - case RobotMLPackage.INERTIAL_MEASUREMENT_UNIT_SYSTEM: - return createInertialMeasurementUnitSystem(); - case RobotMLPackage.INERTIAL_NAVIGATION_SYSTEM: - return createInertialNavigationSystem(); - case RobotMLPackage.ODOMETRY_SYSTEM: - return createOdometrySystem(); - case RobotMLPackage.INFRA_RED_PROXIMETRY_SYSTEM: - return createInfraRedProximetrySystem(); - case RobotMLPackage.DEPLOYMENT_PLAN: - return createDeploymentPlan(); - case RobotMLPackage.GYROSCOPE: - return createGyroscope(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + switch (eClass.getClassifierID()) { + case RobotMLPackage.TRANSITION: return createTransition(); + case RobotMLPackage.ALGORITHM: return createAlgorithm(); + case RobotMLPackage.STATE: return createState(); + case RobotMLPackage.ROBOT: return createRobot(); + case RobotMLPackage.SYSTEM: return createSystem(); + case RobotMLPackage.AGENT: return createAgent(); + case RobotMLPackage.PHYSICAL_OBJECT: return createPhysicalObject(); + case RobotMLPackage.ENVIRONMENT: return createEnvironment(); + case RobotMLPackage.SURFACE: return createSurface(); + case RobotMLPackage.DATA_FLOW_PORT: return createDataFlowPort(); + case RobotMLPackage.SERVICE_PORT: return createServicePort(); + case RobotMLPackage.ACTUATOR_SYSTEM: return createActuatorSystem(); + case RobotMLPackage.ROBOTIC_SYSTEM: return createRoboticSystem(); + case RobotMLPackage.SENSOR_SYSTEM: return createSensorSystem(); + case RobotMLPackage.HARDWARE: return createHardware(); + case RobotMLPackage.SOFTWARE: return createSoftware(); + case RobotMLPackage.PRIMITIVE_DATA: return createPrimitiveData(); + case RobotMLPackage.DATA_TYPE: return createDataType(); + case RobotMLPackage.ENGINE_SYSTEM: return createEngineSystem(); + case RobotMLPackage.WHEEL_SYSTEM: return createWheelSystem(); + case RobotMLPackage.IMAGE_SENSOR_SYSTEM: return createImageSensorSystem(); + case RobotMLPackage.CAMERA_SYSTEM: return createCameraSystem(); + case RobotMLPackage.OBJECT_DETECTION_SENSOR_SYSTEM: return createObjectDetectionSensorSystem(); + case RobotMLPackage.OBJECT_TRACKING_SENSOR_SYSTEM: return createObjectTrackingSensorSystem(); + case RobotMLPackage.LIDAR_SYSTEM: return createLidarSystem(); + case RobotMLPackage.LOCALIZATION_SENSOR_SYSTEM: return createLocalizationSensorSystem(); + case RobotMLPackage.GPS_SYSTEM: return createGPSSystem(); + case RobotMLPackage.SIMULATED_SYSTEM: return createSimulatedSystem(); + case RobotMLPackage.ALGORITHM_LIBRARY: return createAlgorithmLibrary(); + case RobotMLPackage.SENSOR_DRIVER: return createSensorDriver(); + case RobotMLPackage.BUILDING: return createBuilding(); + case RobotMLPackage.PLANET: return createPlanet(); + case RobotMLPackage.LAND_SURFACE: return createLandSurface(); + case RobotMLPackage.FLOOR: return createFloor(); + case RobotMLPackage.WATER_SURFACE: return createWaterSurface(); + case RobotMLPackage.HUMAN: return createHuman(); + case RobotMLPackage.PEDESTRIAN: return createPedestrian(); + case RobotMLPackage.STAIRS: return createStairs(); + case RobotMLPackage.PLATFORM: return createPlatform(); + case RobotMLPackage.EXTERNAL_LIBRARY: return createExternalLibrary(); + case RobotMLPackage.ROBOTIC_MIDDLEWARE: return createRoboticMiddleware(); + case RobotMLPackage.ROBOTIC_SIMULATOR: return createRoboticSimulator(); + case RobotMLPackage.CYCAB_TK: return createCycabTK(); + case RobotMLPackage.BLENDER_MORSE: return createBlenderMorse(); + case RobotMLPackage.ON_PORT: return createOnPort(); + case RobotMLPackage.ALLOCATE: return createAllocate(); + case RobotMLPackage.INERTIAL_MEASUREMENT_UNIT_SYSTEM: return createInertialMeasurementUnitSystem(); + case RobotMLPackage.INERTIAL_NAVIGATION_SYSTEM: return createInertialNavigationSystem(); + case RobotMLPackage.ODOMETRY_SYSTEM: return createOdometrySystem(); + case RobotMLPackage.INFRA_RED_PROXIMETRY_SYSTEM: return createInfraRedProximetrySystem(); + case RobotMLPackage.DEPLOYMENT_PLAN: return createDeploymentPlan(); + case RobotMLPackage.GYROSCOPE: return createGyroscope(); + case RobotMLPackage.ON_PROPERTY: return createOnProperty(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); } } /** * * - * * @generated */ @Override public Object createFromString(EDataType eDataType, String initialValue) { - switch(eDataType.getClassifierID()) { - case RobotMLPackage.ROBOT_KIND: - return createRobotKindFromString(eDataType, initialValue); - case RobotMLPackage.UGV_KIND: - return createUGVKindFromString(eDataType, initialValue); - case RobotMLPackage.SYNCHRONIZATION_KIND: - return createSynchronizationKindFromString(eDataType, initialValue); - case RobotMLPackage.DATA_FLOW_DIRECTION_KIND: - return createDataFlowDirectionKindFromString(eDataType, initialValue); - case RobotMLPackage.SERVICE_FLOW_KIND: - return createServiceFlowKindFromString(eDataType, initialValue); - case RobotMLPackage.ROBOTIC_MIDDLEWARE_KIND: - return createRoboticMiddlewareKindFromString(eDataType, initialValue); - case RobotMLPackage.SHADE: - return createShadeFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + switch (eDataType.getClassifierID()) { + case RobotMLPackage.ROBOT_KIND: + return createRobotKindFromString(eDataType, initialValue); + case RobotMLPackage.UGV_KIND: + return createUGVKindFromString(eDataType, initialValue); + case RobotMLPackage.SYNCHRONIZATION_KIND: + return createSynchronizationKindFromString(eDataType, initialValue); + case RobotMLPackage.DATA_FLOW_DIRECTION_KIND: + return createDataFlowDirectionKindFromString(eDataType, initialValue); + case RobotMLPackage.SERVICE_FLOW_KIND: + return createServiceFlowKindFromString(eDataType, initialValue); + case RobotMLPackage.ROBOTIC_MIDDLEWARE_KIND: + return createRoboticMiddlewareKindFromString(eDataType, initialValue); + case RobotMLPackage.SHADE: + return createShadeFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); } } /** * * - * * @generated */ @Override public String convertToString(EDataType eDataType, Object instanceValue) { - switch(eDataType.getClassifierID()) { - case RobotMLPackage.ROBOT_KIND: - return convertRobotKindToString(eDataType, instanceValue); - case RobotMLPackage.UGV_KIND: - return convertUGVKindToString(eDataType, instanceValue); - case RobotMLPackage.SYNCHRONIZATION_KIND: - return convertSynchronizationKindToString(eDataType, instanceValue); - case RobotMLPackage.DATA_FLOW_DIRECTION_KIND: - return convertDataFlowDirectionKindToString(eDataType, instanceValue); - case RobotMLPackage.SERVICE_FLOW_KIND: - return convertServiceFlowKindToString(eDataType, instanceValue); - case RobotMLPackage.ROBOTIC_MIDDLEWARE_KIND: - return convertRoboticMiddlewareKindToString(eDataType, instanceValue); - case RobotMLPackage.SHADE: - return convertShadeToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + switch (eDataType.getClassifierID()) { + case RobotMLPackage.ROBOT_KIND: + return convertRobotKindToString(eDataType, instanceValue); + case RobotMLPackage.UGV_KIND: + return convertUGVKindToString(eDataType, instanceValue); + case RobotMLPackage.SYNCHRONIZATION_KIND: + return convertSynchronizationKindToString(eDataType, instanceValue); + case RobotMLPackage.DATA_FLOW_DIRECTION_KIND: + return convertDataFlowDirectionKindToString(eDataType, instanceValue); + case RobotMLPackage.SERVICE_FLOW_KIND: + return convertServiceFlowKindToString(eDataType, instanceValue); + case RobotMLPackage.ROBOTIC_MIDDLEWARE_KIND: + return convertRoboticMiddlewareKindToString(eDataType, instanceValue); + case RobotMLPackage.SHADE: + return convertShadeToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); } } /** * * - * * @generated */ public Transition createTransition() { @@ -302,7 +242,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Algorithm createAlgorithm() { @@ -313,7 +252,16 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * + * @generated + */ + public State createState() { + StateImpl state = new StateImpl(); + return state; + } + + /** + * + * * @generated */ public Robot createRobot() { @@ -324,7 +272,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public org.eclipse.papyrus.RobotML.System createSystem() { @@ -335,7 +282,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Agent createAgent() { @@ -346,7 +292,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public PhysicalObject createPhysicalObject() { @@ -357,7 +302,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Environment createEnvironment() { @@ -368,7 +312,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Surface createSurface() { @@ -379,7 +322,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public DataFlowPort createDataFlowPort() { @@ -390,7 +332,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public ServicePort createServicePort() { @@ -401,7 +342,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public ActuatorSystem createActuatorSystem() { @@ -412,7 +352,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public RoboticSystem createRoboticSystem() { @@ -423,7 +362,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public SensorSystem createSensorSystem() { @@ -434,7 +372,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Hardware createHardware() { @@ -445,7 +382,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Software createSoftware() { @@ -456,7 +392,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public PrimitiveData createPrimitiveData() { @@ -467,7 +402,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public DataType createDataType() { @@ -478,7 +412,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public EngineSystem createEngineSystem() { @@ -489,7 +422,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public WheelSystem createWheelSystem() { @@ -500,7 +432,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public ImageSensorSystem createImageSensorSystem() { @@ -511,7 +442,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public CameraSystem createCameraSystem() { @@ -522,7 +452,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public ObjectDetectionSensorSystem createObjectDetectionSensorSystem() { @@ -533,7 +462,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public ObjectTrackingSensorSystem createObjectTrackingSensorSystem() { @@ -544,7 +472,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public LidarSystem createLidarSystem() { @@ -555,7 +482,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public LocalizationSensorSystem createLocalizationSensorSystem() { @@ -566,7 +492,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public GPSSystem createGPSSystem() { @@ -577,7 +502,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public SimulatedSystem createSimulatedSystem() { @@ -588,7 +512,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public AlgorithmLibrary createAlgorithmLibrary() { @@ -599,18 +522,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * - * @generated - */ - public State createState() { - StateImpl state = new StateImpl(); - return state; - } - - /** - * - * - * * @generated */ public SensorDriver createSensorDriver() { @@ -621,7 +532,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Building createBuilding() { @@ -632,7 +542,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Planet createPlanet() { @@ -643,7 +552,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public LandSurface createLandSurface() { @@ -654,7 +562,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Floor createFloor() { @@ -665,7 +572,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public WaterSurface createWaterSurface() { @@ -676,7 +582,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Human createHuman() { @@ -687,7 +592,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Pedestrian createPedestrian() { @@ -698,7 +602,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Stairs createStairs() { @@ -709,7 +612,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Platform createPlatform() { @@ -720,7 +622,16 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * + * @generated + */ + public ExternalLibrary createExternalLibrary() { + ExternalLibraryImpl externalLibrary = new ExternalLibraryImpl(); + return externalLibrary; + } + + /** + * + * * @generated */ public RoboticMiddleware createRoboticMiddleware() { @@ -731,7 +642,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public RoboticSimulator createRoboticSimulator() { @@ -742,7 +652,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public CycabTK createCycabTK() { @@ -753,7 +662,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public BlenderMorse createBlenderMorse() { @@ -764,7 +672,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public OnPort createOnPort() { @@ -775,7 +682,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Allocate createAllocate() { @@ -786,7 +692,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public InertialMeasurementUnitSystem createInertialMeasurementUnitSystem() { @@ -797,7 +702,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public InertialNavigationSystem createInertialNavigationSystem() { @@ -808,7 +712,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public OdometrySystem createOdometrySystem() { @@ -819,7 +722,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public InfraRedProximetrySystem createInfraRedProximetrySystem() { @@ -830,7 +732,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public DeploymentPlan createDeploymentPlan() { @@ -841,7 +742,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Gyroscope createGyroscope() { @@ -852,20 +752,27 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * + * @generated + */ + public OnProperty createOnProperty() { + OnPropertyImpl onProperty = new OnPropertyImpl(); + return onProperty; + } + + /** + * + * * @generated */ public RobotKind createRobotKindFromString(EDataType eDataType, String initialValue) { RobotKind result = RobotKind.get(initialValue); - if(result == null) - throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; } /** * * - * * @generated */ public String convertRobotKindToString(EDataType eDataType, Object instanceValue) { @@ -875,20 +782,17 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public UGVKind createUGVKindFromString(EDataType eDataType, String initialValue) { UGVKind result = UGVKind.get(initialValue); - if(result == null) - throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; } /** * * - * * @generated */ public String convertUGVKindToString(EDataType eDataType, Object instanceValue) { @@ -898,20 +802,17 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public SynchronizationKind createSynchronizationKindFromString(EDataType eDataType, String initialValue) { SynchronizationKind result = SynchronizationKind.get(initialValue); - if(result == null) - throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; } /** * * - * * @generated */ public String convertSynchronizationKindToString(EDataType eDataType, Object instanceValue) { @@ -921,20 +822,17 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public DataFlowDirectionKind createDataFlowDirectionKindFromString(EDataType eDataType, String initialValue) { DataFlowDirectionKind result = DataFlowDirectionKind.get(initialValue); - if(result == null) - throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; } /** * * - * * @generated */ public String convertDataFlowDirectionKindToString(EDataType eDataType, Object instanceValue) { @@ -944,20 +842,17 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public ServiceFlowKind createServiceFlowKindFromString(EDataType eDataType, String initialValue) { ServiceFlowKind result = ServiceFlowKind.get(initialValue); - if(result == null) - throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; } /** * * - * * @generated */ public String convertServiceFlowKindToString(EDataType eDataType, Object instanceValue) { @@ -967,20 +862,17 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public RoboticMiddlewareKind createRoboticMiddlewareKindFromString(EDataType eDataType, String initialValue) { RoboticMiddlewareKind result = RoboticMiddlewareKind.get(initialValue); - if(result == null) - throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; } /** * * - * * @generated */ public String convertRoboticMiddlewareKindToString(EDataType eDataType, Object instanceValue) { @@ -990,20 +882,17 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public Shade createShadeFromString(EDataType eDataType, String initialValue) { Shade result = Shade.get(initialValue); - if(result == null) - throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; } /** * * - * * @generated */ public String convertShadeToString(EDataType eDataType, Object instanceValue) { @@ -1013,7 +902,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @generated */ public RobotMLPackage getRobotMLPackage() { @@ -1023,7 +911,6 @@ public class RobotMLFactoryImpl extends EFactoryImpl implements RobotMLFactory { /** * * - * * @deprecated * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RobotMLPackageImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RobotMLPackageImpl.java index 434d0bd01d0..7738811b0c5 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RobotMLPackageImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RobotMLPackageImpl.java @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EAttribute; @@ -16,7 +7,9 @@ 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.ActuatorSystem; import org.eclipse.papyrus.RobotML.Agent; import org.eclipse.papyrus.RobotML.Algorithm; @@ -32,6 +25,7 @@ import org.eclipse.papyrus.RobotML.DataType; import org.eclipse.papyrus.RobotML.DeploymentPlan; import org.eclipse.papyrus.RobotML.EngineSystem; import org.eclipse.papyrus.RobotML.Environment; +import org.eclipse.papyrus.RobotML.ExternalLibrary; import org.eclipse.papyrus.RobotML.Floor; import org.eclipse.papyrus.RobotML.GPSSystem; import org.eclipse.papyrus.RobotML.Ground; @@ -49,6 +43,7 @@ import org.eclipse.papyrus.RobotML.ObjectDetectionSensorSystem; import org.eclipse.papyrus.RobotML.ObjectTrackingSensorSystem; import org.eclipse.papyrus.RobotML.OdometrySystem; import org.eclipse.papyrus.RobotML.OnPort; +import org.eclipse.papyrus.RobotML.OnProperty; import org.eclipse.papyrus.RobotML.Pedestrian; import org.eclipse.papyrus.RobotML.PhysicalObject; import org.eclipse.papyrus.RobotML.Planet; @@ -78,38 +73,53 @@ import org.eclipse.papyrus.RobotML.Transition; import org.eclipse.papyrus.RobotML.UGVKind; import org.eclipse.papyrus.RobotML.WaterSurface; import org.eclipse.papyrus.RobotML.WheelSystem; + 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.Std_datatypesPackage; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl; + import org.eclipse.uml2.types.TypesPackage; + import org.eclipse.uml2.uml.UMLPackage; /** * * An implementation of the model Package. * - * * @generated */ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { - /** * * - * * @generated */ private EClass transitionEClass = null; @@ -117,7 +127,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass algorithmEClass = null; @@ -125,7 +134,13 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * + * @generated + */ + private EClass stateEClass = null; + + /** + * + * * @generated */ private EClass robotEClass = null; @@ -133,7 +148,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass systemEClass = null; @@ -141,7 +155,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass agentEClass = null; @@ -149,7 +162,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass physicalObjectEClass = null; @@ -157,7 +169,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass environmentEClass = null; @@ -165,7 +176,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass surfaceEClass = null; @@ -173,7 +183,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass dataFlowPortEClass = null; @@ -181,7 +190,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass portEClass = null; @@ -189,7 +197,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass servicePortEClass = null; @@ -197,7 +204,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass actuatorSystemEClass = null; @@ -205,7 +211,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass roboticSystemEClass = null; @@ -213,7 +218,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass sensorSystemEClass = null; @@ -221,7 +225,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass hardwareEClass = null; @@ -229,7 +232,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass softwareEClass = null; @@ -237,7 +239,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass primitiveDataEClass = null; @@ -245,7 +246,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass dataTypeEClass = null; @@ -253,7 +253,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass engineSystemEClass = null; @@ -261,7 +260,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass wheelSystemEClass = null; @@ -269,7 +267,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass imageSensorSystemEClass = null; @@ -277,7 +274,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass cameraSystemEClass = null; @@ -285,7 +281,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass objectDetectionSensorSystemEClass = null; @@ -293,7 +288,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass objectTrackingSensorSystemEClass = null; @@ -301,7 +295,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass lidarSystemEClass = null; @@ -309,7 +302,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass localizationSensorSystemEClass = null; @@ -317,7 +309,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass gpsSystemEClass = null; @@ -325,7 +316,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass simulatedSystemEClass = null; @@ -333,7 +323,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass algorithmLibraryEClass = null; @@ -341,15 +330,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * - * @generated - */ - private EClass stateEClass = null; - - /** - * - * - * * @generated */ private EClass sensorDriverEClass = null; @@ -357,7 +337,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass buildingEClass = null; @@ -365,7 +344,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass planetEClass = null; @@ -373,7 +351,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass landSurfaceEClass = null; @@ -381,7 +358,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass groundEClass = null; @@ -389,7 +365,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass floorEClass = null; @@ -397,7 +372,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass waterSurfaceEClass = null; @@ -405,7 +379,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass humanEClass = null; @@ -413,7 +386,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass pedestrianEClass = null; @@ -421,7 +393,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass stairsEClass = null; @@ -429,7 +400,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass platformEClass = null; @@ -437,7 +407,13 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * + * @generated + */ + private EClass externalLibraryEClass = null; + + /** + * + * * @generated */ private EClass roboticMiddlewareEClass = null; @@ -445,7 +421,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass roboticSimulatorEClass = null; @@ -453,7 +428,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass cycabTKEClass = null; @@ -461,7 +435,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass blenderMorseEClass = null; @@ -469,7 +442,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass onPortEClass = null; @@ -477,7 +449,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass allocateEClass = null; @@ -485,7 +456,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass inertialMeasurementUnitSystemEClass = null; @@ -493,7 +463,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass inertialNavigationSystemEClass = null; @@ -501,7 +470,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass odometrySystemEClass = null; @@ -509,7 +477,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass infraRedProximetrySystemEClass = null; @@ -517,7 +484,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass deploymentPlanEClass = null; @@ -525,7 +491,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EClass gyroscopeEClass = null; @@ -533,7 +498,13 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * + * @generated + */ + private EClass onPropertyEClass = null; + + /** + * + * * @generated */ private EEnum robotKindEEnum = null; @@ -541,7 +512,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EEnum ugvKindEEnum = null; @@ -549,7 +519,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EEnum synchronizationKindEEnum = null; @@ -557,7 +526,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EEnum dataFlowDirectionKindEEnum = null; @@ -565,7 +533,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EEnum serviceFlowKindEEnum = null; @@ -573,7 +540,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EEnum roboticMiddlewareKindEEnum = null; @@ -581,19 +547,20 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private EEnum shadeEEnum = null; /** - * Creates an instance of the model Package, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the - * package + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. - *

- * 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. - * + *

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. + * + * * @see org.eclipse.emf.ecore.EPackage.Registry * @see org.eclipse.papyrus.RobotML.RobotMLPackage#eNS_URI * @see #init() @@ -606,7 +573,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ private static boolean isInited = false; @@ -614,18 +580,17 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * - *

- * This method is used to initialize {@link RobotMLPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, - * they should simply access that field to obtain the package. - * + *

This method is used to initialize {@link RobotMLPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static RobotMLPackage init() { - if(isInited) - return (RobotMLPackage)EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI); + if (isInited) return (RobotMLPackage)EPackage.Registry.INSTANCE.getEPackage(RobotMLPackage.eNS_URI); // Obtain or create and register package RobotMLPackageImpl theRobotMLPackage = (RobotMLPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RobotMLPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new RobotMLPackageImpl()); @@ -670,7 +635,7 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { // Mark meta-data to indicate it can't be changed theRobotMLPackage.freeze(); - + // Update the registry and return the package EPackage.Registry.INSTANCE.put(RobotMLPackage.eNS_URI, theRobotMLPackage); return theRobotMLPackage; @@ -679,7 +644,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getTransition() { @@ -689,7 +653,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getTransition_Base_Transition() { @@ -699,7 +662,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getTransition_Guard() { @@ -709,7 +671,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getTransition_Effect() { @@ -719,7 +680,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getAlgorithm() { @@ -729,7 +689,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getAlgorithm_Base_Operation() { @@ -739,7 +698,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getAlgorithm_IsExternal() { @@ -749,7 +707,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getAlgorithm_ExtFunctionName() { @@ -759,7 +716,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getAlgorithm_LibPath() { @@ -769,7 +725,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getAlgorithm_LibFileFormat() { @@ -779,7 +734,33 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * + * @generated + */ + public EClass getState() { + return stateEClass; + } + + /** + * + * + * @generated + */ + public EReference getState_Base_State() { + return (EReference)stateEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getState_Behavior() { + return (EReference)stateEClass.getEStructuralFeatures().get(1); + } + + /** + * + * * @generated */ public EClass getRobot() { @@ -789,7 +770,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getRobot_Kind() { @@ -799,7 +779,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getRobot_Mass() { @@ -809,7 +788,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getRobot_Width() { @@ -819,7 +797,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getRobot_UgvKind() { @@ -829,7 +806,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getSystem() { @@ -839,7 +815,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getSystem_Base_Class() { @@ -849,7 +824,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getSystem_Native() { @@ -859,7 +833,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getSystem_LibraryPath() { @@ -869,7 +842,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getSystem_LibraryComponentName() { @@ -879,7 +851,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getAgent() { @@ -889,7 +860,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getAgent_MovesOver() { @@ -899,7 +869,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getPhysicalObject() { @@ -909,7 +878,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getPhysicalObject_EvelovesIn() { @@ -919,7 +887,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getPhysicalObject_HasSurface() { @@ -929,7 +896,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getEnvironment() { @@ -939,7 +905,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getSurface() { @@ -949,7 +914,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getDataFlowPort() { @@ -959,7 +923,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getDataFlowPort_Direction() { @@ -969,7 +932,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getDataFlowPort_BufferSize() { @@ -979,7 +941,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getPort() { @@ -989,7 +950,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getPort_Base_Port() { @@ -999,7 +959,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getPort_SynchronizationPolicy() { @@ -1009,7 +968,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getServicePort() { @@ -1019,7 +977,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getServicePort_Kind() { @@ -1029,7 +986,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getActuatorSystem() { @@ -1039,7 +995,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getRoboticSystem() { @@ -1049,7 +1004,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getRoboticSystem_LocalPosition() { @@ -1059,7 +1013,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getRoboticSystem_LocalOrientation() { @@ -1069,7 +1022,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getSensorSystem() { @@ -1079,7 +1031,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getSensorSystem_Frequency() { @@ -1089,7 +1040,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getSensorSystem_Identifier() { @@ -1099,7 +1049,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getHardware() { @@ -1109,7 +1058,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getSoftware() { @@ -1119,7 +1067,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getSoftware_IsPeriodic() { @@ -1129,7 +1076,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getSoftware_Period() { @@ -1139,7 +1085,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getSoftware_Priority() { @@ -1149,7 +1094,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getSoftware_Deadline() { @@ -1159,7 +1103,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getSoftware_Wcet() { @@ -1169,7 +1112,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getPrimitiveData() { @@ -1179,7 +1121,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getPrimitiveData_Base_PrimitiveType() { @@ -1189,7 +1130,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getDataType() { @@ -1199,7 +1139,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getDataType_Base_DataType() { @@ -1209,7 +1148,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getDataType_Native() { @@ -1219,7 +1157,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getDataType_LibraryPath() { @@ -1229,7 +1166,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getEngineSystem() { @@ -1239,7 +1175,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getEngineSystem_VehicleTraction() { @@ -1249,7 +1184,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getEngineSystem_MaxEngineForce() { @@ -1259,7 +1193,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getEngineSystem_MaxBreakingForce() { @@ -1269,7 +1202,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getEngineSystem_MaxAllowedSteering() { @@ -1279,7 +1211,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getEngineSystem_MaxAllowedVelocity() { @@ -1289,7 +1220,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getEngineSystem_Gear_ration() { @@ -1299,7 +1229,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getWheelSystem() { @@ -1309,7 +1238,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_WheelRadius() { @@ -1319,7 +1247,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_WheelWidth() { @@ -1329,7 +1256,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_SuspensionRestLength() { @@ -1339,7 +1265,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_WheelConnectionHeight() { @@ -1349,7 +1274,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_TypeOfWheel() { @@ -1359,7 +1283,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_WheelVelocityPIDkp() { @@ -1369,7 +1292,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_WheelVelocityPIDki() { @@ -1379,7 +1301,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_WheelVelocityPIDkd() { @@ -1389,7 +1310,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_WheelSteeringPIDkp() { @@ -1399,7 +1319,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_WheelSteeringPIDkd() { @@ -1409,7 +1328,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_WheelFriction() { @@ -1419,7 +1337,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_SuspensionStiffness() { @@ -1429,7 +1346,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_SuspensionDamping() { @@ -1439,7 +1355,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_SuspensionCompression() { @@ -1449,7 +1364,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_WheelVelocityPIDmaxSum() { @@ -1459,7 +1373,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getWheelSystem_WheelVelocityPIDmaxVal() { @@ -1469,7 +1382,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getImageSensorSystem() { @@ -1479,7 +1391,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getCameraSystem() { @@ -1489,7 +1400,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getCameraSystem_Width() { @@ -1499,7 +1409,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getCameraSystem_Height() { @@ -1509,7 +1418,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getCameraSystem_Alpha_u() { @@ -1519,7 +1427,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getCameraSystem_Alpha_v() { @@ -1529,7 +1436,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getCameraSystem_U0() { @@ -1539,7 +1445,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getCameraSystem_V0() { @@ -1549,7 +1454,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getCameraSystem_Color_format() { @@ -1559,7 +1463,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getCameraSystem_Translate() { @@ -1569,7 +1472,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getCameraSystem_Rotate() { @@ -1579,7 +1481,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getObjectDetectionSensorSystem() { @@ -1589,7 +1490,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getObjectTrackingSensorSystem() { @@ -1599,7 +1499,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getLidarSystem() { @@ -1609,7 +1508,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getLidarSystem_NbLayers() { @@ -1619,7 +1517,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getLidarSystem_LayerAngleMin() { @@ -1629,7 +1526,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getLidarSystem_LayerAngleStep() { @@ -1639,7 +1535,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getLidarSystem_Noise() { @@ -1649,7 +1544,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getLidarSystem_SigmaNoise() { @@ -1659,7 +1553,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getLidarSystem_Angle_min() { @@ -1669,7 +1562,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getLidarSystem_Angle_max() { @@ -1679,7 +1571,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getLidarSystem_Time_increment() { @@ -1689,7 +1580,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getLidarSystem_Scan_time() { @@ -1699,7 +1589,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getLidarSystem_Range_min() { @@ -1709,7 +1598,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getLidarSystem_Range_max() { @@ -1719,7 +1607,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getLidarSystem_NbRays() { @@ -1729,7 +1616,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getLocalizationSensorSystem() { @@ -1739,7 +1625,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getGPSSystem() { @@ -1749,7 +1634,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getGPSSystem_OriginPosition() { @@ -1759,7 +1643,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getSimulatedSystem() { @@ -1769,7 +1652,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getSimulatedSystem_Base_Property() { @@ -1779,7 +1661,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getSimulatedSystem_Mesh() { @@ -1789,7 +1670,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getAlgorithmLibrary() { @@ -1799,7 +1679,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getAlgorithmLibrary_Base_Class() { @@ -1809,7 +1688,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getAlgorithmLibrary_Path() { @@ -1819,167 +1697,159 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ - public EClass getState() { - return stateEClass; + public EClass getSensorDriver() { + return sensorDriverEClass; } /** * * - * * @generated */ - public EReference getState_Base_State() { - return (EReference)stateEClass.getEStructuralFeatures().get(0); + public EClass getBuilding() { + return buildingEClass; } /** * * - * * @generated */ - public EReference getState_Operation() { - return (EReference)stateEClass.getEStructuralFeatures().get(1); + public EClass getPlanet() { + return planetEClass; } /** * * - * * @generated */ - public EReference getState_Arguments() { - return (EReference)stateEClass.getEStructuralFeatures().get(2); + public EClass getLandSurface() { + return landSurfaceEClass; } /** * * - * * @generated */ - public EClass getSensorDriver() { - return sensorDriverEClass; + public EClass getGround() { + return groundEClass; } /** * * - * * @generated */ - public EClass getBuilding() { - return buildingEClass; + public EClass getFloor() { + return floorEClass; } /** * * - * * @generated */ - public EClass getPlanet() { - return planetEClass; + public EClass getWaterSurface() { + return waterSurfaceEClass; } /** * * - * * @generated */ - public EClass getLandSurface() { - return landSurfaceEClass; + public EClass getHuman() { + return humanEClass; } /** * * - * * @generated */ - public EClass getGround() { - return groundEClass; + public EClass getPedestrian() { + return pedestrianEClass; } /** * * - * * @generated */ - public EClass getFloor() { - return floorEClass; + public EClass getStairs() { + return stairsEClass; } /** * * - * * @generated */ - public EClass getWaterSurface() { - return waterSurfaceEClass; + public EClass getPlatform() { + return platformEClass; } /** * * - * * @generated */ - public EClass getHuman() { - return humanEClass; + public EReference getPlatform_Base_Node() { + return (EReference)platformEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ - public EClass getPedestrian() { - return pedestrianEClass; + public EReference getPlatform_Library() { + return (EReference)platformEClass.getEStructuralFeatures().get(1); } /** * * - * * @generated */ - public EClass getStairs() { - return stairsEClass; + public EClass getExternalLibrary() { + return externalLibraryEClass; } /** * * - * * @generated */ - public EClass getPlatform() { - return platformEClass; + public EAttribute getExternalLibrary_LibPath() { + return (EAttribute)externalLibraryEClass.getEStructuralFeatures().get(0); } /** * * - * * @generated */ - public EReference getPlatform_Base_Node() { - return (EReference)platformEClass.getEStructuralFeatures().get(0); + public EAttribute getExternalLibrary_LibFileFormat() { + return (EAttribute)externalLibraryEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getExternalLibrary_Base_Interface() { + return (EReference)externalLibraryEClass.getEStructuralFeatures().get(2); } /** * * - * * @generated */ public EClass getRoboticMiddleware() { @@ -1989,7 +1859,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getRoboticMiddleware_Kind() { @@ -1999,7 +1868,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getRoboticSimulator() { @@ -2009,7 +1877,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getCycabTK() { @@ -2019,7 +1886,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getCycabTK_UseRealTime() { @@ -2029,7 +1895,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getCycabTK_TimeStep() { @@ -2039,7 +1904,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getCycabTK_TimeFactor() { @@ -2049,7 +1913,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getBlenderMorse() { @@ -2059,7 +1922,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getBlenderMorse_DebugMode() { @@ -2069,7 +1931,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getBlenderMorse_DebugDisplay() { @@ -2079,7 +1940,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getBlenderMorse_Gravity() { @@ -2089,7 +1949,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EAttribute getBlenderMorse__viewport_shade() { @@ -2099,7 +1958,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getOnPort() { @@ -2109,7 +1967,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getOnPort_Port() { @@ -2119,7 +1976,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getOnPort_Base_Parameter() { @@ -2129,7 +1985,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getAllocate() { @@ -2139,7 +1994,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getAllocate_Base_Abstraction() { @@ -2149,7 +2003,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getInertialMeasurementUnitSystem() { @@ -2159,7 +2012,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getInertialNavigationSystem() { @@ -2169,7 +2021,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getOdometrySystem() { @@ -2179,7 +2030,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getInfraRedProximetrySystem() { @@ -2189,7 +2039,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getDeploymentPlan() { @@ -2199,7 +2048,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getDeploymentPlan_Base_Package() { @@ -2209,7 +2057,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EReference getDeploymentPlan_MainInstance() { @@ -2219,7 +2066,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EClass getGyroscope() { @@ -2229,7 +2075,33 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * + * @generated + */ + public EClass getOnProperty() { + return onPropertyEClass; + } + + /** + * + * + * @generated + */ + public EReference getOnProperty_Property() { + return (EReference)onPropertyEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getOnProperty_Base_Parameter() { + return (EReference)onPropertyEClass.getEStructuralFeatures().get(1); + } + + /** + * + * * @generated */ public EEnum getRobotKind() { @@ -2239,7 +2111,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EEnum getUGVKind() { @@ -2249,7 +2120,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EEnum getSynchronizationKind() { @@ -2259,7 +2129,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EEnum getDataFlowDirectionKind() { @@ -2269,7 +2138,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EEnum getServiceFlowKind() { @@ -2279,7 +2147,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EEnum getRoboticMiddlewareKind() { @@ -2289,7 +2156,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public EEnum getShade() { @@ -2299,7 +2165,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @generated */ public RobotMLFactory getRobotMLFactory() { @@ -2309,22 +2174,19 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @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. * * - * * @generated */ public void createPackageContents() { - if(isCreated) - return; + if (isCreated) return; isCreated = true; // Create classes and their features @@ -2340,6 +2202,10 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { createEAttribute(algorithmEClass, ALGORITHM__LIB_PATH); createEAttribute(algorithmEClass, ALGORITHM__LIB_FILE_FORMAT); + stateEClass = createEClass(STATE); + createEReference(stateEClass, STATE__BASE_STATE); + createEReference(stateEClass, STATE__BEHAVIOR); + robotEClass = createEClass(ROBOT); createEAttribute(robotEClass, ROBOT__KIND); createEAttribute(robotEClass, ROBOT__MASS); @@ -2471,11 +2337,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { createEReference(algorithmLibraryEClass, ALGORITHM_LIBRARY__BASE_CLASS); createEAttribute(algorithmLibraryEClass, ALGORITHM_LIBRARY__PATH); - stateEClass = createEClass(STATE); - createEReference(stateEClass, STATE__BASE_STATE); - createEReference(stateEClass, STATE__OPERATION); - createEReference(stateEClass, STATE__ARGUMENTS); - sensorDriverEClass = createEClass(SENSOR_DRIVER); buildingEClass = createEClass(BUILDING); @@ -2498,6 +2359,12 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { platformEClass = createEClass(PLATFORM); createEReference(platformEClass, PLATFORM__BASE_NODE); + createEReference(platformEClass, PLATFORM__LIBRARY); + + externalLibraryEClass = createEClass(EXTERNAL_LIBRARY); + createEAttribute(externalLibraryEClass, EXTERNAL_LIBRARY__LIB_PATH); + createEAttribute(externalLibraryEClass, EXTERNAL_LIBRARY__LIB_FILE_FORMAT); + createEReference(externalLibraryEClass, EXTERNAL_LIBRARY__BASE_INTERFACE); roboticMiddlewareEClass = createEClass(ROBOTIC_MIDDLEWARE); createEAttribute(roboticMiddlewareEClass, ROBOTIC_MIDDLEWARE__KIND); @@ -2536,6 +2403,10 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { gyroscopeEClass = createEClass(GYROSCOPE); + onPropertyEClass = createEClass(ON_PROPERTY); + createEReference(onPropertyEClass, ON_PROPERTY__PROPERTY); + createEReference(onPropertyEClass, ON_PROPERTY__BASE_PARAMETER); + // Create enums robotKindEEnum = createEEnum(ROBOT_KIND); ugvKindEEnum = createEEnum(UGV_KIND); @@ -2549,22 +2420,19 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { /** * * - * * @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. * * - * * @generated */ public void initializePackageContents() { - if(isInitialized) - return; + if (isInitialized) return; isInitialized = true; // Initialize package @@ -2629,11 +2497,11 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { infraRedProximetrySystemEClass.getESuperTypes().add(this.getObjectDetectionSensorSystem()); gyroscopeEClass.getESuperTypes().add(this.getSensorSystem()); - // Initialize classes and features; add operations and parameters + // Initialize classes, features, and operations; add parameters initEClass(transitionEClass, Transition.class, "Transition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getTransition_Base_Transition(), theUMLPackage.getTransition(), null, "base_Transition", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getTransition_Guard(), this.getAlgorithm(), null, "guard", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getTransition_Effect(), this.getAlgorithm(), null, "effect", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getTransition_Guard(), theUMLPackage.getBehavior(), null, "guard", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getTransition_Effect(), theUMLPackage.getBehavior(), null, "effect", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(algorithmEClass, Algorithm.class, "Algorithm", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getAlgorithm_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 1, 1, Algorithm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); @@ -2642,8 +2510,12 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { initEAttribute(getAlgorithm_LibPath(), theTypesPackage.getString(), "libPath", null, 1, 1, Algorithm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getAlgorithm_LibFileFormat(), theTypesPackage.getString(), "libFileFormat", "elf", 1, 1, Algorithm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getState_Base_State(), theUMLPackage.getState(), null, "base_State", null, 1, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getState_Behavior(), theUMLPackage.getBehavior(), null, "behavior", null, 1, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEClass(robotEClass, Robot.class, "Robot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getRobot_Kind(), this.getRobotKind(), "kind", "UGV", 1, 1, Robot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getRobot_Kind(), this.getRobotKind(), "kind", "UGVcar", 1, 1, Robot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getRobot_Mass(), theStd_datatypesPackage.getFloat32(), "mass", null, 1, 1, Robot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getRobot_Width(), theStd_datatypesPackage.getFloat32(), "width", null, 1, 1, Robot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getRobot_UgvKind(), this.getUGVKind(), "ugvKind", null, 0, 1, Robot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); @@ -2773,11 +2645,6 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { initEReference(getAlgorithmLibrary_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, AlgorithmLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getAlgorithmLibrary_Path(), theTypesPackage.getString(), "path", null, 1, 1, AlgorithmLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getState_Base_State(), theUMLPackage.getState(), null, "base_State", null, 1, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getState_Operation(), this.getAlgorithm(), null, "operation", null, 1, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getState_Arguments(), theUMLPackage.getProperty(), null, "arguments", null, 0, -1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEClass(sensorDriverEClass, SensorDriver.class, "SensorDriver", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(buildingEClass, Building.class, "Building", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -2800,6 +2667,12 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { initEClass(platformEClass, Platform.class, "Platform", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getPlatform_Base_Node(), theUMLPackage.getNode(), null, "base_Node", null, 1, 1, Platform.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getPlatform_Library(), this.getExternalLibrary(), null, "library", null, 0, -1, Platform.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + + initEClass(externalLibraryEClass, ExternalLibrary.class, "ExternalLibrary", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getExternalLibrary_LibPath(), theTypesPackage.getString(), "libPath", null, 1, 1, ExternalLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEAttribute(getExternalLibrary_LibFileFormat(), theTypesPackage.getString(), "libFileFormat", "elf", 1, 1, ExternalLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getExternalLibrary_Base_Interface(), theUMLPackage.getInterface(), null, "base_Interface", null, 1, 1, ExternalLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(roboticMiddlewareEClass, RoboticMiddleware.class, "RoboticMiddleware", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getRoboticMiddleware_Kind(), this.getRoboticMiddlewareKind(), "kind", null, 1, 1, RoboticMiddleware.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); @@ -2838,6 +2711,10 @@ public class RobotMLPackageImpl extends EPackageImpl implements RobotMLPackage { initEClass(gyroscopeEClass, Gyroscope.class, "Gyroscope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEClass(onPropertyEClass, OnProperty.class, "OnProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getOnProperty_Property(), theUMLPackage.getProperty(), null, "property", null, 1, 1, OnProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + initEReference(getOnProperty_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 1, 1, OnProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); + // Initialize enums and add enum literals initEEnum(robotKindEEnum, RobotKind.class, "RobotKind"); addEEnumLiteral(robotKindEEnum, RobotKind.UUV); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticMiddlewareImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticMiddlewareImpl.java index effcc7dcaf0..37c00893b27 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticMiddlewareImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticMiddlewareImpl.java @@ -1,19 +1,13 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.RoboticMiddleware; import org.eclipse.papyrus.RobotML.RoboticMiddlewareKind; @@ -25,19 +19,17 @@ import org.eclipse.papyrus.RobotML.RoboticMiddlewareKind; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.RoboticMiddlewareImpl#getKind Kind}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.RoboticMiddlewareImpl#getKind Kind}
  • *
*

- * + * * @generated */ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddleware { - /** * The default value of the '{@link #getKind() Kind}' attribute. * * - * * @see #getKind() * @generated * @ordered @@ -48,7 +40,6 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle * The cached value of the '{@link #getKind() Kind}' attribute. * * - * * @see #getKind() * @generated * @ordered @@ -58,7 +49,6 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * * - * * @generated */ protected RoboticMiddlewareImpl() { @@ -68,7 +58,6 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * * - * * @generated */ @Override @@ -79,7 +68,6 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * * - * * @generated */ public RoboticMiddlewareKind getKind() { @@ -89,27 +77,25 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * * - * * @generated */ public void setKind(RoboticMiddlewareKind newKind) { RoboticMiddlewareKind oldKind = kind; kind = newKind == null ? KIND_EDEFAULT : newKind; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND, oldKind, kind)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: - return getKind(); + switch (featureID) { + case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: + return getKind(); } return super.eGet(featureID, resolve, coreType); } @@ -117,15 +103,14 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: - setKind((RoboticMiddlewareKind)newValue); - return; + switch (featureID) { + case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: + setKind((RoboticMiddlewareKind)newValue); + return; } super.eSet(featureID, newValue); } @@ -133,15 +118,14 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: - setKind(KIND_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: + setKind(KIND_EDEFAULT); + return; } super.eUnset(featureID); } @@ -149,14 +133,13 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: - return kind != KIND_EDEFAULT; + switch (featureID) { + case RobotMLPackage.ROBOTIC_MIDDLEWARE__KIND: + return kind != KIND_EDEFAULT; } return super.eIsSet(featureID); } @@ -164,13 +147,11 @@ public class RoboticMiddlewareImpl extends PlatformImpl implements RoboticMiddle /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (kind: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticSimulatorImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticSimulatorImpl.java index fdcf43618d4..4a5c6d38d00 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticSimulatorImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticSimulatorImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.RoboticSimulator; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.RoboticSimulator; * *

*

- * + * * @generated */ public class RoboticSimulatorImpl extends PlatformImpl implements RoboticSimulator { - /** * * - * * @generated */ protected RoboticSimulatorImpl() { @@ -39,7 +29,6 @@ public class RoboticSimulatorImpl extends PlatformImpl implements RoboticSimulat /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticSystemImpl.java index cefaf2198e1..12c83f61702 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticSystemImpl.java @@ -1,23 +1,18 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; + import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.RoboticSystem; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32; /** @@ -27,20 +22,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.RoboticSystemImpl#getLocalPosition Local Position}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.RoboticSystemImpl#getLocalOrientation Local Orientation}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.RoboticSystemImpl#getLocalPosition Local Position}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.RoboticSystemImpl#getLocalOrientation Local Orientation}
  • *
*

- * + * * @generated */ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { - /** * The cached value of the '{@link #getLocalPosition() Local Position}' containment reference. * * - * * @see #getLocalPosition() * @generated * @ordered @@ -51,7 +44,6 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { * The cached value of the '{@link #getLocalOrientation() Local Orientation}' containment reference. * * - * * @see #getLocalOrientation() * @generated * @ordered @@ -61,7 +53,6 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * * - * * @generated */ protected RoboticSystemImpl() { @@ -71,7 +62,6 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * * - * * @generated */ @Override @@ -82,7 +72,6 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * * - * * @generated */ public Point32 getLocalPosition() { @@ -92,18 +81,14 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * * - * * @generated */ public NotificationChain basicSetLocalPosition(Point32 newLocalPosition, NotificationChain msgs) { Point32 oldLocalPosition = localPosition; localPosition = newLocalPosition; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION, oldLocalPosition, newLocalPosition); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -111,27 +96,25 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * * - * * @generated */ public void setLocalPosition(Point32 newLocalPosition) { - if(newLocalPosition != localPosition) { + if (newLocalPosition != localPosition) { NotificationChain msgs = null; - if(localPosition != null) + if (localPosition != null) msgs = ((InternalEObject)localPosition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION, null, msgs); - if(newLocalPosition != null) + if (newLocalPosition != null) msgs = ((InternalEObject)newLocalPosition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION, null, msgs); msgs = basicSetLocalPosition(newLocalPosition, msgs); - if(msgs != null) - msgs.dispatch(); - } else if(eNotificationRequired()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION, newLocalPosition, newLocalPosition)); } /** * * - * * @generated */ public Point32 getLocalOrientation() { @@ -141,18 +124,14 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * * - * * @generated */ public NotificationChain basicSetLocalOrientation(Point32 newLocalOrientation, NotificationChain msgs) { Point32 oldLocalOrientation = localOrientation; localOrientation = newLocalOrientation; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION, oldLocalOrientation, newLocalOrientation); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -160,36 +139,34 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * * - * * @generated */ public void setLocalOrientation(Point32 newLocalOrientation) { - if(newLocalOrientation != localOrientation) { + if (newLocalOrientation != localOrientation) { NotificationChain msgs = null; - if(localOrientation != null) + if (localOrientation != null) msgs = ((InternalEObject)localOrientation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION, null, msgs); - if(newLocalOrientation != null) + if (newLocalOrientation != null) msgs = ((InternalEObject)newLocalOrientation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION, null, msgs); msgs = basicSetLocalOrientation(newLocalOrientation, msgs); - if(msgs != null) - msgs.dispatch(); - } else if(eNotificationRequired()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION, newLocalOrientation, newLocalOrientation)); } /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: - return basicSetLocalPosition(null, msgs); - case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: - return basicSetLocalOrientation(null, msgs); + switch (featureID) { + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: + return basicSetLocalPosition(null, msgs); + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: + return basicSetLocalOrientation(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -197,16 +174,15 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: - return getLocalPosition(); - case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: - return getLocalOrientation(); + switch (featureID) { + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: + return getLocalPosition(); + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: + return getLocalOrientation(); } return super.eGet(featureID, resolve, coreType); } @@ -214,18 +190,17 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: - setLocalPosition((Point32)newValue); - return; - case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: - setLocalOrientation((Point32)newValue); - return; + switch (featureID) { + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: + setLocalPosition((Point32)newValue); + return; + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: + setLocalOrientation((Point32)newValue); + return; } super.eSet(featureID, newValue); } @@ -233,18 +208,17 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: - setLocalPosition((Point32)null); - return; - case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: - setLocalOrientation((Point32)null); - return; + switch (featureID) { + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: + setLocalPosition((Point32)null); + return; + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: + setLocalOrientation((Point32)null); + return; } super.eUnset(featureID); } @@ -252,16 +226,15 @@ public class RoboticSystemImpl extends SystemImpl implements RoboticSystem { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: - return localPosition != null; - case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: - return localOrientation != null; + switch (featureID) { + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_POSITION: + return localPosition != null; + case RobotMLPackage.ROBOTIC_SYSTEM__LOCAL_ORIENTATION: + return localOrientation != null; } return super.eIsSet(featureID); } diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SensorDriverImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SensorDriverImpl.java index 261a1c36382..c3ffa26f394 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SensorDriverImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SensorDriverImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.SensorDriver; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.SensorDriver; * *

*

- * + * * @generated */ public class SensorDriverImpl extends SoftwareImpl implements SensorDriver { - /** * * - * * @generated */ protected SensorDriverImpl() { @@ -39,7 +29,6 @@ public class SensorDriverImpl extends SoftwareImpl implements SensorDriver { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SensorSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SensorSystemImpl.java index 64aee0eeba0..65e2c49f407 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SensorSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SensorSystemImpl.java @@ -1,19 +1,13 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.SensorSystem; @@ -24,20 +18,18 @@ import org.eclipse.papyrus.RobotML.SensorSystem; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.SensorSystemImpl#getFrequency Frequency}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.SensorSystemImpl#getIdentifier Identifier}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SensorSystemImpl#getFrequency Frequency}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SensorSystemImpl#getIdentifier Identifier}
  • *
*

- * + * * @generated */ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem { - /** * The default value of the '{@link #getFrequency() Frequency}' attribute. * * - * * @see #getFrequency() * @generated * @ordered @@ -48,7 +40,6 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem * The cached value of the '{@link #getFrequency() Frequency}' attribute. * * - * * @see #getFrequency() * @generated * @ordered @@ -59,7 +50,6 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem * The default value of the '{@link #getIdentifier() Identifier}' attribute. * * - * * @see #getIdentifier() * @generated * @ordered @@ -70,7 +60,6 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem * The cached value of the '{@link #getIdentifier() Identifier}' attribute. * * - * * @see #getIdentifier() * @generated * @ordered @@ -80,7 +69,6 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * * - * * @generated */ protected SensorSystemImpl() { @@ -90,7 +78,6 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * * - * * @generated */ @Override @@ -101,7 +88,6 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * * - * * @generated */ public float getFrequency() { @@ -111,20 +97,18 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * * - * * @generated */ public void setFrequency(float newFrequency) { float oldFrequency = frequency; frequency = newFrequency; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SENSOR_SYSTEM__FREQUENCY, oldFrequency, frequency)); } /** * * - * * @generated */ public String getIdentifier() { @@ -134,29 +118,27 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * * - * * @generated */ public void setIdentifier(String newIdentifier) { String oldIdentifier = identifier; identifier = newIdentifier; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SENSOR_SYSTEM__IDENTIFIER, oldIdentifier, identifier)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.SENSOR_SYSTEM__FREQUENCY: - return getFrequency(); - case RobotMLPackage.SENSOR_SYSTEM__IDENTIFIER: - return getIdentifier(); + switch (featureID) { + case RobotMLPackage.SENSOR_SYSTEM__FREQUENCY: + return getFrequency(); + case RobotMLPackage.SENSOR_SYSTEM__IDENTIFIER: + return getIdentifier(); } return super.eGet(featureID, resolve, coreType); } @@ -164,18 +146,17 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.SENSOR_SYSTEM__FREQUENCY: - setFrequency((Float)newValue); - return; - case RobotMLPackage.SENSOR_SYSTEM__IDENTIFIER: - setIdentifier((String)newValue); - return; + switch (featureID) { + case RobotMLPackage.SENSOR_SYSTEM__FREQUENCY: + setFrequency((Float)newValue); + return; + case RobotMLPackage.SENSOR_SYSTEM__IDENTIFIER: + setIdentifier((String)newValue); + return; } super.eSet(featureID, newValue); } @@ -183,18 +164,17 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.SENSOR_SYSTEM__FREQUENCY: - setFrequency(FREQUENCY_EDEFAULT); - return; - case RobotMLPackage.SENSOR_SYSTEM__IDENTIFIER: - setIdentifier(IDENTIFIER_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.SENSOR_SYSTEM__FREQUENCY: + setFrequency(FREQUENCY_EDEFAULT); + return; + case RobotMLPackage.SENSOR_SYSTEM__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; } super.eUnset(featureID); } @@ -202,16 +182,15 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.SENSOR_SYSTEM__FREQUENCY: - return frequency != FREQUENCY_EDEFAULT; - case RobotMLPackage.SENSOR_SYSTEM__IDENTIFIER: - return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + switch (featureID) { + case RobotMLPackage.SENSOR_SYSTEM__FREQUENCY: + return frequency != FREQUENCY_EDEFAULT; + case RobotMLPackage.SENSOR_SYSTEM__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); } return super.eIsSet(featureID); } @@ -219,13 +198,11 @@ public class SensorSystemImpl extends RoboticSystemImpl implements SensorSystem /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (frequency: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ServicePortImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ServicePortImpl.java index ee7ba230b61..a35db7af356 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ServicePortImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/ServicePortImpl.java @@ -1,24 +1,16 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.ServiceFlowKind; import org.eclipse.papyrus.RobotML.ServicePort; -import org.eclipse.uml2.uml.Image; -import org.eclipse.uml2.uml.Stereotype; /** * @@ -27,19 +19,17 @@ import org.eclipse.uml2.uml.Stereotype; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.ServicePortImpl#getKind Kind}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.ServicePortImpl#getKind Kind}
  • *
*

- * + * * @generated */ public class ServicePortImpl extends PortImpl implements ServicePort { - /** * The default value of the '{@link #getKind() Kind}' attribute. * * - * * @see #getKind() * @generated * @ordered @@ -50,7 +40,6 @@ public class ServicePortImpl extends PortImpl implements ServicePort { * The cached value of the '{@link #getKind() Kind}' attribute. * * - * * @see #getKind() * @generated * @ordered @@ -60,7 +49,6 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /** * * - * * @generated */ protected ServicePortImpl() { @@ -70,7 +58,6 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /** * * - * * @generated */ @Override @@ -81,7 +68,6 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /** * * - * * @generated */ public ServiceFlowKind getKind() { @@ -91,27 +77,25 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /** * * - * * @generated */ public void setKind(ServiceFlowKind newKind) { ServiceFlowKind oldKind = kind; kind = newKind == null ? KIND_EDEFAULT : newKind; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SERVICE_PORT__KIND, oldKind, kind)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.SERVICE_PORT__KIND: - return getKind(); + switch (featureID) { + case RobotMLPackage.SERVICE_PORT__KIND: + return getKind(); } return super.eGet(featureID, resolve, coreType); } @@ -119,15 +103,14 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.SERVICE_PORT__KIND: - setKind((ServiceFlowKind)newValue); - return; + switch (featureID) { + case RobotMLPackage.SERVICE_PORT__KIND: + setKind((ServiceFlowKind)newValue); + return; } super.eSet(featureID, newValue); } @@ -135,15 +118,14 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.SERVICE_PORT__KIND: - setKind(KIND_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.SERVICE_PORT__KIND: + setKind(KIND_EDEFAULT); + return; } super.eUnset(featureID); } @@ -151,14 +133,13 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.SERVICE_PORT__KIND: - return kind != KIND_EDEFAULT; + switch (featureID) { + case RobotMLPackage.SERVICE_PORT__KIND: + return kind != KIND_EDEFAULT; } return super.eIsSet(featureID); } @@ -166,13 +147,11 @@ public class ServicePortImpl extends PortImpl implements ServicePort { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (kind: "); @@ -181,32 +160,4 @@ public class ServicePortImpl extends PortImpl implements ServicePort { return result.toString(); } - /** - * - * Images registered in Profile are : - * - * 0 - ServicePort Provided - * 1 - ServicePort Required - * - * . - * - * @return the icon of the port - * @generated NOT - */ - public Image getIcon() { - Image ImageNotFound = null; - if(getBase_Port() != null) { - Stereotype st = getBase_Port().getAppliedStereotype("RobotML::ServicePort"); - Image image = st.getIcons().get(0); - - if(getKind() == ServiceFlowKind.REQUIRED) { - image = st.getIcons().get(1); - } - - return image; - } else { - return ImageNotFound; - } - } - } //ServicePortImpl diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SimulatedSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SimulatedSystemImpl.java index 3a5ceaa9f44..83c9ae4453f 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SimulatedSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SimulatedSystemImpl.java @@ -1,26 +1,23 @@ -/***************************************************************************** - * 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.RobotML.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.InternalEObject; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.SimulatedSystem; + import org.eclipse.uml2.uml.Property; /** @@ -30,20 +27,18 @@ import org.eclipse.uml2.uml.Property; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.SimulatedSystemImpl#getBase_Property Base Property}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.SimulatedSystemImpl#getMesh Mesh}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SimulatedSystemImpl#getBase_Property Base Property}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SimulatedSystemImpl#getMesh Mesh}
  • *
*

- * + * * @generated */ public class SimulatedSystemImpl extends SoftwareImpl implements SimulatedSystem { - /** * The cached value of the '{@link #getBase_Property() Base Property}' reference. * * - * * @see #getBase_Property() * @generated * @ordered @@ -54,7 +49,6 @@ public class SimulatedSystemImpl extends SoftwareImpl implements SimulatedSystem * The cached value of the '{@link #getMesh() Mesh}' attribute list. * * - * * @see #getMesh() * @generated * @ordered @@ -64,7 +58,6 @@ public class SimulatedSystemImpl extends SoftwareImpl implements SimulatedSystem /** * * - * * @generated */ protected SimulatedSystemImpl() { @@ -74,7 +67,6 @@ public class SimulatedSystemImpl extends SoftwareImpl implements SimulatedSystem /** * * - * * @generated */ @Override @@ -85,15 +77,14 @@ public class SimulatedSystemImpl extends SoftwareImpl implements SimulatedSystem /** * * - * * @generated */ public Property getBase_Property() { - if(base_Property != null && base_Property.eIsProxy()) { + if (base_Property != null && base_Property.eIsProxy()) { InternalEObject oldBase_Property = (InternalEObject)base_Property; base_Property = (Property)eResolveProxy(oldBase_Property); - if(base_Property != oldBase_Property) { - if(eNotificationRequired()) + if (base_Property != oldBase_Property) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.SIMULATED_SYSTEM__BASE_PROPERTY, oldBase_Property, base_Property)); } } @@ -103,7 +94,6 @@ public class SimulatedSystemImpl extends SoftwareImpl implements SimulatedSystem /** * * - * * @generated */ public Property basicGetBase_Property() { @@ -113,24 +103,22 @@ public class SimulatedSystemImpl extends SoftwareImpl implements SimulatedSystem /** * * - * * @generated */ public void setBase_Property(Property newBase_Property) { Property oldBase_Property = base_Property; base_Property = newBase_Property; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SIMULATED_SYSTEM__BASE_PROPERTY, oldBase_Property, base_Property)); } /** * * - * * @generated */ public EList getMesh() { - if(mesh == null) { + if (mesh == null) { mesh = new EDataTypeUniqueEList(String.class, this, RobotMLPackage.SIMULATED_SYSTEM__MESH); } return mesh; @@ -139,18 +127,16 @@ public class SimulatedSystemImpl extends SoftwareImpl implements SimulatedSystem /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.SIMULATED_SYSTEM__BASE_PROPERTY: - if(resolve) - return getBase_Property(); - return basicGetBase_Property(); - case RobotMLPackage.SIMULATED_SYSTEM__MESH: - return getMesh(); + switch (featureID) { + case RobotMLPackage.SIMULATED_SYSTEM__BASE_PROPERTY: + if (resolve) return getBase_Property(); + return basicGetBase_Property(); + case RobotMLPackage.SIMULATED_SYSTEM__MESH: + return getMesh(); } return super.eGet(featureID, resolve, coreType); } @@ -158,20 +144,19 @@ public class SimulatedSystemImpl extends SoftwareImpl implements SimulatedSystem /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.SIMULATED_SYSTEM__BASE_PROPERTY: - setBase_Property((Property)newValue); - return; - case RobotMLPackage.SIMULATED_SYSTEM__MESH: - getMesh().clear(); - getMesh().addAll((Collection)newValue); - return; + switch (featureID) { + case RobotMLPackage.SIMULATED_SYSTEM__BASE_PROPERTY: + setBase_Property((Property)newValue); + return; + case RobotMLPackage.SIMULATED_SYSTEM__MESH: + getMesh().clear(); + getMesh().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -179,18 +164,17 @@ public class SimulatedSystemImpl extends SoftwareImpl implements SimulatedSystem /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.SIMULATED_SYSTEM__BASE_PROPERTY: - setBase_Property((Property)null); - return; - case RobotMLPackage.SIMULATED_SYSTEM__MESH: - getMesh().clear(); - return; + switch (featureID) { + case RobotMLPackage.SIMULATED_SYSTEM__BASE_PROPERTY: + setBase_Property((Property)null); + return; + case RobotMLPackage.SIMULATED_SYSTEM__MESH: + getMesh().clear(); + return; } super.eUnset(featureID); } @@ -198,16 +182,15 @@ public class SimulatedSystemImpl extends SoftwareImpl implements SimulatedSystem /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.SIMULATED_SYSTEM__BASE_PROPERTY: - return base_Property != null; - case RobotMLPackage.SIMULATED_SYSTEM__MESH: - return mesh != null && !mesh.isEmpty(); + switch (featureID) { + case RobotMLPackage.SIMULATED_SYSTEM__BASE_PROPERTY: + return base_Property != null; + case RobotMLPackage.SIMULATED_SYSTEM__MESH: + return mesh != null && !mesh.isEmpty(); } return super.eIsSet(featureID); } @@ -215,13 +198,11 @@ public class SimulatedSystemImpl extends SoftwareImpl implements SimulatedSystem /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (mesh: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SoftwareImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SoftwareImpl.java index 3266a71fd01..0920e9d1138 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SoftwareImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SoftwareImpl.java @@ -1,19 +1,13 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.Software; @@ -24,23 +18,21 @@ import org.eclipse.papyrus.RobotML.Software; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#isIsPeriodic Is Periodic}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getPeriod Period}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getPriority Priority}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getDeadline Deadline}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getWcet Wcet}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#isIsPeriodic Is Periodic}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getPeriod Period}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getPriority Priority}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getDeadline Deadline}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SoftwareImpl#getWcet Wcet}
  • *
*

- * + * * @generated */ public class SoftwareImpl extends SystemImpl implements Software { - /** * The default value of the '{@link #isIsPeriodic() Is Periodic}' attribute. * * - * * @see #isIsPeriodic() * @generated * @ordered @@ -51,7 +43,6 @@ public class SoftwareImpl extends SystemImpl implements Software { * The cached value of the '{@link #isIsPeriodic() Is Periodic}' attribute. * * - * * @see #isIsPeriodic() * @generated * @ordered @@ -62,7 +53,6 @@ public class SoftwareImpl extends SystemImpl implements Software { * The default value of the '{@link #getPeriod() Period}' attribute. * * - * * @see #getPeriod() * @generated * @ordered @@ -73,7 +63,6 @@ public class SoftwareImpl extends SystemImpl implements Software { * The cached value of the '{@link #getPeriod() Period}' attribute. * * - * * @see #getPeriod() * @generated * @ordered @@ -84,7 +73,6 @@ public class SoftwareImpl extends SystemImpl implements Software { * The default value of the '{@link #getPriority() Priority}' attribute. * * - * * @see #getPriority() * @generated * @ordered @@ -95,7 +83,6 @@ public class SoftwareImpl extends SystemImpl implements Software { * The cached value of the '{@link #getPriority() Priority}' attribute. * * - * * @see #getPriority() * @generated * @ordered @@ -106,7 +93,6 @@ public class SoftwareImpl extends SystemImpl implements Software { * The default value of the '{@link #getDeadline() Deadline}' attribute. * * - * * @see #getDeadline() * @generated * @ordered @@ -117,7 +103,6 @@ public class SoftwareImpl extends SystemImpl implements Software { * The cached value of the '{@link #getDeadline() Deadline}' attribute. * * - * * @see #getDeadline() * @generated * @ordered @@ -128,7 +113,6 @@ public class SoftwareImpl extends SystemImpl implements Software { * The default value of the '{@link #getWcet() Wcet}' attribute. * * - * * @see #getWcet() * @generated * @ordered @@ -139,7 +123,6 @@ public class SoftwareImpl extends SystemImpl implements Software { * The cached value of the '{@link #getWcet() Wcet}' attribute. * * - * * @see #getWcet() * @generated * @ordered @@ -149,7 +132,6 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * * - * * @generated */ protected SoftwareImpl() { @@ -159,7 +141,6 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * * - * * @generated */ @Override @@ -170,7 +151,6 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * * - * * @generated */ public boolean isIsPeriodic() { @@ -180,20 +160,18 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * * - * * @generated */ public void setIsPeriodic(boolean newIsPeriodic) { boolean oldIsPeriodic = isPeriodic; isPeriodic = newIsPeriodic; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SOFTWARE__IS_PERIODIC, oldIsPeriodic, isPeriodic)); } /** * * - * * @generated */ public float getPeriod() { @@ -203,20 +181,18 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * * - * * @generated */ public void setPeriod(float newPeriod) { float oldPeriod = period; period = newPeriod; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SOFTWARE__PERIOD, oldPeriod, period)); } /** * * - * * @generated */ public char getPriority() { @@ -226,20 +202,18 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * * - * * @generated */ public void setPriority(char newPriority) { char oldPriority = priority; priority = newPriority; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SOFTWARE__PRIORITY, oldPriority, priority)); } /** * * - * * @generated */ public float getDeadline() { @@ -249,20 +223,18 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * * - * * @generated */ public void setDeadline(float newDeadline) { float oldDeadline = deadline; deadline = newDeadline; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SOFTWARE__DEADLINE, oldDeadline, deadline)); } /** * * - * * @generated */ public float getWcet() { @@ -272,35 +244,33 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * * - * * @generated */ public void setWcet(float newWcet) { float oldWcet = wcet; wcet = newWcet; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SOFTWARE__WCET, oldWcet, wcet)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.SOFTWARE__IS_PERIODIC: - return isIsPeriodic(); - case RobotMLPackage.SOFTWARE__PERIOD: - return getPeriod(); - case RobotMLPackage.SOFTWARE__PRIORITY: - return getPriority(); - case RobotMLPackage.SOFTWARE__DEADLINE: - return getDeadline(); - case RobotMLPackage.SOFTWARE__WCET: - return getWcet(); + switch (featureID) { + case RobotMLPackage.SOFTWARE__IS_PERIODIC: + return isIsPeriodic(); + case RobotMLPackage.SOFTWARE__PERIOD: + return getPeriod(); + case RobotMLPackage.SOFTWARE__PRIORITY: + return getPriority(); + case RobotMLPackage.SOFTWARE__DEADLINE: + return getDeadline(); + case RobotMLPackage.SOFTWARE__WCET: + return getWcet(); } return super.eGet(featureID, resolve, coreType); } @@ -308,27 +278,26 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.SOFTWARE__IS_PERIODIC: - setIsPeriodic((Boolean)newValue); - return; - case RobotMLPackage.SOFTWARE__PERIOD: - setPeriod((Float)newValue); - return; - case RobotMLPackage.SOFTWARE__PRIORITY: - setPriority((Character)newValue); - return; - case RobotMLPackage.SOFTWARE__DEADLINE: - setDeadline((Float)newValue); - return; - case RobotMLPackage.SOFTWARE__WCET: - setWcet((Float)newValue); - return; + switch (featureID) { + case RobotMLPackage.SOFTWARE__IS_PERIODIC: + setIsPeriodic((Boolean)newValue); + return; + case RobotMLPackage.SOFTWARE__PERIOD: + setPeriod((Float)newValue); + return; + case RobotMLPackage.SOFTWARE__PRIORITY: + setPriority((Character)newValue); + return; + case RobotMLPackage.SOFTWARE__DEADLINE: + setDeadline((Float)newValue); + return; + case RobotMLPackage.SOFTWARE__WCET: + setWcet((Float)newValue); + return; } super.eSet(featureID, newValue); } @@ -336,27 +305,26 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.SOFTWARE__IS_PERIODIC: - setIsPeriodic(IS_PERIODIC_EDEFAULT); - return; - case RobotMLPackage.SOFTWARE__PERIOD: - setPeriod(PERIOD_EDEFAULT); - return; - case RobotMLPackage.SOFTWARE__PRIORITY: - setPriority(PRIORITY_EDEFAULT); - return; - case RobotMLPackage.SOFTWARE__DEADLINE: - setDeadline(DEADLINE_EDEFAULT); - return; - case RobotMLPackage.SOFTWARE__WCET: - setWcet(WCET_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.SOFTWARE__IS_PERIODIC: + setIsPeriodic(IS_PERIODIC_EDEFAULT); + return; + case RobotMLPackage.SOFTWARE__PERIOD: + setPeriod(PERIOD_EDEFAULT); + return; + case RobotMLPackage.SOFTWARE__PRIORITY: + setPriority(PRIORITY_EDEFAULT); + return; + case RobotMLPackage.SOFTWARE__DEADLINE: + setDeadline(DEADLINE_EDEFAULT); + return; + case RobotMLPackage.SOFTWARE__WCET: + setWcet(WCET_EDEFAULT); + return; } super.eUnset(featureID); } @@ -364,22 +332,21 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.SOFTWARE__IS_PERIODIC: - return isPeriodic != IS_PERIODIC_EDEFAULT; - case RobotMLPackage.SOFTWARE__PERIOD: - return period != PERIOD_EDEFAULT; - case RobotMLPackage.SOFTWARE__PRIORITY: - return priority != PRIORITY_EDEFAULT; - case RobotMLPackage.SOFTWARE__DEADLINE: - return deadline != DEADLINE_EDEFAULT; - case RobotMLPackage.SOFTWARE__WCET: - return wcet != WCET_EDEFAULT; + switch (featureID) { + case RobotMLPackage.SOFTWARE__IS_PERIODIC: + return isPeriodic != IS_PERIODIC_EDEFAULT; + case RobotMLPackage.SOFTWARE__PERIOD: + return period != PERIOD_EDEFAULT; + case RobotMLPackage.SOFTWARE__PRIORITY: + return priority != PRIORITY_EDEFAULT; + case RobotMLPackage.SOFTWARE__DEADLINE: + return deadline != DEADLINE_EDEFAULT; + case RobotMLPackage.SOFTWARE__WCET: + return wcet != WCET_EDEFAULT; } return super.eIsSet(featureID); } @@ -387,13 +354,11 @@ public class SoftwareImpl extends SystemImpl implements Software { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (isPeriodic: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/StairsImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/StairsImpl.java index 4d113a2a389..19a6af9352c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/StairsImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/StairsImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.Stairs; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.Stairs; * *

*

- * + * * @generated */ public class StairsImpl extends GroundImpl implements Stairs { - /** * * - * * @generated */ protected StairsImpl() { @@ -39,7 +29,6 @@ public class StairsImpl extends GroundImpl implements Stairs { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/StateImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/StateImpl.java index 24d0a83b4ed..5644256f18e 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/StateImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/StateImpl.java @@ -1,29 +1,19 @@ -/***************************************************************************** - * 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.RobotML.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.InternalEObject; + import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.papyrus.RobotML.Algorithm; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.State; -import org.eclipse.uml2.uml.Property; + +import org.eclipse.uml2.uml.Behavior; /** * @@ -32,21 +22,18 @@ import org.eclipse.uml2.uml.Property; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.StateImpl#getBase_State Base State}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.StateImpl#getOperation Operation}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.StateImpl#getArguments Arguments}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.StateImpl#getBase_State Base State}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.StateImpl#getBehavior Behavior}
  • *
*

- * + * * @generated */ -public class StateImpl extends EObjectImpl implements State { - +public class StateImpl extends MinimalEObjectImpl.Container implements State { /** * The cached value of the '{@link #getBase_State() Base State}' reference. * * - * * @see #getBase_State() * @generated * @ordered @@ -54,31 +41,18 @@ public class StateImpl extends EObjectImpl implements State { protected org.eclipse.uml2.uml.State base_State; /** - * The cached value of the '{@link #getOperation() Operation}' reference. + * The cached value of the '{@link #getBehavior() Behavior}' reference. * * - * - * @see #getOperation() + * @see #getBehavior() * @generated * @ordered */ - protected Algorithm operation; + protected Behavior behavior; /** - * The cached value of the '{@link #getArguments() Arguments}' reference list. * * - * - * @see #getArguments() - * @generated - * @ordered - */ - protected EList arguments; - - /** - * - * - * * @generated */ protected StateImpl() { @@ -88,7 +62,6 @@ public class StateImpl extends EObjectImpl implements State { /** * * - * * @generated */ @Override @@ -99,15 +72,14 @@ public class StateImpl extends EObjectImpl implements State { /** * * - * * @generated */ public org.eclipse.uml2.uml.State getBase_State() { - if(base_State != null && base_State.eIsProxy()) { + if (base_State != null && base_State.eIsProxy()) { InternalEObject oldBase_State = (InternalEObject)base_State; base_State = (org.eclipse.uml2.uml.State)eResolveProxy(oldBase_State); - if(base_State != oldBase_State) { - if(eNotificationRequired()) + if (base_State != oldBase_State) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.STATE__BASE_STATE, oldBase_State, base_State)); } } @@ -117,7 +89,6 @@ public class StateImpl extends EObjectImpl implements State { /** * * - * * @generated */ public org.eclipse.uml2.uml.State basicGetBase_State() { @@ -127,89 +98,67 @@ public class StateImpl extends EObjectImpl implements State { /** * * - * * @generated */ public void setBase_State(org.eclipse.uml2.uml.State newBase_State) { org.eclipse.uml2.uml.State oldBase_State = base_State; base_State = newBase_State; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STATE__BASE_STATE, oldBase_State, base_State)); } /** * * - * * @generated */ - public Algorithm getOperation() { - if(operation != null && operation.eIsProxy()) { - InternalEObject oldOperation = (InternalEObject)operation; - operation = (Algorithm)eResolveProxy(oldOperation); - if(operation != oldOperation) { - if(eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.STATE__OPERATION, oldOperation, operation)); + public Behavior getBehavior() { + if (behavior != null && behavior.eIsProxy()) { + InternalEObject oldBehavior = (InternalEObject)behavior; + behavior = (Behavior)eResolveProxy(oldBehavior); + if (behavior != oldBehavior) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.STATE__BEHAVIOR, oldBehavior, behavior)); } } - return operation; - } - - /** - * - * - * - * @generated - */ - public Algorithm basicGetOperation() { - return operation; + return behavior; } /** * * - * * @generated */ - public void setOperation(Algorithm newOperation) { - Algorithm oldOperation = operation; - operation = newOperation; - if(eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STATE__OPERATION, oldOperation, operation)); + public Behavior basicGetBehavior() { + return behavior; } /** * * - * * @generated */ - public EList getArguments() { - if(arguments == null) { - arguments = new EObjectResolvingEList(Property.class, this, RobotMLPackage.STATE__ARGUMENTS); - } - return arguments; + public void setBehavior(Behavior newBehavior) { + Behavior oldBehavior = behavior; + behavior = newBehavior; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.STATE__BEHAVIOR, oldBehavior, behavior)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.STATE__BASE_STATE: - if(resolve) - return getBase_State(); - return basicGetBase_State(); - case RobotMLPackage.STATE__OPERATION: - if(resolve) - return getOperation(); - return basicGetOperation(); - case RobotMLPackage.STATE__ARGUMENTS: - return getArguments(); + switch (featureID) { + case RobotMLPackage.STATE__BASE_STATE: + if (resolve) return getBase_State(); + return basicGetBase_State(); + case RobotMLPackage.STATE__BEHAVIOR: + if (resolve) return getBehavior(); + return basicGetBehavior(); } return super.eGet(featureID, resolve, coreType); } @@ -217,23 +166,17 @@ public class StateImpl extends EObjectImpl implements State { /** * * - * * @generated */ - @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.STATE__BASE_STATE: - setBase_State((org.eclipse.uml2.uml.State)newValue); - return; - case RobotMLPackage.STATE__OPERATION: - setOperation((Algorithm)newValue); - return; - case RobotMLPackage.STATE__ARGUMENTS: - getArguments().clear(); - getArguments().addAll((Collection)newValue); - return; + switch (featureID) { + case RobotMLPackage.STATE__BASE_STATE: + setBase_State((org.eclipse.uml2.uml.State)newValue); + return; + case RobotMLPackage.STATE__BEHAVIOR: + setBehavior((Behavior)newValue); + return; } super.eSet(featureID, newValue); } @@ -241,21 +184,17 @@ public class StateImpl extends EObjectImpl implements State { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.STATE__BASE_STATE: - setBase_State((org.eclipse.uml2.uml.State)null); - return; - case RobotMLPackage.STATE__OPERATION: - setOperation((Algorithm)null); - return; - case RobotMLPackage.STATE__ARGUMENTS: - getArguments().clear(); - return; + switch (featureID) { + case RobotMLPackage.STATE__BASE_STATE: + setBase_State((org.eclipse.uml2.uml.State)null); + return; + case RobotMLPackage.STATE__BEHAVIOR: + setBehavior((Behavior)null); + return; } super.eUnset(featureID); } @@ -263,18 +202,15 @@ public class StateImpl extends EObjectImpl implements State { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.STATE__BASE_STATE: - return base_State != null; - case RobotMLPackage.STATE__OPERATION: - return operation != null; - case RobotMLPackage.STATE__ARGUMENTS: - return arguments != null && !arguments.isEmpty(); + switch (featureID) { + case RobotMLPackage.STATE__BASE_STATE: + return base_State != null; + case RobotMLPackage.STATE__BEHAVIOR: + return behavior != null; } return super.eIsSet(featureID); } diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SurfaceImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SurfaceImpl.java index 0fefa7e9373..c0ec02e310c 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SurfaceImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SurfaceImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.Surface; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.Surface; * *

*

- * + * * @generated */ public class SurfaceImpl extends PhysicalObjectImpl implements Surface { - /** * * - * * @generated */ protected SurfaceImpl() { @@ -39,7 +29,6 @@ public class SurfaceImpl extends PhysicalObjectImpl implements Surface { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SystemImpl.java index 5cfa45617e7..0dda964be3e 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/SystemImpl.java @@ -1,21 +1,15 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + 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.EObjectImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + import org.eclipse.papyrus.RobotML.RobotMLPackage; /** @@ -25,22 +19,20 @@ import org.eclipse.papyrus.RobotML.RobotMLPackage; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.SystemImpl#getBase_Class Base Class}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.SystemImpl#isNative Native}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.SystemImpl#getLibraryPath Library Path}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.SystemImpl#getLibraryComponentName Library Component Name}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SystemImpl#getBase_Class Base Class}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SystemImpl#isNative Native}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SystemImpl#getLibraryPath Library Path}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.SystemImpl#getLibraryComponentName Library Component Name}
  • *
*

- * + * * @generated */ -public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.RobotML.System { - +public class SystemImpl extends MinimalEObjectImpl.Container implements org.eclipse.papyrus.RobotML.System { /** * The cached value of the '{@link #getBase_Class() Base Class}' reference. * * - * * @see #getBase_Class() * @generated * @ordered @@ -51,7 +43,6 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot * The default value of the '{@link #isNative() Native}' attribute. * * - * * @see #isNative() * @generated * @ordered @@ -62,7 +53,6 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot * The cached value of the '{@link #isNative() Native}' attribute. * * - * * @see #isNative() * @generated * @ordered @@ -73,7 +63,6 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot * The default value of the '{@link #getLibraryPath() Library Path}' attribute. * * - * * @see #getLibraryPath() * @generated * @ordered @@ -84,7 +73,6 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot * The cached value of the '{@link #getLibraryPath() Library Path}' attribute. * * - * * @see #getLibraryPath() * @generated * @ordered @@ -95,7 +83,6 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot * The default value of the '{@link #getLibraryComponentName() Library Component Name}' attribute. * * - * * @see #getLibraryComponentName() * @generated * @ordered @@ -106,7 +93,6 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot * The cached value of the '{@link #getLibraryComponentName() Library Component Name}' attribute. * * - * * @see #getLibraryComponentName() * @generated * @ordered @@ -116,7 +102,6 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot /** * * - * * @generated */ protected SystemImpl() { @@ -126,7 +111,6 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot /** * * - * * @generated */ @Override @@ -137,15 +121,14 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot /** * * - * * @generated */ public org.eclipse.uml2.uml.Class getBase_Class() { - if(base_Class != null && base_Class.eIsProxy()) { + if (base_Class != null && base_Class.eIsProxy()) { InternalEObject oldBase_Class = (InternalEObject)base_Class; base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); - if(base_Class != oldBase_Class) { - if(eNotificationRequired()) + if (base_Class != oldBase_Class) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.SYSTEM__BASE_CLASS, oldBase_Class, base_Class)); } } @@ -155,7 +138,6 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot /** * * - * * @generated */ public org.eclipse.uml2.uml.Class basicGetBase_Class() { @@ -165,20 +147,18 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot /** * * - * * @generated */ public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) { org.eclipse.uml2.uml.Class oldBase_Class = base_Class; base_Class = newBase_Class; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SYSTEM__BASE_CLASS, oldBase_Class, base_Class)); } /** * * - * * @generated */ public boolean isNative() { @@ -188,20 +168,18 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot /** * * - * * @generated */ public void setNative(boolean newNative) { boolean oldNative = native_; native_ = newNative; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SYSTEM__NATIVE, oldNative, native_)); } /** * * - * * @generated */ public String getLibraryPath() { @@ -211,20 +189,18 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot /** * * - * * @generated */ public void setLibraryPath(String newLibraryPath) { String oldLibraryPath = libraryPath; libraryPath = newLibraryPath; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SYSTEM__LIBRARY_PATH, oldLibraryPath, libraryPath)); } /** * * - * * @generated */ public String getLibraryComponentName() { @@ -234,35 +210,32 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot /** * * - * * @generated */ public void setLibraryComponentName(String newLibraryComponentName) { String oldLibraryComponentName = libraryComponentName; libraryComponentName = newLibraryComponentName; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.SYSTEM__LIBRARY_COMPONENT_NAME, oldLibraryComponentName, libraryComponentName)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.SYSTEM__BASE_CLASS: - if(resolve) - return getBase_Class(); - return basicGetBase_Class(); - case RobotMLPackage.SYSTEM__NATIVE: - return isNative(); - case RobotMLPackage.SYSTEM__LIBRARY_PATH: - return getLibraryPath(); - case RobotMLPackage.SYSTEM__LIBRARY_COMPONENT_NAME: - return getLibraryComponentName(); + switch (featureID) { + case RobotMLPackage.SYSTEM__BASE_CLASS: + if (resolve) return getBase_Class(); + return basicGetBase_Class(); + case RobotMLPackage.SYSTEM__NATIVE: + return isNative(); + case RobotMLPackage.SYSTEM__LIBRARY_PATH: + return getLibraryPath(); + case RobotMLPackage.SYSTEM__LIBRARY_COMPONENT_NAME: + return getLibraryComponentName(); } return super.eGet(featureID, resolve, coreType); } @@ -270,24 +243,23 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.SYSTEM__BASE_CLASS: - setBase_Class((org.eclipse.uml2.uml.Class)newValue); - return; - case RobotMLPackage.SYSTEM__NATIVE: - setNative((Boolean)newValue); - return; - case RobotMLPackage.SYSTEM__LIBRARY_PATH: - setLibraryPath((String)newValue); - return; - case RobotMLPackage.SYSTEM__LIBRARY_COMPONENT_NAME: - setLibraryComponentName((String)newValue); - return; + switch (featureID) { + case RobotMLPackage.SYSTEM__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)newValue); + return; + case RobotMLPackage.SYSTEM__NATIVE: + setNative((Boolean)newValue); + return; + case RobotMLPackage.SYSTEM__LIBRARY_PATH: + setLibraryPath((String)newValue); + return; + case RobotMLPackage.SYSTEM__LIBRARY_COMPONENT_NAME: + setLibraryComponentName((String)newValue); + return; } super.eSet(featureID, newValue); } @@ -295,24 +267,23 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.SYSTEM__BASE_CLASS: - setBase_Class((org.eclipse.uml2.uml.Class)null); - return; - case RobotMLPackage.SYSTEM__NATIVE: - setNative(NATIVE_EDEFAULT); - return; - case RobotMLPackage.SYSTEM__LIBRARY_PATH: - setLibraryPath(LIBRARY_PATH_EDEFAULT); - return; - case RobotMLPackage.SYSTEM__LIBRARY_COMPONENT_NAME: - setLibraryComponentName(LIBRARY_COMPONENT_NAME_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.SYSTEM__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)null); + return; + case RobotMLPackage.SYSTEM__NATIVE: + setNative(NATIVE_EDEFAULT); + return; + case RobotMLPackage.SYSTEM__LIBRARY_PATH: + setLibraryPath(LIBRARY_PATH_EDEFAULT); + return; + case RobotMLPackage.SYSTEM__LIBRARY_COMPONENT_NAME: + setLibraryComponentName(LIBRARY_COMPONENT_NAME_EDEFAULT); + return; } super.eUnset(featureID); } @@ -320,20 +291,19 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.SYSTEM__BASE_CLASS: - return base_Class != null; - case RobotMLPackage.SYSTEM__NATIVE: - return native_ != NATIVE_EDEFAULT; - case RobotMLPackage.SYSTEM__LIBRARY_PATH: - return LIBRARY_PATH_EDEFAULT == null ? libraryPath != null : !LIBRARY_PATH_EDEFAULT.equals(libraryPath); - case RobotMLPackage.SYSTEM__LIBRARY_COMPONENT_NAME: - return LIBRARY_COMPONENT_NAME_EDEFAULT == null ? libraryComponentName != null : !LIBRARY_COMPONENT_NAME_EDEFAULT.equals(libraryComponentName); + switch (featureID) { + case RobotMLPackage.SYSTEM__BASE_CLASS: + return base_Class != null; + case RobotMLPackage.SYSTEM__NATIVE: + return native_ != NATIVE_EDEFAULT; + case RobotMLPackage.SYSTEM__LIBRARY_PATH: + return LIBRARY_PATH_EDEFAULT == null ? libraryPath != null : !LIBRARY_PATH_EDEFAULT.equals(libraryPath); + case RobotMLPackage.SYSTEM__LIBRARY_COMPONENT_NAME: + return LIBRARY_COMPONENT_NAME_EDEFAULT == null ? libraryComponentName != null : !LIBRARY_COMPONENT_NAME_EDEFAULT.equals(libraryComponentName); } return super.eIsSet(featureID); } @@ -341,13 +311,11 @@ public class SystemImpl extends EObjectImpl implements org.eclipse.papyrus.Robot /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (native: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/TransitionImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/TransitionImpl.java index c5874b918fb..b30511fddf3 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/TransitionImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/TransitionImpl.java @@ -1,25 +1,20 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + 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.EObjectImpl; -import org.eclipse.papyrus.RobotML.Algorithm; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.Transition; +import org.eclipse.uml2.uml.Behavior; + /** * * An implementation of the model object 'Transition'. @@ -27,21 +22,19 @@ import org.eclipse.papyrus.RobotML.Transition; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.TransitionImpl#getBase_Transition Base Transition}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.TransitionImpl#getGuard Guard}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.TransitionImpl#getEffect Effect}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.TransitionImpl#getBase_Transition Base Transition}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.TransitionImpl#getGuard Guard}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.TransitionImpl#getEffect Effect}
  • *
*

- * + * * @generated */ -public class TransitionImpl extends EObjectImpl implements Transition { - +public class TransitionImpl extends MinimalEObjectImpl.Container implements Transition { /** * The cached value of the '{@link #getBase_Transition() Base Transition}' reference. * * - * * @see #getBase_Transition() * @generated * @ordered @@ -52,28 +45,25 @@ public class TransitionImpl extends EObjectImpl implements Transition { * The cached value of the '{@link #getGuard() Guard}' reference. * * - * * @see #getGuard() * @generated * @ordered */ - protected Algorithm guard; + protected Behavior guard; /** * The cached value of the '{@link #getEffect() Effect}' reference. * * - * * @see #getEffect() * @generated * @ordered */ - protected Algorithm effect; + protected Behavior effect; /** * * - * * @generated */ protected TransitionImpl() { @@ -83,7 +73,6 @@ public class TransitionImpl extends EObjectImpl implements Transition { /** * * - * * @generated */ @Override @@ -94,15 +83,14 @@ public class TransitionImpl extends EObjectImpl implements Transition { /** * * - * * @generated */ public org.eclipse.uml2.uml.Transition getBase_Transition() { - if(base_Transition != null && base_Transition.eIsProxy()) { + if (base_Transition != null && base_Transition.eIsProxy()) { InternalEObject oldBase_Transition = (InternalEObject)base_Transition; base_Transition = (org.eclipse.uml2.uml.Transition)eResolveProxy(oldBase_Transition); - if(base_Transition != oldBase_Transition) { - if(eNotificationRequired()) + if (base_Transition != oldBase_Transition) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.TRANSITION__BASE_TRANSITION, oldBase_Transition, base_Transition)); } } @@ -112,7 +100,6 @@ public class TransitionImpl extends EObjectImpl implements Transition { /** * * - * * @generated */ public org.eclipse.uml2.uml.Transition basicGetBase_Transition() { @@ -122,28 +109,26 @@ public class TransitionImpl extends EObjectImpl implements Transition { /** * * - * * @generated */ public void setBase_Transition(org.eclipse.uml2.uml.Transition newBase_Transition) { org.eclipse.uml2.uml.Transition oldBase_Transition = base_Transition; base_Transition = newBase_Transition; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.TRANSITION__BASE_TRANSITION, oldBase_Transition, base_Transition)); } /** * * - * * @generated */ - public Algorithm getGuard() { - if(guard != null && guard.eIsProxy()) { + public Behavior getGuard() { + if (guard != null && guard.eIsProxy()) { InternalEObject oldGuard = (InternalEObject)guard; - guard = (Algorithm)eResolveProxy(oldGuard); - if(guard != oldGuard) { - if(eNotificationRequired()) + guard = (Behavior)eResolveProxy(oldGuard); + if (guard != oldGuard) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.TRANSITION__GUARD, oldGuard, guard)); } } @@ -153,38 +138,35 @@ public class TransitionImpl extends EObjectImpl implements Transition { /** * * - * * @generated */ - public Algorithm basicGetGuard() { + public Behavior basicGetGuard() { return guard; } /** * * - * * @generated */ - public void setGuard(Algorithm newGuard) { - Algorithm oldGuard = guard; + public void setGuard(Behavior newGuard) { + Behavior oldGuard = guard; guard = newGuard; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.TRANSITION__GUARD, oldGuard, guard)); } /** * * - * * @generated */ - public Algorithm getEffect() { - if(effect != null && effect.eIsProxy()) { + public Behavior getEffect() { + if (effect != null && effect.eIsProxy()) { InternalEObject oldEffect = (InternalEObject)effect; - effect = (Algorithm)eResolveProxy(oldEffect); - if(effect != oldEffect) { - if(eNotificationRequired()) + effect = (Behavior)eResolveProxy(oldEffect); + if (effect != oldEffect) { + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, RobotMLPackage.TRANSITION__EFFECT, oldEffect, effect)); } } @@ -194,47 +176,41 @@ public class TransitionImpl extends EObjectImpl implements Transition { /** * * - * * @generated */ - public Algorithm basicGetEffect() { + public Behavior basicGetEffect() { return effect; } /** * * - * * @generated */ - public void setEffect(Algorithm newEffect) { - Algorithm oldEffect = effect; + public void setEffect(Behavior newEffect) { + Behavior oldEffect = effect; effect = newEffect; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.TRANSITION__EFFECT, oldEffect, effect)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.TRANSITION__BASE_TRANSITION: - if(resolve) - return getBase_Transition(); - return basicGetBase_Transition(); - case RobotMLPackage.TRANSITION__GUARD: - if(resolve) - return getGuard(); - return basicGetGuard(); - case RobotMLPackage.TRANSITION__EFFECT: - if(resolve) - return getEffect(); - return basicGetEffect(); + switch (featureID) { + case RobotMLPackage.TRANSITION__BASE_TRANSITION: + if (resolve) return getBase_Transition(); + return basicGetBase_Transition(); + case RobotMLPackage.TRANSITION__GUARD: + if (resolve) return getGuard(); + return basicGetGuard(); + case RobotMLPackage.TRANSITION__EFFECT: + if (resolve) return getEffect(); + return basicGetEffect(); } return super.eGet(featureID, resolve, coreType); } @@ -242,21 +218,20 @@ public class TransitionImpl extends EObjectImpl implements Transition { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.TRANSITION__BASE_TRANSITION: - setBase_Transition((org.eclipse.uml2.uml.Transition)newValue); - return; - case RobotMLPackage.TRANSITION__GUARD: - setGuard((Algorithm)newValue); - return; - case RobotMLPackage.TRANSITION__EFFECT: - setEffect((Algorithm)newValue); - return; + switch (featureID) { + case RobotMLPackage.TRANSITION__BASE_TRANSITION: + setBase_Transition((org.eclipse.uml2.uml.Transition)newValue); + return; + case RobotMLPackage.TRANSITION__GUARD: + setGuard((Behavior)newValue); + return; + case RobotMLPackage.TRANSITION__EFFECT: + setEffect((Behavior)newValue); + return; } super.eSet(featureID, newValue); } @@ -264,21 +239,20 @@ public class TransitionImpl extends EObjectImpl implements Transition { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.TRANSITION__BASE_TRANSITION: - setBase_Transition((org.eclipse.uml2.uml.Transition)null); - return; - case RobotMLPackage.TRANSITION__GUARD: - setGuard((Algorithm)null); - return; - case RobotMLPackage.TRANSITION__EFFECT: - setEffect((Algorithm)null); - return; + switch (featureID) { + case RobotMLPackage.TRANSITION__BASE_TRANSITION: + setBase_Transition((org.eclipse.uml2.uml.Transition)null); + return; + case RobotMLPackage.TRANSITION__GUARD: + setGuard((Behavior)null); + return; + case RobotMLPackage.TRANSITION__EFFECT: + setEffect((Behavior)null); + return; } super.eUnset(featureID); } @@ -286,18 +260,17 @@ public class TransitionImpl extends EObjectImpl implements Transition { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.TRANSITION__BASE_TRANSITION: - return base_Transition != null; - case RobotMLPackage.TRANSITION__GUARD: - return guard != null; - case RobotMLPackage.TRANSITION__EFFECT: - return effect != null; + switch (featureID) { + case RobotMLPackage.TRANSITION__BASE_TRANSITION: + return base_Transition != null; + case RobotMLPackage.TRANSITION__GUARD: + return guard != null; + case RobotMLPackage.TRANSITION__EFFECT: + return effect != null; } return super.eIsSet(featureID); } diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/WaterSurfaceImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/WaterSurfaceImpl.java index 5e58b782977..55e0ef18c77 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/WaterSurfaceImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/WaterSurfaceImpl.java @@ -1,17 +1,9 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.ecore.EClass; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.WaterSurface; @@ -21,15 +13,13 @@ import org.eclipse.papyrus.RobotML.WaterSurface; * *

*

- * + * * @generated */ public class WaterSurfaceImpl extends SurfaceImpl implements WaterSurface { - /** * * - * * @generated */ protected WaterSurfaceImpl() { @@ -39,7 +29,6 @@ public class WaterSurfaceImpl extends SurfaceImpl implements WaterSurface { /** * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/WheelSystemImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/WheelSystemImpl.java index 5eac3e67c86..e0e8c0329df 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/WheelSystemImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/WheelSystemImpl.java @@ -1,22 +1,17 @@ -/***************************************************************************** - * 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.RobotML.impl; import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.papyrus.RobotML.RobotMLPackage; import org.eclipse.papyrus.RobotML.WheelSystem; +// TODO: Auto-generated Javadoc /** * * An implementation of the model object 'Wheel System'. @@ -24,34 +19,32 @@ import org.eclipse.papyrus.RobotML.WheelSystem; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelRadius Wheel Radius}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelWidth Wheel Width}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getSuspensionRestLength Suspension Rest Length}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelConnectionHeight Wheel Connection Height}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getTypeOfWheel Type Of Wheel}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelVelocityPIDkp Wheel Velocity PI Dkp}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelVelocityPIDki Wheel Velocity PI Dki}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelVelocityPIDkd Wheel Velocity PI Dkd}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelSteeringPIDkp Wheel Steering PI Dkp}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelSteeringPIDkd Wheel Steering PI Dkd}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelFriction Wheel Friction}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getSuspensionStiffness Suspension Stiffness}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getSuspensionDamping Suspension Damping}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getSuspensionCompression Suspension Compression}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelVelocityPIDmaxSum Wheel Velocity PI Dmax Sum}
  • - *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelVelocityPIDmaxVal Wheel Velocity PI Dmax Val}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelRadius Wheel Radius}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelWidth Wheel Width}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getSuspensionRestLength Suspension Rest Length}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelConnectionHeight Wheel Connection Height}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getTypeOfWheel Type Of Wheel}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelVelocityPIDkp Wheel Velocity PI Dkp}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelVelocityPIDki Wheel Velocity PI Dki}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelVelocityPIDkd Wheel Velocity PI Dkd}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelSteeringPIDkp Wheel Steering PI Dkp}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelSteeringPIDkd Wheel Steering PI Dkd}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelFriction Wheel Friction}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getSuspensionStiffness Suspension Stiffness}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getSuspensionDamping Suspension Damping}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getSuspensionCompression Suspension Compression}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelVelocityPIDmaxSum Wheel Velocity PI Dmax Sum}
  • + *
  • {@link org.eclipse.papyrus.RobotML.impl.WheelSystemImpl#getWheelVelocityPIDmaxVal Wheel Velocity PI Dmax Val}
  • *
*

- * + * * @generated */ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { - /** * The default value of the '{@link #getWheelRadius() Wheel Radius}' attribute. * * - * * @see #getWheelRadius() * @generated * @ordered @@ -62,7 +55,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getWheelRadius() Wheel Radius}' attribute. * * - * * @see #getWheelRadius() * @generated * @ordered @@ -73,7 +65,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getWheelWidth() Wheel Width}' attribute. * * - * * @see #getWheelWidth() * @generated * @ordered @@ -84,7 +75,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getWheelWidth() Wheel Width}' attribute. * * - * * @see #getWheelWidth() * @generated * @ordered @@ -95,7 +85,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getSuspensionRestLength() Suspension Rest Length}' attribute. * * - * * @see #getSuspensionRestLength() * @generated * @ordered @@ -106,7 +95,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getSuspensionRestLength() Suspension Rest Length}' attribute. * * - * * @see #getSuspensionRestLength() * @generated * @ordered @@ -117,7 +105,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getWheelConnectionHeight() Wheel Connection Height}' attribute. * * - * * @see #getWheelConnectionHeight() * @generated * @ordered @@ -128,7 +115,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getWheelConnectionHeight() Wheel Connection Height}' attribute. * * - * * @see #getWheelConnectionHeight() * @generated * @ordered @@ -139,7 +125,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getTypeOfWheel() Type Of Wheel}' attribute. * * - * * @see #getTypeOfWheel() * @generated * @ordered @@ -150,7 +135,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getTypeOfWheel() Type Of Wheel}' attribute. * * - * * @see #getTypeOfWheel() * @generated * @ordered @@ -161,7 +145,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getWheelVelocityPIDkp() Wheel Velocity PI Dkp}' attribute. * * - * * @see #getWheelVelocityPIDkp() * @generated * @ordered @@ -172,7 +155,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getWheelVelocityPIDkp() Wheel Velocity PI Dkp}' attribute. * * - * * @see #getWheelVelocityPIDkp() * @generated * @ordered @@ -183,7 +165,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getWheelVelocityPIDki() Wheel Velocity PI Dki}' attribute. * * - * * @see #getWheelVelocityPIDki() * @generated * @ordered @@ -194,7 +175,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getWheelVelocityPIDki() Wheel Velocity PI Dki}' attribute. * * - * * @see #getWheelVelocityPIDki() * @generated * @ordered @@ -205,7 +185,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getWheelVelocityPIDkd() Wheel Velocity PI Dkd}' attribute. * * - * * @see #getWheelVelocityPIDkd() * @generated * @ordered @@ -216,7 +195,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getWheelVelocityPIDkd() Wheel Velocity PI Dkd}' attribute. * * - * * @see #getWheelVelocityPIDkd() * @generated * @ordered @@ -227,7 +205,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getWheelSteeringPIDkp() Wheel Steering PI Dkp}' attribute. * * - * * @see #getWheelSteeringPIDkp() * @generated * @ordered @@ -238,7 +215,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getWheelSteeringPIDkp() Wheel Steering PI Dkp}' attribute. * * - * * @see #getWheelSteeringPIDkp() * @generated * @ordered @@ -249,7 +225,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getWheelSteeringPIDkd() Wheel Steering PI Dkd}' attribute. * * - * * @see #getWheelSteeringPIDkd() * @generated * @ordered @@ -260,7 +235,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getWheelSteeringPIDkd() Wheel Steering PI Dkd}' attribute. * * - * * @see #getWheelSteeringPIDkd() * @generated * @ordered @@ -271,7 +245,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getWheelFriction() Wheel Friction}' attribute. * * - * * @see #getWheelFriction() * @generated * @ordered @@ -282,7 +255,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getWheelFriction() Wheel Friction}' attribute. * * - * * @see #getWheelFriction() * @generated * @ordered @@ -293,7 +265,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getSuspensionStiffness() Suspension Stiffness}' attribute. * * - * * @see #getSuspensionStiffness() * @generated * @ordered @@ -304,7 +275,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getSuspensionStiffness() Suspension Stiffness}' attribute. * * - * * @see #getSuspensionStiffness() * @generated * @ordered @@ -315,7 +285,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getSuspensionDamping() Suspension Damping}' attribute. * * - * * @see #getSuspensionDamping() * @generated * @ordered @@ -326,7 +295,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getSuspensionDamping() Suspension Damping}' attribute. * * - * * @see #getSuspensionDamping() * @generated * @ordered @@ -337,7 +305,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getSuspensionCompression() Suspension Compression}' attribute. * * - * * @see #getSuspensionCompression() * @generated * @ordered @@ -348,7 +315,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getSuspensionCompression() Suspension Compression}' attribute. * * - * * @see #getSuspensionCompression() * @generated * @ordered @@ -359,7 +325,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getWheelVelocityPIDmaxSum() Wheel Velocity PI Dmax Sum}' attribute. * * - * * @see #getWheelVelocityPIDmaxSum() * @generated * @ordered @@ -370,7 +335,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getWheelVelocityPIDmaxSum() Wheel Velocity PI Dmax Sum}' attribute. * * - * * @see #getWheelVelocityPIDmaxSum() * @generated * @ordered @@ -381,7 +345,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The default value of the '{@link #getWheelVelocityPIDmaxVal() Wheel Velocity PI Dmax Val}' attribute. * * - * * @see #getWheelVelocityPIDmaxVal() * @generated * @ordered @@ -392,7 +355,6 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { * The cached value of the '{@link #getWheelVelocityPIDmaxVal() Wheel Velocity PI Dmax Val}' attribute. * * - * * @see #getWheelVelocityPIDmaxVal() * @generated * @ordered @@ -401,8 +363,8 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * * @generated */ protected WheelSystemImpl() { @@ -411,8 +373,9 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @return the e class * @generated */ @Override @@ -422,8 +385,9 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @return the wheel radius * @generated */ public float getWheelRadius() { @@ -432,21 +396,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newWheelRadius the new wheel radius * @generated */ public void setWheelRadius(float newWheelRadius) { float oldWheelRadius = wheelRadius; wheelRadius = newWheelRadius; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__WHEEL_RADIUS, oldWheelRadius, wheelRadius)); } /** * - * - * + * . + * + * @return the wheel width * @generated */ public float getWheelWidth() { @@ -455,21 +421,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newWheelWidth the new wheel width * @generated */ public void setWheelWidth(float newWheelWidth) { float oldWheelWidth = wheelWidth; wheelWidth = newWheelWidth; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__WHEEL_WIDTH, oldWheelWidth, wheelWidth)); } /** * - * - * + * . + * + * @return the suspension rest length * @generated */ public float getSuspensionRestLength() { @@ -478,21 +446,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newSuspensionRestLength the new suspension rest length * @generated */ public void setSuspensionRestLength(float newSuspensionRestLength) { float oldSuspensionRestLength = suspensionRestLength; suspensionRestLength = newSuspensionRestLength; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_REST_LENGTH, oldSuspensionRestLength, suspensionRestLength)); } /** * - * - * + * . + * + * @return the wheel connection height * @generated */ public float getWheelConnectionHeight() { @@ -501,21 +471,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newWheelConnectionHeight the new wheel connection height * @generated */ public void setWheelConnectionHeight(float newWheelConnectionHeight) { float oldWheelConnectionHeight = wheelConnectionHeight; wheelConnectionHeight = newWheelConnectionHeight; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT, oldWheelConnectionHeight, wheelConnectionHeight)); } /** * - * - * + * . + * + * @return the type of wheel * @generated */ public String getTypeOfWheel() { @@ -524,21 +496,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newTypeOfWheel the new type of wheel * @generated */ public void setTypeOfWheel(String newTypeOfWheel) { String oldTypeOfWheel = typeOfWheel; typeOfWheel = newTypeOfWheel; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__TYPE_OF_WHEEL, oldTypeOfWheel, typeOfWheel)); } /** * - * - * + * . + * + * @return the wheel velocity pi dkp * @generated */ public float getWheelVelocityPIDkp() { @@ -547,21 +521,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newWheelVelocityPIDkp the new wheel velocity pi dkp * @generated */ public void setWheelVelocityPIDkp(float newWheelVelocityPIDkp) { float oldWheelVelocityPIDkp = wheelVelocityPIDkp; wheelVelocityPIDkp = newWheelVelocityPIDkp; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP, oldWheelVelocityPIDkp, wheelVelocityPIDkp)); } /** * - * - * + * . + * + * @return the wheel velocity pi dki * @generated */ public float getWheelVelocityPIDki() { @@ -570,21 +546,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newWheelVelocityPIDki the new wheel velocity pi dki * @generated */ public void setWheelVelocityPIDki(float newWheelVelocityPIDki) { float oldWheelVelocityPIDki = wheelVelocityPIDki; wheelVelocityPIDki = newWheelVelocityPIDki; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI, oldWheelVelocityPIDki, wheelVelocityPIDki)); } /** * - * - * + * . + * + * @return the wheel velocity pi dkd * @generated */ public float getWheelVelocityPIDkd() { @@ -593,21 +571,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newWheelVelocityPIDkd the new wheel velocity pi dkd * @generated */ public void setWheelVelocityPIDkd(float newWheelVelocityPIDkd) { float oldWheelVelocityPIDkd = wheelVelocityPIDkd; wheelVelocityPIDkd = newWheelVelocityPIDkd; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD, oldWheelVelocityPIDkd, wheelVelocityPIDkd)); } /** * - * - * + * . + * + * @return the wheel steering pi dkp * @generated */ public float getWheelSteeringPIDkp() { @@ -616,21 +596,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newWheelSteeringPIDkp the new wheel steering pi dkp * @generated */ public void setWheelSteeringPIDkp(float newWheelSteeringPIDkp) { float oldWheelSteeringPIDkp = wheelSteeringPIDkp; wheelSteeringPIDkp = newWheelSteeringPIDkp; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP, oldWheelSteeringPIDkp, wheelSteeringPIDkp)); } /** * - * - * + * . + * + * @return the wheel steering pi dkd * @generated */ public float getWheelSteeringPIDkd() { @@ -639,21 +621,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newWheelSteeringPIDkd the new wheel steering pi dkd * @generated */ public void setWheelSteeringPIDkd(float newWheelSteeringPIDkd) { float oldWheelSteeringPIDkd = wheelSteeringPIDkd; wheelSteeringPIDkd = newWheelSteeringPIDkd; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD, oldWheelSteeringPIDkd, wheelSteeringPIDkd)); } /** * - * - * + * . + * + * @return the wheel friction * @generated */ public float getWheelFriction() { @@ -662,21 +646,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newWheelFriction the new wheel friction * @generated */ public void setWheelFriction(float newWheelFriction) { float oldWheelFriction = wheelFriction; wheelFriction = newWheelFriction; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__WHEEL_FRICTION, oldWheelFriction, wheelFriction)); } /** * - * - * + * . + * + * @return the suspension stiffness * @generated */ public float getSuspensionStiffness() { @@ -685,21 +671,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newSuspensionStiffness the new suspension stiffness * @generated */ public void setSuspensionStiffness(float newSuspensionStiffness) { float oldSuspensionStiffness = suspensionStiffness; suspensionStiffness = newSuspensionStiffness; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_STIFFNESS, oldSuspensionStiffness, suspensionStiffness)); } /** * - * - * + * . + * + * @return the suspension damping * @generated */ public float getSuspensionDamping() { @@ -708,21 +696,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newSuspensionDamping the new suspension damping * @generated */ public void setSuspensionDamping(float newSuspensionDamping) { float oldSuspensionDamping = suspensionDamping; suspensionDamping = newSuspensionDamping; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_DAMPING, oldSuspensionDamping, suspensionDamping)); } /** * - * - * + * . + * + * @return the suspension compression * @generated */ public float getSuspensionCompression() { @@ -731,21 +721,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newSuspensionCompression the new suspension compression * @generated */ public void setSuspensionCompression(float newSuspensionCompression) { float oldSuspensionCompression = suspensionCompression; suspensionCompression = newSuspensionCompression; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_COMPRESSION, oldSuspensionCompression, suspensionCompression)); } /** * - * - * + * . + * + * @return the wheel velocity pi dmax sum * @generated */ public float getWheelVelocityPIDmaxSum() { @@ -754,21 +746,23 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newWheelVelocityPIDmaxSum the new wheel velocity pi dmax sum * @generated */ public void setWheelVelocityPIDmaxSum(float newWheelVelocityPIDmaxSum) { float oldWheelVelocityPIDmaxSum = wheelVelocityPIDmaxSum; wheelVelocityPIDmaxSum = newWheelVelocityPIDmaxSum; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM, oldWheelVelocityPIDmaxSum, wheelVelocityPIDmaxSum)); } /** * - * - * + * . + * + * @return the wheel velocity pi dmax val * @generated */ public float getWheelVelocityPIDmaxVal() { @@ -777,239 +771,249 @@ public class WheelSystemImpl extends ActuatorSystemImpl implements WheelSystem { /** * - * - * + * . + * + * @param newWheelVelocityPIDmaxVal the new wheel velocity pi dmax val * @generated */ public void setWheelVelocityPIDmaxVal(float newWheelVelocityPIDmaxVal) { float oldWheelVelocityPIDmaxVal = wheelVelocityPIDmaxVal; wheelVelocityPIDmaxVal = newWheelVelocityPIDmaxVal; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL, oldWheelVelocityPIDmaxVal, wheelVelocityPIDmaxVal)); } /** * - * - * + * . + * + * @param featureID the feature id + * @param resolve the resolve + * @param coreType the core type + * @return the object * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_RADIUS: - return getWheelRadius(); - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_WIDTH: - return getWheelWidth(); - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: - return getSuspensionRestLength(); - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: - return getWheelConnectionHeight(); - case RobotMLPackage.WHEEL_SYSTEM__TYPE_OF_WHEEL: - return getTypeOfWheel(); - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: - return getWheelVelocityPIDkp(); - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: - return getWheelVelocityPIDki(); - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: - return getWheelVelocityPIDkd(); - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: - return getWheelSteeringPIDkp(); - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: - return getWheelSteeringPIDkd(); - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_FRICTION: - return getWheelFriction(); - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_STIFFNESS: - return getSuspensionStiffness(); - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_DAMPING: - return getSuspensionDamping(); - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_COMPRESSION: - return getSuspensionCompression(); - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: - return getWheelVelocityPIDmaxSum(); - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: - return getWheelVelocityPIDmaxVal(); + switch (featureID) { + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_RADIUS: + return getWheelRadius(); + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_WIDTH: + return getWheelWidth(); + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: + return getSuspensionRestLength(); + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: + return getWheelConnectionHeight(); + case RobotMLPackage.WHEEL_SYSTEM__TYPE_OF_WHEEL: + return getTypeOfWheel(); + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: + return getWheelVelocityPIDkp(); + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: + return getWheelVelocityPIDki(); + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: + return getWheelVelocityPIDkd(); + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: + return getWheelSteeringPIDkp(); + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: + return getWheelSteeringPIDkd(); + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_FRICTION: + return getWheelFriction(); + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_STIFFNESS: + return getSuspensionStiffness(); + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_DAMPING: + return getSuspensionDamping(); + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_COMPRESSION: + return getSuspensionCompression(); + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: + return getWheelVelocityPIDmaxSum(); + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: + return getWheelVelocityPIDmaxVal(); } return super.eGet(featureID, resolve, coreType); } /** * - * - * + * . + * + * @param featureID the feature id + * @param newValue the new value * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_RADIUS: - setWheelRadius((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_WIDTH: - setWheelWidth((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: - setSuspensionRestLength((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: - setWheelConnectionHeight((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__TYPE_OF_WHEEL: - setTypeOfWheel((String)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: - setWheelVelocityPIDkp((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: - setWheelVelocityPIDki((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: - setWheelVelocityPIDkd((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: - setWheelSteeringPIDkp((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: - setWheelSteeringPIDkd((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_FRICTION: - setWheelFriction((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_STIFFNESS: - setSuspensionStiffness((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_DAMPING: - setSuspensionDamping((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_COMPRESSION: - setSuspensionCompression((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: - setWheelVelocityPIDmaxSum((Float)newValue); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: - setWheelVelocityPIDmaxVal((Float)newValue); - return; + switch (featureID) { + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_RADIUS: + setWheelRadius((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_WIDTH: + setWheelWidth((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: + setSuspensionRestLength((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: + setWheelConnectionHeight((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__TYPE_OF_WHEEL: + setTypeOfWheel((String)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: + setWheelVelocityPIDkp((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: + setWheelVelocityPIDki((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: + setWheelVelocityPIDkd((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: + setWheelSteeringPIDkp((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: + setWheelSteeringPIDkd((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_FRICTION: + setWheelFriction((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_STIFFNESS: + setSuspensionStiffness((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_DAMPING: + setSuspensionDamping((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_COMPRESSION: + setSuspensionCompression((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: + setWheelVelocityPIDmaxSum((Float)newValue); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: + setWheelVelocityPIDmaxVal((Float)newValue); + return; } super.eSet(featureID, newValue); } /** * - * - * + * . + * + * @param featureID the feature id * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_RADIUS: - setWheelRadius(WHEEL_RADIUS_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_WIDTH: - setWheelWidth(WHEEL_WIDTH_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: - setSuspensionRestLength(SUSPENSION_REST_LENGTH_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: - setWheelConnectionHeight(WHEEL_CONNECTION_HEIGHT_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__TYPE_OF_WHEEL: - setTypeOfWheel(TYPE_OF_WHEEL_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: - setWheelVelocityPIDkp(WHEEL_VELOCITY_PI_DKP_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: - setWheelVelocityPIDki(WHEEL_VELOCITY_PI_DKI_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: - setWheelVelocityPIDkd(WHEEL_VELOCITY_PI_DKD_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: - setWheelSteeringPIDkp(WHEEL_STEERING_PI_DKP_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: - setWheelSteeringPIDkd(WHEEL_STEERING_PI_DKD_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_FRICTION: - setWheelFriction(WHEEL_FRICTION_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_STIFFNESS: - setSuspensionStiffness(SUSPENSION_STIFFNESS_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_DAMPING: - setSuspensionDamping(SUSPENSION_DAMPING_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_COMPRESSION: - setSuspensionCompression(SUSPENSION_COMPRESSION_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: - setWheelVelocityPIDmaxSum(WHEEL_VELOCITY_PI_DMAX_SUM_EDEFAULT); - return; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: - setWheelVelocityPIDmaxVal(WHEEL_VELOCITY_PI_DMAX_VAL_EDEFAULT); - return; + switch (featureID) { + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_RADIUS: + setWheelRadius(WHEEL_RADIUS_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_WIDTH: + setWheelWidth(WHEEL_WIDTH_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: + setSuspensionRestLength(SUSPENSION_REST_LENGTH_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: + setWheelConnectionHeight(WHEEL_CONNECTION_HEIGHT_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__TYPE_OF_WHEEL: + setTypeOfWheel(TYPE_OF_WHEEL_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: + setWheelVelocityPIDkp(WHEEL_VELOCITY_PI_DKP_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: + setWheelVelocityPIDki(WHEEL_VELOCITY_PI_DKI_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: + setWheelVelocityPIDkd(WHEEL_VELOCITY_PI_DKD_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: + setWheelSteeringPIDkp(WHEEL_STEERING_PI_DKP_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: + setWheelSteeringPIDkd(WHEEL_STEERING_PI_DKD_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_FRICTION: + setWheelFriction(WHEEL_FRICTION_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_STIFFNESS: + setSuspensionStiffness(SUSPENSION_STIFFNESS_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_DAMPING: + setSuspensionDamping(SUSPENSION_DAMPING_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_COMPRESSION: + setSuspensionCompression(SUSPENSION_COMPRESSION_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: + setWheelVelocityPIDmaxSum(WHEEL_VELOCITY_PI_DMAX_SUM_EDEFAULT); + return; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: + setWheelVelocityPIDmaxVal(WHEEL_VELOCITY_PI_DMAX_VAL_EDEFAULT); + return; } super.eUnset(featureID); } /** * - * - * + * . + * + * @param featureID the feature id + * @return true, if successful * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_RADIUS: - return wheelRadius != WHEEL_RADIUS_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_WIDTH: - return wheelWidth != WHEEL_WIDTH_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: - return suspensionRestLength != SUSPENSION_REST_LENGTH_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: - return wheelConnectionHeight != WHEEL_CONNECTION_HEIGHT_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__TYPE_OF_WHEEL: - return TYPE_OF_WHEEL_EDEFAULT == null ? typeOfWheel != null : !TYPE_OF_WHEEL_EDEFAULT.equals(typeOfWheel); - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: - return wheelVelocityPIDkp != WHEEL_VELOCITY_PI_DKP_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: - return wheelVelocityPIDki != WHEEL_VELOCITY_PI_DKI_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: - return wheelVelocityPIDkd != WHEEL_VELOCITY_PI_DKD_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: - return wheelSteeringPIDkp != WHEEL_STEERING_PI_DKP_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: - return wheelSteeringPIDkd != WHEEL_STEERING_PI_DKD_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_FRICTION: - return wheelFriction != WHEEL_FRICTION_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_STIFFNESS: - return suspensionStiffness != SUSPENSION_STIFFNESS_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_DAMPING: - return suspensionDamping != SUSPENSION_DAMPING_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_COMPRESSION: - return suspensionCompression != SUSPENSION_COMPRESSION_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: - return wheelVelocityPIDmaxSum != WHEEL_VELOCITY_PI_DMAX_SUM_EDEFAULT; - case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: - return wheelVelocityPIDmaxVal != WHEEL_VELOCITY_PI_DMAX_VAL_EDEFAULT; + switch (featureID) { + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_RADIUS: + return wheelRadius != WHEEL_RADIUS_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_WIDTH: + return wheelWidth != WHEEL_WIDTH_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_REST_LENGTH: + return suspensionRestLength != SUSPENSION_REST_LENGTH_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_CONNECTION_HEIGHT: + return wheelConnectionHeight != WHEEL_CONNECTION_HEIGHT_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__TYPE_OF_WHEEL: + return TYPE_OF_WHEEL_EDEFAULT == null ? typeOfWheel != null : !TYPE_OF_WHEEL_EDEFAULT.equals(typeOfWheel); + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKP: + return wheelVelocityPIDkp != WHEEL_VELOCITY_PI_DKP_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKI: + return wheelVelocityPIDki != WHEEL_VELOCITY_PI_DKI_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DKD: + return wheelVelocityPIDkd != WHEEL_VELOCITY_PI_DKD_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKP: + return wheelSteeringPIDkp != WHEEL_STEERING_PI_DKP_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_STEERING_PI_DKD: + return wheelSteeringPIDkd != WHEEL_STEERING_PI_DKD_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_FRICTION: + return wheelFriction != WHEEL_FRICTION_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_STIFFNESS: + return suspensionStiffness != SUSPENSION_STIFFNESS_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_DAMPING: + return suspensionDamping != SUSPENSION_DAMPING_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__SUSPENSION_COMPRESSION: + return suspensionCompression != SUSPENSION_COMPRESSION_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_SUM: + return wheelVelocityPIDmaxSum != WHEEL_VELOCITY_PI_DMAX_SUM_EDEFAULT; + case RobotMLPackage.WHEEL_SYSTEM__WHEEL_VELOCITY_PI_DMAX_VAL: + return wheelVelocityPIDmaxVal != WHEEL_VELOCITY_PI_DMAX_VAL_EDEFAULT; } return super.eIsSet(featureID); } /** * - * - * + * . + * + * @return the string * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (wheelRadius: "); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLAdapterFactory.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLAdapterFactory.java index 6c8eba16dd5..987afe21f8a 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLAdapterFactory.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLAdapterFactory.java @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.RobotML.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.RobotML.ActuatorSystem; import org.eclipse.papyrus.RobotML.Agent; import org.eclipse.papyrus.RobotML.Algorithm; @@ -29,6 +23,7 @@ import org.eclipse.papyrus.RobotML.DataType; import org.eclipse.papyrus.RobotML.DeploymentPlan; import org.eclipse.papyrus.RobotML.EngineSystem; import org.eclipse.papyrus.RobotML.Environment; +import org.eclipse.papyrus.RobotML.ExternalLibrary; import org.eclipse.papyrus.RobotML.Floor; import org.eclipse.papyrus.RobotML.GPSSystem; import org.eclipse.papyrus.RobotML.Ground; @@ -46,6 +41,7 @@ import org.eclipse.papyrus.RobotML.ObjectDetectionSensorSystem; import org.eclipse.papyrus.RobotML.ObjectTrackingSensorSystem; import org.eclipse.papyrus.RobotML.OdometrySystem; import org.eclipse.papyrus.RobotML.OnPort; +import org.eclipse.papyrus.RobotML.OnProperty; import org.eclipse.papyrus.RobotML.Pedestrian; import org.eclipse.papyrus.RobotML.PhysicalObject; import org.eclipse.papyrus.RobotML.Planet; @@ -74,17 +70,14 @@ import org.eclipse.papyrus.RobotML.WheelSystem; * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * - * * @see org.eclipse.papyrus.RobotML.RobotMLPackage * @generated */ public class RobotMLAdapterFactory extends AdapterFactoryImpl { - /** * The cached model package. * * - * * @generated */ protected static RobotMLPackage modelPackage; @@ -93,11 +86,10 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * Creates an instance of the adapter factory. * * - * * @generated */ public RobotMLAdapterFactory() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = RobotMLPackage.eINSTANCE; } } @@ -107,16 +99,15 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * * This implementation returns true if the object is either the model's package or is an instance object of the model. * - * * @return whether this factory is applicable for the type of the object. * @generated */ @Override public boolean isFactoryForType(Object object) { - if(object == modelPackage) { + if (object == modelPackage) { return true; } - if(object instanceof EObject) { + if (object instanceof EObject) { return ((EObject)object).eClass().getEPackage() == modelPackage; } return false; @@ -126,289 +117,241 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * The switch that delegates to the createXXX methods. * * - * * @generated */ - protected RobotMLSwitch modelSwitch = new RobotMLSwitch() { - - @Override - public Adapter caseTransition(Transition object) { - return createTransitionAdapter(); - } - - @Override - public Adapter caseAlgorithm(Algorithm object) { - return createAlgorithmAdapter(); - } - - @Override - public Adapter caseRobot(Robot object) { - return createRobotAdapter(); - } - - @Override - public Adapter caseSystem(org.eclipse.papyrus.RobotML.System object) { - return createSystemAdapter(); - } - - @Override - public Adapter caseAgent(Agent object) { - return createAgentAdapter(); - } - - @Override - public Adapter casePhysicalObject(PhysicalObject object) { - return createPhysicalObjectAdapter(); - } - - @Override - public Adapter caseEnvironment(Environment object) { - return createEnvironmentAdapter(); - } - - @Override - public Adapter caseSurface(Surface object) { - return createSurfaceAdapter(); - } - - @Override - public Adapter caseDataFlowPort(DataFlowPort object) { - return createDataFlowPortAdapter(); - } - - @Override - public Adapter casePort(Port object) { - return createPortAdapter(); - } - - @Override - public Adapter caseServicePort(ServicePort object) { - return createServicePortAdapter(); - } - - @Override - public Adapter caseActuatorSystem(ActuatorSystem object) { - return createActuatorSystemAdapter(); - } - - @Override - public Adapter caseRoboticSystem(RoboticSystem object) { - return createRoboticSystemAdapter(); - } - - @Override - public Adapter caseSensorSystem(SensorSystem object) { - return createSensorSystemAdapter(); - } - - @Override - public Adapter caseHardware(Hardware object) { - return createHardwareAdapter(); - } - - @Override - public Adapter caseSoftware(Software object) { - return createSoftwareAdapter(); - } - - @Override - public Adapter casePrimitiveData(PrimitiveData object) { - return createPrimitiveDataAdapter(); - } - - @Override - public Adapter caseDataType(DataType object) { - return createDataTypeAdapter(); - } - - @Override - public Adapter caseEngineSystem(EngineSystem object) { - return createEngineSystemAdapter(); - } - - @Override - public Adapter caseWheelSystem(WheelSystem object) { - return createWheelSystemAdapter(); - } - - @Override - public Adapter caseImageSensorSystem(ImageSensorSystem object) { - return createImageSensorSystemAdapter(); - } - - @Override - public Adapter caseCameraSystem(CameraSystem object) { - return createCameraSystemAdapter(); - } - - @Override - public Adapter caseObjectDetectionSensorSystem(ObjectDetectionSensorSystem object) { - return createObjectDetectionSensorSystemAdapter(); - } - - @Override - public Adapter caseObjectTrackingSensorSystem(ObjectTrackingSensorSystem object) { - return createObjectTrackingSensorSystemAdapter(); - } - - @Override - public Adapter caseLidarSystem(LidarSystem object) { - return createLidarSystemAdapter(); - } - - @Override - public Adapter caseLocalizationSensorSystem(LocalizationSensorSystem object) { - return createLocalizationSensorSystemAdapter(); - } - - @Override - public Adapter caseGPSSystem(GPSSystem object) { - return createGPSSystemAdapter(); - } - - @Override - public Adapter caseSimulatedSystem(SimulatedSystem object) { - return createSimulatedSystemAdapter(); - } - - @Override - public Adapter caseAlgorithmLibrary(AlgorithmLibrary object) { - return createAlgorithmLibraryAdapter(); - } - - @Override - public Adapter caseState(State object) { - return createStateAdapter(); - } - - @Override - public Adapter caseSensorDriver(SensorDriver object) { - return createSensorDriverAdapter(); - } - - @Override - public Adapter caseBuilding(Building object) { - return createBuildingAdapter(); - } - - @Override - public Adapter casePlanet(Planet object) { - return createPlanetAdapter(); - } - - @Override - public Adapter caseLandSurface(LandSurface object) { - return createLandSurfaceAdapter(); - } - - @Override - public Adapter caseGround(Ground object) { - return createGroundAdapter(); - } - - @Override - public Adapter caseFloor(Floor object) { - return createFloorAdapter(); - } - - @Override - public Adapter caseWaterSurface(WaterSurface object) { - return createWaterSurfaceAdapter(); - } - - @Override - public Adapter caseHuman(Human object) { - return createHumanAdapter(); - } - - @Override - public Adapter casePedestrian(Pedestrian object) { - return createPedestrianAdapter(); - } - - @Override - public Adapter caseStairs(Stairs object) { - return createStairsAdapter(); - } - - @Override - public Adapter casePlatform(Platform object) { - return createPlatformAdapter(); - } - - @Override - public Adapter caseRoboticMiddleware(RoboticMiddleware object) { - return createRoboticMiddlewareAdapter(); - } - - @Override - public Adapter caseRoboticSimulator(RoboticSimulator object) { - return createRoboticSimulatorAdapter(); - } - - @Override - public Adapter caseCycabTK(CycabTK object) { - return createCycabTKAdapter(); - } - - @Override - public Adapter caseBlenderMorse(BlenderMorse object) { - return createBlenderMorseAdapter(); - } - - @Override - public Adapter caseOnPort(OnPort object) { - return createOnPortAdapter(); - } - - @Override - public Adapter caseAllocate(Allocate object) { - return createAllocateAdapter(); - } - - @Override - public Adapter caseInertialMeasurementUnitSystem(InertialMeasurementUnitSystem object) { - return createInertialMeasurementUnitSystemAdapter(); - } - - @Override - public Adapter caseInertialNavigationSystem(InertialNavigationSystem object) { - return createInertialNavigationSystemAdapter(); - } - - @Override - public Adapter caseOdometrySystem(OdometrySystem object) { - return createOdometrySystemAdapter(); - } - - @Override - public Adapter caseInfraRedProximetrySystem(InfraRedProximetrySystem object) { - return createInfraRedProximetrySystemAdapter(); - } - - @Override - public Adapter caseDeploymentPlan(DeploymentPlan object) { - return createDeploymentPlanAdapter(); - } - - @Override - public Adapter caseGyroscope(Gyroscope object) { - return createGyroscopeAdapter(); - } - - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; + protected RobotMLSwitch modelSwitch = + new RobotMLSwitch() { + @Override + public Adapter caseTransition(Transition object) { + return createTransitionAdapter(); + } + @Override + public Adapter caseAlgorithm(Algorithm object) { + return createAlgorithmAdapter(); + } + @Override + public Adapter caseState(State object) { + return createStateAdapter(); + } + @Override + public Adapter caseRobot(Robot object) { + return createRobotAdapter(); + } + @Override + public Adapter caseSystem(org.eclipse.papyrus.RobotML.System object) { + return createSystemAdapter(); + } + @Override + public Adapter caseAgent(Agent object) { + return createAgentAdapter(); + } + @Override + public Adapter casePhysicalObject(PhysicalObject object) { + return createPhysicalObjectAdapter(); + } + @Override + public Adapter caseEnvironment(Environment object) { + return createEnvironmentAdapter(); + } + @Override + public Adapter caseSurface(Surface object) { + return createSurfaceAdapter(); + } + @Override + public Adapter caseDataFlowPort(DataFlowPort object) { + return createDataFlowPortAdapter(); + } + @Override + public Adapter casePort(Port object) { + return createPortAdapter(); + } + @Override + public Adapter caseServicePort(ServicePort object) { + return createServicePortAdapter(); + } + @Override + public Adapter caseActuatorSystem(ActuatorSystem object) { + return createActuatorSystemAdapter(); + } + @Override + public Adapter caseRoboticSystem(RoboticSystem object) { + return createRoboticSystemAdapter(); + } + @Override + public Adapter caseSensorSystem(SensorSystem object) { + return createSensorSystemAdapter(); + } + @Override + public Adapter caseHardware(Hardware object) { + return createHardwareAdapter(); + } + @Override + public Adapter caseSoftware(Software object) { + return createSoftwareAdapter(); + } + @Override + public Adapter casePrimitiveData(PrimitiveData object) { + return createPrimitiveDataAdapter(); + } + @Override + public Adapter caseDataType(DataType object) { + return createDataTypeAdapter(); + } + @Override + public Adapter caseEngineSystem(EngineSystem object) { + return createEngineSystemAdapter(); + } + @Override + public Adapter caseWheelSystem(WheelSystem object) { + return createWheelSystemAdapter(); + } + @Override + public Adapter caseImageSensorSystem(ImageSensorSystem object) { + return createImageSensorSystemAdapter(); + } + @Override + public Adapter caseCameraSystem(CameraSystem object) { + return createCameraSystemAdapter(); + } + @Override + public Adapter caseObjectDetectionSensorSystem(ObjectDetectionSensorSystem object) { + return createObjectDetectionSensorSystemAdapter(); + } + @Override + public Adapter caseObjectTrackingSensorSystem(ObjectTrackingSensorSystem object) { + return createObjectTrackingSensorSystemAdapter(); + } + @Override + public Adapter caseLidarSystem(LidarSystem object) { + return createLidarSystemAdapter(); + } + @Override + public Adapter caseLocalizationSensorSystem(LocalizationSensorSystem object) { + return createLocalizationSensorSystemAdapter(); + } + @Override + public Adapter caseGPSSystem(GPSSystem object) { + return createGPSSystemAdapter(); + } + @Override + public Adapter caseSimulatedSystem(SimulatedSystem object) { + return createSimulatedSystemAdapter(); + } + @Override + public Adapter caseAlgorithmLibrary(AlgorithmLibrary object) { + return createAlgorithmLibraryAdapter(); + } + @Override + public Adapter caseSensorDriver(SensorDriver object) { + return createSensorDriverAdapter(); + } + @Override + public Adapter caseBuilding(Building object) { + return createBuildingAdapter(); + } + @Override + public Adapter casePlanet(Planet object) { + return createPlanetAdapter(); + } + @Override + public Adapter caseLandSurface(LandSurface object) { + return createLandSurfaceAdapter(); + } + @Override + public Adapter caseGround(Ground object) { + return createGroundAdapter(); + } + @Override + public Adapter caseFloor(Floor object) { + return createFloorAdapter(); + } + @Override + public Adapter caseWaterSurface(WaterSurface object) { + return createWaterSurfaceAdapter(); + } + @Override + public Adapter caseHuman(Human object) { + return createHumanAdapter(); + } + @Override + public Adapter casePedestrian(Pedestrian object) { + return createPedestrianAdapter(); + } + @Override + public Adapter caseStairs(Stairs object) { + return createStairsAdapter(); + } + @Override + public Adapter casePlatform(Platform object) { + return createPlatformAdapter(); + } + @Override + public Adapter caseExternalLibrary(ExternalLibrary object) { + return createExternalLibraryAdapter(); + } + @Override + public Adapter caseRoboticMiddleware(RoboticMiddleware object) { + return createRoboticMiddlewareAdapter(); + } + @Override + public Adapter caseRoboticSimulator(RoboticSimulator object) { + return createRoboticSimulatorAdapter(); + } + @Override + public Adapter caseCycabTK(CycabTK object) { + return createCycabTKAdapter(); + } + @Override + public Adapter caseBlenderMorse(BlenderMorse object) { + return createBlenderMorseAdapter(); + } + @Override + public Adapter caseOnPort(OnPort object) { + return createOnPortAdapter(); + } + @Override + public Adapter caseAllocate(Allocate object) { + return createAllocateAdapter(); + } + @Override + public Adapter caseInertialMeasurementUnitSystem(InertialMeasurementUnitSystem object) { + return createInertialMeasurementUnitSystemAdapter(); + } + @Override + public Adapter caseInertialNavigationSystem(InertialNavigationSystem object) { + return createInertialNavigationSystemAdapter(); + } + @Override + public Adapter caseOdometrySystem(OdometrySystem object) { + return createOdometrySystemAdapter(); + } + @Override + public Adapter caseInfraRedProximetrySystem(InfraRedProximetrySystem object) { + return createInfraRedProximetrySystemAdapter(); + } + @Override + public Adapter caseDeploymentPlan(DeploymentPlan object) { + return createDeploymentPlanAdapter(); + } + @Override + public Adapter caseGyroscope(Gyroscope object) { + return createGyroscopeAdapter(); + } + @Override + public Adapter caseOnProperty(OnProperty object) { + return createOnPropertyAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; /** * Creates an adapter for the target. * * - * - * @param target - * the object to adapt. + * @param target the object to adapt. * @return the adapter for the target. * @generated */ @@ -424,7 +367,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Transition * @generated @@ -439,7 +381,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Algorithm * @generated @@ -448,13 +389,26 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { return null; } + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.State State}'. + * + * 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. + * + * @return the new adapter. + * @see org.eclipse.papyrus.RobotML.State + * @generated + */ + public Adapter createStateAdapter() { + return null; + } + /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.Robot Robot}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Robot * @generated @@ -469,7 +423,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.System * @generated @@ -484,7 +437,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Agent * @generated @@ -499,7 +451,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.PhysicalObject * @generated @@ -514,7 +465,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Environment * @generated @@ -529,7 +479,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Surface * @generated @@ -544,7 +493,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.DataFlowPort * @generated @@ -559,7 +507,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Port * @generated @@ -574,7 +521,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.ServicePort * @generated @@ -589,7 +535,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.ActuatorSystem * @generated @@ -604,7 +549,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.RoboticSystem * @generated @@ -619,7 +563,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.SensorSystem * @generated @@ -634,7 +577,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Hardware * @generated @@ -649,7 +591,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Software * @generated @@ -664,7 +605,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.PrimitiveData * @generated @@ -679,7 +619,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.DataType * @generated @@ -694,7 +633,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.EngineSystem * @generated @@ -709,7 +647,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.WheelSystem * @generated @@ -724,7 +661,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.ImageSensorSystem * @generated @@ -739,7 +675,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.CameraSystem * @generated @@ -749,13 +684,11 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.ObjectDetectionSensorSystem - * Object Detection Sensor System}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.ObjectDetectionSensorSystem Object Detection Sensor System}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.ObjectDetectionSensorSystem * @generated @@ -765,13 +698,11 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.ObjectTrackingSensorSystem - * Object Tracking Sensor System}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.ObjectTrackingSensorSystem Object Tracking Sensor System}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.ObjectTrackingSensorSystem * @generated @@ -786,7 +717,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.LidarSystem * @generated @@ -796,13 +726,11 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.LocalizationSensorSystem Localization Sensor System} - * '. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.LocalizationSensorSystem Localization Sensor System}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.LocalizationSensorSystem * @generated @@ -817,7 +745,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.GPSSystem * @generated @@ -832,7 +759,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.SimulatedSystem * @generated @@ -847,7 +773,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.AlgorithmLibrary * @generated @@ -856,28 +781,12 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { return null; } - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.State State}'. - * - * 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. - * - * - * @return the new adapter. - * @see org.eclipse.papyrus.RobotML.State - * @generated - */ - public Adapter createStateAdapter() { - return null; - } - /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.SensorDriver Sensor Driver}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.SensorDriver * @generated @@ -892,7 +801,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Building * @generated @@ -907,7 +815,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Planet * @generated @@ -922,7 +829,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.LandSurface * @generated @@ -937,7 +843,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Ground * @generated @@ -952,7 +857,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Floor * @generated @@ -967,7 +871,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.WaterSurface * @generated @@ -982,7 +885,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Human * @generated @@ -997,7 +899,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Pedestrian * @generated @@ -1012,7 +913,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Stairs * @generated @@ -1027,7 +927,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Platform * @generated @@ -1036,13 +935,26 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { return null; } + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.ExternalLibrary External Library}'. + * + * 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. + * + * @return the new adapter. + * @see org.eclipse.papyrus.RobotML.ExternalLibrary + * @generated + */ + public Adapter createExternalLibraryAdapter() { + return null; + } + /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.RoboticMiddleware Robotic Middleware}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.RoboticMiddleware * @generated @@ -1057,7 +969,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.RoboticSimulator * @generated @@ -1072,7 +983,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.CycabTK * @generated @@ -1087,7 +997,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.BlenderMorse * @generated @@ -1102,7 +1011,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.OnPort * @generated @@ -1117,7 +1025,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Allocate * @generated @@ -1127,13 +1034,11 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.InertialMeasurementUnitSystem - * Inertial Measurement Unit System}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.InertialMeasurementUnitSystem Inertial Measurement Unit System}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.InertialMeasurementUnitSystem * @generated @@ -1143,13 +1048,11 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.InertialNavigationSystem Inertial Navigation System} - * '. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.InertialNavigationSystem Inertial Navigation System}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.InertialNavigationSystem * @generated @@ -1164,7 +1067,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.OdometrySystem * @generated @@ -1174,13 +1076,11 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.InfraRedProximetrySystem Infra Red Proximetry System} - * '. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.InfraRedProximetrySystem Infra Red Proximetry System}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.InfraRedProximetrySystem * @generated @@ -1195,7 +1095,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.DeploymentPlan * @generated @@ -1210,7 +1109,6 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotML.Gyroscope * @generated @@ -1219,12 +1117,25 @@ public class RobotMLAdapterFactory extends AdapterFactoryImpl { return null; } + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotML.OnProperty On Property}'. + * + * 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. + * + * @return the new adapter. + * @see org.eclipse.papyrus.RobotML.OnProperty + * @generated + */ + public Adapter createOnPropertyAdapter() { + return null; + } + /** * Creates a new adapter for the default case. * * This default implementation returns null. * - * * @return the new adapter. * @generated */ diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLResourceFactoryImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLResourceFactoryImpl.java index af36298c55f..8b91439f7b6 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLResourceFactoryImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLResourceFactoryImpl.java @@ -1,36 +1,27 @@ -/***************************************************************************** - * 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.RobotML.util; import org.eclipse.emf.common.util.URI; + import org.eclipse.emf.ecore.resource.Resource; + import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl; + import org.eclipse.emf.ecore.xmi.XMLResource; /** * * The Resource Factory associated with the package. * - * * @see org.eclipse.papyrus.RobotML.util.RobotMLResourceImpl * @generated */ public class RobotMLResourceFactoryImpl extends ResourceFactoryImpl { - /** * Creates an instance of the resource factory. * * - * * @generated */ public RobotMLResourceFactoryImpl() { @@ -41,7 +32,6 @@ public class RobotMLResourceFactoryImpl extends ResourceFactoryImpl { * Creates an instance of the resource. * * - * * @generated */ @Override diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLResourceImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLResourceImpl.java index ff68e2c2ad2..7a27e496ef7 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLResourceImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLResourceImpl.java @@ -1,36 +1,24 @@ -/***************************************************************************** - * 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.RobotML.util; import org.eclipse.emf.common.util.URI; + import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl; /** * * The Resource associated with the package. * - * * @see org.eclipse.papyrus.RobotML.util.RobotMLResourceFactoryImpl * @generated */ public class RobotMLResourceImpl extends XMLResourceImpl { - /** * Creates an instance of the resource. * * - * - * @param uri - * the URI of the new resource. + * @param uri the URI of the new resource. * @generated */ public RobotMLResourceImpl(URI uri) { diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLSwitch.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLSwitch.java index 31555c5cf21..238891bb482 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLSwitch.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLSwitch.java @@ -1,19 +1,12 @@ -/***************************************************************************** - * 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.RobotML.util; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; + import org.eclipse.emf.ecore.util.Switch; + import org.eclipse.papyrus.RobotML.ActuatorSystem; import org.eclipse.papyrus.RobotML.Agent; import org.eclipse.papyrus.RobotML.Algorithm; @@ -28,6 +21,7 @@ import org.eclipse.papyrus.RobotML.DataType; import org.eclipse.papyrus.RobotML.DeploymentPlan; import org.eclipse.papyrus.RobotML.EngineSystem; import org.eclipse.papyrus.RobotML.Environment; +import org.eclipse.papyrus.RobotML.ExternalLibrary; import org.eclipse.papyrus.RobotML.Floor; import org.eclipse.papyrus.RobotML.GPSSystem; import org.eclipse.papyrus.RobotML.Ground; @@ -45,6 +39,7 @@ import org.eclipse.papyrus.RobotML.ObjectDetectionSensorSystem; import org.eclipse.papyrus.RobotML.ObjectTrackingSensorSystem; import org.eclipse.papyrus.RobotML.OdometrySystem; import org.eclipse.papyrus.RobotML.OnPort; +import org.eclipse.papyrus.RobotML.OnProperty; import org.eclipse.papyrus.RobotML.Pedestrian; import org.eclipse.papyrus.RobotML.PhysicalObject; import org.eclipse.papyrus.RobotML.Planet; @@ -71,23 +66,21 @@ import org.eclipse.papyrus.RobotML.WheelSystem; /** * * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for each class of the model, + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX 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. * - * * @see org.eclipse.papyrus.RobotML.RobotMLPackage * @generated */ public class RobotMLSwitch extends Switch { - /** * The cached model package * * - * * @generated */ protected static RobotMLPackage modelPackage; @@ -96,11 +89,10 @@ public class RobotMLSwitch extends Switch { * Creates an instance of the switch. * * - * * @generated */ public RobotMLSwitch() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = RobotMLPackage.eINSTANCE; } } @@ -109,7 +101,6 @@ public class RobotMLSwitch extends Switch { * Checks whether this is a switch for the given package. * * - * * @parameter ePackage the package in question. * @return whether this is a switch for the given package. * @generated @@ -123,665 +114,456 @@ public class RobotMLSwitch extends Switch { * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. * * - * * @return the first non-null result returned by a caseXXX call. * @generated */ @Override protected T doSwitch(int classifierID, EObject theEObject) { - switch(classifierID) { - case RobotMLPackage.TRANSITION: - { - Transition transition = (Transition)theEObject; - T result = caseTransition(transition); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.ALGORITHM: - { - Algorithm algorithm = (Algorithm)theEObject; - T result = caseAlgorithm(algorithm); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.ROBOT: - { - Robot robot = (Robot)theEObject; - T result = caseRobot(robot); - if(result == null) - result = caseAgent(robot); - if(result == null) - result = casePhysicalObject(robot); - if(result == null) - result = caseSystem(robot); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.SYSTEM: - { - org.eclipse.papyrus.RobotML.System system = (org.eclipse.papyrus.RobotML.System)theEObject; - T result = caseSystem(system); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.AGENT: - { - Agent agent = (Agent)theEObject; - T result = caseAgent(agent); - if(result == null) - result = casePhysicalObject(agent); - if(result == null) - result = caseSystem(agent); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.PHYSICAL_OBJECT: - { - PhysicalObject physicalObject = (PhysicalObject)theEObject; - T result = casePhysicalObject(physicalObject); - if(result == null) - result = caseSystem(physicalObject); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.ENVIRONMENT: - { - Environment environment = (Environment)theEObject; - T result = caseEnvironment(environment); - if(result == null) - result = caseSystem(environment); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.SURFACE: - { - Surface surface = (Surface)theEObject; - T result = caseSurface(surface); - if(result == null) - result = casePhysicalObject(surface); - if(result == null) - result = caseSystem(surface); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.DATA_FLOW_PORT: - { - DataFlowPort dataFlowPort = (DataFlowPort)theEObject; - T result = caseDataFlowPort(dataFlowPort); - if(result == null) - result = casePort(dataFlowPort); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.PORT: - { - Port port = (Port)theEObject; - T result = casePort(port); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.SERVICE_PORT: - { - ServicePort servicePort = (ServicePort)theEObject; - T result = caseServicePort(servicePort); - if(result == null) - result = casePort(servicePort); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.ACTUATOR_SYSTEM: - { - ActuatorSystem actuatorSystem = (ActuatorSystem)theEObject; - T result = caseActuatorSystem(actuatorSystem); - if(result == null) - result = caseRoboticSystem(actuatorSystem); - if(result == null) - result = caseSystem(actuatorSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.ROBOTIC_SYSTEM: - { - RoboticSystem roboticSystem = (RoboticSystem)theEObject; - T result = caseRoboticSystem(roboticSystem); - if(result == null) - result = caseSystem(roboticSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.SENSOR_SYSTEM: - { - SensorSystem sensorSystem = (SensorSystem)theEObject; - T result = caseSensorSystem(sensorSystem); - if(result == null) - result = caseRoboticSystem(sensorSystem); - if(result == null) - result = caseSystem(sensorSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.HARDWARE: - { - Hardware hardware = (Hardware)theEObject; - T result = caseHardware(hardware); - if(result == null) - result = caseSystem(hardware); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.SOFTWARE: - { - Software software = (Software)theEObject; - T result = caseSoftware(software); - if(result == null) - result = caseSystem(software); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.PRIMITIVE_DATA: - { - PrimitiveData primitiveData = (PrimitiveData)theEObject; - T result = casePrimitiveData(primitiveData); - if(result == null) - result = caseDataType(primitiveData); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.DATA_TYPE: - { - DataType dataType = (DataType)theEObject; - T result = caseDataType(dataType); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.ENGINE_SYSTEM: - { - EngineSystem engineSystem = (EngineSystem)theEObject; - T result = caseEngineSystem(engineSystem); - if(result == null) - result = caseActuatorSystem(engineSystem); - if(result == null) - result = caseRoboticSystem(engineSystem); - if(result == null) - result = caseSystem(engineSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.WHEEL_SYSTEM: - { - WheelSystem wheelSystem = (WheelSystem)theEObject; - T result = caseWheelSystem(wheelSystem); - if(result == null) - result = caseActuatorSystem(wheelSystem); - if(result == null) - result = caseRoboticSystem(wheelSystem); - if(result == null) - result = caseSystem(wheelSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.IMAGE_SENSOR_SYSTEM: - { - ImageSensorSystem imageSensorSystem = (ImageSensorSystem)theEObject; - T result = caseImageSensorSystem(imageSensorSystem); - if(result == null) - result = caseSensorSystem(imageSensorSystem); - if(result == null) - result = caseRoboticSystem(imageSensorSystem); - if(result == null) - result = caseSystem(imageSensorSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.CAMERA_SYSTEM: - { - CameraSystem cameraSystem = (CameraSystem)theEObject; - T result = caseCameraSystem(cameraSystem); - if(result == null) - result = caseImageSensorSystem(cameraSystem); - if(result == null) - result = caseSensorSystem(cameraSystem); - if(result == null) - result = caseRoboticSystem(cameraSystem); - if(result == null) - result = caseSystem(cameraSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.OBJECT_DETECTION_SENSOR_SYSTEM: - { - ObjectDetectionSensorSystem objectDetectionSensorSystem = (ObjectDetectionSensorSystem)theEObject; - T result = caseObjectDetectionSensorSystem(objectDetectionSensorSystem); - if(result == null) - result = caseSensorSystem(objectDetectionSensorSystem); - if(result == null) - result = caseRoboticSystem(objectDetectionSensorSystem); - if(result == null) - result = caseSystem(objectDetectionSensorSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.OBJECT_TRACKING_SENSOR_SYSTEM: - { - ObjectTrackingSensorSystem objectTrackingSensorSystem = (ObjectTrackingSensorSystem)theEObject; - T result = caseObjectTrackingSensorSystem(objectTrackingSensorSystem); - if(result == null) - result = caseSensorSystem(objectTrackingSensorSystem); - if(result == null) - result = caseRoboticSystem(objectTrackingSensorSystem); - if(result == null) - result = caseSystem(objectTrackingSensorSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.LIDAR_SYSTEM: - { - LidarSystem lidarSystem = (LidarSystem)theEObject; - T result = caseLidarSystem(lidarSystem); - if(result == null) - result = caseObjectDetectionSensorSystem(lidarSystem); - if(result == null) - result = caseObjectTrackingSensorSystem(lidarSystem); - if(result == null) - result = caseSensorSystem(lidarSystem); - if(result == null) - result = caseRoboticSystem(lidarSystem); - if(result == null) - result = caseSystem(lidarSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.LOCALIZATION_SENSOR_SYSTEM: - { - LocalizationSensorSystem localizationSensorSystem = (LocalizationSensorSystem)theEObject; - T result = caseLocalizationSensorSystem(localizationSensorSystem); - if(result == null) - result = caseSensorSystem(localizationSensorSystem); - if(result == null) - result = caseRoboticSystem(localizationSensorSystem); - if(result == null) - result = caseSystem(localizationSensorSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.GPS_SYSTEM: - { - GPSSystem gpsSystem = (GPSSystem)theEObject; - T result = caseGPSSystem(gpsSystem); - if(result == null) - result = caseLocalizationSensorSystem(gpsSystem); - if(result == null) - result = caseSensorSystem(gpsSystem); - if(result == null) - result = caseRoboticSystem(gpsSystem); - if(result == null) - result = caseSystem(gpsSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.SIMULATED_SYSTEM: - { - SimulatedSystem simulatedSystem = (SimulatedSystem)theEObject; - T result = caseSimulatedSystem(simulatedSystem); - if(result == null) - result = caseSoftware(simulatedSystem); - if(result == null) - result = caseSystem(simulatedSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.ALGORITHM_LIBRARY: - { - AlgorithmLibrary algorithmLibrary = (AlgorithmLibrary)theEObject; - T result = caseAlgorithmLibrary(algorithmLibrary); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.STATE: - { - State state = (State)theEObject; - T result = caseState(state); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.SENSOR_DRIVER: - { - SensorDriver sensorDriver = (SensorDriver)theEObject; - T result = caseSensorDriver(sensorDriver); - if(result == null) - result = caseSoftware(sensorDriver); - if(result == null) - result = caseSystem(sensorDriver); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.BUILDING: - { - Building building = (Building)theEObject; - T result = caseBuilding(building); - if(result == null) - result = casePhysicalObject(building); - if(result == null) - result = caseSystem(building); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.PLANET: - { - Planet planet = (Planet)theEObject; - T result = casePlanet(planet); - if(result == null) - result = casePhysicalObject(planet); - if(result == null) - result = caseSystem(planet); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.LAND_SURFACE: - { - LandSurface landSurface = (LandSurface)theEObject; - T result = caseLandSurface(landSurface); - if(result == null) - result = caseGround(landSurface); - if(result == null) - result = caseSurface(landSurface); - if(result == null) - result = casePhysicalObject(landSurface); - if(result == null) - result = caseSystem(landSurface); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.GROUND: - { - Ground ground = (Ground)theEObject; - T result = caseGround(ground); - if(result == null) - result = caseSurface(ground); - if(result == null) - result = casePhysicalObject(ground); - if(result == null) - result = caseSystem(ground); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.FLOOR: - { - Floor floor = (Floor)theEObject; - T result = caseFloor(floor); - if(result == null) - result = caseGround(floor); - if(result == null) - result = caseSurface(floor); - if(result == null) - result = casePhysicalObject(floor); - if(result == null) - result = caseSystem(floor); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.WATER_SURFACE: - { - WaterSurface waterSurface = (WaterSurface)theEObject; - T result = caseWaterSurface(waterSurface); - if(result == null) - result = caseSurface(waterSurface); - if(result == null) - result = casePhysicalObject(waterSurface); - if(result == null) - result = caseSystem(waterSurface); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.HUMAN: - { - Human human = (Human)theEObject; - T result = caseHuman(human); - if(result == null) - result = caseAgent(human); - if(result == null) - result = casePhysicalObject(human); - if(result == null) - result = caseSystem(human); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.PEDESTRIAN: - { - Pedestrian pedestrian = (Pedestrian)theEObject; - T result = casePedestrian(pedestrian); - if(result == null) - result = caseHuman(pedestrian); - if(result == null) - result = caseAgent(pedestrian); - if(result == null) - result = casePhysicalObject(pedestrian); - if(result == null) - result = caseSystem(pedestrian); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.STAIRS: - { - Stairs stairs = (Stairs)theEObject; - T result = caseStairs(stairs); - if(result == null) - result = caseGround(stairs); - if(result == null) - result = caseSurface(stairs); - if(result == null) - result = casePhysicalObject(stairs); - if(result == null) - result = caseSystem(stairs); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.PLATFORM: - { - Platform platform = (Platform)theEObject; - T result = casePlatform(platform); - if(result == null) - result = caseSystem(platform); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.ROBOTIC_MIDDLEWARE: - { - RoboticMiddleware roboticMiddleware = (RoboticMiddleware)theEObject; - T result = caseRoboticMiddleware(roboticMiddleware); - if(result == null) - result = casePlatform(roboticMiddleware); - if(result == null) - result = caseSystem(roboticMiddleware); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.ROBOTIC_SIMULATOR: - { - RoboticSimulator roboticSimulator = (RoboticSimulator)theEObject; - T result = caseRoboticSimulator(roboticSimulator); - if(result == null) - result = casePlatform(roboticSimulator); - if(result == null) - result = caseSystem(roboticSimulator); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.CYCAB_TK: - { - CycabTK cycabTK = (CycabTK)theEObject; - T result = caseCycabTK(cycabTK); - if(result == null) - result = caseRoboticSimulator(cycabTK); - if(result == null) - result = casePlatform(cycabTK); - if(result == null) - result = caseSystem(cycabTK); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.BLENDER_MORSE: - { - BlenderMorse blenderMorse = (BlenderMorse)theEObject; - T result = caseBlenderMorse(blenderMorse); - if(result == null) - result = caseRoboticSimulator(blenderMorse); - if(result == null) - result = casePlatform(blenderMorse); - if(result == null) - result = caseSystem(blenderMorse); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.ON_PORT: - { - OnPort onPort = (OnPort)theEObject; - T result = caseOnPort(onPort); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.ALLOCATE: - { - Allocate allocate = (Allocate)theEObject; - T result = caseAllocate(allocate); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.INERTIAL_MEASUREMENT_UNIT_SYSTEM: - { - InertialMeasurementUnitSystem inertialMeasurementUnitSystem = (InertialMeasurementUnitSystem)theEObject; - T result = caseInertialMeasurementUnitSystem(inertialMeasurementUnitSystem); - if(result == null) - result = caseSensorSystem(inertialMeasurementUnitSystem); - if(result == null) - result = caseRoboticSystem(inertialMeasurementUnitSystem); - if(result == null) - result = caseSystem(inertialMeasurementUnitSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.INERTIAL_NAVIGATION_SYSTEM: - { - InertialNavigationSystem inertialNavigationSystem = (InertialNavigationSystem)theEObject; - T result = caseInertialNavigationSystem(inertialNavigationSystem); - if(result == null) - result = caseGPSSystem(inertialNavigationSystem); - if(result == null) - result = caseLocalizationSensorSystem(inertialNavigationSystem); - if(result == null) - result = caseSensorSystem(inertialNavigationSystem); - if(result == null) - result = caseRoboticSystem(inertialNavigationSystem); - if(result == null) - result = caseSystem(inertialNavigationSystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.ODOMETRY_SYSTEM: - { - OdometrySystem odometrySystem = (OdometrySystem)theEObject; - T result = caseOdometrySystem(odometrySystem); - if(result == null) - result = caseLocalizationSensorSystem(odometrySystem); - if(result == null) - result = caseSensorSystem(odometrySystem); - if(result == null) - result = caseRoboticSystem(odometrySystem); - if(result == null) - result = caseSystem(odometrySystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.INFRA_RED_PROXIMETRY_SYSTEM: - { - InfraRedProximetrySystem infraRedProximetrySystem = (InfraRedProximetrySystem)theEObject; - T result = caseInfraRedProximetrySystem(infraRedProximetrySystem); - if(result == null) - result = caseObjectDetectionSensorSystem(infraRedProximetrySystem); - if(result == null) - result = caseSensorSystem(infraRedProximetrySystem); - if(result == null) - result = caseRoboticSystem(infraRedProximetrySystem); - if(result == null) - result = caseSystem(infraRedProximetrySystem); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.DEPLOYMENT_PLAN: - { - DeploymentPlan deploymentPlan = (DeploymentPlan)theEObject; - T result = caseDeploymentPlan(deploymentPlan); - if(result == null) - result = defaultCase(theEObject); - return result; - } - case RobotMLPackage.GYROSCOPE: - { - Gyroscope gyroscope = (Gyroscope)theEObject; - T result = caseGyroscope(gyroscope); - if(result == null) - result = caseSensorSystem(gyroscope); - if(result == null) - result = caseRoboticSystem(gyroscope); - if(result == null) - result = caseSystem(gyroscope); - if(result == null) - result = defaultCase(theEObject); - return result; - } - default: - return defaultCase(theEObject); + switch (classifierID) { + case RobotMLPackage.TRANSITION: { + Transition transition = (Transition)theEObject; + T result = caseTransition(transition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ALGORITHM: { + Algorithm algorithm = (Algorithm)theEObject; + T result = caseAlgorithm(algorithm); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.STATE: { + State state = (State)theEObject; + T result = caseState(state); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ROBOT: { + Robot robot = (Robot)theEObject; + T result = caseRobot(robot); + if (result == null) result = caseAgent(robot); + if (result == null) result = casePhysicalObject(robot); + if (result == null) result = caseSystem(robot); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.SYSTEM: { + org.eclipse.papyrus.RobotML.System system = (org.eclipse.papyrus.RobotML.System)theEObject; + T result = caseSystem(system); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.AGENT: { + Agent agent = (Agent)theEObject; + T result = caseAgent(agent); + if (result == null) result = casePhysicalObject(agent); + if (result == null) result = caseSystem(agent); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.PHYSICAL_OBJECT: { + PhysicalObject physicalObject = (PhysicalObject)theEObject; + T result = casePhysicalObject(physicalObject); + if (result == null) result = caseSystem(physicalObject); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ENVIRONMENT: { + Environment environment = (Environment)theEObject; + T result = caseEnvironment(environment); + if (result == null) result = caseSystem(environment); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.SURFACE: { + Surface surface = (Surface)theEObject; + T result = caseSurface(surface); + if (result == null) result = casePhysicalObject(surface); + if (result == null) result = caseSystem(surface); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.DATA_FLOW_PORT: { + DataFlowPort dataFlowPort = (DataFlowPort)theEObject; + T result = caseDataFlowPort(dataFlowPort); + if (result == null) result = casePort(dataFlowPort); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.PORT: { + Port port = (Port)theEObject; + T result = casePort(port); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.SERVICE_PORT: { + ServicePort servicePort = (ServicePort)theEObject; + T result = caseServicePort(servicePort); + if (result == null) result = casePort(servicePort); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ACTUATOR_SYSTEM: { + ActuatorSystem actuatorSystem = (ActuatorSystem)theEObject; + T result = caseActuatorSystem(actuatorSystem); + if (result == null) result = caseRoboticSystem(actuatorSystem); + if (result == null) result = caseSystem(actuatorSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ROBOTIC_SYSTEM: { + RoboticSystem roboticSystem = (RoboticSystem)theEObject; + T result = caseRoboticSystem(roboticSystem); + if (result == null) result = caseSystem(roboticSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.SENSOR_SYSTEM: { + SensorSystem sensorSystem = (SensorSystem)theEObject; + T result = caseSensorSystem(sensorSystem); + if (result == null) result = caseRoboticSystem(sensorSystem); + if (result == null) result = caseSystem(sensorSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.HARDWARE: { + Hardware hardware = (Hardware)theEObject; + T result = caseHardware(hardware); + if (result == null) result = caseSystem(hardware); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.SOFTWARE: { + Software software = (Software)theEObject; + T result = caseSoftware(software); + if (result == null) result = caseSystem(software); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.PRIMITIVE_DATA: { + PrimitiveData primitiveData = (PrimitiveData)theEObject; + T result = casePrimitiveData(primitiveData); + if (result == null) result = caseDataType(primitiveData); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.DATA_TYPE: { + DataType dataType = (DataType)theEObject; + T result = caseDataType(dataType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ENGINE_SYSTEM: { + EngineSystem engineSystem = (EngineSystem)theEObject; + T result = caseEngineSystem(engineSystem); + if (result == null) result = caseActuatorSystem(engineSystem); + if (result == null) result = caseRoboticSystem(engineSystem); + if (result == null) result = caseSystem(engineSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.WHEEL_SYSTEM: { + WheelSystem wheelSystem = (WheelSystem)theEObject; + T result = caseWheelSystem(wheelSystem); + if (result == null) result = caseActuatorSystem(wheelSystem); + if (result == null) result = caseRoboticSystem(wheelSystem); + if (result == null) result = caseSystem(wheelSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.IMAGE_SENSOR_SYSTEM: { + ImageSensorSystem imageSensorSystem = (ImageSensorSystem)theEObject; + T result = caseImageSensorSystem(imageSensorSystem); + if (result == null) result = caseSensorSystem(imageSensorSystem); + if (result == null) result = caseRoboticSystem(imageSensorSystem); + if (result == null) result = caseSystem(imageSensorSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.CAMERA_SYSTEM: { + CameraSystem cameraSystem = (CameraSystem)theEObject; + T result = caseCameraSystem(cameraSystem); + if (result == null) result = caseImageSensorSystem(cameraSystem); + if (result == null) result = caseSensorSystem(cameraSystem); + if (result == null) result = caseRoboticSystem(cameraSystem); + if (result == null) result = caseSystem(cameraSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.OBJECT_DETECTION_SENSOR_SYSTEM: { + ObjectDetectionSensorSystem objectDetectionSensorSystem = (ObjectDetectionSensorSystem)theEObject; + T result = caseObjectDetectionSensorSystem(objectDetectionSensorSystem); + if (result == null) result = caseSensorSystem(objectDetectionSensorSystem); + if (result == null) result = caseRoboticSystem(objectDetectionSensorSystem); + if (result == null) result = caseSystem(objectDetectionSensorSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.OBJECT_TRACKING_SENSOR_SYSTEM: { + ObjectTrackingSensorSystem objectTrackingSensorSystem = (ObjectTrackingSensorSystem)theEObject; + T result = caseObjectTrackingSensorSystem(objectTrackingSensorSystem); + if (result == null) result = caseSensorSystem(objectTrackingSensorSystem); + if (result == null) result = caseRoboticSystem(objectTrackingSensorSystem); + if (result == null) result = caseSystem(objectTrackingSensorSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.LIDAR_SYSTEM: { + LidarSystem lidarSystem = (LidarSystem)theEObject; + T result = caseLidarSystem(lidarSystem); + if (result == null) result = caseObjectDetectionSensorSystem(lidarSystem); + if (result == null) result = caseObjectTrackingSensorSystem(lidarSystem); + if (result == null) result = caseSensorSystem(lidarSystem); + if (result == null) result = caseRoboticSystem(lidarSystem); + if (result == null) result = caseSystem(lidarSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.LOCALIZATION_SENSOR_SYSTEM: { + LocalizationSensorSystem localizationSensorSystem = (LocalizationSensorSystem)theEObject; + T result = caseLocalizationSensorSystem(localizationSensorSystem); + if (result == null) result = caseSensorSystem(localizationSensorSystem); + if (result == null) result = caseRoboticSystem(localizationSensorSystem); + if (result == null) result = caseSystem(localizationSensorSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.GPS_SYSTEM: { + GPSSystem gpsSystem = (GPSSystem)theEObject; + T result = caseGPSSystem(gpsSystem); + if (result == null) result = caseLocalizationSensorSystem(gpsSystem); + if (result == null) result = caseSensorSystem(gpsSystem); + if (result == null) result = caseRoboticSystem(gpsSystem); + if (result == null) result = caseSystem(gpsSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.SIMULATED_SYSTEM: { + SimulatedSystem simulatedSystem = (SimulatedSystem)theEObject; + T result = caseSimulatedSystem(simulatedSystem); + if (result == null) result = caseSoftware(simulatedSystem); + if (result == null) result = caseSystem(simulatedSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ALGORITHM_LIBRARY: { + AlgorithmLibrary algorithmLibrary = (AlgorithmLibrary)theEObject; + T result = caseAlgorithmLibrary(algorithmLibrary); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.SENSOR_DRIVER: { + SensorDriver sensorDriver = (SensorDriver)theEObject; + T result = caseSensorDriver(sensorDriver); + if (result == null) result = caseSoftware(sensorDriver); + if (result == null) result = caseSystem(sensorDriver); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.BUILDING: { + Building building = (Building)theEObject; + T result = caseBuilding(building); + if (result == null) result = casePhysicalObject(building); + if (result == null) result = caseSystem(building); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.PLANET: { + Planet planet = (Planet)theEObject; + T result = casePlanet(planet); + if (result == null) result = casePhysicalObject(planet); + if (result == null) result = caseSystem(planet); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.LAND_SURFACE: { + LandSurface landSurface = (LandSurface)theEObject; + T result = caseLandSurface(landSurface); + if (result == null) result = caseGround(landSurface); + if (result == null) result = caseSurface(landSurface); + if (result == null) result = casePhysicalObject(landSurface); + if (result == null) result = caseSystem(landSurface); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.GROUND: { + Ground ground = (Ground)theEObject; + T result = caseGround(ground); + if (result == null) result = caseSurface(ground); + if (result == null) result = casePhysicalObject(ground); + if (result == null) result = caseSystem(ground); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.FLOOR: { + Floor floor = (Floor)theEObject; + T result = caseFloor(floor); + if (result == null) result = caseGround(floor); + if (result == null) result = caseSurface(floor); + if (result == null) result = casePhysicalObject(floor); + if (result == null) result = caseSystem(floor); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.WATER_SURFACE: { + WaterSurface waterSurface = (WaterSurface)theEObject; + T result = caseWaterSurface(waterSurface); + if (result == null) result = caseSurface(waterSurface); + if (result == null) result = casePhysicalObject(waterSurface); + if (result == null) result = caseSystem(waterSurface); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.HUMAN: { + Human human = (Human)theEObject; + T result = caseHuman(human); + if (result == null) result = caseAgent(human); + if (result == null) result = casePhysicalObject(human); + if (result == null) result = caseSystem(human); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.PEDESTRIAN: { + Pedestrian pedestrian = (Pedestrian)theEObject; + T result = casePedestrian(pedestrian); + if (result == null) result = caseHuman(pedestrian); + if (result == null) result = caseAgent(pedestrian); + if (result == null) result = casePhysicalObject(pedestrian); + if (result == null) result = caseSystem(pedestrian); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.STAIRS: { + Stairs stairs = (Stairs)theEObject; + T result = caseStairs(stairs); + if (result == null) result = caseGround(stairs); + if (result == null) result = caseSurface(stairs); + if (result == null) result = casePhysicalObject(stairs); + if (result == null) result = caseSystem(stairs); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.PLATFORM: { + Platform platform = (Platform)theEObject; + T result = casePlatform(platform); + if (result == null) result = caseSystem(platform); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.EXTERNAL_LIBRARY: { + ExternalLibrary externalLibrary = (ExternalLibrary)theEObject; + T result = caseExternalLibrary(externalLibrary); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ROBOTIC_MIDDLEWARE: { + RoboticMiddleware roboticMiddleware = (RoboticMiddleware)theEObject; + T result = caseRoboticMiddleware(roboticMiddleware); + if (result == null) result = casePlatform(roboticMiddleware); + if (result == null) result = caseSystem(roboticMiddleware); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ROBOTIC_SIMULATOR: { + RoboticSimulator roboticSimulator = (RoboticSimulator)theEObject; + T result = caseRoboticSimulator(roboticSimulator); + if (result == null) result = casePlatform(roboticSimulator); + if (result == null) result = caseSystem(roboticSimulator); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.CYCAB_TK: { + CycabTK cycabTK = (CycabTK)theEObject; + T result = caseCycabTK(cycabTK); + if (result == null) result = caseRoboticSimulator(cycabTK); + if (result == null) result = casePlatform(cycabTK); + if (result == null) result = caseSystem(cycabTK); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.BLENDER_MORSE: { + BlenderMorse blenderMorse = (BlenderMorse)theEObject; + T result = caseBlenderMorse(blenderMorse); + if (result == null) result = caseRoboticSimulator(blenderMorse); + if (result == null) result = casePlatform(blenderMorse); + if (result == null) result = caseSystem(blenderMorse); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ON_PORT: { + OnPort onPort = (OnPort)theEObject; + T result = caseOnPort(onPort); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ALLOCATE: { + Allocate allocate = (Allocate)theEObject; + T result = caseAllocate(allocate); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.INERTIAL_MEASUREMENT_UNIT_SYSTEM: { + InertialMeasurementUnitSystem inertialMeasurementUnitSystem = (InertialMeasurementUnitSystem)theEObject; + T result = caseInertialMeasurementUnitSystem(inertialMeasurementUnitSystem); + if (result == null) result = caseSensorSystem(inertialMeasurementUnitSystem); + if (result == null) result = caseRoboticSystem(inertialMeasurementUnitSystem); + if (result == null) result = caseSystem(inertialMeasurementUnitSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.INERTIAL_NAVIGATION_SYSTEM: { + InertialNavigationSystem inertialNavigationSystem = (InertialNavigationSystem)theEObject; + T result = caseInertialNavigationSystem(inertialNavigationSystem); + if (result == null) result = caseGPSSystem(inertialNavigationSystem); + if (result == null) result = caseLocalizationSensorSystem(inertialNavigationSystem); + if (result == null) result = caseSensorSystem(inertialNavigationSystem); + if (result == null) result = caseRoboticSystem(inertialNavigationSystem); + if (result == null) result = caseSystem(inertialNavigationSystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ODOMETRY_SYSTEM: { + OdometrySystem odometrySystem = (OdometrySystem)theEObject; + T result = caseOdometrySystem(odometrySystem); + if (result == null) result = caseLocalizationSensorSystem(odometrySystem); + if (result == null) result = caseSensorSystem(odometrySystem); + if (result == null) result = caseRoboticSystem(odometrySystem); + if (result == null) result = caseSystem(odometrySystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.INFRA_RED_PROXIMETRY_SYSTEM: { + InfraRedProximetrySystem infraRedProximetrySystem = (InfraRedProximetrySystem)theEObject; + T result = caseInfraRedProximetrySystem(infraRedProximetrySystem); + if (result == null) result = caseObjectDetectionSensorSystem(infraRedProximetrySystem); + if (result == null) result = caseSensorSystem(infraRedProximetrySystem); + if (result == null) result = caseRoboticSystem(infraRedProximetrySystem); + if (result == null) result = caseSystem(infraRedProximetrySystem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.DEPLOYMENT_PLAN: { + DeploymentPlan deploymentPlan = (DeploymentPlan)theEObject; + T result = caseDeploymentPlan(deploymentPlan); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.GYROSCOPE: { + Gyroscope gyroscope = (Gyroscope)theEObject; + T result = caseGyroscope(gyroscope); + if (result == null) result = caseSensorSystem(gyroscope); + if (result == null) result = caseRoboticSystem(gyroscope); + if (result == null) result = caseSystem(gyroscope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RobotMLPackage.ON_PROPERTY: { + OnProperty onProperty = (OnProperty)theEObject; + T result = caseOnProperty(onProperty); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); } } @@ -791,9 +573,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Transition'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -808,9 +588,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Algorithm'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -819,15 +597,28 @@ public class RobotMLSwitch extends Switch { return null; } + /** + * Returns the result of interpreting the object as an instance of 'State'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'State'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseState(State object) { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'Robot'. * * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Robot'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -842,9 +633,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -859,9 +648,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Agent'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -876,9 +663,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Physical Object'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -893,9 +678,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Environment'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -910,9 +693,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Surface'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -927,9 +708,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Data Flow Port'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -944,9 +723,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Port'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -961,9 +738,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Service Port'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -978,9 +753,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Actuator System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -995,9 +768,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Robotic System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1012,9 +783,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Sensor System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1029,9 +798,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Hardware'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1046,9 +813,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Software'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1063,9 +828,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Primitive Data'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1080,9 +843,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Data Type'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1097,9 +858,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Engine System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1114,9 +873,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Wheel System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1131,9 +888,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Image Sensor System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1148,9 +903,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Camera System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1165,9 +918,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Object Detection Sensor System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1182,9 +933,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Object Tracking Sensor System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1199,9 +948,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Lidar System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1216,9 +963,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Localization Sensor System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1233,9 +978,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'GPS System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1250,9 +993,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Simulated System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1267,9 +1008,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Algorithm Library'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1278,32 +1017,13 @@ public class RobotMLSwitch extends Switch { return null; } - /** - * Returns the result of interpreting the object as an instance of 'State'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'State'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseState(State object) { - return null; - } - /** * Returns the result of interpreting the object as an instance of 'Sensor Driver'. * * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Sensor Driver'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1318,9 +1038,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Building'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1335,9 +1053,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Planet'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1352,9 +1068,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Land Surface'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1369,9 +1083,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Ground'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1386,9 +1098,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Floor'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1403,9 +1113,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Water Surface'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1420,9 +1128,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Human'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1437,9 +1143,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Pedestrian'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1454,9 +1158,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Stairs'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1471,9 +1173,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Platform'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1482,15 +1182,28 @@ public class RobotMLSwitch extends Switch { return null; } + /** + * Returns the result of interpreting the object as an instance of 'External Library'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'External Library'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExternalLibrary(ExternalLibrary object) { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'Robotic Middleware'. * * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Robotic Middleware'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1505,9 +1218,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Robotic Simulator'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1522,9 +1233,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Cycab TK'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1539,9 +1248,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Blender Morse'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1556,9 +1263,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'On Port'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1573,9 +1278,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Allocate'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1590,9 +1293,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Inertial Measurement Unit System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1607,9 +1308,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Inertial Navigation System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1624,9 +1323,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Odometry System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1641,9 +1338,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Infra Red Proximetry System'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1658,9 +1353,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Deployment Plan'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1675,9 +1368,7 @@ public class RobotMLSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Gyroscope'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1686,15 +1377,28 @@ public class RobotMLSwitch extends Switch { return null; } + /** + * Returns the result of interpreting the object as an instance of 'On Property'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'On Property'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOnProperty(OnProperty object) { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'EObject'. * * This implementation returns null; * returning a non-null result will terminate the switch, but this is the last case anyway. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java index ee4d20d4428..809d1163451 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java @@ -1,28 +1,21 @@ -/***************************************************************************** - * 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.RobotML.util; import java.util.Map; import org.eclipse.emf.ecore.EPackage; + import org.eclipse.emf.ecore.resource.Resource; + import org.eclipse.emf.ecore.xmi.util.XMLProcessor; + import org.eclipse.papyrus.RobotML.RobotMLPackage; /** * This class contains helper methods to serialize and deserialize XML documents * * - * * @generated */ public class RobotMLXMLProcessor extends XMLProcessor { @@ -31,24 +24,22 @@ public class RobotMLXMLProcessor extends XMLProcessor { * Public constructor to instantiate the helper. * * - * * @generated */ public RobotMLXMLProcessor() { super((EPackage.Registry.INSTANCE)); RobotMLPackage.eINSTANCE.eClass(); } - + /** * Register for "*" and "xml" file extensions the RobotMLResourceFactoryImpl factory. * * - * * @generated */ @Override protected Map getRegistrations() { - if(registrations == null) { + if (registrations == null) { super.getRegistrations(); registrations.put(XML_EXTENSION, new RobotMLResourceFactoryImpl()); registrations.put(STAR_EXTENSION, new RobotMLResourceFactoryImpl()); 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 index 10b35e395dc..80a385dc7e4 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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; import org.eclipse.emf.ecore.EFactory; @@ -18,17 +9,14 @@ import org.eclipse.emf.ecore.EFactory; * The Factory for the model. * It provides a create method for each non-abstract class of the model. * - * * @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. * * - * * @generated */ Actionlib_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.Actionlib_datatypesFactoryImpl.init(); @@ -37,7 +25,6 @@ public interface Actionlib_datatypesFactory extends EFactory { * Returns a new object of class 'Goal ID'. * * - * * @return a new object of class 'Goal ID'. * @generated */ @@ -47,7 +34,6 @@ public interface Actionlib_datatypesFactory extends EFactory { * Returns a new object of class 'Goal Status'. * * - * * @return a new object of class 'Goal Status'. * @generated */ @@ -57,7 +43,6 @@ public interface Actionlib_datatypesFactory extends EFactory { * Returns a new object of class 'Goal Status Array'. * * - * * @return a new object of class 'Goal Status Array'. * @generated */ @@ -67,7 +52,6 @@ public interface Actionlib_datatypesFactory extends EFactory { * Returns the package supported by this factory. * * - * * @return the package supported by this factory. * @generated */ 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 index 1a189584ef6..eee0033aa54 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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; import org.eclipse.emf.ecore.EAttribute; @@ -21,24 +12,22 @@ import org.eclipse.emf.ecore.EReference; * The Package for the model. * It contains accessors for the meta objects to represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @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. * * - * * @generated */ String eNAME = "actionlib_datatypes"; @@ -47,7 +36,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The package namespace URI. * * - * * @generated */ String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes.ecore"; @@ -56,7 +44,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The package namespace name. * * - * * @generated */ String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes"; @@ -65,18 +52,14 @@ public interface Actionlib_datatypesPackage extends EPackage { * The singleton instance of the package. * * - * * @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 Goal ID}' - * class. + * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl Goal ID}' class. * * - * * @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 @@ -87,7 +70,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'Stamp' attribute. * * - * * @generated * @ordered */ @@ -97,7 +79,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'Id' attribute. * * - * * @generated * @ordered */ @@ -107,19 +88,24 @@ public interface Actionlib_datatypesPackage extends EPackage { * The number of structural features of the 'Goal ID' class. * * - * * @generated * @ordered */ int GOAL_ID_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl - * Goal Status}' class. + * The number of operations of the 'Goal ID' class. + * + * + * @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 Goal Status}' class. * * - * * @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 @@ -130,7 +116,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'PENDING' attribute. * * - * * @generated * @ordered */ @@ -140,7 +125,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'ACTIVE' attribute. * * - * * @generated * @ordered */ @@ -150,7 +134,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'PREEMPTED' attribute. * * - * * @generated * @ordered */ @@ -160,7 +143,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'SUCCEEDED' attribute. * * - * * @generated * @ordered */ @@ -170,7 +152,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'ABORTED' attribute. * * - * * @generated * @ordered */ @@ -180,7 +161,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'REJECTED' attribute. * * - * * @generated * @ordered */ @@ -190,7 +170,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'PREEMPTING' attribute. * * - * * @generated * @ordered */ @@ -200,7 +179,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'RECALLING' attribute. * * - * * @generated * @ordered */ @@ -210,7 +188,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'RECALLED' attribute. * * - * * @generated * @ordered */ @@ -220,7 +197,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'LOST' attribute. * * - * * @generated * @ordered */ @@ -230,7 +206,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'Text' attribute. * * - * * @generated * @ordered */ @@ -240,7 +215,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'Status' attribute. * * - * * @generated * @ordered */ @@ -250,19 +224,24 @@ public interface Actionlib_datatypesPackage extends EPackage { * The number of structural features of the 'Goal Status' class. * * - * * @generated * @ordered */ int GOAL_STATUS_FEATURE_COUNT = 12; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusArrayImpl - * Goal Status Array}' class. + * The number of operations of the 'Goal Status' class. + * + * + * @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 Goal Status Array}' class. * * - * * @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 @@ -273,7 +252,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -283,7 +261,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The feature id for the 'Status list' containment reference list. * * - * * @generated * @ordered */ @@ -293,19 +270,25 @@ public interface Actionlib_datatypesPackage extends EPackage { * The number of structural features of the 'Goal Status Array' class. * * - * * @generated * @ordered */ int GOAL_STATUS_ARRAY_FEATURE_COUNT = 2; + /** + * The number of operations of the 'Goal Status Array' class. + * + * + * @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 Goal ID}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID Goal ID}'. * * - * * @return the meta object for class 'Goal ID'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID * @generated @@ -313,11 +296,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EClass getGoalID(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getStamp Stamp}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getStamp Stamp}'. * * - * * @return the meta object for the attribute 'Stamp'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getStamp() * @see #getGoalID() @@ -326,11 +307,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalID_Stamp(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getId Id}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getId Id}'. * * - * * @return the meta object for the attribute 'Id'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getId() * @see #getGoalID() @@ -339,11 +318,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalID_Id(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus Goal Status}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus Goal Status}'. * * - * * @return the meta object for class 'Goal Status'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus * @generated @@ -351,12 +328,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EClass getGoalStatus(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPENDING PENDING} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPENDING PENDING}'. * * - * * @return the meta object for the attribute 'PENDING'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPENDING() * @see #getGoalStatus() @@ -365,11 +339,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalStatus_PENDING(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getACTIVE ACTIVE}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getACTIVE ACTIVE}'. * * - * * @return the meta object for the attribute 'ACTIVE'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getACTIVE() * @see #getGoalStatus() @@ -378,12 +350,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalStatus_ACTIVE(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTED - * PREEMPTED}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTED PREEMPTED}'. * * - * * @return the meta object for the attribute 'PREEMPTED'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTED() * @see #getGoalStatus() @@ -392,12 +361,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalStatus_PREEMPTED(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getSUCCEEDED - * SUCCEEDED}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getSUCCEEDED SUCCEEDED}'. * * - * * @return the meta object for the attribute 'SUCCEEDED'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getSUCCEEDED() * @see #getGoalStatus() @@ -406,12 +372,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalStatus_SUCCEEDED(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getABORTED ABORTED} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getABORTED ABORTED}'. * * - * * @return the meta object for the attribute 'ABORTED'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getABORTED() * @see #getGoalStatus() @@ -420,12 +383,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalStatus_ABORTED(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getREJECTED - * REJECTED}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getREJECTED REJECTED}'. * * - * * @return the meta object for the attribute 'REJECTED'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getREJECTED() * @see #getGoalStatus() @@ -434,12 +394,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalStatus_REJECTED(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTING - * PREEMPTING}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTING PREEMPTING}'. * * - * * @return the meta object for the attribute 'PREEMPTING'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTING() * @see #getGoalStatus() @@ -448,12 +405,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalStatus_PREEMPTING(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLING - * RECALLING}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLING RECALLING}'. * * - * * @return the meta object for the attribute 'RECALLING'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLING() * @see #getGoalStatus() @@ -462,12 +416,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalStatus_RECALLING(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLED - * RECALLED}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLED RECALLED}'. * * - * * @return the meta object for the attribute 'RECALLED'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLED() * @see #getGoalStatus() @@ -476,11 +427,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalStatus_RECALLED(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getLOST LOST}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getLOST LOST}'. * * - * * @return the meta object for the attribute 'LOST'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getLOST() * @see #getGoalStatus() @@ -489,11 +438,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalStatus_LOST(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getText Text}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getText Text}'. * * - * * @return the meta object for the attribute 'Text'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getText() * @see #getGoalStatus() @@ -502,11 +449,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalStatus_Text(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getStatus Status}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getStatus Status}'. * * - * * @return the meta object for the attribute 'Status'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getStatus() * @see #getGoalStatus() @@ -515,12 +460,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EAttribute getGoalStatus_Status(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray - * Goal Status Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray Goal Status Array}'. * * - * * @return the meta object for class 'Goal Status Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray * @generated @@ -528,12 +470,9 @@ public interface Actionlib_datatypesPackage extends EPackage { EClass getGoalStatusArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getHeader - * Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getHeader() * @see #getGoalStatusArray() @@ -542,12 +481,9 @@ public interface Actionlib_datatypesPackage extends EPackage { 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 - * Status list}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getStatus_list Status list}'. * * - * * @return the meta object for the containment reference list 'Status list'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getStatus_list() * @see #getGoalStatusArray() @@ -559,7 +495,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * Returns the factory that creates the instances of the model. * * - * * @return the factory that creates the instances of the model. * @generated */ @@ -569,24 +504,20 @@ public interface Actionlib_datatypesPackage extends EPackage { * * Defines literals for the meta objects that represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @generated */ interface Literals { - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl Goal ID}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl Goal ID}' class. * * - * * @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 @@ -597,7 +528,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'Stamp' attribute feature. * * - * * @generated */ EAttribute GOAL_ID__STAMP = eINSTANCE.getGoalID_Stamp(); @@ -606,18 +536,14 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'Id' attribute feature. * * - * * @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 - * Goal Status}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl Goal Status}' class. * * - * * @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 @@ -628,7 +554,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'PENDING' attribute feature. * * - * * @generated */ EAttribute GOAL_STATUS__PENDING = eINSTANCE.getGoalStatus_PENDING(); @@ -637,7 +562,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'ACTIVE' attribute feature. * * - * * @generated */ EAttribute GOAL_STATUS__ACTIVE = eINSTANCE.getGoalStatus_ACTIVE(); @@ -646,7 +570,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'PREEMPTED' attribute feature. * * - * * @generated */ EAttribute GOAL_STATUS__PREEMPTED = eINSTANCE.getGoalStatus_PREEMPTED(); @@ -655,7 +578,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'SUCCEEDED' attribute feature. * * - * * @generated */ EAttribute GOAL_STATUS__SUCCEEDED = eINSTANCE.getGoalStatus_SUCCEEDED(); @@ -664,7 +586,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'ABORTED' attribute feature. * * - * * @generated */ EAttribute GOAL_STATUS__ABORTED = eINSTANCE.getGoalStatus_ABORTED(); @@ -673,7 +594,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'REJECTED' attribute feature. * * - * * @generated */ EAttribute GOAL_STATUS__REJECTED = eINSTANCE.getGoalStatus_REJECTED(); @@ -682,7 +602,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'PREEMPTING' attribute feature. * * - * * @generated */ EAttribute GOAL_STATUS__PREEMPTING = eINSTANCE.getGoalStatus_PREEMPTING(); @@ -691,7 +610,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'RECALLING' attribute feature. * * - * * @generated */ EAttribute GOAL_STATUS__RECALLING = eINSTANCE.getGoalStatus_RECALLING(); @@ -700,7 +618,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'RECALLED' attribute feature. * * - * * @generated */ EAttribute GOAL_STATUS__RECALLED = eINSTANCE.getGoalStatus_RECALLED(); @@ -709,7 +626,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'LOST' attribute feature. * * - * * @generated */ EAttribute GOAL_STATUS__LOST = eINSTANCE.getGoalStatus_LOST(); @@ -718,7 +634,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'Text' attribute feature. * * - * * @generated */ EAttribute GOAL_STATUS__TEXT = eINSTANCE.getGoalStatus_Text(); @@ -727,18 +642,14 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'Status' attribute feature. * * - * * @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 - * Goal Status Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusArrayImpl Goal Status Array}' class. * * - * * @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 @@ -749,7 +660,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference GOAL_STATUS_ARRAY__HEADER = eINSTANCE.getGoalStatusArray_Header(); @@ -758,7 +668,6 @@ public interface Actionlib_datatypesPackage extends EPackage { * The meta object literal for the 'Status list' containment reference list feature. * * - * * @generated */ EReference GOAL_STATUS_ARRAY__STATUS_LIST = eINSTANCE.getGoalStatusArray_Status_list(); 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 index 066e0c79d7b..ecd46a7c4e9 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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; import java.util.Date; @@ -19,46 +10,41 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Goal ID'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getStamp Stamp}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getId Id}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getStamp Stamp}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getId Id}
  • *
*

- * + * * @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 'Stamp' attribute. * *

- * If the meaning of the 'Stamp' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Stamp' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Stamp' attribute. * @see #setStamp(Date) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Time" required="true" ordered="false" * @generated */ Date getStamp(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getStamp - * Stamp}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getStamp Stamp}' attribute. * * - * - * @param value - * the new value of the 'Stamp' attribute. + * @param value the new value of the 'Stamp' attribute. * @see #getStamp() * @generated */ @@ -68,27 +54,23 @@ public interface GoalID extends EObject { * Returns the value of the 'Id' attribute. * *

- * If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Id' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Id' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getId(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getId - * Id}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID#getId Id}' attribute. * * - * - * @param value - * the new value of the 'Id' attribute. + * @param value the new value of the 'Id' attribute. * @see #getId() * @generated */ 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 index a6fe0b57f23..55ed525b92c 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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; import org.eclipse.emf.ecore.EObject; @@ -17,64 +8,52 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Goal Status'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPENDING PENDING}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getACTIVE ACTIVE}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTED PREEMPTED - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getSUCCEEDED SUCCEEDED - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getABORTED ABORTED}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getREJECTED REJECTED - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTING PREEMPTING - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLING RECALLING - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLED RECALLED - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getLOST LOST}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getText Text}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getStatus Status}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPENDING PENDING}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getACTIVE ACTIVE}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTED PREEMPTED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getSUCCEEDED SUCCEEDED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getABORTED ABORTED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getREJECTED REJECTED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTING PREEMPTING}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLING RECALLING}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLED RECALLED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getLOST LOST}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getText Text}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getStatus Status}
  • *
*

- * + * * @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 'PENDING' attribute. * The default value is "0". * *

- * If the meaning of the 'PENDING' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'PENDING' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'PENDING' attribute. * @see #setPENDING(char) * @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" + * @model default="0" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getPENDING(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPENDING PENDING}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPENDING PENDING}' attribute. * * - * - * @param value - * the new value of the 'PENDING' attribute. + * @param value the new value of the 'PENDING' attribute. * @see #getPENDING() * @generated */ @@ -85,28 +64,23 @@ public interface GoalStatus extends EObject { * The default value is "1". * *

- * If the meaning of the 'ACTIVE' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'ACTIVE' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'ACTIVE' attribute. * @see #setACTIVE(char) * @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" + * @model default="1" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getACTIVE(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getACTIVE ACTIVE}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getACTIVE ACTIVE}' attribute. * * - * - * @param value - * the new value of the 'ACTIVE' attribute. + * @param value the new value of the 'ACTIVE' attribute. * @see #getACTIVE() * @generated */ @@ -117,28 +91,23 @@ public interface GoalStatus extends EObject { * The default value is "2". * *

- * If the meaning of the 'PREEMPTED' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'PREEMPTED' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'PREEMPTED' attribute. * @see #setPREEMPTED(char) * @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" + * @model default="2" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getPREEMPTED(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTED - * PREEMPTED}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTED PREEMPTED}' attribute. * * - * - * @param value - * the new value of the 'PREEMPTED' attribute. + * @param value the new value of the 'PREEMPTED' attribute. * @see #getPREEMPTED() * @generated */ @@ -148,28 +117,23 @@ public interface GoalStatus extends EObject { * Returns the value of the 'SUCCEEDED' attribute. * *

- * If the meaning of the 'SUCCEEDED' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'SUCCEEDED' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'SUCCEEDED' attribute. * @see #setSUCCEEDED(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getSUCCEEDED(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getSUCCEEDED - * SUCCEEDED}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getSUCCEEDED SUCCEEDED}' attribute. * * - * - * @param value - * the new value of the 'SUCCEEDED' attribute. + * @param value the new value of the 'SUCCEEDED' attribute. * @see #getSUCCEEDED() * @generated */ @@ -179,28 +143,23 @@ public interface GoalStatus extends EObject { * Returns the value of the 'ABORTED' attribute. * *

- * If the meaning of the 'ABORTED' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'ABORTED' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'ABORTED' attribute. * @see #setABORTED(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getABORTED(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getABORTED ABORTED}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getABORTED ABORTED}' attribute. * * - * - * @param value - * the new value of the 'ABORTED' attribute. + * @param value the new value of the 'ABORTED' attribute. * @see #getABORTED() * @generated */ @@ -210,28 +169,23 @@ public interface GoalStatus extends EObject { * Returns the value of the 'REJECTED' attribute. * *

- * If the meaning of the 'REJECTED' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'REJECTED' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'REJECTED' attribute. * @see #setREJECTED(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getREJECTED(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getREJECTED - * REJECTED}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getREJECTED REJECTED}' attribute. * * - * - * @param value - * the new value of the 'REJECTED' attribute. + * @param value the new value of the 'REJECTED' attribute. * @see #getREJECTED() * @generated */ @@ -241,28 +195,23 @@ public interface GoalStatus extends EObject { * Returns the value of the 'PREEMPTING' attribute. * *

- * If the meaning of the 'PREEMPTING' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'PREEMPTING' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'PREEMPTING' attribute. * @see #setPREEMPTING(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getPREEMPTING(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTING - * PREEMPTING}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getPREEMPTING PREEMPTING}' attribute. * * - * - * @param value - * the new value of the 'PREEMPTING' attribute. + * @param value the new value of the 'PREEMPTING' attribute. * @see #getPREEMPTING() * @generated */ @@ -272,28 +221,23 @@ public interface GoalStatus extends EObject { * Returns the value of the 'RECALLING' attribute. * *

- * If the meaning of the 'RECALLING' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'RECALLING' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'RECALLING' attribute. * @see #setRECALLING(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getRECALLING(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLING - * RECALLING}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLING RECALLING}' attribute. * * - * - * @param value - * the new value of the 'RECALLING' attribute. + * @param value the new value of the 'RECALLING' attribute. * @see #getRECALLING() * @generated */ @@ -303,28 +247,23 @@ public interface GoalStatus extends EObject { * Returns the value of the 'RECALLED' attribute. * *

- * If the meaning of the 'RECALLED' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'RECALLED' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'RECALLED' attribute. * @see #setRECALLED(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getRECALLED(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLED - * RECALLED}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getRECALLED RECALLED}' attribute. * * - * - * @param value - * the new value of the 'RECALLED' attribute. + * @param value the new value of the 'RECALLED' attribute. * @see #getRECALLED() * @generated */ @@ -334,28 +273,23 @@ public interface GoalStatus extends EObject { * Returns the value of the 'LOST' attribute. * *

- * If the meaning of the 'LOST' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'LOST' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'LOST' attribute. * @see #setLOST(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getLOST(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getLOST LOST}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getLOST LOST}' attribute. * * - * - * @param value - * the new value of the 'LOST' attribute. + * @param value the new value of the 'LOST' attribute. * @see #getLOST() * @generated */ @@ -365,28 +299,23 @@ public interface GoalStatus extends EObject { * Returns the value of the 'Text' attribute. * *

- * If the meaning of the 'Text' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Text' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Text' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getText(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getText Text}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getText Text}' attribute. * * - * - * @param value - * the new value of the 'Text' attribute. + * @param value the new value of the 'Text' attribute. * @see #getText() * @generated */ @@ -396,28 +325,23 @@ public interface GoalStatus extends EObject { * Returns the value of the 'Status' attribute. * *

- * If the meaning of the 'Status' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Status' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Status' attribute. * @see #setStatus(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getStatus(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getStatus Status}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus#getStatus Status}' attribute. * * - * - * @param value - * the new value of the 'Status' attribute. + * @param value the new value of the 'Status' attribute. * @see #getStatus() * @generated */ 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 index 87a45fc941a..28bcb76220c 100644 --- 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 @@ -1,49 +1,39 @@ -/***************************************************************************** - * 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; 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; /** * * A representation of the model object 'Goal Status Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getHeader Header - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getStatus_list - * Status list}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getStatus_list Status list}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatusArray_Header() @@ -53,14 +43,10 @@ public interface GoalStatusArray extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -68,14 +54,13 @@ public interface GoalStatusArray extends EObject { /** * Returns the value of the 'Status list' containment reference list. - * The list contents are of type - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus}. + * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus}. * *

- * If the meaning of the 'Status list' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Status list' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Status list' containment reference list. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage#getGoalStatusArray_Status_list() * @model containment="true" ordered="false" 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 index cef9a9af6c4..ea915be4ffe 100644 --- 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 @@ -1,50 +1,38 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.*; /** * * An implementation of the model Factory. * - * * @generated */ public class Actionlib_datatypesFactoryImpl extends EFactoryImpl implements Actionlib_datatypesFactory { - /** * Creates the default factory implementation. * * - * * @generated */ public static Actionlib_datatypesFactory init() { try { - Actionlib_datatypesFactory theActionlib_datatypesFactory = (Actionlib_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory("http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/actionlib_datatypes.ecore"); - if(theActionlib_datatypesFactory != null) { + Actionlib_datatypesFactory theActionlib_datatypesFactory = (Actionlib_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Actionlib_datatypesPackage.eNS_URI); + if (theActionlib_datatypesFactory != null) { return theActionlib_datatypesFactory; } - } catch (Exception exception) { + } + catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new Actionlib_datatypesFactoryImpl(); @@ -54,7 +42,6 @@ public class Actionlib_datatypesFactoryImpl extends EFactoryImpl implements Acti * Creates an instance of the factory. * * - * * @generated */ public Actionlib_datatypesFactoryImpl() { @@ -64,27 +51,22 @@ public class Actionlib_datatypesFactoryImpl extends EFactoryImpl implements Acti /** * * - * * @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"); + 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"); } } /** * * - * * @generated */ public GoalID createGoalID() { @@ -95,7 +77,6 @@ public class Actionlib_datatypesFactoryImpl extends EFactoryImpl implements Acti /** * * - * * @generated */ public GoalStatus createGoalStatus() { @@ -106,7 +87,6 @@ public class Actionlib_datatypesFactoryImpl extends EFactoryImpl implements Acti /** * * - * * @generated */ public GoalStatusArray createGoalStatusArray() { @@ -117,7 +97,6 @@ public class Actionlib_datatypesFactoryImpl extends EFactoryImpl implements Acti /** * * - * * @generated */ public Actionlib_datatypesPackage getActionlib_datatypesPackage() { @@ -127,7 +106,6 @@ public class Actionlib_datatypesFactoryImpl extends EFactoryImpl implements Acti /** * * - * * @deprecated * @generated */ 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; /** * * An implementation of the model Package. * - * * @generated */ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Actionlib_datatypesPackage { - /** * * - * * @generated */ private EClass goalIDEClass = null; @@ -59,7 +66,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ private EClass goalStatusEClass = null; @@ -67,19 +73,20 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ private EClass goalStatusArrayEClass = null; /** - * Creates an instance of the model Package, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the - * package + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. - *

- * 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. - * + *

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. + * + * * @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 /** * * - * * @generated */ private static boolean isInited = false; @@ -100,18 +106,17 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * - *

- * 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. - * + *

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. + * + * * @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 /** * * - * * @generated */ public EClass getGoalID() { @@ -175,7 +179,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalID_Stamp() { @@ -185,7 +188,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalID_Id() { @@ -195,7 +197,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EClass getGoalStatus() { @@ -205,7 +206,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalStatus_PENDING() { @@ -215,7 +215,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalStatus_ACTIVE() { @@ -225,7 +224,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalStatus_PREEMPTED() { @@ -235,7 +233,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalStatus_SUCCEEDED() { @@ -245,7 +242,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalStatus_ABORTED() { @@ -255,7 +251,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalStatus_REJECTED() { @@ -265,7 +260,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalStatus_PREEMPTING() { @@ -275,7 +269,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalStatus_RECALLING() { @@ -285,7 +278,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalStatus_RECALLED() { @@ -295,7 +287,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalStatus_LOST() { @@ -305,7 +296,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalStatus_Text() { @@ -315,7 +305,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EAttribute getGoalStatus_Status() { @@ -325,7 +314,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EClass getGoalStatusArray() { @@ -335,7 +323,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EReference getGoalStatusArray_Header() { @@ -345,7 +332,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public EReference getGoalStatusArray_Status_list() { @@ -355,7 +341,6 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @generated */ public Actionlib_datatypesFactory getActionlib_datatypesFactory() { @@ -365,22 +350,19 @@ public class Actionlib_datatypesPackageImpl extends EPackageImpl implements Acti /** * * - * * @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. * * - * * @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 /** * * - * * @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. * * - * * @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); 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 index de2fb662ebf..79250b212b5 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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 java.util.Date; 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.EObjectImpl; +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; @@ -27,21 +21,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl#getStamp Stamp} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl#getId Id}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl#getStamp Stamp}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalIDImpl#getId Id}
  • *
*

- * + * * @generated */ -public class GoalIDImpl extends EObjectImpl implements GoalID { - +public class GoalIDImpl extends MinimalEObjectImpl.Container implements GoalID { /** * The default value of the '{@link #getStamp() Stamp}' attribute. * * - * * @see #getStamp() * @generated * @ordered @@ -52,7 +43,6 @@ public class GoalIDImpl extends EObjectImpl implements GoalID { * The cached value of the '{@link #getStamp() Stamp}' attribute. * * - * * @see #getStamp() * @generated * @ordered @@ -63,7 +53,6 @@ public class GoalIDImpl extends EObjectImpl implements GoalID { * The default value of the '{@link #getId() Id}' attribute. * * - * * @see #getId() * @generated * @ordered @@ -74,7 +63,6 @@ public class GoalIDImpl extends EObjectImpl implements GoalID { * The cached value of the '{@link #getId() Id}' attribute. * * - * * @see #getId() * @generated * @ordered @@ -84,7 +72,6 @@ public class GoalIDImpl extends EObjectImpl implements GoalID { /** * * - * * @generated */ protected GoalIDImpl() { @@ -94,7 +81,6 @@ public class GoalIDImpl extends EObjectImpl implements GoalID { /** * * - * * @generated */ @Override @@ -105,7 +91,6 @@ public class GoalIDImpl extends EObjectImpl implements GoalID { /** * * - * * @generated */ public Date getStamp() { @@ -115,20 +100,18 @@ public class GoalIDImpl extends EObjectImpl implements GoalID { /** * * - * * @generated */ public void setStamp(Date newStamp) { Date oldStamp = stamp; stamp = newStamp; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_ID__STAMP, oldStamp, stamp)); } /** * * - * * @generated */ public String getId() { @@ -138,29 +121,27 @@ public class GoalIDImpl extends EObjectImpl implements GoalID { /** * * - * * @generated */ public void setId(String newId) { String oldId = id; id = newId; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_ID__ID, oldId, id)); } /** * * - * * @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(); + switch (featureID) { + case Actionlib_datatypesPackage.GOAL_ID__STAMP: + return getStamp(); + case Actionlib_datatypesPackage.GOAL_ID__ID: + return getId(); } return super.eGet(featureID, resolve, coreType); } @@ -168,18 +149,17 @@ public class GoalIDImpl extends EObjectImpl implements GoalID { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Actionlib_datatypesPackage.GOAL_ID__STAMP: - setStamp((Date)newValue); - return; - case Actionlib_datatypesPackage.GOAL_ID__ID: - setId((String)newValue); - return; + switch (featureID) { + case Actionlib_datatypesPackage.GOAL_ID__STAMP: + setStamp((Date)newValue); + return; + case Actionlib_datatypesPackage.GOAL_ID__ID: + setId((String)newValue); + return; } super.eSet(featureID, newValue); } @@ -187,18 +167,17 @@ public class GoalIDImpl extends EObjectImpl implements GoalID { /** * * - * * @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; + 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); } @@ -206,16 +185,15 @@ public class GoalIDImpl extends EObjectImpl implements GoalID { /** * * - * * @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); + 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); } @@ -223,13 +201,11 @@ public class GoalIDImpl extends EObjectImpl implements GoalID { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (stamp: "); 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 index c9db9915c55..4b851e03934 100644 --- 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 @@ -1,30 +1,27 @@ -/***************************************************************************** - * 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 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.EObjectImpl; +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; /** @@ -34,22 +31,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusArrayImpl#getHeader - * Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusArrayImpl#getStatus_list - * Status list}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusArrayImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusArrayImpl#getStatus_list Status list}
  • *
*

- * + * * @generated */ -public class GoalStatusArrayImpl extends EObjectImpl implements GoalStatusArray { - +public class GoalStatusArrayImpl extends MinimalEObjectImpl.Container implements GoalStatusArray { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -60,7 +53,6 @@ public class GoalStatusArrayImpl extends EObjectImpl implements GoalStatusArray * The cached value of the '{@link #getStatus_list() Status list}' containment reference list. * * - * * @see #getStatus_list() * @generated * @ordered @@ -70,7 +62,6 @@ public class GoalStatusArrayImpl extends EObjectImpl implements GoalStatusArray /** * * - * * @generated */ protected GoalStatusArrayImpl() { @@ -80,7 +71,6 @@ public class GoalStatusArrayImpl extends EObjectImpl implements GoalStatusArray /** * * - * * @generated */ @Override @@ -91,7 +81,6 @@ public class GoalStatusArrayImpl extends EObjectImpl implements GoalStatusArray /** * * - * * @generated */ public Header getHeader() { @@ -101,18 +90,14 @@ public class GoalStatusArrayImpl extends EObjectImpl implements GoalStatusArray /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -120,31 +105,29 @@ public class GoalStatusArrayImpl extends EObjectImpl implements GoalStatusArray /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public EList getStatus_list() { - if(status_list == null) { + if (status_list == null) { status_list = new EObjectContainmentEList(GoalStatus.class, this, Actionlib_datatypesPackage.GOAL_STATUS_ARRAY__STATUS_LIST); } return status_list; @@ -153,16 +136,15 @@ public class GoalStatusArrayImpl extends EObjectImpl implements GoalStatusArray /** * * - * * @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); + 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); } @@ -170,16 +152,15 @@ public class GoalStatusArrayImpl extends EObjectImpl implements GoalStatusArray /** * * - * * @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(); + 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); } @@ -187,20 +168,19 @@ public class GoalStatusArrayImpl extends EObjectImpl implements GoalStatusArray /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -208,18 +188,17 @@ public class GoalStatusArrayImpl extends EObjectImpl implements GoalStatusArray /** * * - * * @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; + 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); } @@ -227,16 +206,15 @@ public class GoalStatusArrayImpl extends EObjectImpl implements GoalStatusArray /** * * - * * @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(); + 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); } 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 index cf95cf9424a..f716300c1b8 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; + import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; +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; @@ -25,42 +19,28 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getPENDING - * PENDING}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getACTIVE ACTIVE - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getPREEMPTED - * PREEMPTED}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getSUCCEEDED - * SUCCEEDED}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getABORTED - * ABORTED}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getREJECTED - * REJECTED}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getPREEMPTING - * PREEMPTING}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getRECALLING - * RECALLING}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getRECALLED - * RECALLED}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getLOST LOST - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getText Text - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getStatus Status - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getPENDING PENDING}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getACTIVE ACTIVE}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getPREEMPTED PREEMPTED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getSUCCEEDED SUCCEEDED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getABORTED ABORTED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getREJECTED REJECTED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getPREEMPTING PREEMPTING}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getRECALLING RECALLING}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getRECALLED RECALLED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getLOST LOST}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getText Text}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.impl.GoalStatusImpl#getStatus Status}
  • *
*

- * + * * @generated */ -public class GoalStatusImpl extends EObjectImpl implements GoalStatus { - +public class GoalStatusImpl extends MinimalEObjectImpl.Container implements GoalStatus { /** * The default value of the '{@link #getPENDING() PENDING}' attribute. * * - * * @see #getPENDING() * @generated * @ordered @@ -71,7 +51,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The cached value of the '{@link #getPENDING() PENDING}' attribute. * * - * * @see #getPENDING() * @generated * @ordered @@ -82,7 +61,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The default value of the '{@link #getACTIVE() ACTIVE}' attribute. * * - * * @see #getACTIVE() * @generated * @ordered @@ -93,7 +71,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The cached value of the '{@link #getACTIVE() ACTIVE}' attribute. * * - * * @see #getACTIVE() * @generated * @ordered @@ -104,7 +81,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The default value of the '{@link #getPREEMPTED() PREEMPTED}' attribute. * * - * * @see #getPREEMPTED() * @generated * @ordered @@ -115,7 +91,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The cached value of the '{@link #getPREEMPTED() PREEMPTED}' attribute. * * - * * @see #getPREEMPTED() * @generated * @ordered @@ -126,7 +101,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The default value of the '{@link #getSUCCEEDED() SUCCEEDED}' attribute. * * - * * @see #getSUCCEEDED() * @generated * @ordered @@ -137,7 +111,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The cached value of the '{@link #getSUCCEEDED() SUCCEEDED}' attribute. * * - * * @see #getSUCCEEDED() * @generated * @ordered @@ -148,7 +121,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The default value of the '{@link #getABORTED() ABORTED}' attribute. * * - * * @see #getABORTED() * @generated * @ordered @@ -159,7 +131,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The cached value of the '{@link #getABORTED() ABORTED}' attribute. * * - * * @see #getABORTED() * @generated * @ordered @@ -170,7 +141,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The default value of the '{@link #getREJECTED() REJECTED}' attribute. * * - * * @see #getREJECTED() * @generated * @ordered @@ -181,7 +151,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The cached value of the '{@link #getREJECTED() REJECTED}' attribute. * * - * * @see #getREJECTED() * @generated * @ordered @@ -192,7 +161,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The default value of the '{@link #getPREEMPTING() PREEMPTING}' attribute. * * - * * @see #getPREEMPTING() * @generated * @ordered @@ -203,7 +171,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The cached value of the '{@link #getPREEMPTING() PREEMPTING}' attribute. * * - * * @see #getPREEMPTING() * @generated * @ordered @@ -214,7 +181,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The default value of the '{@link #getRECALLING() RECALLING}' attribute. * * - * * @see #getRECALLING() * @generated * @ordered @@ -225,7 +191,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The cached value of the '{@link #getRECALLING() RECALLING}' attribute. * * - * * @see #getRECALLING() * @generated * @ordered @@ -236,7 +201,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The default value of the '{@link #getRECALLED() RECALLED}' attribute. * * - * * @see #getRECALLED() * @generated * @ordered @@ -247,7 +211,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The cached value of the '{@link #getRECALLED() RECALLED}' attribute. * * - * * @see #getRECALLED() * @generated * @ordered @@ -258,7 +221,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The default value of the '{@link #getLOST() LOST}' attribute. * * - * * @see #getLOST() * @generated * @ordered @@ -269,7 +231,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The cached value of the '{@link #getLOST() LOST}' attribute. * * - * * @see #getLOST() * @generated * @ordered @@ -280,7 +241,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The default value of the '{@link #getText() Text}' attribute. * * - * * @see #getText() * @generated * @ordered @@ -291,7 +251,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The cached value of the '{@link #getText() Text}' attribute. * * - * * @see #getText() * @generated * @ordered @@ -302,7 +261,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The default value of the '{@link #getStatus() Status}' attribute. * * - * * @see #getStatus() * @generated * @ordered @@ -313,7 +271,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { * The cached value of the '{@link #getStatus() Status}' attribute. * * - * * @see #getStatus() * @generated * @ordered @@ -323,7 +280,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ protected GoalStatusImpl() { @@ -333,7 +289,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ @Override @@ -344,7 +299,6 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public char getPENDING() { @@ -354,20 +308,18 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public void setPENDING(char newPENDING) { char oldPENDING = pending; pending = newPENDING; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__PENDING, oldPENDING, pending)); } /** * * - * * @generated */ public char getACTIVE() { @@ -377,20 +329,18 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public void setACTIVE(char newACTIVE) { char oldACTIVE = active; active = newACTIVE; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__ACTIVE, oldACTIVE, active)); } /** * * - * * @generated */ public char getPREEMPTED() { @@ -400,20 +350,18 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public void setPREEMPTED(char newPREEMPTED) { char oldPREEMPTED = preempted; preempted = newPREEMPTED; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTED, oldPREEMPTED, preempted)); } /** * * - * * @generated */ public char getSUCCEEDED() { @@ -423,20 +371,18 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public void setSUCCEEDED(char newSUCCEEDED) { char oldSUCCEEDED = succeeded; succeeded = newSUCCEEDED; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__SUCCEEDED, oldSUCCEEDED, succeeded)); } /** * * - * * @generated */ public char getABORTED() { @@ -446,20 +392,18 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public void setABORTED(char newABORTED) { char oldABORTED = aborted; aborted = newABORTED; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__ABORTED, oldABORTED, aborted)); } /** * * - * * @generated */ public char getREJECTED() { @@ -469,20 +413,18 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public void setREJECTED(char newREJECTED) { char oldREJECTED = rejected; rejected = newREJECTED; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__REJECTED, oldREJECTED, rejected)); } /** * * - * * @generated */ public char getPREEMPTING() { @@ -492,20 +434,18 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public void setPREEMPTING(char newPREEMPTING) { char oldPREEMPTING = preempting; preempting = newPREEMPTING; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTING, oldPREEMPTING, preempting)); } /** * * - * * @generated */ public char getRECALLING() { @@ -515,20 +455,18 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public void setRECALLING(char newRECALLING) { char oldRECALLING = recalling; recalling = newRECALLING; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__RECALLING, oldRECALLING, recalling)); } /** * * - * * @generated */ public char getRECALLED() { @@ -538,20 +476,18 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public void setRECALLED(char newRECALLED) { char oldRECALLED = recalled; recalled = newRECALLED; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__RECALLED, oldRECALLED, recalled)); } /** * * - * * @generated */ public char getLOST() { @@ -561,20 +497,18 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public void setLOST(char newLOST) { char oldLOST = lost; lost = newLOST; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__LOST, oldLOST, lost)); } /** * * - * * @generated */ public String getText() { @@ -584,20 +518,18 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public void setText(String newText) { String oldText = text; text = newText; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__TEXT, oldText, text)); } /** * * - * * @generated */ public char getStatus() { @@ -607,49 +539,47 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ public void setStatus(char newStatus) { char oldStatus = status; status = newStatus; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Actionlib_datatypesPackage.GOAL_STATUS__STATUS, oldStatus, status)); } /** * * - * * @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(); + 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); } @@ -657,48 +587,47 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Actionlib_datatypesPackage.GOAL_STATUS__PENDING: - setPENDING((Character)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__ACTIVE: - setACTIVE((Character)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTED: - setPREEMPTED((Character)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__SUCCEEDED: - setSUCCEEDED((Character)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__ABORTED: - setABORTED((Character)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__REJECTED: - setREJECTED((Character)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTING: - setPREEMPTING((Character)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__RECALLING: - setRECALLING((Character)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__RECALLED: - setRECALLED((Character)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__LOST: - setLOST((Character)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__TEXT: - setText((String)newValue); - return; - case Actionlib_datatypesPackage.GOAL_STATUS__STATUS: - setStatus((Character)newValue); - return; + switch (featureID) { + case Actionlib_datatypesPackage.GOAL_STATUS__PENDING: + setPENDING((Character)newValue); + return; + case Actionlib_datatypesPackage.GOAL_STATUS__ACTIVE: + setACTIVE((Character)newValue); + return; + case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTED: + setPREEMPTED((Character)newValue); + return; + case Actionlib_datatypesPackage.GOAL_STATUS__SUCCEEDED: + setSUCCEEDED((Character)newValue); + return; + case Actionlib_datatypesPackage.GOAL_STATUS__ABORTED: + setABORTED((Character)newValue); + return; + case Actionlib_datatypesPackage.GOAL_STATUS__REJECTED: + setREJECTED((Character)newValue); + return; + case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTING: + setPREEMPTING((Character)newValue); + return; + case Actionlib_datatypesPackage.GOAL_STATUS__RECALLING: + setRECALLING((Character)newValue); + return; + case Actionlib_datatypesPackage.GOAL_STATUS__RECALLED: + setRECALLED((Character)newValue); + return; + case Actionlib_datatypesPackage.GOAL_STATUS__LOST: + setLOST((Character)newValue); + return; + case Actionlib_datatypesPackage.GOAL_STATUS__TEXT: + setText((String)newValue); + return; + case Actionlib_datatypesPackage.GOAL_STATUS__STATUS: + setStatus((Character)newValue); + return; } super.eSet(featureID, newValue); } @@ -706,48 +635,47 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @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; + 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); } @@ -755,36 +683,35 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Actionlib_datatypesPackage.GOAL_STATUS__PENDING: - return pending != PENDING_EDEFAULT; - case Actionlib_datatypesPackage.GOAL_STATUS__ACTIVE: - return active != ACTIVE_EDEFAULT; - case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTED: - return preempted != PREEMPTED_EDEFAULT; - case Actionlib_datatypesPackage.GOAL_STATUS__SUCCEEDED: - return succeeded != SUCCEEDED_EDEFAULT; - case Actionlib_datatypesPackage.GOAL_STATUS__ABORTED: - return aborted != ABORTED_EDEFAULT; - case Actionlib_datatypesPackage.GOAL_STATUS__REJECTED: - return rejected != REJECTED_EDEFAULT; - case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTING: - return preempting != PREEMPTING_EDEFAULT; - case Actionlib_datatypesPackage.GOAL_STATUS__RECALLING: - return recalling != RECALLING_EDEFAULT; - case Actionlib_datatypesPackage.GOAL_STATUS__RECALLED: - return recalled != RECALLED_EDEFAULT; - case Actionlib_datatypesPackage.GOAL_STATUS__LOST: - return lost != LOST_EDEFAULT; - case Actionlib_datatypesPackage.GOAL_STATUS__TEXT: - return TEXT_EDEFAULT == null ? text != null : !TEXT_EDEFAULT.equals(text); - case Actionlib_datatypesPackage.GOAL_STATUS__STATUS: - return status != STATUS_EDEFAULT; + switch (featureID) { + case Actionlib_datatypesPackage.GOAL_STATUS__PENDING: + return pending != PENDING_EDEFAULT; + case Actionlib_datatypesPackage.GOAL_STATUS__ACTIVE: + return active != ACTIVE_EDEFAULT; + case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTED: + return preempted != PREEMPTED_EDEFAULT; + case Actionlib_datatypesPackage.GOAL_STATUS__SUCCEEDED: + return succeeded != SUCCEEDED_EDEFAULT; + case Actionlib_datatypesPackage.GOAL_STATUS__ABORTED: + return aborted != ABORTED_EDEFAULT; + case Actionlib_datatypesPackage.GOAL_STATUS__REJECTED: + return rejected != REJECTED_EDEFAULT; + case Actionlib_datatypesPackage.GOAL_STATUS__PREEMPTING: + return preempting != PREEMPTING_EDEFAULT; + case Actionlib_datatypesPackage.GOAL_STATUS__RECALLING: + return recalling != RECALLING_EDEFAULT; + case Actionlib_datatypesPackage.GOAL_STATUS__RECALLED: + return recalled != RECALLED_EDEFAULT; + case Actionlib_datatypesPackage.GOAL_STATUS__LOST: + return lost != LOST_EDEFAULT; + case Actionlib_datatypesPackage.GOAL_STATUS__TEXT: + return TEXT_EDEFAULT == null ? text != null : !TEXT_EDEFAULT.equals(text); + case Actionlib_datatypesPackage.GOAL_STATUS__STATUS: + return status != STATUS_EDEFAULT; } return super.eIsSet(featureID); } @@ -792,13 +719,11 @@ public class GoalStatusImpl extends EObjectImpl implements GoalStatus { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (PENDING: "); 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 index d1169e37609..e4cd6e953ab 100644 --- 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 @@ -1,41 +1,29 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.*; /** * * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage * @generated */ public class Actionlib_datatypesAdapterFactory extends AdapterFactoryImpl { - /** * The cached model package. * * - * * @generated */ protected static Actionlib_datatypesPackage modelPackage; @@ -44,11 +32,10 @@ public class Actionlib_datatypesAdapterFactory extends AdapterFactoryImpl { * Creates an instance of the adapter factory. * * - * * @generated */ public Actionlib_datatypesAdapterFactory() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Actionlib_datatypesPackage.eINSTANCE; } } @@ -58,16 +45,15 @@ public class Actionlib_datatypesAdapterFactory extends AdapterFactoryImpl { * * This implementation returns true if the object is either the model's package or is an instance object of the model. * - * * @return whether this factory is applicable for the type of the object. * @generated */ @Override public boolean isFactoryForType(Object object) { - if(object == modelPackage) { + if (object == modelPackage) { return true; } - if(object instanceof EObject) { + if (object instanceof EObject) { return ((EObject)object).eClass().getEPackage() == modelPackage; } return false; @@ -77,39 +63,33 @@ public class Actionlib_datatypesAdapterFactory extends AdapterFactoryImpl { * The switch that delegates to the createXXX methods. * * - * * @generated */ - protected Actionlib_datatypesSwitch modelSwitch = new Actionlib_datatypesSwitch() { - - @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(); - } - }; + protected Actionlib_datatypesSwitch modelSwitch = + new Actionlib_datatypesSwitch() { + @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 target. * * - * - * @param target - * the object to adapt. + * @param target the object to adapt. * @return the adapter for the target. * @generated */ @@ -120,13 +100,11 @@ public class Actionlib_datatypesAdapterFactory extends AdapterFactoryImpl { /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID Goal ID}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID Goal ID}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalID * @generated @@ -136,13 +114,11 @@ public class Actionlib_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus Goal Status}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus Goal Status}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatus * @generated @@ -152,14 +128,11 @@ public class Actionlib_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray - * Goal Status Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray Goal Status Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.GoalStatusArray * @generated @@ -173,7 +146,6 @@ public class Actionlib_datatypesAdapterFactory extends AdapterFactoryImpl { * * This default implementation returns null. * - * * @return the new adapter. * @generated */ 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 index dacfcf187e0..1a8e184afe9 100644 --- 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 @@ -1,44 +1,32 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.*; /** * * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for each class of the model, + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX 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. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.actionlib_datatypes.Actionlib_datatypesPackage * @generated */ public class Actionlib_datatypesSwitch extends Switch { - /** * The cached model package * * - * * @generated */ protected static Actionlib_datatypesPackage modelPackage; @@ -47,11 +35,10 @@ public class Actionlib_datatypesSwitch extends Switch { * Creates an instance of the switch. * * - * * @generated */ public Actionlib_datatypesSwitch() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Actionlib_datatypesPackage.eINSTANCE; } } @@ -60,7 +47,6 @@ public class Actionlib_datatypesSwitch extends Switch { * Checks whether this is a switch for the given package. * * - * * @parameter ePackage the package in question. * @return whether this is a switch for the given package. * @generated @@ -74,39 +60,31 @@ public class Actionlib_datatypesSwitch extends Switch { * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. * * - * * @return the first non-null result returned by a caseXXX 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); + 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); } } @@ -116,9 +94,7 @@ public class Actionlib_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Goal ID'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -133,9 +109,7 @@ public class Actionlib_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Goal Status'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -150,9 +124,7 @@ public class Actionlib_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Goal Status Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -167,9 +139,7 @@ public class Actionlib_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch, but this is the last case anyway. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated 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 index 32269f9ca11..d914dcb4ef9 100644 --- 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 @@ -1,51 +1,40 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Diagnostic Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getHeader Header - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getStatus Status - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getValues Values - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getStatus Status}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getValues Values}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticArray_Header() @@ -55,14 +44,10 @@ public interface DiagnosticArray extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -70,14 +55,13 @@ public interface DiagnosticArray extends EObject { /** * Returns the value of the 'Status' containment reference list. - * The list contents are of type - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus}. + * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus}. * *

- * If the meaning of the 'Status' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Status' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Status' containment reference list. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticArray_Status() * @model containment="true" ordered="false" @@ -87,14 +71,13 @@ public interface DiagnosticArray extends EObject { /** * Returns the value of the 'Values' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue} - * . + * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue}. * *

- * If the meaning of the 'Values' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Values' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Values' containment reference list. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticArray_Values() * @model containment="true" ordered="false" 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 index 69e7481e5e1..79e99e9f1ae 100644 --- 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 @@ -1,77 +1,56 @@ -/***************************************************************************** - * 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.diagnostic_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Diagnostic Status'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getOK OK}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getWARN WARN} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getERROR ERROR - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getLevel Level - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getName Name} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getMessage Message - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getHardware_id - * Hardware id}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getValues Values - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getOK OK}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getWARN WARN}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getERROR ERROR}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getLevel Level}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getName Name}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getMessage Message}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getHardware_id Hardware id}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getValues Values}
  • *
*

- * + * * @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 'OK' attribute. * *

- * If the meaning of the 'OK' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'OK' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'OK' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Byte" required="true" ordered="false" * @generated */ byte getOK(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getOK OK}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getOK OK}' attribute. * * - * - * @param value - * the new value of the 'OK' attribute. + * @param value the new value of the 'OK' attribute. * @see #getOK() * @generated */ @@ -81,28 +60,23 @@ public interface DiagnosticStatus extends EObject { * Returns the value of the 'WARN' attribute. * *

- * If the meaning of the 'WARN' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'WARN' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'WARN' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Byte" required="true" ordered="false" * @generated */ byte getWARN(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getWARN WARN} - * ' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getWARN WARN}' attribute. * * - * - * @param value - * the new value of the 'WARN' attribute. + * @param value the new value of the 'WARN' attribute. * @see #getWARN() * @generated */ @@ -112,28 +86,23 @@ public interface DiagnosticStatus extends EObject { * Returns the value of the 'ERROR' attribute. * *

- * If the meaning of the 'ERROR' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'ERROR' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'ERROR' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Byte" required="true" ordered="false" * @generated */ byte getERROR(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getERROR - * ERROR}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getERROR ERROR}' attribute. * * - * - * @param value - * the new value of the 'ERROR' attribute. + * @param value the new value of the 'ERROR' attribute. * @see #getERROR() * @generated */ @@ -143,28 +112,23 @@ public interface DiagnosticStatus extends EObject { * Returns the value of the 'Level' attribute. * *

- * If the meaning of the 'Level' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Level' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Level' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Byte" required="true" ordered="false" * @generated */ byte getLevel(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getLevel - * Level}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getLevel Level}' attribute. * * - * - * @param value - * the new value of the 'Level' attribute. + * @param value the new value of the 'Level' attribute. * @see #getLevel() * @generated */ @@ -174,28 +138,23 @@ public interface DiagnosticStatus extends EObject { * Returns the value of the 'Name' attribute. * *

- * If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Name' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getName(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getName Name} - * ' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getName Name}' attribute. * * - * - * @param value - * the new value of the 'Name' attribute. + * @param value the new value of the 'Name' attribute. * @see #getName() * @generated */ @@ -205,28 +164,23 @@ public interface DiagnosticStatus extends EObject { * Returns the value of the 'Message' attribute. * *

- * If the meaning of the 'Message' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Message' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Message' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getMessage(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getMessage - * Message}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getMessage Message}' attribute. * * - * - * @param value - * the new value of the 'Message' attribute. + * @param value the new value of the 'Message' attribute. * @see #getMessage() * @generated */ @@ -236,28 +190,23 @@ public interface DiagnosticStatus extends EObject { * Returns the value of the 'Hardware id' attribute. * *

- * If the meaning of the 'Hardware id' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Hardware id' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Hardware id' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getHardware_id(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getHardware_id - * Hardware id}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getHardware_id Hardware id}' attribute. * * - * - * @param value - * the new value of the 'Hardware id' attribute. + * @param value the new value of the 'Hardware id' attribute. * @see #getHardware_id() * @generated */ @@ -265,14 +214,13 @@ public interface DiagnosticStatus extends EObject { /** * Returns the value of the 'Values' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue} - * . + * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue}. * *

- * If the meaning of the 'Values' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Values' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Values' containment reference list. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#getDiagnosticStatus_Values() * @model containment="true" ordered="false" 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 index f6ba6cbee3d..492a7ed657f 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.diagnostic_datatypes; import org.eclipse.emf.ecore.EFactory; @@ -18,17 +9,14 @@ import org.eclipse.emf.ecore.EFactory; * The Factory for the model. * It provides a create method for each non-abstract class of the model. * - * * @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. * * - * * @generated */ Diagnostic_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.Diagnostic_datatypesFactoryImpl.init(); @@ -37,7 +25,6 @@ public interface Diagnostic_datatypesFactory extends EFactory { * Returns a new object of class 'Diagnostic Array'. * * - * * @return a new object of class 'Diagnostic Array'. * @generated */ @@ -47,7 +34,6 @@ public interface Diagnostic_datatypesFactory extends EFactory { * Returns a new object of class 'Diagnostic Status'. * * - * * @return a new object of class 'Diagnostic Status'. * @generated */ @@ -57,7 +43,6 @@ public interface Diagnostic_datatypesFactory extends EFactory { * Returns a new object of class 'Key Value'. * * - * * @return a new object of class 'Key Value'. * @generated */ @@ -67,7 +52,6 @@ public interface Diagnostic_datatypesFactory extends EFactory { * Returns the package supported by this factory. * * - * * @return the package supported by this factory. * @generated */ 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 index f90aacd6ae8..7721f4417e9 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.diagnostic_datatypes; import org.eclipse.emf.ecore.EAttribute; @@ -21,24 +12,22 @@ import org.eclipse.emf.ecore.EReference; * The Package for the model. * It contains accessors for the meta objects to represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @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. * * - * * @generated */ String eNAME = "diagnostic_datatypes"; @@ -47,7 +36,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The package namespace URI. * * - * * @generated */ String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes.ecore"; @@ -56,7 +44,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The package namespace name. * * - * * @generated */ String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes"; @@ -65,18 +52,14 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The singleton instance of the package. * * - * * @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 - * Diagnostic Array}' class. + * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl Diagnostic Array}' class. * * - * * @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 @@ -87,7 +70,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -97,7 +79,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'Status' containment reference list. * * - * * @generated * @ordered */ @@ -107,7 +88,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'Values' containment reference list. * * - * * @generated * @ordered */ @@ -117,19 +97,24 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The number of structural features of the 'Diagnostic Array' class. * * - * * @generated * @ordered */ int DIAGNOSTIC_ARRAY_FEATURE_COUNT = 3; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl - * Diagnostic Status}' class. + * The number of operations of the 'Diagnostic Array' class. + * + * + * @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 Diagnostic Status}' class. * * - * * @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 @@ -140,7 +125,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'OK' attribute. * * - * * @generated * @ordered */ @@ -150,7 +134,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'WARN' attribute. * * - * * @generated * @ordered */ @@ -160,7 +143,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'ERROR' attribute. * * - * * @generated * @ordered */ @@ -170,7 +152,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'Level' attribute. * * - * * @generated * @ordered */ @@ -180,7 +161,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'Name' attribute. * * - * * @generated * @ordered */ @@ -190,7 +170,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'Message' attribute. * * - * * @generated * @ordered */ @@ -200,7 +179,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'Hardware id' attribute. * * - * * @generated * @ordered */ @@ -210,7 +188,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'Values' containment reference list. * * - * * @generated * @ordered */ @@ -220,19 +197,24 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The number of structural features of the 'Diagnostic Status' class. * * - * * @generated * @ordered */ int DIAGNOSTIC_STATUS_FEATURE_COUNT = 8; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.KeyValueImpl Key Value}' - * class. + * The number of operations of the 'Diagnostic Status' class. + * + * + * @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 Key Value}' class. * * - * * @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 @@ -243,7 +225,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'Key' attribute. * * - * * @generated * @ordered */ @@ -253,7 +234,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The feature id for the 'Value' attribute. * * - * * @generated * @ordered */ @@ -263,20 +243,25 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The number of structural features of the 'Key Value' class. * * - * * @generated * @ordered */ int KEY_VALUE_FEATURE_COUNT = 2; + /** + * The number of operations of the 'Key Value' class. + * + * + * @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 - * Diagnostic Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray Diagnostic Array}'. * * - * * @return the meta object for class 'Diagnostic Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray * @generated @@ -284,12 +269,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { EClass getDiagnosticArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getHeader - * Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getHeader() * @see #getDiagnosticArray() @@ -298,12 +280,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { 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 - * Status}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getStatus Status}'. * * - * * @return the meta object for the containment reference list 'Status'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getStatus() * @see #getDiagnosticArray() @@ -312,12 +291,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { 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 - * Values}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getValues Values}'. * * - * * @return the meta object for the containment reference list 'Values'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray#getValues() * @see #getDiagnosticArray() @@ -326,12 +302,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { EReference getDiagnosticArray_Values(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus - * Diagnostic Status}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus Diagnostic Status}'. * * - * * @return the meta object for class 'Diagnostic Status'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus * @generated @@ -339,11 +312,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { EClass getDiagnosticStatus(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getOK OK}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getOK OK}'. * * - * * @return the meta object for the attribute 'OK'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getOK() * @see #getDiagnosticStatus() @@ -352,12 +323,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { EAttribute getDiagnosticStatus_OK(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getWARN WARN} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getWARN WARN}'. * * - * * @return the meta object for the attribute 'WARN'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getWARN() * @see #getDiagnosticStatus() @@ -366,12 +334,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { EAttribute getDiagnosticStatus_WARN(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getERROR - * ERROR}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getERROR ERROR}'. * * - * * @return the meta object for the attribute 'ERROR'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getERROR() * @see #getDiagnosticStatus() @@ -380,12 +345,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { EAttribute getDiagnosticStatus_ERROR(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getLevel - * Level}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getLevel Level}'. * * - * * @return the meta object for the attribute 'Level'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getLevel() * @see #getDiagnosticStatus() @@ -394,12 +356,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { EAttribute getDiagnosticStatus_Level(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getName Name} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getName Name}'. * * - * * @return the meta object for the attribute 'Name'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getName() * @see #getDiagnosticStatus() @@ -408,12 +367,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { EAttribute getDiagnosticStatus_Name(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getMessage - * Message}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getMessage Message}'. * * - * * @return the meta object for the attribute 'Message'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getMessage() * @see #getDiagnosticStatus() @@ -422,12 +378,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { EAttribute getDiagnosticStatus_Message(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getHardware_id - * Hardware id}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getHardware_id Hardware id}'. * * - * * @return the meta object for the attribute 'Hardware id'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getHardware_id() * @see #getDiagnosticStatus() @@ -436,12 +389,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { 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 - * Values}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getValues Values}'. * * - * * @return the meta object for the containment reference list 'Values'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus#getValues() * @see #getDiagnosticStatus() @@ -450,11 +400,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { EReference getDiagnosticStatus_Values(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue Key Value}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue Key Value}'. * * - * * @return the meta object for class 'Key Value'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue * @generated @@ -462,11 +410,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { EClass getKeyValue(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getKey Key}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getKey Key}'. * * - * * @return the meta object for the attribute 'Key'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getKey() * @see #getKeyValue() @@ -475,11 +421,9 @@ public interface Diagnostic_datatypesPackage extends EPackage { EAttribute getKeyValue_Key(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getValue Value}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getValue Value}'. * * - * * @return the meta object for the attribute 'Value'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getValue() * @see #getKeyValue() @@ -491,7 +435,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * Returns the factory that creates the instances of the model. * * - * * @return the factory that creates the instances of the model. * @generated */ @@ -501,24 +444,20 @@ public interface Diagnostic_datatypesPackage extends EPackage { * * Defines literals for the meta objects that represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @generated */ interface Literals { - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl - * Diagnostic Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl Diagnostic Array}' class. * * - * * @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 @@ -529,7 +468,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference DIAGNOSTIC_ARRAY__HEADER = eINSTANCE.getDiagnosticArray_Header(); @@ -538,7 +476,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'Status' containment reference list feature. * * - * * @generated */ EReference DIAGNOSTIC_ARRAY__STATUS = eINSTANCE.getDiagnosticArray_Status(); @@ -547,18 +484,14 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'Values' containment reference list feature. * * - * * @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 - * Diagnostic Status}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl Diagnostic Status}' class. * * - * * @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 @@ -569,7 +502,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'OK' attribute feature. * * - * * @generated */ EAttribute DIAGNOSTIC_STATUS__OK = eINSTANCE.getDiagnosticStatus_OK(); @@ -578,7 +510,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'WARN' attribute feature. * * - * * @generated */ EAttribute DIAGNOSTIC_STATUS__WARN = eINSTANCE.getDiagnosticStatus_WARN(); @@ -587,7 +518,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'ERROR' attribute feature. * * - * * @generated */ EAttribute DIAGNOSTIC_STATUS__ERROR = eINSTANCE.getDiagnosticStatus_ERROR(); @@ -596,7 +526,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'Level' attribute feature. * * - * * @generated */ EAttribute DIAGNOSTIC_STATUS__LEVEL = eINSTANCE.getDiagnosticStatus_Level(); @@ -605,7 +534,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'Name' attribute feature. * * - * * @generated */ EAttribute DIAGNOSTIC_STATUS__NAME = eINSTANCE.getDiagnosticStatus_Name(); @@ -614,7 +542,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'Message' attribute feature. * * - * * @generated */ EAttribute DIAGNOSTIC_STATUS__MESSAGE = eINSTANCE.getDiagnosticStatus_Message(); @@ -623,7 +550,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'Hardware id' attribute feature. * * - * * @generated */ EAttribute DIAGNOSTIC_STATUS__HARDWARE_ID = eINSTANCE.getDiagnosticStatus_Hardware_id(); @@ -632,18 +558,14 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'Values' containment reference list feature. * * - * * @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 - * Key Value}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.KeyValueImpl Key Value}' class. * * - * * @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 @@ -654,7 +576,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'Key' attribute feature. * * - * * @generated */ EAttribute KEY_VALUE__KEY = eINSTANCE.getKeyValue_Key(); @@ -663,7 +584,6 @@ public interface Diagnostic_datatypesPackage extends EPackage { * The meta object literal for the 'Value' attribute feature. * * - * * @generated */ EAttribute KEY_VALUE__VALUE = eINSTANCE.getKeyValue_Value(); 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 index cbce70c5ffb..4b4d0f0f58a 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.diagnostic_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,46 +8,41 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Key Value'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getKey Key}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getValue Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getKey Key}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getValue Value}
  • *
*

- * + * * @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 'Key' attribute. * *

- * If the meaning of the 'Key' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Key' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Key' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getKey(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getKey - * Key}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getKey Key}' attribute. * * - * - * @param value - * the new value of the 'Key' attribute. + * @param value the new value of the 'Key' attribute. * @see #getKey() * @generated */ @@ -66,28 +52,23 @@ public interface KeyValue extends EObject { * Returns the value of the 'Value' attribute. * *

- * If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Value' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getValue(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getValue Value}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue#getValue Value}' attribute. * * - * - * @param value - * the new value of the 'Value' attribute. + * @param value the new value of the 'Value' attribute. * @see #getValue() * @generated */ 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 index 2eb3ae44878..669590e7698 100644 --- 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 @@ -1,31 +1,28 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -35,24 +32,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl#getHeader - * Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl#getStatus - * Status}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl#getValues - * Values}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl#getStatus Status}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticArrayImpl#getValues Values}
  • *
*

- * + * * @generated */ -public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray { - +public class DiagnosticArrayImpl extends MinimalEObjectImpl.Container implements DiagnosticArray { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -63,7 +55,6 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray * The cached value of the '{@link #getStatus() Status}' containment reference list. * * - * * @see #getStatus() * @generated * @ordered @@ -74,7 +65,6 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray * The cached value of the '{@link #getValues() Values}' containment reference list. * * - * * @see #getValues() * @generated * @ordered @@ -84,7 +74,6 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray /** * * - * * @generated */ protected DiagnosticArrayImpl() { @@ -94,7 +83,6 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray /** * * - * * @generated */ @Override @@ -105,7 +93,6 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray /** * * - * * @generated */ public Header getHeader() { @@ -115,18 +102,14 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -134,31 +117,29 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public EList getStatus() { - if(status == null) { + if (status == null) { status = new EObjectContainmentEList(DiagnosticStatus.class, this, Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__STATUS); } return status; @@ -167,11 +148,10 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray /** * * - * * @generated */ public EList getValues() { - if(values == null) { + if (values == null) { values = new EObjectContainmentEList(KeyValue.class, this, Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__VALUES); } return values; @@ -180,18 +160,17 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray /** * * - * * @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); + 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); } @@ -199,18 +178,17 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray /** * * - * * @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(); + 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); } @@ -218,24 +196,23 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray /** * * - * * @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)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__VALUES: - getValues().clear(); - getValues().addAll((Collection)newValue); - return; + switch (featureID) { + case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__HEADER: + setHeader((Header)newValue); + return; + case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__STATUS: + getStatus().clear(); + getStatus().addAll((Collection)newValue); + return; + case Diagnostic_datatypesPackage.DIAGNOSTIC_ARRAY__VALUES: + getValues().clear(); + getValues().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -243,21 +220,20 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray /** * * - * * @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; + 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); } @@ -265,18 +241,17 @@ public class DiagnosticArrayImpl extends EObjectImpl implements DiagnosticArray /** * * - * * @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(); + 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); } 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 index 845807046ae..908b17b4e30 100644 --- 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 @@ -1,27 +1,23 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -33,35 +29,24 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getOK OK - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getWARN - * WARN}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getERROR - * ERROR}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getLevel - * Level}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getName - * Name}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getMessage - * Message}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getHardware_id - * Hardware id}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getValues - * Values}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getOK OK}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getWARN WARN}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getERROR ERROR}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getLevel Level}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getName Name}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getMessage Message}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getHardware_id Hardware id}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.DiagnosticStatusImpl#getValues Values}
  • *
*

- * + * * @generated */ -public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatus { - +public class DiagnosticStatusImpl extends MinimalEObjectImpl.Container implements DiagnosticStatus { /** * The default value of the '{@link #getOK() OK}' attribute. * * - * * @see #getOK() * @generated * @ordered @@ -72,7 +57,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The cached value of the '{@link #getOK() OK}' attribute. * * - * * @see #getOK() * @generated * @ordered @@ -83,7 +67,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The default value of the '{@link #getWARN() WARN}' attribute. * * - * * @see #getWARN() * @generated * @ordered @@ -94,7 +77,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The cached value of the '{@link #getWARN() WARN}' attribute. * * - * * @see #getWARN() * @generated * @ordered @@ -105,7 +87,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The default value of the '{@link #getERROR() ERROR}' attribute. * * - * * @see #getERROR() * @generated * @ordered @@ -116,7 +97,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The cached value of the '{@link #getERROR() ERROR}' attribute. * * - * * @see #getERROR() * @generated * @ordered @@ -127,7 +107,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The default value of the '{@link #getLevel() Level}' attribute. * * - * * @see #getLevel() * @generated * @ordered @@ -138,7 +117,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The cached value of the '{@link #getLevel() Level}' attribute. * * - * * @see #getLevel() * @generated * @ordered @@ -149,7 +127,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The default value of the '{@link #getName() Name}' attribute. * * - * * @see #getName() * @generated * @ordered @@ -160,7 +137,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The cached value of the '{@link #getName() Name}' attribute. * * - * * @see #getName() * @generated * @ordered @@ -171,7 +147,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The default value of the '{@link #getMessage() Message}' attribute. * * - * * @see #getMessage() * @generated * @ordered @@ -182,7 +157,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The cached value of the '{@link #getMessage() Message}' attribute. * * - * * @see #getMessage() * @generated * @ordered @@ -193,7 +167,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The default value of the '{@link #getHardware_id() Hardware id}' attribute. * * - * * @see #getHardware_id() * @generated * @ordered @@ -204,7 +177,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The cached value of the '{@link #getHardware_id() Hardware id}' attribute. * * - * * @see #getHardware_id() * @generated * @ordered @@ -215,7 +187,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu * The cached value of the '{@link #getValues() Values}' containment reference list. * * - * * @see #getValues() * @generated * @ordered @@ -225,7 +196,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ protected DiagnosticStatusImpl() { @@ -235,7 +205,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ @Override @@ -246,7 +215,6 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ public byte getOK() { @@ -256,20 +224,18 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ public void setOK(byte newOK) { byte oldOK = ok; ok = newOK; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__OK, oldOK, ok)); } /** * * - * * @generated */ public byte getWARN() { @@ -279,20 +245,18 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ public void setWARN(byte newWARN) { byte oldWARN = warn; warn = newWARN; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__WARN, oldWARN, warn)); } /** * * - * * @generated */ public byte getERROR() { @@ -302,20 +266,18 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ public void setERROR(byte newERROR) { byte oldERROR = error; error = newERROR; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__ERROR, oldERROR, error)); } /** * * - * * @generated */ public byte getLevel() { @@ -325,20 +287,18 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ public void setLevel(byte newLevel) { byte oldLevel = level; level = newLevel; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__LEVEL, oldLevel, level)); } /** * * - * * @generated */ public String getName() { @@ -348,20 +308,18 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ public void setName(String newName) { String oldName = name; name = newName; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__NAME, oldName, name)); } /** * * - * * @generated */ public String getMessage() { @@ -371,20 +329,18 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ public void setMessage(String newMessage) { String oldMessage = message; message = newMessage; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__MESSAGE, oldMessage, message)); } /** * * - * * @generated */ public String getHardware_id() { @@ -394,24 +350,22 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ public void setHardware_id(String newHardware_id) { String oldHardware_id = hardware_id; hardware_id = newHardware_id; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__HARDWARE_ID, oldHardware_id, hardware_id)); } /** * * - * * @generated */ public EList getValues() { - if(values == null) { + if (values == null) { values = new EObjectContainmentEList(KeyValue.class, this, Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__VALUES); } return values; @@ -420,14 +374,13 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @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); + switch (featureID) { + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__VALUES: + return ((InternalEList)getValues()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -435,28 +388,27 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @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(); + 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); } @@ -464,38 +416,37 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__OK: - setOK((Byte)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__WARN: - setWARN((Byte)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__ERROR: - setERROR((Byte)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__LEVEL: - setLevel((Byte)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__NAME: - setName((String)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__MESSAGE: - setMessage((String)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__HARDWARE_ID: - setHardware_id((String)newValue); - return; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__VALUES: - getValues().clear(); - getValues().addAll((Collection)newValue); - return; + switch (featureID) { + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__OK: + setOK((Byte)newValue); + return; + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__WARN: + setWARN((Byte)newValue); + return; + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__ERROR: + setERROR((Byte)newValue); + return; + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__LEVEL: + setLevel((Byte)newValue); + return; + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__NAME: + setName((String)newValue); + return; + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__MESSAGE: + setMessage((String)newValue); + return; + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__HARDWARE_ID: + setHardware_id((String)newValue); + return; + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__VALUES: + getValues().clear(); + getValues().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -503,36 +454,35 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @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; + 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); } @@ -540,28 +490,27 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__OK: - return ok != OK_EDEFAULT; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__WARN: - return warn != WARN_EDEFAULT; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__ERROR: - return error != ERROR_EDEFAULT; - case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__LEVEL: - return level != LEVEL_EDEFAULT; - 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(); + switch (featureID) { + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__OK: + return ok != OK_EDEFAULT; + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__WARN: + return warn != WARN_EDEFAULT; + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__ERROR: + return error != ERROR_EDEFAULT; + case Diagnostic_datatypesPackage.DIAGNOSTIC_STATUS__LEVEL: + return level != LEVEL_EDEFAULT; + 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); } @@ -569,13 +518,11 @@ public class DiagnosticStatusImpl extends EObjectImpl implements DiagnosticStatu /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (OK: "); 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 index 32c41210136..a9133f83247 100644 --- 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 @@ -1,50 +1,38 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.*; /** * * An implementation of the model Factory. * - * * @generated */ public class Diagnostic_datatypesFactoryImpl extends EFactoryImpl implements Diagnostic_datatypesFactory { - /** * Creates the default factory implementation. * * - * * @generated */ public static Diagnostic_datatypesFactory init() { try { - Diagnostic_datatypesFactory theDiagnostic_datatypesFactory = (Diagnostic_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory("http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/diagnostic_datatypes.ecore"); - if(theDiagnostic_datatypesFactory != null) { + Diagnostic_datatypesFactory theDiagnostic_datatypesFactory = (Diagnostic_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Diagnostic_datatypesPackage.eNS_URI); + if (theDiagnostic_datatypesFactory != null) { return theDiagnostic_datatypesFactory; } - } catch (Exception exception) { + } + catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new Diagnostic_datatypesFactoryImpl(); @@ -54,7 +42,6 @@ public class Diagnostic_datatypesFactoryImpl extends EFactoryImpl implements Dia * Creates an instance of the factory. * * - * * @generated */ public Diagnostic_datatypesFactoryImpl() { @@ -64,27 +51,22 @@ public class Diagnostic_datatypesFactoryImpl extends EFactoryImpl implements Dia /** * * - * * @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"); + 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"); } } /** * * - * * @generated */ public DiagnosticArray createDiagnosticArray() { @@ -95,7 +77,6 @@ public class Diagnostic_datatypesFactoryImpl extends EFactoryImpl implements Dia /** * * - * * @generated */ public DiagnosticStatus createDiagnosticStatus() { @@ -106,7 +87,6 @@ public class Diagnostic_datatypesFactoryImpl extends EFactoryImpl implements Dia /** * * - * * @generated */ public KeyValue createKeyValue() { @@ -117,7 +97,6 @@ public class Diagnostic_datatypesFactoryImpl extends EFactoryImpl implements Dia /** * * - * * @generated */ public Diagnostic_datatypesPackage getDiagnostic_datatypesPackage() { @@ -127,7 +106,6 @@ public class Diagnostic_datatypesFactoryImpl extends EFactoryImpl implements Dia /** * * - * * @deprecated * @generated */ 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 index 2c19c90b3f5..5e2fa8f4f42 100644 --- 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 @@ -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.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; /** * * An implementation of the model Package. * - * * @generated */ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Diagnostic_datatypesPackage { - /** * * - * * @generated */ private EClass diagnosticArrayEClass = null; @@ -59,7 +66,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ private EClass diagnosticStatusEClass = null; @@ -67,19 +73,20 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ private EClass keyValueEClass = null; /** - * Creates an instance of the model Package, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the - * package + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. - *

- * 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. - * + *

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. + * + * * @see org.eclipse.emf.ecore.EPackage.Registry * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage#eNS_URI * @see #init() @@ -92,7 +99,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ private static boolean isInited = false; @@ -100,18 +106,17 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * - *

- * 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. - * + *

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. + * + * * @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); + 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()); @@ -156,7 +161,7 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia // 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; @@ -165,7 +170,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EClass getDiagnosticArray() { @@ -175,7 +179,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EReference getDiagnosticArray_Header() { @@ -185,7 +188,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EReference getDiagnosticArray_Status() { @@ -195,7 +197,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EReference getDiagnosticArray_Values() { @@ -205,7 +206,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EClass getDiagnosticStatus() { @@ -215,7 +215,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EAttribute getDiagnosticStatus_OK() { @@ -225,7 +224,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EAttribute getDiagnosticStatus_WARN() { @@ -235,7 +233,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EAttribute getDiagnosticStatus_ERROR() { @@ -245,7 +242,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EAttribute getDiagnosticStatus_Level() { @@ -255,7 +251,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EAttribute getDiagnosticStatus_Name() { @@ -265,7 +260,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EAttribute getDiagnosticStatus_Message() { @@ -275,7 +269,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EAttribute getDiagnosticStatus_Hardware_id() { @@ -285,7 +278,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EReference getDiagnosticStatus_Values() { @@ -295,7 +287,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EClass getKeyValue() { @@ -305,7 +296,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EAttribute getKeyValue_Key() { @@ -315,7 +305,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public EAttribute getKeyValue_Value() { @@ -325,7 +314,6 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @generated */ public Diagnostic_datatypesFactory getDiagnostic_datatypesFactory() { @@ -335,22 +323,19 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @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. * * - * * @generated */ public void createPackageContents() { - if(isCreated) - return; + if (isCreated) return; isCreated = true; // Create classes and their features @@ -377,22 +362,19 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia /** * * - * * @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. * * - * * @generated */ public void initializePackageContents() { - if(isInitialized) - return; + if (isInitialized) return; isInitialized = true; // Initialize package @@ -409,7 +391,7 @@ public class Diagnostic_datatypesPackageImpl extends EPackageImpl implements Dia // Add supertypes to classes - // Initialize classes and features; add operations and parameters + // 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); 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 index a885ee97b80..2cf252cfb68 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,21 +19,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.KeyValueImpl#getKey Key}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.KeyValueImpl#getValue Value - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.KeyValueImpl#getKey Key}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.impl.KeyValueImpl#getValue Value}
  • *
*

- * + * * @generated */ -public class KeyValueImpl extends EObjectImpl implements KeyValue { - +public class KeyValueImpl extends MinimalEObjectImpl.Container implements KeyValue { /** * The default value of the '{@link #getKey() Key}' attribute. * * - * * @see #getKey() * @generated * @ordered @@ -50,7 +41,6 @@ public class KeyValueImpl extends EObjectImpl implements KeyValue { * The cached value of the '{@link #getKey() Key}' attribute. * * - * * @see #getKey() * @generated * @ordered @@ -61,7 +51,6 @@ public class KeyValueImpl extends EObjectImpl implements KeyValue { * The default value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -72,7 +61,6 @@ public class KeyValueImpl extends EObjectImpl implements KeyValue { * The cached value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -82,7 +70,6 @@ public class KeyValueImpl extends EObjectImpl implements KeyValue { /** * * - * * @generated */ protected KeyValueImpl() { @@ -92,7 +79,6 @@ public class KeyValueImpl extends EObjectImpl implements KeyValue { /** * * - * * @generated */ @Override @@ -103,7 +89,6 @@ public class KeyValueImpl extends EObjectImpl implements KeyValue { /** * * - * * @generated */ public String getKey() { @@ -113,20 +98,18 @@ public class KeyValueImpl extends EObjectImpl implements KeyValue { /** * * - * * @generated */ public void setKey(String newKey) { String oldKey = key; key = newKey; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.KEY_VALUE__KEY, oldKey, key)); } /** * * - * * @generated */ public String getValue() { @@ -136,29 +119,27 @@ public class KeyValueImpl extends EObjectImpl implements KeyValue { /** * * - * * @generated */ public void setValue(String newValue) { String oldValue = value; value = newValue; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Diagnostic_datatypesPackage.KEY_VALUE__VALUE, oldValue, value)); } /** * * - * * @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(); + switch (featureID) { + case Diagnostic_datatypesPackage.KEY_VALUE__KEY: + return getKey(); + case Diagnostic_datatypesPackage.KEY_VALUE__VALUE: + return getValue(); } return super.eGet(featureID, resolve, coreType); } @@ -166,18 +147,17 @@ public class KeyValueImpl extends EObjectImpl implements KeyValue { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Diagnostic_datatypesPackage.KEY_VALUE__KEY: - setKey((String)newValue); - return; - case Diagnostic_datatypesPackage.KEY_VALUE__VALUE: - setValue((String)newValue); - return; + switch (featureID) { + case Diagnostic_datatypesPackage.KEY_VALUE__KEY: + setKey((String)newValue); + return; + case Diagnostic_datatypesPackage.KEY_VALUE__VALUE: + setValue((String)newValue); + return; } super.eSet(featureID, newValue); } @@ -185,18 +165,17 @@ public class KeyValueImpl extends EObjectImpl implements KeyValue { /** * * - * * @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; + 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); } @@ -204,16 +183,15 @@ public class KeyValueImpl extends EObjectImpl implements KeyValue { /** * * - * * @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); + 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); } @@ -221,13 +199,11 @@ public class KeyValueImpl extends EObjectImpl implements KeyValue { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (key: "); 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 index aa544bb58e9..e63a00946af 100644 --- 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 @@ -1,41 +1,29 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.*; /** * * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage * @generated */ public class Diagnostic_datatypesAdapterFactory extends AdapterFactoryImpl { - /** * The cached model package. * * - * * @generated */ protected static Diagnostic_datatypesPackage modelPackage; @@ -44,11 +32,10 @@ public class Diagnostic_datatypesAdapterFactory extends AdapterFactoryImpl { * Creates an instance of the adapter factory. * * - * * @generated */ public Diagnostic_datatypesAdapterFactory() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Diagnostic_datatypesPackage.eINSTANCE; } } @@ -58,16 +45,15 @@ public class Diagnostic_datatypesAdapterFactory extends AdapterFactoryImpl { * * This implementation returns true if the object is either the model's package or is an instance object of the model. * - * * @return whether this factory is applicable for the type of the object. * @generated */ @Override public boolean isFactoryForType(Object object) { - if(object == modelPackage) { + if (object == modelPackage) { return true; } - if(object instanceof EObject) { + if (object instanceof EObject) { return ((EObject)object).eClass().getEPackage() == modelPackage; } return false; @@ -77,39 +63,33 @@ public class Diagnostic_datatypesAdapterFactory extends AdapterFactoryImpl { * The switch that delegates to the createXXX methods. * * - * * @generated */ - protected Diagnostic_datatypesSwitch modelSwitch = new Diagnostic_datatypesSwitch() { - - @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(); - } - }; + protected Diagnostic_datatypesSwitch modelSwitch = + new Diagnostic_datatypesSwitch() { + @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 target. * * - * - * @param target - * the object to adapt. + * @param target the object to adapt. * @return the adapter for the target. * @generated */ @@ -120,14 +100,11 @@ public class Diagnostic_datatypesAdapterFactory extends AdapterFactoryImpl { /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray - * Diagnostic Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray Diagnostic Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticArray * @generated @@ -137,14 +114,11 @@ public class Diagnostic_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus - * Diagnostic Status}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus Diagnostic Status}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.DiagnosticStatus * @generated @@ -154,13 +128,11 @@ public class Diagnostic_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue Key Value}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue Key Value}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.KeyValue * @generated @@ -174,7 +146,6 @@ public class Diagnostic_datatypesAdapterFactory extends AdapterFactoryImpl { * * This default implementation returns null. * - * * @return the new adapter. * @generated */ 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 index 4e9d7844207..219397f63f4 100644 --- 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 @@ -1,44 +1,32 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.*; /** * * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for each class of the model, + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX 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. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.diagnostic_datatypes.Diagnostic_datatypesPackage * @generated */ public class Diagnostic_datatypesSwitch extends Switch { - /** * The cached model package * * - * * @generated */ protected static Diagnostic_datatypesPackage modelPackage; @@ -47,11 +35,10 @@ public class Diagnostic_datatypesSwitch extends Switch { * Creates an instance of the switch. * * - * * @generated */ public Diagnostic_datatypesSwitch() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Diagnostic_datatypesPackage.eINSTANCE; } } @@ -60,7 +47,6 @@ public class Diagnostic_datatypesSwitch extends Switch { * Checks whether this is a switch for the given package. * * - * * @parameter ePackage the package in question. * @return whether this is a switch for the given package. * @generated @@ -74,39 +60,31 @@ public class Diagnostic_datatypesSwitch extends Switch { * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. * * - * * @return the first non-null result returned by a caseXXX 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); + 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); } } @@ -116,9 +94,7 @@ public class Diagnostic_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Diagnostic Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -133,9 +109,7 @@ public class Diagnostic_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Diagnostic Status'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -150,9 +124,7 @@ public class Diagnostic_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Key Value'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -167,9 +139,7 @@ public class Diagnostic_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch, but this is the last case anyway. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated 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 index f7cd54ddf97..ff7b3804b01 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EFactory; @@ -18,17 +9,14 @@ import org.eclipse.emf.ecore.EFactory; * The Factory for the model. * It provides a create method for each non-abstract class of the model. * - * * @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. * * - * * @generated */ Geometry_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Geometry_datatypesFactoryImpl.init(); @@ -37,7 +25,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Point'. * * - * * @return a new object of class 'Point'. * @generated */ @@ -47,7 +34,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Point32'. * * - * * @return a new object of class 'Point32'. * @generated */ @@ -57,7 +43,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Point Stamped'. * * - * * @return a new object of class 'Point Stamped'. * @generated */ @@ -67,7 +52,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Polygon'. * * - * * @return a new object of class 'Polygon'. * @generated */ @@ -77,7 +61,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Polygon Stamped'. * * - * * @return a new object of class 'Polygon Stamped'. * @generated */ @@ -87,7 +70,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Vector3'. * * - * * @return a new object of class 'Vector3'. * @generated */ @@ -97,7 +79,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Vector3 Stamped'. * * - * * @return a new object of class 'Vector3 Stamped'. * @generated */ @@ -107,7 +88,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Quaternion'. * * - * * @return a new object of class 'Quaternion'. * @generated */ @@ -117,7 +97,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Pose'. * * - * * @return a new object of class 'Pose'. * @generated */ @@ -127,7 +106,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Pose Stamped'. * * - * * @return a new object of class 'Pose Stamped'. * @generated */ @@ -137,7 +115,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Twist With Covariance'. * * - * * @return a new object of class 'Twist With Covariance'. * @generated */ @@ -147,7 +124,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Twist'. * * - * * @return a new object of class 'Twist'. * @generated */ @@ -157,7 +133,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Twist Stamped'. * * - * * @return a new object of class 'Twist Stamped'. * @generated */ @@ -167,7 +142,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Pose With Covariance'. * * - * * @return a new object of class 'Pose With Covariance'. * @generated */ @@ -177,7 +151,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Pose2 D'. * * - * * @return a new object of class 'Pose2 D'. * @generated */ @@ -187,7 +160,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Pose With Covariance Stamped'. * * - * * @return a new object of class 'Pose With Covariance Stamped'. * @generated */ @@ -197,7 +169,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Pose Array'. * * - * * @return a new object of class 'Pose Array'. * @generated */ @@ -207,7 +178,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Quaternion Stamped'. * * - * * @return a new object of class 'Quaternion Stamped'. * @generated */ @@ -217,7 +187,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Transform'. * * - * * @return a new object of class 'Transform'. * @generated */ @@ -227,7 +196,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Wrench Stamped'. * * - * * @return a new object of class 'Wrench Stamped'. * @generated */ @@ -237,7 +205,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns a new object of class 'Wrench'. * * - * * @return a new object of class 'Wrench'. * @generated */ @@ -247,7 +214,6 @@ public interface Geometry_datatypesFactory extends EFactory { * Returns the package supported by this factory. * * - * * @return the package supported by this factory. * @generated */ 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 index 644c881af25..5de384f5043 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EAttribute; @@ -21,24 +12,22 @@ import org.eclipse.emf.ecore.EReference; * The Package for the model. * It contains accessors for the meta objects to represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @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. * * - * * @generated */ String eNAME = "geometry_datatypes"; @@ -47,7 +36,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The package namespace URI. * * - * * @generated */ String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes.ecore"; @@ -56,7 +44,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The package namespace name. * * - * * @generated */ String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes"; @@ -65,17 +52,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The singleton instance of the package. * * - * * @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 Point}' class. + * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl Point}' class. * * - * * @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 @@ -86,7 +70,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'X' attribute. * * - * * @generated * @ordered */ @@ -96,7 +79,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Y' attribute. * * - * * @generated * @ordered */ @@ -106,7 +88,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Z' attribute. * * - * * @generated * @ordered */ @@ -116,19 +97,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Point' class. * * - * * @generated * @ordered */ int POINT_FEATURE_COUNT = 3; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl Point32}' - * class. + * The number of operations of the 'Point' class. + * + * + * @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 Point32}' class. * * - * * @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 @@ -139,7 +125,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'X' attribute. * * - * * @generated * @ordered */ @@ -149,7 +134,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Y' attribute. * * - * * @generated * @ordered */ @@ -159,7 +143,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Z' attribute. * * - * * @generated * @ordered */ @@ -169,19 +152,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Point32' class. * * - * * @generated * @ordered */ int POINT32_FEATURE_COUNT = 3; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointStampedImpl - * Point Stamped}' class. + * The number of operations of the 'Point32' class. + * + * + * @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 Point Stamped}' class. * * - * * @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 @@ -192,7 +180,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -202,7 +189,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Point' containment reference. * * - * * @generated * @ordered */ @@ -212,19 +198,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Point Stamped' class. * * - * * @generated * @ordered */ int POINT_STAMPED_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonImpl Polygon}' - * class. + * The number of operations of the 'Point Stamped' class. + * + * + * @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 Polygon}' class. * * - * * @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 @@ -235,7 +226,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Point' containment reference list. * * - * * @generated * @ordered */ @@ -245,19 +235,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Polygon' class. * * - * * @generated * @ordered */ int POLYGON_FEATURE_COUNT = 1; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonStampedImpl - * Polygon Stamped}' class. + * The number of operations of the 'Polygon' class. + * + * + * @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 Polygon Stamped}' class. * * - * * @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 @@ -268,7 +263,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -278,7 +272,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Polygon' containment reference. * * - * * @generated * @ordered */ @@ -288,19 +281,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Polygon Stamped' class. * * - * * @generated * @ordered */ int POLYGON_STAMPED_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl Vector3}' - * class. + * The number of operations of the 'Polygon Stamped' class. + * + * + * @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 Vector3}' class. * * - * * @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 @@ -311,7 +309,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'X' attribute. * * - * * @generated * @ordered */ @@ -321,7 +318,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Y' attribute. * * - * * @generated * @ordered */ @@ -331,7 +327,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Z' attribute. * * - * * @generated * @ordered */ @@ -341,19 +336,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Vector3' class. * * - * * @generated * @ordered */ int VECTOR3_FEATURE_COUNT = 3; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3StampedImpl - * Vector3 Stamped}' class. + * The number of operations of the 'Vector3' class. + * + * + * @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 Vector3 Stamped}' class. * * - * * @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 @@ -364,7 +364,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -374,7 +373,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Vector' containment reference. * * - * * @generated * @ordered */ @@ -384,19 +382,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Vector3 Stamped' class. * * - * * @generated * @ordered */ int VECTOR3_STAMPED_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl Quaternion}' - * class. + * The number of operations of the 'Vector3 Stamped' class. + * + * + * @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 Quaternion}' class. * * - * * @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 @@ -407,7 +410,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'X' attribute. * * - * * @generated * @ordered */ @@ -417,7 +419,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Y' attribute. * * - * * @generated * @ordered */ @@ -427,7 +428,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Z' attribute. * * - * * @generated * @ordered */ @@ -437,7 +437,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'W' attribute. * * - * * @generated * @ordered */ @@ -447,18 +446,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Quaternion' class. * * - * * @generated * @ordered */ int QUATERNION_FEATURE_COUNT = 4; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseImpl Pose}' class. + * The number of operations of the 'Quaternion' class. + * + * + * @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 Pose}' class. * * - * * @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 @@ -469,7 +474,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Position' containment reference. * * - * * @generated * @ordered */ @@ -479,7 +483,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Orientation' containment reference. * * - * * @generated * @ordered */ @@ -489,19 +492,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Pose' class. * * - * * @generated * @ordered */ int POSE_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseStampedImpl - * Pose Stamped}' class. + * The number of operations of the 'Pose' class. + * + * + * @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 Pose Stamped}' class. * * - * * @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 @@ -512,7 +520,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -522,7 +529,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Pose' containment reference. * * - * * @generated * @ordered */ @@ -532,19 +538,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Pose Stamped' class. * * - * * @generated * @ordered */ int POSE_STAMPED_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistWithCovarianceImpl - * Twist With Covariance}' class. + * The number of operations of the 'Pose Stamped' class. + * + * + * @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 Twist With Covariance}' class. * * - * * @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 @@ -555,7 +566,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Twist' containment reference. * * - * * @generated * @ordered */ @@ -565,7 +575,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Covariance' attribute list. * * - * * @generated * @ordered */ @@ -575,18 +584,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Twist With Covariance' class. * * - * * @generated * @ordered */ int TWIST_WITH_COVARIANCE_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistImpl Twist}' class. + * The number of operations of the 'Twist With Covariance' class. + * + * + * @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 Twist}' class. * * - * * @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 @@ -597,7 +612,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Linear' containment reference. * * - * * @generated * @ordered */ @@ -607,7 +621,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Angular' containment reference. * * - * * @generated * @ordered */ @@ -617,19 +630,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Twist' class. * * - * * @generated * @ordered */ int TWIST_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistStampedImpl - * Twist Stamped}' class. + * The number of operations of the 'Twist' class. + * + * + * @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 Twist Stamped}' class. * * - * * @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 @@ -640,7 +658,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -650,7 +667,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Twist' containment reference. * * - * * @generated * @ordered */ @@ -660,19 +676,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Twist Stamped' class. * * - * * @generated * @ordered */ int TWIST_STAMPED_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceImpl - * Pose With Covariance}' class. + * The number of operations of the 'Twist Stamped' class. + * + * + * @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 Pose With Covariance}' class. * * - * * @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 @@ -683,7 +704,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Pose' containment reference. * * - * * @generated * @ordered */ @@ -693,7 +713,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Covariance' attribute list. * * - * * @generated * @ordered */ @@ -703,18 +722,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Pose With Covariance' class. * * - * * @generated * @ordered */ int POSE_WITH_COVARIANCE_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl Pose2 D}' class. + * The number of operations of the 'Pose With Covariance' class. + * + * + * @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 Pose2 D}' class. * * - * * @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 @@ -725,7 +750,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'X' attribute. * * - * * @generated * @ordered */ @@ -735,7 +759,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Y' attribute. * * - * * @generated * @ordered */ @@ -745,7 +768,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Theta' attribute. * * - * * @generated * @ordered */ @@ -755,19 +777,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Pose2 D' class. * * - * * @generated * @ordered */ int POSE2_D_FEATURE_COUNT = 3; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceStampedImpl - * Pose With Covariance Stamped}' class. + * The number of operations of the 'Pose2 D' class. + * + * + * @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 Pose With Covariance Stamped}' class. * * - * * @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 @@ -778,19 +805,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Pose With Covariance Stamped' class. * * - * * @generated * @ordered */ int POSE_WITH_COVARIANCE_STAMPED_FEATURE_COUNT = 0; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseArrayImpl Pose Array}' - * class. + * The number of operations of the 'Pose With Covariance Stamped' class. + * + * + * @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 Pose Array}' class. * * - * * @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 @@ -801,7 +833,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -811,7 +842,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Poses' containment reference list. * * - * * @generated * @ordered */ @@ -821,19 +851,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Pose Array' class. * * - * * @generated * @ordered */ int POSE_ARRAY_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionStampedImpl - * Quaternion Stamped}' class. + * The number of operations of the 'Pose Array' class. + * + * + * @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 Quaternion Stamped}' class. * * - * * @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 @@ -844,7 +879,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -854,7 +888,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Quaternion' containment reference. * * - * * @generated * @ordered */ @@ -864,19 +897,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Quaternion Stamped' class. * * - * * @generated * @ordered */ int QUATERNION_STAMPED_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TransformImpl Transform}' - * class. + * The number of operations of the 'Quaternion Stamped' class. + * + * + * @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 Transform}' class. * * - * * @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 @@ -887,7 +925,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Translation' containment reference. * * - * * @generated * @ordered */ @@ -897,7 +934,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Rotation' containment reference. * * - * * @generated * @ordered */ @@ -907,19 +943,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Transform' class. * * - * * @generated * @ordered */ int TRANSFORM_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchStampedImpl - * Wrench Stamped}' class. + * The number of operations of the 'Transform' class. + * + * + * @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 Wrench Stamped}' class. * * - * * @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 @@ -930,7 +971,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -940,7 +980,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Wrench' containment reference. * * - * * @generated * @ordered */ @@ -950,18 +989,24 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Wrench Stamped' class. * * - * * @generated * @ordered */ int WRENCH_STAMPED_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchImpl Wrench}' class. + * The number of operations of the 'Wrench Stamped' class. + * + * + * @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 Wrench}' class. * * - * * @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 @@ -972,7 +1017,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Force' containment reference. * * - * * @generated * @ordered */ @@ -982,7 +1026,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The feature id for the 'Torque' containment reference. * * - * * @generated * @ordered */ @@ -992,19 +1035,25 @@ public interface Geometry_datatypesPackage extends EPackage { * The number of structural features of the 'Wrench' class. * * - * * @generated * @ordered */ int WRENCH_FEATURE_COUNT = 2; + /** + * The number of operations of the 'Wrench' class. + * + * + * @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 - * Point}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point Point}'. * * - * * @return the meta object for class 'Point'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point * @generated @@ -1012,11 +1061,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getPoint(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getX X}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getX X}'. * * - * * @return the meta object for the attribute 'X'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getX() * @see #getPoint() @@ -1025,11 +1072,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getPoint_X(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getY Y}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getY Y}'. * * - * * @return the meta object for the attribute 'Y'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getY() * @see #getPoint() @@ -1038,11 +1083,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getPoint_Y(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getZ Z}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getZ Z}'. * * - * * @return the meta object for the attribute 'Z'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getZ() * @see #getPoint() @@ -1051,11 +1094,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getPoint_Z(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32 Point32}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32 Point32}'. * * - * * @return the meta object for class 'Point32'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32 * @generated @@ -1063,11 +1104,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getPoint32(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getX X}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getX X}'. * * - * * @return the meta object for the attribute 'X'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getX() * @see #getPoint32() @@ -1076,11 +1115,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getPoint32_X(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getY Y}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getY Y}'. * * - * * @return the meta object for the attribute 'Y'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getY() * @see #getPoint32() @@ -1089,11 +1126,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getPoint32_Y(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getZ Z}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getZ Z}'. * * - * * @return the meta object for the attribute 'Z'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getZ() * @see #getPoint32() @@ -1102,11 +1137,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getPoint32_Z(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped Point Stamped}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped Point Stamped}'. * * - * * @return the meta object for class 'Point Stamped'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped * @generated @@ -1114,11 +1147,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getPointStamped(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getHeader() * @see #getPointStamped() @@ -1127,11 +1158,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getPointStamped_Header(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getPoint Point}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getPoint Point}'. * * - * * @return the meta object for the containment reference 'Point'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getPoint() * @see #getPointStamped() @@ -1140,11 +1169,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getPointStamped_Point(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon Polygon}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon Polygon}'. * * - * * @return the meta object for class 'Polygon'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon * @generated @@ -1152,11 +1179,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getPolygon(); /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon#getPoint Point}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon#getPoint Point}'. * * - * * @return the meta object for the containment reference list 'Point'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon#getPoint() * @see #getPolygon() @@ -1165,12 +1190,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getPolygon_Point(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped Polygon Stamped} - * '. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped Polygon Stamped}'. * * - * * @return the meta object for class 'Polygon Stamped'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped * @generated @@ -1178,12 +1200,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getPolygonStamped(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getHeader Header} - * '. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getHeader() * @see #getPolygonStamped() @@ -1192,12 +1211,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getPolygonStamped_Header(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getPolygon - * Polygon}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getPolygon Polygon}'. * * - * * @return the meta object for the containment reference 'Polygon'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getPolygon() * @see #getPolygonStamped() @@ -1206,11 +1222,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getPolygonStamped_Polygon(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3 Vector3}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3 Vector3}'. * * - * * @return the meta object for class 'Vector3'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3 * @generated @@ -1218,11 +1232,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getVector3(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getX X}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getX X}'. * * - * * @return the meta object for the attribute 'X'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getX() * @see #getVector3() @@ -1231,11 +1243,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getVector3_X(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getY Y}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getY Y}'. * * - * * @return the meta object for the attribute 'Y'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getY() * @see #getVector3() @@ -1244,11 +1254,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getVector3_Y(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getZ Z}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getZ Z}'. * * - * * @return the meta object for the attribute 'Z'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getZ() * @see #getVector3() @@ -1257,12 +1265,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getVector3_Z(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped Vector3 Stamped} - * '. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped Vector3 Stamped}'. * * - * * @return the meta object for class 'Vector3 Stamped'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped * @generated @@ -1270,12 +1275,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getVector3Stamped(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getHeader Header} - * '. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getHeader() * @see #getVector3Stamped() @@ -1284,12 +1286,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getVector3Stamped_Header(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getVector Vector} - * '. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getVector Vector}'. * * - * * @return the meta object for the containment reference 'Vector'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getVector() * @see #getVector3Stamped() @@ -1298,11 +1297,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getVector3Stamped_Vector(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion Quaternion}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion Quaternion}'. * * - * * @return the meta object for class 'Quaternion'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion * @generated @@ -1310,11 +1307,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getQuaternion(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getX X}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getX X}'. * * - * * @return the meta object for the attribute 'X'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getX() * @see #getQuaternion() @@ -1323,11 +1318,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getQuaternion_X(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getY Y}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getY Y}'. * * - * * @return the meta object for the attribute 'Y'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getY() * @see #getQuaternion() @@ -1336,11 +1329,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getQuaternion_Y(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getZ Z}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getZ Z}'. * * - * * @return the meta object for the attribute 'Z'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getZ() * @see #getQuaternion() @@ -1349,11 +1340,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getQuaternion_Z(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getW W}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getW W}'. * * - * * @return the meta object for the attribute 'W'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getW() * @see #getQuaternion() @@ -1362,11 +1351,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getQuaternion_W(); /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose - * Pose}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose Pose}'. * * - * * @return the meta object for class 'Pose'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose * @generated @@ -1374,11 +1361,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getPose(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getPosition Position}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getPosition Position}'. * * - * * @return the meta object for the containment reference 'Position'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getPosition() * @see #getPose() @@ -1387,12 +1372,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getPose_Position(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getOrientation Orientation} - * '. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getOrientation Orientation}'. * * - * * @return the meta object for the containment reference 'Orientation'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getOrientation() * @see #getPose() @@ -1401,11 +1383,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getPose_Orientation(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped Pose Stamped}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped Pose Stamped}'. * * - * * @return the meta object for class 'Pose Stamped'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped * @generated @@ -1413,11 +1393,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getPoseStamped(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getHeader() * @see #getPoseStamped() @@ -1426,11 +1404,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getPoseStamped_Header(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getPose Pose}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getPose Pose}'. * * - * * @return the meta object for the containment reference 'Pose'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getPose() * @see #getPoseStamped() @@ -1439,12 +1415,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getPoseStamped_Pose(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance - * Twist With Covariance}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance Twist With Covariance}'. * * - * * @return the meta object for class 'Twist With Covariance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance * @generated @@ -1452,12 +1425,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getTwistWithCovariance(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getTwist - * Twist}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getTwist Twist}'. * * - * * @return the meta object for the containment reference 'Twist'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getTwist() * @see #getTwistWithCovariance() @@ -1466,12 +1436,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getTwistWithCovariance_Twist(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getCovariance - * Covariance}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getCovariance Covariance}'. * * - * * @return the meta object for the attribute list 'Covariance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getCovariance() * @see #getTwistWithCovariance() @@ -1480,11 +1447,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getTwistWithCovariance_Covariance(); /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist - * Twist}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist Twist}'. * * - * * @return the meta object for class 'Twist'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist * @generated @@ -1492,11 +1457,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getTwist(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getLinear Linear}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getLinear Linear}'. * * - * * @return the meta object for the containment reference 'Linear'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getLinear() * @see #getTwist() @@ -1505,11 +1468,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getTwist_Linear(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getAngular Angular}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getAngular Angular}'. * * - * * @return the meta object for the containment reference 'Angular'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getAngular() * @see #getTwist() @@ -1518,11 +1479,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getTwist_Angular(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped Twist Stamped}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped Twist Stamped}'. * * - * * @return the meta object for class 'Twist Stamped'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped * @generated @@ -1530,11 +1489,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getTwistStamped(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getHeader() * @see #getTwistStamped() @@ -1543,11 +1500,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getTwistStamped_Header(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getTwist Twist}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getTwist Twist}'. * * - * * @return the meta object for the containment reference 'Twist'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getTwist() * @see #getTwistStamped() @@ -1556,12 +1511,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getTwistStamped_Twist(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance - * Pose With Covariance}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance Pose With Covariance}'. * * - * * @return the meta object for class 'Pose With Covariance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance * @generated @@ -1569,12 +1521,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getPoseWithCovariance(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getPose Pose} - * '. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getPose Pose}'. * * - * * @return the meta object for the containment reference 'Pose'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getPose() * @see #getPoseWithCovariance() @@ -1583,12 +1532,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getPoseWithCovariance_Pose(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getCovariance - * Covariance}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getCovariance Covariance}'. * * - * * @return the meta object for the attribute list 'Covariance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getCovariance() * @see #getPoseWithCovariance() @@ -1597,11 +1543,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getPoseWithCovariance_Covariance(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D Pose2 D}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D Pose2 D}'. * * - * * @return the meta object for class 'Pose2 D'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D * @generated @@ -1609,11 +1553,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getPose2D(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getX X}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getX X}'. * * - * * @return the meta object for the attribute 'X'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getX() * @see #getPose2D() @@ -1622,11 +1564,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getPose2D_X(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getY Y}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getY Y}'. * * - * * @return the meta object for the attribute 'Y'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getY() * @see #getPose2D() @@ -1635,11 +1575,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getPose2D_Y(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getTheta Theta}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getTheta Theta}'. * * - * * @return the meta object for the attribute 'Theta'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getTheta() * @see #getPose2D() @@ -1648,12 +1586,9 @@ public interface Geometry_datatypesPackage extends EPackage { EAttribute getPose2D_Theta(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped - * Pose With Covariance Stamped}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped Pose With Covariance Stamped}'. * * - * * @return the meta object for class 'Pose With Covariance Stamped'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped * @generated @@ -1661,11 +1596,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getPoseWithCovarianceStamped(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray Pose Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray Pose Array}'. * * - * * @return the meta object for class 'Pose Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray * @generated @@ -1673,11 +1606,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getPoseArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getHeader() * @see #getPoseArray() @@ -1686,11 +1617,9 @@ public interface Geometry_datatypesPackage extends EPackage { 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 Poses}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getPoses Poses}'. * * - * * @return the meta object for the containment reference list 'Poses'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getPoses() * @see #getPoseArray() @@ -1699,12 +1628,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getPoseArray_Poses(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped - * Quaternion Stamped}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped Quaternion Stamped}'. * * - * * @return the meta object for class 'Quaternion Stamped'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped * @generated @@ -1712,12 +1638,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getQuaternionStamped(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getHeader - * Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getHeader() * @see #getQuaternionStamped() @@ -1726,12 +1649,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getQuaternionStamped_Header(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getQuaternion - * Quaternion}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getQuaternion Quaternion}'. * * - * * @return the meta object for the containment reference 'Quaternion'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getQuaternion() * @see #getQuaternionStamped() @@ -1740,11 +1660,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getQuaternionStamped_Quaternion(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform Transform}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform Transform}'. * * - * * @return the meta object for class 'Transform'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform * @generated @@ -1752,12 +1670,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getTransform(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getTranslation - * Translation}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getTranslation Translation}'. * * - * * @return the meta object for the containment reference 'Translation'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getTranslation() * @see #getTransform() @@ -1766,12 +1681,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getTransform_Translation(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getRotation Rotation} - * '. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getRotation Rotation}'. * * - * * @return the meta object for the containment reference 'Rotation'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getRotation() * @see #getTransform() @@ -1780,11 +1692,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getTransform_Rotation(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped Wrench Stamped}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped Wrench Stamped}'. * * - * * @return the meta object for class 'Wrench Stamped'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped * @generated @@ -1792,12 +1702,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getWrenchStamped(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getHeader Header} - * '. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getHeader() * @see #getWrenchStamped() @@ -1806,12 +1713,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getWrenchStamped_Header(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getWrench Wrench} - * '. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getWrench Wrench}'. * * - * * @return the meta object for the containment reference 'Wrench'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getWrench() * @see #getWrenchStamped() @@ -1820,11 +1724,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getWrenchStamped_Wrench(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench Wrench}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench Wrench}'. * * - * * @return the meta object for class 'Wrench'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench * @generated @@ -1832,11 +1734,9 @@ public interface Geometry_datatypesPackage extends EPackage { EClass getWrench(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getForce Force}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getForce Force}'. * * - * * @return the meta object for the containment reference 'Force'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getForce() * @see #getWrench() @@ -1845,11 +1745,9 @@ public interface Geometry_datatypesPackage extends EPackage { EReference getWrench_Force(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getTorque Torque}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getTorque Torque}'. * * - * * @return the meta object for the containment reference 'Torque'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getTorque() * @see #getWrench() @@ -1861,7 +1759,6 @@ public interface Geometry_datatypesPackage extends EPackage { * Returns the factory that creates the instances of the model. * * - * * @return the factory that creates the instances of the model. * @generated */ @@ -1871,24 +1768,20 @@ public interface Geometry_datatypesPackage extends EPackage { * * Defines literals for the meta objects that represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @generated */ interface Literals { - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl Point}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl Point}' class. * * - * * @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 @@ -1899,7 +1792,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'X' attribute feature. * * - * * @generated */ EAttribute POINT__X = eINSTANCE.getPoint_X(); @@ -1908,7 +1800,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Y' attribute feature. * * - * * @generated */ EAttribute POINT__Y = eINSTANCE.getPoint_Y(); @@ -1917,18 +1808,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Z' attribute feature. * * - * * @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 Point32}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl Point32}' class. * * - * * @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 @@ -1939,7 +1826,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'X' attribute feature. * * - * * @generated */ EAttribute POINT32__X = eINSTANCE.getPoint32_X(); @@ -1948,7 +1834,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Y' attribute feature. * * - * * @generated */ EAttribute POINT32__Y = eINSTANCE.getPoint32_Y(); @@ -1957,18 +1842,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Z' attribute feature. * * - * * @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 - * Point Stamped}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointStampedImpl Point Stamped}' class. * * - * * @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 @@ -1979,7 +1860,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference POINT_STAMPED__HEADER = eINSTANCE.getPointStamped_Header(); @@ -1988,18 +1868,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Point' containment reference feature. * * - * * @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 Polygon}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonImpl Polygon}' class. * * - * * @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 @@ -2010,18 +1886,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Point' containment reference list feature. * * - * * @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 - * Polygon Stamped}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonStampedImpl Polygon Stamped}' class. * * - * * @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 @@ -2032,7 +1904,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference POLYGON_STAMPED__HEADER = eINSTANCE.getPolygonStamped_Header(); @@ -2041,18 +1912,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Polygon' containment reference feature. * * - * * @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 Vector3}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl Vector3}' class. * * - * * @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 @@ -2063,7 +1930,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'X' attribute feature. * * - * * @generated */ EAttribute VECTOR3__X = eINSTANCE.getVector3_X(); @@ -2072,7 +1938,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Y' attribute feature. * * - * * @generated */ EAttribute VECTOR3__Y = eINSTANCE.getVector3_Y(); @@ -2081,18 +1946,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Z' attribute feature. * * - * * @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 - * Vector3 Stamped}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3StampedImpl Vector3 Stamped}' class. * * - * * @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 @@ -2103,7 +1964,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference VECTOR3_STAMPED__HEADER = eINSTANCE.getVector3Stamped_Header(); @@ -2112,18 +1972,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Vector' containment reference feature. * * - * * @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 - * Quaternion}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl Quaternion}' class. * * - * * @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 @@ -2134,7 +1990,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'X' attribute feature. * * - * * @generated */ EAttribute QUATERNION__X = eINSTANCE.getQuaternion_X(); @@ -2143,7 +1998,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Y' attribute feature. * * - * * @generated */ EAttribute QUATERNION__Y = eINSTANCE.getQuaternion_Y(); @@ -2152,7 +2006,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Z' attribute feature. * * - * * @generated */ EAttribute QUATERNION__Z = eINSTANCE.getQuaternion_Z(); @@ -2161,17 +2014,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'W' attribute feature. * * - * * @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 Pose}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseImpl Pose}' class. * * - * * @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 @@ -2182,7 +2032,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Position' containment reference feature. * * - * * @generated */ EReference POSE__POSITION = eINSTANCE.getPose_Position(); @@ -2191,18 +2040,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Orientation' containment reference feature. * * - * * @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 - * Pose Stamped}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseStampedImpl Pose Stamped}' class. * * - * * @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 @@ -2213,7 +2058,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference POSE_STAMPED__HEADER = eINSTANCE.getPoseStamped_Header(); @@ -2222,18 +2066,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Pose' containment reference feature. * * - * * @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 - * Twist With Covariance}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistWithCovarianceImpl Twist With Covariance}' class. * * - * * @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 @@ -2244,7 +2084,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Twist' containment reference feature. * * - * * @generated */ EReference TWIST_WITH_COVARIANCE__TWIST = eINSTANCE.getTwistWithCovariance_Twist(); @@ -2253,18 +2092,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Covariance' attribute list feature. * * - * * @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 Twist}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistImpl Twist}' class. * * - * * @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 @@ -2275,7 +2110,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Linear' containment reference feature. * * - * * @generated */ EReference TWIST__LINEAR = eINSTANCE.getTwist_Linear(); @@ -2284,18 +2118,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Angular' containment reference feature. * * - * * @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 - * Twist Stamped}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistStampedImpl Twist Stamped}' class. * * - * * @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 @@ -2306,7 +2136,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference TWIST_STAMPED__HEADER = eINSTANCE.getTwistStamped_Header(); @@ -2315,18 +2144,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Twist' containment reference feature. * * - * * @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 - * Pose With Covariance}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceImpl Pose With Covariance}' class. * * - * * @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 @@ -2337,7 +2162,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Pose' containment reference feature. * * - * * @generated */ EReference POSE_WITH_COVARIANCE__POSE = eINSTANCE.getPoseWithCovariance_Pose(); @@ -2346,18 +2170,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Covariance' attribute list feature. * * - * * @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 Pose2 D}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl Pose2 D}' class. * * - * * @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 @@ -2368,7 +2188,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'X' attribute feature. * * - * * @generated */ EAttribute POSE2_D__X = eINSTANCE.getPose2D_X(); @@ -2377,7 +2196,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Y' attribute feature. * * - * * @generated */ EAttribute POSE2_D__Y = eINSTANCE.getPose2D_Y(); @@ -2386,18 +2204,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Theta' attribute feature. * * - * * @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 - * Pose With Covariance Stamped}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceStampedImpl Pose With Covariance Stamped}' class. * * - * * @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 @@ -2405,12 +2219,9 @@ public interface Geometry_datatypesPackage extends EPackage { 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 - * Pose Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseArrayImpl Pose Array}' class. * * - * * @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 @@ -2421,7 +2232,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference POSE_ARRAY__HEADER = eINSTANCE.getPoseArray_Header(); @@ -2430,18 +2240,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Poses' containment reference list feature. * * - * * @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 - * Quaternion Stamped}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionStampedImpl Quaternion Stamped}' class. * * - * * @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 @@ -2452,7 +2258,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference QUATERNION_STAMPED__HEADER = eINSTANCE.getQuaternionStamped_Header(); @@ -2461,18 +2266,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Quaternion' containment reference feature. * * - * * @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 - * Transform}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TransformImpl Transform}' class. * * - * * @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 @@ -2483,7 +2284,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Translation' containment reference feature. * * - * * @generated */ EReference TRANSFORM__TRANSLATION = eINSTANCE.getTransform_Translation(); @@ -2492,18 +2292,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Rotation' containment reference feature. * * - * * @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 - * Wrench Stamped}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchStampedImpl Wrench Stamped}' class. * * - * * @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 @@ -2514,7 +2310,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference WRENCH_STAMPED__HEADER = eINSTANCE.getWrenchStamped_Header(); @@ -2523,18 +2318,14 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Wrench' containment reference feature. * * - * * @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 Wrench}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchImpl Wrench}' class. * * - * * @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 @@ -2545,7 +2336,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Force' containment reference feature. * * - * * @generated */ EReference WRENCH__FORCE = eINSTANCE.getWrench_Force(); @@ -2554,7 +2344,6 @@ public interface Geometry_datatypesPackage extends EPackage { * The meta object literal for the 'Torque' containment reference feature. * * - * * @generated */ EReference WRENCH__TORQUE = eINSTANCE.getWrench_Torque(); 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 index 3cf223a378f..1c1a138a951 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,47 +8,42 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Point'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getX X}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getY Y}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getZ Z}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getX X}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getY Y}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getZ Z}
  • *
*

- * + * * @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 'X' attribute. * *

- * If the meaning of the 'X' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'X' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'X' attribute. * @see #setX(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getX(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getX - * X}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getX X}' attribute. * * - * - * @param value - * the new value of the 'X' attribute. + * @param value the new value of the 'X' attribute. * @see #getX() * @generated */ @@ -67,27 +53,23 @@ public interface Point extends EObject { * Returns the value of the 'Y' attribute. * *

- * If the meaning of the 'Y' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Y' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Y' attribute. * @see #setY(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getY(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getY - * Y}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getY Y}' attribute. * * - * - * @param value - * the new value of the 'Y' attribute. + * @param value the new value of the 'Y' attribute. * @see #getY() * @generated */ @@ -97,27 +79,23 @@ public interface Point extends EObject { * Returns the value of the 'Z' attribute. * *

- * If the meaning of the 'Z' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Z' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Z' attribute. * @see #setZ(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getZ(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getZ - * Z}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point#getZ Z}' attribute. * * - * - * @param value - * the new value of the 'Z' attribute. + * @param value the new value of the 'Z' attribute. * @see #getZ() * @generated */ 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 index 77840db5a81..ebfd10bb359 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,47 +8,42 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Point32'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getX X}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getY Y}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getZ Z}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getX X}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getY Y}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getZ Z}
  • *
*

- * + * * @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 'X' attribute. * *

- * If the meaning of the 'X' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'X' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'X' attribute. * @see #setX(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getX(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getX - * X}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getX X}' attribute. * * - * - * @param value - * the new value of the 'X' attribute. + * @param value the new value of the 'X' attribute. * @see #getX() * @generated */ @@ -67,27 +53,23 @@ public interface Point32 extends EObject { * Returns the value of the 'Y' attribute. * *

- * If the meaning of the 'Y' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Y' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Y' attribute. * @see #setY(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getY(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getY - * Y}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getY Y}' attribute. * * - * - * @param value - * the new value of the 'Y' attribute. + * @param value the new value of the 'Y' attribute. * @see #getY() * @generated */ @@ -97,27 +79,23 @@ public interface Point32 extends EObject { * Returns the value of the 'Z' attribute. * *

- * If the meaning of the 'Z' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Z' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Z' attribute. * @see #setZ(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getZ(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getZ - * Z}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32#getZ Z}' attribute. * * - * - * @param value - * the new value of the 'Z' attribute. + * @param value the new value of the 'Z' attribute. * @see #getZ() * @generated */ 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 index b8372b5e98c..2c125a0ac26 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; /** * * A representation of the model object 'Point Stamped'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getPoint Point}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getPoint Point}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPointStamped_Header() @@ -50,14 +41,10 @@ public interface PointStamped extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getHeader Header}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -67,10 +54,10 @@ public interface PointStamped extends EObject { * Returns the value of the 'Point' containment reference. * *

- * If the meaning of the 'Point' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Point' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Point' containment reference. * @see #setPoint(Point) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPointStamped_Point() @@ -80,14 +67,10 @@ public interface PointStamped extends EObject { Point getPoint(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getPoint Point}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped#getPoint Point}' containment reference. * * - * - * @param value - * the new value of the 'Point' containment reference. + * @param value the new value of the 'Point' containment reference. * @see #getPoint() * @generated */ 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 index 7ff176acb46..5059b2702b2 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Polygon'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon#getPoint Point}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon#getPoint Point}
  • *
*

- * + * * @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 'Point' containment reference list. * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32}. * *

- * If the meaning of the 'Point' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Point' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Point' 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" 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 index b40b11382b1..614c15caa34 100644 --- 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 @@ -1,48 +1,37 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; /** * * A representation of the model object 'Polygon Stamped'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getHeader Header} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getPolygon Polygon - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getPolygon Polygon}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPolygonStamped_Header() @@ -52,14 +41,10 @@ public interface PolygonStamped extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getHeader Header} - * ' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -69,10 +54,10 @@ public interface PolygonStamped extends EObject { * Returns the value of the 'Polygon' containment reference. * *

- * If the meaning of the 'Polygon' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Polygon' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Polygon' containment reference. * @see #setPolygon(Polygon) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPolygonStamped_Polygon() @@ -82,14 +67,10 @@ public interface PolygonStamped extends EObject { Polygon getPolygon(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getPolygon - * Polygon}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped#getPolygon Polygon}' containment reference. * * - * - * @param value - * the new value of the 'Polygon' containment reference. + * @param value the new value of the 'Polygon' containment reference. * @see #getPolygon() * @generated */ 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 index 2c5982ac660..2e38b0a7a24 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,30 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Pose'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getPosition Position}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getOrientation Orientation} - *
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getPosition Position}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getOrientation Orientation}
  • *
*

- * + * * @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 'Position' containment reference. * *

- * If the meaning of the 'Position' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Position' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Position' containment reference. * @see #setPosition(Point) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPose_Position() @@ -50,13 +39,10 @@ public interface Pose extends EObject { Point getPosition(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getPosition - * Position}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getPosition Position}' containment reference. * * - * - * @param value - * the new value of the 'Position' containment reference. + * @param value the new value of the 'Position' containment reference. * @see #getPosition() * @generated */ @@ -66,10 +52,10 @@ public interface Pose extends EObject { * Returns the value of the 'Orientation' containment reference. * *

- * If the meaning of the 'Orientation' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Orientation' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Orientation' containment reference. * @see #setOrientation(Quaternion) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPose_Orientation() @@ -79,14 +65,10 @@ public interface Pose extends EObject { Quaternion getOrientation(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getOrientation Orientation} - * ' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose#getOrientation Orientation}' containment reference. * * - * - * @param value - * the new value of the 'Orientation' containment reference. + * @param value the new value of the 'Orientation' containment reference. * @see #getOrientation() * @generated */ 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 index d7b085f996e..8650c17774c 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,47 +8,42 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Pose2 D'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getX X}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getY Y}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getTheta Theta}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getX X}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getY Y}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getTheta Theta}
  • *
*

- * + * * @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 'X' attribute. * *

- * If the meaning of the 'X' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'X' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'X' attribute. * @see #setX(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getX(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getX - * X}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getX X}' attribute. * * - * - * @param value - * the new value of the 'X' attribute. + * @param value the new value of the 'X' attribute. * @see #getX() * @generated */ @@ -67,27 +53,23 @@ public interface Pose2D extends EObject { * Returns the value of the 'Y' attribute. * *

- * If the meaning of the 'Y' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Y' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Y' attribute. * @see #setY(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getY(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getY - * Y}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getY Y}' attribute. * * - * - * @param value - * the new value of the 'Y' attribute. + * @param value the new value of the 'Y' attribute. * @see #getY() * @generated */ @@ -97,27 +79,23 @@ public interface Pose2D extends EObject { * Returns the value of the 'Theta' attribute. * *

- * If the meaning of the 'Theta' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Theta' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Theta' attribute. * @see #setTheta(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getTheta(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getTheta - * Theta}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D#getTheta Theta}' attribute. * * - * - * @param value - * the new value of the 'Theta' attribute. + * @param value the new value of the 'Theta' attribute. * @see #getTheta() * @generated */ 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 index 6fa1e75c641..af7d616e8db 100644 --- 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 @@ -1,47 +1,40 @@ -/***************************************************************************** - * 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.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; +// TODO: Auto-generated Javadoc /** * * A representation of the model object 'Pose Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getPoses Poses}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getPoses Poses}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseArray_Header() @@ -51,14 +44,10 @@ public interface PoseArray extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getHeader Header}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -69,10 +58,10 @@ public interface PoseArray extends EObject { * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose}. * *

- * If the meaning of the 'Poses' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Poses' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Poses' containment reference list. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseArray_Poses() * @model containment="true" ordered="false" 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 index 2ca32eab529..e2e08f70cfe 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; /** * * A representation of the model object 'Pose Stamped'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getPose Pose}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getPose Pose}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseStamped_Header() @@ -50,14 +41,10 @@ public interface PoseStamped extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getHeader Header}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -67,10 +54,10 @@ public interface PoseStamped extends EObject { * Returns the value of the 'Pose' containment reference. * *

- * If the meaning of the 'Pose' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Pose' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Pose' containment reference. * @see #setPose(Pose) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseStamped_Pose() @@ -80,14 +67,10 @@ public interface PoseStamped extends EObject { Pose getPose(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getPose Pose}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped#getPose Pose}' containment reference. * * - * - * @param value - * the new value of the 'Pose' containment reference. + * @param value the new value of the 'Pose' containment reference. * @see #getPose() * @generated */ 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 index 79f71dbb3c1..1d06b2b4105 100644 --- 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 @@ -1,48 +1,37 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Pose With Covariance'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getPose Pose} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getCovariance - * Covariance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getPose Pose}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getCovariance Covariance}
  • *
*

- * + * * @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 'Pose' containment reference. * *

- * If the meaning of the 'Pose' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Pose' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Pose' containment reference. * @see #setPose(Pose) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseWithCovariance_Pose() @@ -52,14 +41,10 @@ public interface PoseWithCovariance extends EObject { Pose getPose(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getPose Pose} - * ' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance#getPose Pose}' containment reference. * * - * - * @param value - * the new value of the 'Pose' containment reference. + * @param value the new value of the 'Pose' containment reference. * @see #getPose() * @generated */ @@ -70,14 +55,13 @@ public interface PoseWithCovariance extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'Covariance' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Covariance' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Covariance' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="36" upper="36" ordered="false" * @generated */ EList getCovariance(); 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 index 54b6538c5e3..fb709a3a938 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,8 +8,8 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Pose With Covariance Stamped'. * - * - * + * + * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getPoseWithCovarianceStamped() * @model * @generated 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 index b84bad3f14d..b2cafe2d7f0 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,48 +8,43 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Quaternion'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getX X}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getY Y}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getZ Z}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getW W}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getX X}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getY Y}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getZ Z}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getW W}
  • *
*

- * + * * @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 'X' attribute. * *

- * If the meaning of the 'X' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'X' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'X' attribute. * @see #setX(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getX(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getX - * X}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getX X}' attribute. * * - * - * @param value - * the new value of the 'X' attribute. + * @param value the new value of the 'X' attribute. * @see #getX() * @generated */ @@ -68,27 +54,23 @@ public interface Quaternion extends EObject { * Returns the value of the 'Y' attribute. * *

- * If the meaning of the 'Y' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Y' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Y' attribute. * @see #setY(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getY(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getY - * Y}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getY Y}' attribute. * * - * - * @param value - * the new value of the 'Y' attribute. + * @param value the new value of the 'Y' attribute. * @see #getY() * @generated */ @@ -98,27 +80,23 @@ public interface Quaternion extends EObject { * Returns the value of the 'Z' attribute. * *

- * If the meaning of the 'Z' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Z' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Z' attribute. * @see #setZ(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getZ(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getZ - * Z}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getZ Z}' attribute. * * - * - * @param value - * the new value of the 'Z' attribute. + * @param value the new value of the 'Z' attribute. * @see #getZ() * @generated */ @@ -128,27 +106,23 @@ public interface Quaternion extends EObject { * Returns the value of the 'W' attribute. * *

- * If the meaning of the 'W' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'W' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'W' attribute. * @see #setW(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getW(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getW - * W}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion#getW W}' attribute. * * - * - * @param value - * the new value of the 'W' attribute. + * @param value the new value of the 'W' attribute. * @see #getW() * @generated */ 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 index 2d216383eb4..3bb0b3ad48a 100644 --- 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 @@ -1,48 +1,38 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; +// TODO: Auto-generated Javadoc /** * * A representation of the model object 'Quaternion Stamped'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getHeader Header - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getQuaternion - * Quaternion}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getQuaternion Quaternion}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getQuaternionStamped_Header() @@ -52,14 +42,10 @@ public interface QuaternionStamped extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -69,10 +55,10 @@ public interface QuaternionStamped extends EObject { * Returns the value of the 'Quaternion' containment reference. * *

- * If the meaning of the 'Quaternion' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Quaternion' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Quaternion' containment reference. * @see #setQuaternion(Quaternion) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getQuaternionStamped_Quaternion() @@ -82,14 +68,10 @@ public interface QuaternionStamped extends EObject { Quaternion getQuaternion(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getQuaternion - * Quaternion}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped#getQuaternion Quaternion}' containment reference. * * - * - * @param value - * the new value of the 'Quaternion' containment reference. + * @param value the new value of the 'Quaternion' containment reference. * @see #getQuaternion() * @generated */ 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 index 5bb2d124212..7b51ae1b93b 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,30 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Transform'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getTranslation Translation - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getRotation Rotation}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getTranslation Translation}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getRotation Rotation}
  • *
*

- * + * * @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 'Translation' containment reference. * *

- * If the meaning of the 'Translation' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Translation' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Translation' containment reference. * @see #setTranslation(Vector3) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTransform_Translation() @@ -50,14 +39,10 @@ public interface Transform extends EObject { Vector3 getTranslation(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getTranslation - * Translation}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getTranslation Translation}' containment reference. * * - * - * @param value - * the new value of the 'Translation' containment reference. + * @param value the new value of the 'Translation' containment reference. * @see #getTranslation() * @generated */ @@ -67,10 +52,10 @@ public interface Transform extends EObject { * Returns the value of the 'Rotation' containment reference. * *

- * If the meaning of the 'Rotation' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Rotation' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Rotation' containment reference. * @see #setRotation(Quaternion) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTransform_Rotation() @@ -80,14 +65,10 @@ public interface Transform extends EObject { Quaternion getRotation(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getRotation Rotation}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform#getRotation Rotation}' containment reference. * * - * - * @param value - * the new value of the 'Rotation' containment reference. + * @param value the new value of the 'Rotation' containment reference. * @see #getRotation() * @generated */ 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 index 81350d089f8..b8462a40444 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,29 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Twist'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getLinear Linear}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getAngular Angular}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getLinear Linear}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getAngular Angular}
  • *
*

- * + * * @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 'Linear' containment reference. * *

- * If the meaning of the 'Linear' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Linear' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Linear' containment reference. * @see #setLinear(Vector3) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwist_Linear() @@ -49,13 +39,10 @@ public interface Twist extends EObject { Vector3 getLinear(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getLinear - * Linear}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getLinear Linear}' containment reference. * * - * - * @param value - * the new value of the 'Linear' containment reference. + * @param value the new value of the 'Linear' containment reference. * @see #getLinear() * @generated */ @@ -65,10 +52,10 @@ public interface Twist extends EObject { * Returns the value of the 'Angular' containment reference. * *

- * If the meaning of the 'Angular' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Angular' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Angular' containment reference. * @see #setAngular(Vector3) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwist_Angular() @@ -78,13 +65,10 @@ public interface Twist extends EObject { Vector3 getAngular(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getAngular - * Angular}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist#getAngular Angular}' containment reference. * * - * - * @param value - * the new value of the 'Angular' containment reference. + * @param value the new value of the 'Angular' containment reference. * @see #getAngular() * @generated */ 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 index a5d98ffaf17..fd3eccbccaa 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; /** * * A representation of the model object 'Twist Stamped'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getTwist Twist}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getTwist Twist}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwistStamped_Header() @@ -50,14 +41,10 @@ public interface TwistStamped extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getHeader Header}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -67,10 +54,10 @@ public interface TwistStamped extends EObject { * Returns the value of the 'Twist' containment reference. * *

- * If the meaning of the 'Twist' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Twist' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Twist' containment reference. * @see #setTwist(Twist) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwistStamped_Twist() @@ -80,14 +67,10 @@ public interface TwistStamped extends EObject { Twist getTwist(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getTwist Twist}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped#getTwist Twist}' containment reference. * * - * - * @param value - * the new value of the 'Twist' containment reference. + * @param value the new value of the 'Twist' containment reference. * @see #getTwist() * @generated */ 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 index aaa691fdeeb..3d11ce985c4 100644 --- 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 @@ -1,48 +1,37 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Twist With Covariance'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getTwist Twist - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getCovariance - * Covariance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getTwist Twist}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getCovariance Covariance}
  • *
*

- * + * * @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 'Twist' containment reference. * *

- * If the meaning of the 'Twist' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Twist' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Twist' containment reference. * @see #setTwist(Twist) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getTwistWithCovariance_Twist() @@ -52,14 +41,10 @@ public interface TwistWithCovariance extends EObject { Twist getTwist(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getTwist - * Twist}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance#getTwist Twist}' containment reference. * * - * - * @param value - * the new value of the 'Twist' containment reference. + * @param value the new value of the 'Twist' containment reference. * @see #getTwist() * @generated */ @@ -70,14 +55,13 @@ public interface TwistWithCovariance extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'Covariance' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Covariance' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Covariance' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="36" upper="36" ordered="false" * @generated */ EList getCovariance(); 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 index 521f29b1af0..4ddc66a4a0c 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,47 +8,42 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Vector3'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getX X}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getY Y}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getZ Z}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getX X}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getY Y}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getZ Z}
  • *
*

- * + * * @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 'X' attribute. * *

- * If the meaning of the 'X' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'X' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'X' attribute. * @see #setX(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getX(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getX - * X}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getX X}' attribute. * * - * - * @param value - * the new value of the 'X' attribute. + * @param value the new value of the 'X' attribute. * @see #getX() * @generated */ @@ -67,27 +53,23 @@ public interface Vector3 extends EObject { * Returns the value of the 'Y' attribute. * *

- * If the meaning of the 'Y' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Y' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Y' attribute. * @see #setY(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getY(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getY - * Y}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getY Y}' attribute. * * - * - * @param value - * the new value of the 'Y' attribute. + * @param value the new value of the 'Y' attribute. * @see #getY() * @generated */ @@ -97,27 +79,23 @@ public interface Vector3 extends EObject { * Returns the value of the 'Z' attribute. * *

- * If the meaning of the 'Z' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Z' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Z' attribute. * @see #setZ(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getZ(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getZ - * Z}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3#getZ Z}' attribute. * * - * - * @param value - * the new value of the 'Z' attribute. + * @param value the new value of the 'Z' attribute. * @see #getZ() * @generated */ 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 index 8912f10e7c8..61cb13fe363 100644 --- 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 @@ -1,48 +1,37 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; /** * * A representation of the model object 'Vector3 Stamped'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getHeader Header} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getVector Vector} - *
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getVector Vector}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getVector3Stamped_Header() @@ -52,14 +41,10 @@ public interface Vector3Stamped extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getHeader Header} - * ' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -69,10 +54,10 @@ public interface Vector3Stamped extends EObject { * Returns the value of the 'Vector' containment reference. * *

- * If the meaning of the 'Vector' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Vector' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Vector' containment reference. * @see #setVector(Vector3) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getVector3Stamped_Vector() @@ -82,14 +67,10 @@ public interface Vector3Stamped extends EObject { Vector3 getVector(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getVector Vector} - * ' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped#getVector Vector}' containment reference. * * - * - * @param value - * the new value of the 'Vector' containment reference. + * @param value the new value of the 'Vector' containment reference. * @see #getVector() * @generated */ 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 index b231cb46133..40872c6b93f 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,29 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Wrench'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getForce Force}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getTorque Torque}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getForce Force}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getTorque Torque}
  • *
*

- * + * * @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 'Force' containment reference. * *

- * If the meaning of the 'Force' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Force' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Force' containment reference. * @see #setForce(Vector3) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getWrench_Force() @@ -49,13 +39,10 @@ public interface Wrench extends EObject { Vector3 getForce(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getForce - * Force}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getForce Force}' containment reference. * * - * - * @param value - * the new value of the 'Force' containment reference. + * @param value the new value of the 'Force' containment reference. * @see #getForce() * @generated */ @@ -65,10 +52,10 @@ public interface Wrench extends EObject { * Returns the value of the 'Torque' containment reference. * *

- * If the meaning of the 'Torque' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Torque' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Torque' containment reference. * @see #setTorque(Vector3) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getWrench_Torque() @@ -78,13 +65,10 @@ public interface Wrench extends EObject { Vector3 getTorque(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getTorque - * Torque}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench#getTorque Torque}' containment reference. * * - * - * @param value - * the new value of the 'Torque' containment reference. + * @param value the new value of the 'Torque' containment reference. * @see #getTorque() * @generated */ 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 index 9aef1594b53..85bfbbf032a 100644 --- 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 @@ -1,46 +1,38 @@ -/***************************************************************************** - * 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.geometry_datatypes; import org.eclipse.emf.ecore.EObject; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; +// TODO: Auto-generated Javadoc /** * * A representation of the model object 'Wrench Stamped'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getWrench Wrench}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getWrench Wrench}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getWrenchStamped_Header() @@ -50,14 +42,10 @@ public interface WrenchStamped extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getHeader Header}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -67,10 +55,10 @@ public interface WrenchStamped extends EObject { * Returns the value of the 'Wrench' containment reference. * *

- * If the meaning of the 'Wrench' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Wrench' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Wrench' containment reference. * @see #setWrench(Wrench) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#getWrenchStamped_Wrench() @@ -80,14 +68,10 @@ public interface WrenchStamped extends EObject { Wrench getWrench(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getWrench Wrench}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped#getWrench Wrench}' containment reference. * * - * - * @param value - * the new value of the 'Wrench' containment reference. + * @param value the new value of the 'Wrench' containment reference. * @see #getWrench() * @generated */ 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 index 6af7229cd56..b0c0f976846 100644 --- 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 @@ -1,68 +1,38 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.*; /** * * An implementation of the model Factory. * - * * @generated */ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geometry_datatypesFactory { - /** * Creates the default factory implementation. * * - * * @generated */ public static Geometry_datatypesFactory init() { try { - Geometry_datatypesFactory theGeometry_datatypesFactory = (Geometry_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory("http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/geometry_datatypes.ecore"); - if(theGeometry_datatypesFactory != null) { + Geometry_datatypesFactory theGeometry_datatypesFactory = (Geometry_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Geometry_datatypesPackage.eNS_URI); + if (theGeometry_datatypesFactory != null) { return theGeometry_datatypesFactory; } - } catch (Exception exception) { + } + catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new Geometry_datatypesFactoryImpl(); @@ -72,7 +42,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome * Creates an instance of the factory. * * - * * @generated */ public Geometry_datatypesFactoryImpl() { @@ -82,63 +51,40 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @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"); + 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"); } } /** * * - * * @generated */ public Point createPoint() { @@ -149,7 +95,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public Point32 createPoint32() { @@ -160,7 +105,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public PointStamped createPointStamped() { @@ -171,7 +115,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public Polygon createPolygon() { @@ -182,7 +125,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public PolygonStamped createPolygonStamped() { @@ -193,7 +135,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public Vector3 createVector3() { @@ -204,7 +145,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public Vector3Stamped createVector3Stamped() { @@ -215,7 +155,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public Quaternion createQuaternion() { @@ -226,7 +165,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public Pose createPose() { @@ -237,7 +175,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public PoseStamped createPoseStamped() { @@ -248,7 +185,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public TwistWithCovariance createTwistWithCovariance() { @@ -259,7 +195,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public Twist createTwist() { @@ -270,7 +205,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public TwistStamped createTwistStamped() { @@ -281,7 +215,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public PoseWithCovariance createPoseWithCovariance() { @@ -292,7 +225,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public Pose2D createPose2D() { @@ -303,7 +235,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public PoseWithCovarianceStamped createPoseWithCovarianceStamped() { @@ -314,7 +245,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public PoseArray createPoseArray() { @@ -325,7 +255,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public QuaternionStamped createQuaternionStamped() { @@ -336,7 +265,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public Transform createTransform() { @@ -347,7 +275,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public WrenchStamped createWrenchStamped() { @@ -358,7 +285,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public Wrench createWrench() { @@ -369,7 +295,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @generated */ public Geometry_datatypesPackage getGeometry_datatypesPackage() { @@ -379,7 +304,6 @@ public class Geometry_datatypesFactoryImpl extends EFactoryImpl implements Geome /** * * - * * @deprecated * @generated */ 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 index 6dab9640b29..1247948aae4 100644 --- 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 @@ -1,27 +1,26 @@ -/***************************************************************************** - * 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.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; @@ -45,31 +44,39 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp 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; /** * * An implementation of the model Package. * - * * @generated */ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geometry_datatypesPackage { - /** * * - * * @generated */ private EClass pointEClass = null; @@ -77,7 +84,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass point32EClass = null; @@ -85,7 +91,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass pointStampedEClass = null; @@ -93,7 +98,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass polygonEClass = null; @@ -101,7 +105,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass polygonStampedEClass = null; @@ -109,7 +112,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass vector3EClass = null; @@ -117,7 +119,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass vector3StampedEClass = null; @@ -125,7 +126,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass quaternionEClass = null; @@ -133,7 +133,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass poseEClass = null; @@ -141,7 +140,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass poseStampedEClass = null; @@ -149,7 +147,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass twistWithCovarianceEClass = null; @@ -157,7 +154,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass twistEClass = null; @@ -165,7 +161,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass twistStampedEClass = null; @@ -173,7 +168,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass poseWithCovarianceEClass = null; @@ -181,7 +175,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass pose2DEClass = null; @@ -189,7 +182,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass poseWithCovarianceStampedEClass = null; @@ -197,7 +189,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass poseArrayEClass = null; @@ -205,7 +196,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass quaternionStampedEClass = null; @@ -213,7 +203,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass transformEClass = null; @@ -221,7 +210,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass wrenchStampedEClass = null; @@ -229,19 +217,20 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private EClass wrenchEClass = null; /** - * Creates an instance of the model Package, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the - * package + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. - *

- * 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. - * + *

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. + * + * * @see org.eclipse.emf.ecore.EPackage.Registry * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage#eNS_URI * @see #init() @@ -254,7 +243,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ private static boolean isInited = false; @@ -262,18 +250,17 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * - *

- * 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. - * + *

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. + * + * * @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); + 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()); @@ -318,7 +305,7 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome // 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; @@ -327,7 +314,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getPoint() { @@ -337,7 +323,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getPoint_X() { @@ -347,7 +332,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getPoint_Y() { @@ -357,7 +341,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getPoint_Z() { @@ -367,7 +350,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getPoint32() { @@ -377,7 +359,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getPoint32_X() { @@ -387,7 +368,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getPoint32_Y() { @@ -397,7 +377,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getPoint32_Z() { @@ -407,7 +386,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getPointStamped() { @@ -417,7 +395,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getPointStamped_Header() { @@ -427,7 +404,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getPointStamped_Point() { @@ -437,7 +413,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getPolygon() { @@ -447,7 +422,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getPolygon_Point() { @@ -457,7 +431,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getPolygonStamped() { @@ -467,7 +440,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getPolygonStamped_Header() { @@ -477,7 +449,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getPolygonStamped_Polygon() { @@ -487,7 +458,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getVector3() { @@ -497,7 +467,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getVector3_X() { @@ -507,7 +476,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getVector3_Y() { @@ -517,7 +485,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getVector3_Z() { @@ -527,7 +494,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getVector3Stamped() { @@ -537,7 +503,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getVector3Stamped_Header() { @@ -547,7 +512,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getVector3Stamped_Vector() { @@ -557,7 +521,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getQuaternion() { @@ -567,7 +530,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getQuaternion_X() { @@ -577,7 +539,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getQuaternion_Y() { @@ -587,7 +548,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getQuaternion_Z() { @@ -597,7 +557,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getQuaternion_W() { @@ -607,7 +566,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getPose() { @@ -617,7 +575,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getPose_Position() { @@ -627,7 +584,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getPose_Orientation() { @@ -637,7 +593,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getPoseStamped() { @@ -647,7 +602,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getPoseStamped_Header() { @@ -657,7 +611,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getPoseStamped_Pose() { @@ -667,7 +620,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getTwistWithCovariance() { @@ -677,7 +629,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getTwistWithCovariance_Twist() { @@ -687,7 +638,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getTwistWithCovariance_Covariance() { @@ -697,7 +647,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getTwist() { @@ -707,7 +656,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getTwist_Linear() { @@ -717,7 +665,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getTwist_Angular() { @@ -727,7 +674,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getTwistStamped() { @@ -737,7 +683,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getTwistStamped_Header() { @@ -747,7 +692,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getTwistStamped_Twist() { @@ -757,7 +701,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getPoseWithCovariance() { @@ -767,7 +710,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getPoseWithCovariance_Pose() { @@ -777,7 +719,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getPoseWithCovariance_Covariance() { @@ -787,7 +728,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getPose2D() { @@ -797,7 +737,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getPose2D_X() { @@ -807,7 +746,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getPose2D_Y() { @@ -817,7 +755,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EAttribute getPose2D_Theta() { @@ -827,7 +764,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getPoseWithCovarianceStamped() { @@ -837,7 +773,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getPoseArray() { @@ -847,7 +782,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getPoseArray_Header() { @@ -857,7 +791,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getPoseArray_Poses() { @@ -867,7 +800,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getQuaternionStamped() { @@ -877,7 +809,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getQuaternionStamped_Header() { @@ -887,7 +818,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getQuaternionStamped_Quaternion() { @@ -897,7 +827,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getTransform() { @@ -907,7 +836,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getTransform_Translation() { @@ -917,7 +845,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getTransform_Rotation() { @@ -927,7 +854,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getWrenchStamped() { @@ -937,7 +863,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getWrenchStamped_Header() { @@ -947,7 +872,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getWrenchStamped_Wrench() { @@ -957,7 +881,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EClass getWrench() { @@ -967,7 +890,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getWrench_Force() { @@ -977,7 +899,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public EReference getWrench_Torque() { @@ -987,7 +908,6 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @generated */ public Geometry_datatypesFactory getGeometry_datatypesFactory() { @@ -997,22 +917,19 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @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. * * - * * @generated */ public void createPackageContents() { - if(isCreated) - return; + if (isCreated) return; isCreated = true; // Create classes and their features @@ -1107,22 +1024,19 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome /** * * - * * @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. * * - * * @generated */ public void initializePackageContents() { - if(isInitialized) - return; + if (isInitialized) return; isInitialized = true; // Initialize package @@ -1139,7 +1053,7 @@ public class Geometry_datatypesPackageImpl extends EPackageImpl implements Geome // Add supertypes to classes - // Initialize classes and features; add operations and parameters + // 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); 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 index 7046498e456..3c7cb16b805 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,21 +19,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl#getX X}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl#getY Y}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl#getZ Z}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl#getX X}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl#getY Y}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Point32Impl#getZ Z}
  • *
*

- * + * * @generated */ -public class Point32Impl extends EObjectImpl implements Point32 { - +public class Point32Impl extends MinimalEObjectImpl.Container implements Point32 { /** * The default value of the '{@link #getX() X}' attribute. * * - * * @see #getX() * @generated * @ordered @@ -50,7 +42,6 @@ public class Point32Impl extends EObjectImpl implements Point32 { * The cached value of the '{@link #getX() X}' attribute. * * - * * @see #getX() * @generated * @ordered @@ -61,7 +52,6 @@ public class Point32Impl extends EObjectImpl implements Point32 { * The default value of the '{@link #getY() Y}' attribute. * * - * * @see #getY() * @generated * @ordered @@ -72,7 +62,6 @@ public class Point32Impl extends EObjectImpl implements Point32 { * The cached value of the '{@link #getY() Y}' attribute. * * - * * @see #getY() * @generated * @ordered @@ -83,7 +72,6 @@ public class Point32Impl extends EObjectImpl implements Point32 { * The default value of the '{@link #getZ() Z}' attribute. * * - * * @see #getZ() * @generated * @ordered @@ -94,7 +82,6 @@ public class Point32Impl extends EObjectImpl implements Point32 { * The cached value of the '{@link #getZ() Z}' attribute. * * - * * @see #getZ() * @generated * @ordered @@ -104,7 +91,6 @@ public class Point32Impl extends EObjectImpl implements Point32 { /** * * - * * @generated */ protected Point32Impl() { @@ -114,7 +100,6 @@ public class Point32Impl extends EObjectImpl implements Point32 { /** * * - * * @generated */ @Override @@ -125,7 +110,6 @@ public class Point32Impl extends EObjectImpl implements Point32 { /** * * - * * @generated */ public float getX() { @@ -135,20 +119,18 @@ public class Point32Impl extends EObjectImpl implements Point32 { /** * * - * * @generated */ public void setX(float newX) { float oldX = x; x = newX; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POINT32__X, oldX, x)); } /** * * - * * @generated */ public float getY() { @@ -158,20 +140,18 @@ public class Point32Impl extends EObjectImpl implements Point32 { /** * * - * * @generated */ public void setY(float newY) { float oldY = y; y = newY; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POINT32__Y, oldY, y)); } /** * * - * * @generated */ public float getZ() { @@ -181,31 +161,29 @@ public class Point32Impl extends EObjectImpl implements Point32 { /** * * - * * @generated */ public void setZ(float newZ) { float oldZ = z; z = newZ; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POINT32__Z, oldZ, z)); } /** * * - * * @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(); + 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); } @@ -213,21 +191,20 @@ public class Point32Impl extends EObjectImpl implements Point32 { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Geometry_datatypesPackage.POINT32__X: - setX((Float)newValue); - return; - case Geometry_datatypesPackage.POINT32__Y: - setY((Float)newValue); - return; - case Geometry_datatypesPackage.POINT32__Z: - setZ((Float)newValue); - return; + switch (featureID) { + case Geometry_datatypesPackage.POINT32__X: + setX((Float)newValue); + return; + case Geometry_datatypesPackage.POINT32__Y: + setY((Float)newValue); + return; + case Geometry_datatypesPackage.POINT32__Z: + setZ((Float)newValue); + return; } super.eSet(featureID, newValue); } @@ -235,21 +212,20 @@ public class Point32Impl extends EObjectImpl implements Point32 { /** * * - * * @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; + 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); } @@ -257,18 +233,17 @@ public class Point32Impl extends EObjectImpl implements Point32 { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Geometry_datatypesPackage.POINT32__X: - return x != X_EDEFAULT; - case Geometry_datatypesPackage.POINT32__Y: - return y != Y_EDEFAULT; - case Geometry_datatypesPackage.POINT32__Z: - return z != Z_EDEFAULT; + switch (featureID) { + case Geometry_datatypesPackage.POINT32__X: + return x != X_EDEFAULT; + case Geometry_datatypesPackage.POINT32__Y: + return y != Y_EDEFAULT; + case Geometry_datatypesPackage.POINT32__Z: + return z != Z_EDEFAULT; } return super.eIsSet(featureID); } @@ -276,13 +251,11 @@ public class Point32Impl extends EObjectImpl implements Point32 { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (x: "); 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 index bcfbb293ae9..9fe144bfd60 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,21 +19,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl#getX X}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl#getY Y}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl#getZ Z}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl#getX X}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl#getY Y}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointImpl#getZ Z}
  • *
*

- * + * * @generated */ -public class PointImpl extends EObjectImpl implements Point { - +public class PointImpl extends MinimalEObjectImpl.Container implements Point { /** * The default value of the '{@link #getX() X}' attribute. * * - * * @see #getX() * @generated * @ordered @@ -50,7 +42,6 @@ public class PointImpl extends EObjectImpl implements Point { * The cached value of the '{@link #getX() X}' attribute. * * - * * @see #getX() * @generated * @ordered @@ -61,7 +52,6 @@ public class PointImpl extends EObjectImpl implements Point { * The default value of the '{@link #getY() Y}' attribute. * * - * * @see #getY() * @generated * @ordered @@ -72,7 +62,6 @@ public class PointImpl extends EObjectImpl implements Point { * The cached value of the '{@link #getY() Y}' attribute. * * - * * @see #getY() * @generated * @ordered @@ -83,7 +72,6 @@ public class PointImpl extends EObjectImpl implements Point { * The default value of the '{@link #getZ() Z}' attribute. * * - * * @see #getZ() * @generated * @ordered @@ -94,7 +82,6 @@ public class PointImpl extends EObjectImpl implements Point { * The cached value of the '{@link #getZ() Z}' attribute. * * - * * @see #getZ() * @generated * @ordered @@ -104,7 +91,6 @@ public class PointImpl extends EObjectImpl implements Point { /** * * - * * @generated */ protected PointImpl() { @@ -114,7 +100,6 @@ public class PointImpl extends EObjectImpl implements Point { /** * * - * * @generated */ @Override @@ -125,7 +110,6 @@ public class PointImpl extends EObjectImpl implements Point { /** * * - * * @generated */ public double getX() { @@ -135,20 +119,18 @@ public class PointImpl extends EObjectImpl implements Point { /** * * - * * @generated */ public void setX(double newX) { double oldX = x; x = newX; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POINT__X, oldX, x)); } /** * * - * * @generated */ public double getY() { @@ -158,20 +140,18 @@ public class PointImpl extends EObjectImpl implements Point { /** * * - * * @generated */ public void setY(double newY) { double oldY = y; y = newY; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POINT__Y, oldY, y)); } /** * * - * * @generated */ public double getZ() { @@ -181,31 +161,29 @@ public class PointImpl extends EObjectImpl implements Point { /** * * - * * @generated */ public void setZ(double newZ) { double oldZ = z; z = newZ; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POINT__Z, oldZ, z)); } /** * * - * * @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(); + 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); } @@ -213,21 +191,20 @@ public class PointImpl extends EObjectImpl implements Point { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Geometry_datatypesPackage.POINT__X: - setX((Double)newValue); - return; - case Geometry_datatypesPackage.POINT__Y: - setY((Double)newValue); - return; - case Geometry_datatypesPackage.POINT__Z: - setZ((Double)newValue); - return; + switch (featureID) { + case Geometry_datatypesPackage.POINT__X: + setX((Double)newValue); + return; + case Geometry_datatypesPackage.POINT__Y: + setY((Double)newValue); + return; + case Geometry_datatypesPackage.POINT__Z: + setZ((Double)newValue); + return; } super.eSet(featureID, newValue); } @@ -235,21 +212,20 @@ public class PointImpl extends EObjectImpl implements Point { /** * * - * * @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; + 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); } @@ -257,18 +233,17 @@ public class PointImpl extends EObjectImpl implements Point { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Geometry_datatypesPackage.POINT__X: - return x != X_EDEFAULT; - case Geometry_datatypesPackage.POINT__Y: - return y != Y_EDEFAULT; - case Geometry_datatypesPackage.POINT__Z: - return z != Z_EDEFAULT; + switch (featureID) { + case Geometry_datatypesPackage.POINT__X: + return x != X_EDEFAULT; + case Geometry_datatypesPackage.POINT__Y: + return y != Y_EDEFAULT; + case Geometry_datatypesPackage.POINT__Z: + return z != Z_EDEFAULT; } return super.eIsSet(featureID); } @@ -276,13 +251,11 @@ public class PointImpl extends EObjectImpl implements Point { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (x: "); 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 index 62250fd649d..1c1c0fc4ebe 100644 --- 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 @@ -1,25 +1,20 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -29,22 +24,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointStampedImpl#getHeader - * Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointStampedImpl#getPoint Point - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointStampedImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PointStampedImpl#getPoint Point}
  • *
*

- * + * * @generated */ -public class PointStampedImpl extends EObjectImpl implements PointStamped { - +public class PointStampedImpl extends MinimalEObjectImpl.Container implements PointStamped { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -55,7 +46,6 @@ public class PointStampedImpl extends EObjectImpl implements PointStamped { * The cached value of the '{@link #getPoint() Point}' containment reference. * * - * * @see #getPoint() * @generated * @ordered @@ -65,7 +55,6 @@ public class PointStampedImpl extends EObjectImpl implements PointStamped { /** * * - * * @generated */ protected PointStampedImpl() { @@ -75,7 +64,6 @@ public class PointStampedImpl extends EObjectImpl implements PointStamped { /** * * - * * @generated */ @Override @@ -86,7 +74,6 @@ public class PointStampedImpl extends EObjectImpl implements PointStamped { /** * * - * * @generated */ public Header getHeader() { @@ -96,18 +83,14 @@ public class PointStampedImpl extends EObjectImpl implements PointStamped { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -115,27 +98,25 @@ public class PointStampedImpl extends EObjectImpl implements PointStamped { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POINT_STAMPED__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POINT_STAMPED__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public Point getPoint() { @@ -145,18 +126,14 @@ public class PointStampedImpl extends EObjectImpl implements PointStamped { /** * * - * * @generated */ public NotificationChain basicSetPoint(Point newPoint, NotificationChain msgs) { Point oldPoint = point; point = newPoint; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -164,36 +141,34 @@ public class PointStampedImpl extends EObjectImpl implements PointStamped { /** * * - * * @generated */ public void setPoint(Point newPoint) { - if(newPoint != point) { + if (newPoint != point) { NotificationChain msgs = null; - if(point != null) + if (point != null) msgs = ((InternalEObject)point).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POINT_STAMPED__POINT, null, msgs); - if(newPoint != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POINT_STAMPED__POINT, newPoint, newPoint)); } /** * * - * * @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); + 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); } @@ -201,16 +176,15 @@ public class PointStampedImpl extends EObjectImpl implements PointStamped { /** * * - * * @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(); + switch (featureID) { + case Geometry_datatypesPackage.POINT_STAMPED__HEADER: + return getHeader(); + case Geometry_datatypesPackage.POINT_STAMPED__POINT: + return getPoint(); } return super.eGet(featureID, resolve, coreType); } @@ -218,18 +192,17 @@ public class PointStampedImpl extends EObjectImpl implements PointStamped { /** * * - * * @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; + 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); } @@ -237,18 +210,17 @@ public class PointStampedImpl extends EObjectImpl implements PointStamped { /** * * - * * @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; + 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); } @@ -256,16 +228,15 @@ public class PointStampedImpl extends EObjectImpl implements PointStamped { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.POINT_STAMPED__HEADER: + return header != null; + case Geometry_datatypesPackage.POINT_STAMPED__POINT: + return point != null; } return super.eIsSet(featureID); } 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 index e94e14721f8..af70925dfe0 100644 --- 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 @@ -1,25 +1,21 @@ -/***************************************************************************** - * 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.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.EObjectImpl; + +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; @@ -31,20 +27,17 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonImpl#getPoint Point} - *
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonImpl#getPoint Point}
  • *
*

- * + * * @generated */ -public class PolygonImpl extends EObjectImpl implements Polygon { - +public class PolygonImpl extends MinimalEObjectImpl.Container implements Polygon { /** * The cached value of the '{@link #getPoint() Point}' containment reference list. * * - * * @see #getPoint() * @generated * @ordered @@ -54,7 +47,6 @@ public class PolygonImpl extends EObjectImpl implements Polygon { /** * * - * * @generated */ protected PolygonImpl() { @@ -64,7 +56,6 @@ public class PolygonImpl extends EObjectImpl implements Polygon { /** * * - * * @generated */ @Override @@ -75,11 +66,10 @@ public class PolygonImpl extends EObjectImpl implements Polygon { /** * * - * * @generated */ public EList getPoint() { - if(point == null) { + if (point == null) { point = new EObjectContainmentEList(Point32.class, this, Geometry_datatypesPackage.POLYGON__POINT); } return point; @@ -88,14 +78,13 @@ public class PolygonImpl extends EObjectImpl implements Polygon { /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Geometry_datatypesPackage.POLYGON__POINT: - return ((InternalEList)getPoint()).basicRemove(otherEnd, msgs); + switch (featureID) { + case Geometry_datatypesPackage.POLYGON__POINT: + return ((InternalEList)getPoint()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -103,14 +92,13 @@ public class PolygonImpl extends EObjectImpl implements Polygon { /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case Geometry_datatypesPackage.POLYGON__POINT: - return getPoint(); + switch (featureID) { + case Geometry_datatypesPackage.POLYGON__POINT: + return getPoint(); } return super.eGet(featureID, resolve, coreType); } @@ -118,17 +106,16 @@ public class PolygonImpl extends EObjectImpl implements Polygon { /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Geometry_datatypesPackage.POLYGON__POINT: - getPoint().clear(); - getPoint().addAll((Collection)newValue); - return; + switch (featureID) { + case Geometry_datatypesPackage.POLYGON__POINT: + getPoint().clear(); + getPoint().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -136,15 +123,14 @@ public class PolygonImpl extends EObjectImpl implements Polygon { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case Geometry_datatypesPackage.POLYGON__POINT: - getPoint().clear(); - return; + switch (featureID) { + case Geometry_datatypesPackage.POLYGON__POINT: + getPoint().clear(); + return; } super.eUnset(featureID); } @@ -152,14 +138,13 @@ public class PolygonImpl extends EObjectImpl implements Polygon { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Geometry_datatypesPackage.POLYGON__POINT: - return point != null && !point.isEmpty(); + switch (featureID) { + case Geometry_datatypesPackage.POLYGON__POINT: + return point != null && !point.isEmpty(); } return super.eIsSet(featureID); } 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 index c7e45e78650..2139e6a9be0 100644 --- 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 @@ -1,25 +1,20 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -29,22 +24,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonStampedImpl#getHeader - * Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonStampedImpl#getPolygon - * Polygon}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonStampedImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PolygonStampedImpl#getPolygon Polygon}
  • *
*

- * + * * @generated */ -public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { - +public class PolygonStampedImpl extends MinimalEObjectImpl.Container implements PolygonStamped { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -55,7 +46,6 @@ public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { * The cached value of the '{@link #getPolygon() Polygon}' containment reference. * * - * * @see #getPolygon() * @generated * @ordered @@ -65,7 +55,6 @@ public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { /** * * - * * @generated */ protected PolygonStampedImpl() { @@ -75,7 +64,6 @@ public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { /** * * - * * @generated */ @Override @@ -86,7 +74,6 @@ public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { /** * * - * * @generated */ public Header getHeader() { @@ -96,18 +83,14 @@ public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -115,27 +98,25 @@ public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POLYGON_STAMPED__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POLYGON_STAMPED__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public Polygon getPolygon() { @@ -145,18 +126,14 @@ public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { /** * * - * * @generated */ public NotificationChain basicSetPolygon(Polygon newPolygon, NotificationChain msgs) { Polygon oldPolygon = polygon; polygon = newPolygon; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -164,36 +141,34 @@ public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { /** * * - * * @generated */ public void setPolygon(Polygon newPolygon) { - if(newPolygon != polygon) { + if (newPolygon != polygon) { NotificationChain msgs = null; - if(polygon != null) + if (polygon != null) msgs = ((InternalEObject)polygon).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON, null, msgs); - if(newPolygon != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON, newPolygon, newPolygon)); } /** * * - * * @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); + 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); } @@ -201,16 +176,15 @@ public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { /** * * - * * @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(); + switch (featureID) { + case Geometry_datatypesPackage.POLYGON_STAMPED__HEADER: + return getHeader(); + case Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON: + return getPolygon(); } return super.eGet(featureID, resolve, coreType); } @@ -218,18 +192,17 @@ public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { /** * * - * * @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; + 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); } @@ -237,18 +210,17 @@ public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { /** * * - * * @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; + 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); } @@ -256,16 +228,15 @@ public class PolygonStampedImpl extends EObjectImpl implements PolygonStamped { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.POLYGON_STAMPED__HEADER: + return header != null; + case Geometry_datatypesPackage.POLYGON_STAMPED__POLYGON: + return polygon != null; } return super.eIsSet(featureID); } 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 index fa8242e68ca..ba75c5ad82a 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,21 +19,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl#getX X}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl#getY Y}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl#getTheta Theta}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl#getX X}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl#getY Y}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Pose2DImpl#getTheta Theta}
  • *
*

- * + * * @generated */ -public class Pose2DImpl extends EObjectImpl implements Pose2D { - +public class Pose2DImpl extends MinimalEObjectImpl.Container implements Pose2D { /** * The default value of the '{@link #getX() X}' attribute. * * - * * @see #getX() * @generated * @ordered @@ -50,7 +42,6 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { * The cached value of the '{@link #getX() X}' attribute. * * - * * @see #getX() * @generated * @ordered @@ -61,7 +52,6 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { * The default value of the '{@link #getY() Y}' attribute. * * - * * @see #getY() * @generated * @ordered @@ -72,7 +62,6 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { * The cached value of the '{@link #getY() Y}' attribute. * * - * * @see #getY() * @generated * @ordered @@ -83,7 +72,6 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { * The default value of the '{@link #getTheta() Theta}' attribute. * * - * * @see #getTheta() * @generated * @ordered @@ -94,7 +82,6 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { * The cached value of the '{@link #getTheta() Theta}' attribute. * * - * * @see #getTheta() * @generated * @ordered @@ -104,7 +91,6 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { /** * * - * * @generated */ protected Pose2DImpl() { @@ -114,7 +100,6 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { /** * * - * * @generated */ @Override @@ -125,7 +110,6 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { /** * * - * * @generated */ public double getX() { @@ -135,20 +119,18 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { /** * * - * * @generated */ public void setX(double newX) { double oldX = x; x = newX; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE2_D__X, oldX, x)); } /** * * - * * @generated */ public double getY() { @@ -158,20 +140,18 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { /** * * - * * @generated */ public void setY(double newY) { double oldY = y; y = newY; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE2_D__Y, oldY, y)); } /** * * - * * @generated */ public double getTheta() { @@ -181,31 +161,29 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { /** * * - * * @generated */ public void setTheta(double newTheta) { double oldTheta = theta; theta = newTheta; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE2_D__THETA, oldTheta, theta)); } /** * * - * * @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(); + 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); } @@ -213,21 +191,20 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Geometry_datatypesPackage.POSE2_D__X: - setX((Double)newValue); - return; - case Geometry_datatypesPackage.POSE2_D__Y: - setY((Double)newValue); - return; - case Geometry_datatypesPackage.POSE2_D__THETA: - setTheta((Double)newValue); - return; + switch (featureID) { + case Geometry_datatypesPackage.POSE2_D__X: + setX((Double)newValue); + return; + case Geometry_datatypesPackage.POSE2_D__Y: + setY((Double)newValue); + return; + case Geometry_datatypesPackage.POSE2_D__THETA: + setTheta((Double)newValue); + return; } super.eSet(featureID, newValue); } @@ -235,21 +212,20 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { /** * * - * * @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; + 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); } @@ -257,18 +233,17 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Geometry_datatypesPackage.POSE2_D__X: - return x != X_EDEFAULT; - case Geometry_datatypesPackage.POSE2_D__Y: - return y != Y_EDEFAULT; - case Geometry_datatypesPackage.POSE2_D__THETA: - return theta != THETA_EDEFAULT; + switch (featureID) { + case Geometry_datatypesPackage.POSE2_D__X: + return x != X_EDEFAULT; + case Geometry_datatypesPackage.POSE2_D__Y: + return y != Y_EDEFAULT; + case Geometry_datatypesPackage.POSE2_D__THETA: + return theta != THETA_EDEFAULT; } return super.eIsSet(featureID); } @@ -276,13 +251,11 @@ public class Pose2DImpl extends EObjectImpl implements Pose2D { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (x: "); 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 index f2e5440237d..db2a5d7ecd8 100644 --- 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 @@ -1,30 +1,27 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -34,22 +31,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseArrayImpl#getHeader Header - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseArrayImpl#getPoses Poses - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseArrayImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseArrayImpl#getPoses Poses}
  • *
*

- * + * * @generated */ -public class PoseArrayImpl extends EObjectImpl implements PoseArray { - +public class PoseArrayImpl extends MinimalEObjectImpl.Container implements PoseArray { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -60,7 +53,6 @@ public class PoseArrayImpl extends EObjectImpl implements PoseArray { * The cached value of the '{@link #getPoses() Poses}' containment reference list. * * - * * @see #getPoses() * @generated * @ordered @@ -70,7 +62,6 @@ public class PoseArrayImpl extends EObjectImpl implements PoseArray { /** * * - * * @generated */ protected PoseArrayImpl() { @@ -80,7 +71,6 @@ public class PoseArrayImpl extends EObjectImpl implements PoseArray { /** * * - * * @generated */ @Override @@ -91,7 +81,6 @@ public class PoseArrayImpl extends EObjectImpl implements PoseArray { /** * * - * * @generated */ public Header getHeader() { @@ -101,18 +90,14 @@ public class PoseArrayImpl extends EObjectImpl implements PoseArray { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -120,31 +105,29 @@ public class PoseArrayImpl extends EObjectImpl implements PoseArray { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE_ARRAY__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE_ARRAY__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public EList getPoses() { - if(poses == null) { + if (poses == null) { poses = new EObjectContainmentEList(Pose.class, this, Geometry_datatypesPackage.POSE_ARRAY__POSES); } return poses; @@ -153,16 +136,15 @@ public class PoseArrayImpl extends EObjectImpl implements PoseArray { /** * * - * * @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); + 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); } @@ -170,16 +152,15 @@ public class PoseArrayImpl extends EObjectImpl implements PoseArray { /** * * - * * @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(); + switch (featureID) { + case Geometry_datatypesPackage.POSE_ARRAY__HEADER: + return getHeader(); + case Geometry_datatypesPackage.POSE_ARRAY__POSES: + return getPoses(); } return super.eGet(featureID, resolve, coreType); } @@ -187,20 +168,19 @@ public class PoseArrayImpl extends EObjectImpl implements PoseArray { /** * * - * * @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)newValue); - return; + switch (featureID) { + case Geometry_datatypesPackage.POSE_ARRAY__HEADER: + setHeader((Header)newValue); + return; + case Geometry_datatypesPackage.POSE_ARRAY__POSES: + getPoses().clear(); + getPoses().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -208,18 +188,17 @@ public class PoseArrayImpl extends EObjectImpl implements PoseArray { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.POSE_ARRAY__HEADER: + setHeader((Header)null); + return; + case Geometry_datatypesPackage.POSE_ARRAY__POSES: + getPoses().clear(); + return; } super.eUnset(featureID); } @@ -227,16 +206,15 @@ public class PoseArrayImpl extends EObjectImpl implements PoseArray { /** * * - * * @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(); + 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); } 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 index 20e5cdd6c8a..31fd578db7c 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -29,22 +23,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseImpl#getPosition Position - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseImpl#getOrientation - * Orientation}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseImpl#getPosition Position}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseImpl#getOrientation Orientation}
  • *
*

- * + * * @generated */ -public class PoseImpl extends EObjectImpl implements Pose { - +public class PoseImpl extends MinimalEObjectImpl.Container implements Pose { /** * The cached value of the '{@link #getPosition() Position}' containment reference. * * - * * @see #getPosition() * @generated * @ordered @@ -55,7 +45,6 @@ public class PoseImpl extends EObjectImpl implements Pose { * The cached value of the '{@link #getOrientation() Orientation}' containment reference. * * - * * @see #getOrientation() * @generated * @ordered @@ -65,7 +54,6 @@ public class PoseImpl extends EObjectImpl implements Pose { /** * * - * * @generated */ protected PoseImpl() { @@ -75,7 +63,6 @@ public class PoseImpl extends EObjectImpl implements Pose { /** * * - * * @generated */ @Override @@ -86,7 +73,6 @@ public class PoseImpl extends EObjectImpl implements Pose { /** * * - * * @generated */ public Point getPosition() { @@ -96,18 +82,14 @@ public class PoseImpl extends EObjectImpl implements Pose { /** * * - * * @generated */ public NotificationChain basicSetPosition(Point newPosition, NotificationChain msgs) { Point oldPosition = position; position = newPosition; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE__POSITION, oldPosition, newPosition); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -115,27 +97,25 @@ public class PoseImpl extends EObjectImpl implements Pose { /** * * - * * @generated */ public void setPosition(Point newPosition) { - if(newPosition != position) { + if (newPosition != position) { NotificationChain msgs = null; - if(position != null) + if (position != null) msgs = ((InternalEObject)position).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE__POSITION, null, msgs); - if(newPosition != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE__POSITION, newPosition, newPosition)); } /** * * - * * @generated */ public Quaternion getOrientation() { @@ -145,18 +125,14 @@ public class PoseImpl extends EObjectImpl implements Pose { /** * * - * * @generated */ public NotificationChain basicSetOrientation(Quaternion newOrientation, NotificationChain msgs) { Quaternion oldOrientation = orientation; orientation = newOrientation; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE__ORIENTATION, oldOrientation, newOrientation); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -164,36 +140,34 @@ public class PoseImpl extends EObjectImpl implements Pose { /** * * - * * @generated */ public void setOrientation(Quaternion newOrientation) { - if(newOrientation != orientation) { + if (newOrientation != orientation) { NotificationChain msgs = null; - if(orientation != null) + if (orientation != null) msgs = ((InternalEObject)orientation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE__ORIENTATION, null, msgs); - if(newOrientation != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE__ORIENTATION, newOrientation, newOrientation)); } /** * * - * * @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); + 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); } @@ -201,16 +175,15 @@ public class PoseImpl extends EObjectImpl implements Pose { /** * * - * * @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(); + switch (featureID) { + case Geometry_datatypesPackage.POSE__POSITION: + return getPosition(); + case Geometry_datatypesPackage.POSE__ORIENTATION: + return getOrientation(); } return super.eGet(featureID, resolve, coreType); } @@ -218,18 +191,17 @@ public class PoseImpl extends EObjectImpl implements Pose { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.POSE__POSITION: + setPosition((Point)newValue); + return; + case Geometry_datatypesPackage.POSE__ORIENTATION: + setOrientation((Quaternion)newValue); + return; } super.eSet(featureID, newValue); } @@ -237,18 +209,17 @@ public class PoseImpl extends EObjectImpl implements Pose { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.POSE__POSITION: + setPosition((Point)null); + return; + case Geometry_datatypesPackage.POSE__ORIENTATION: + setOrientation((Quaternion)null); + return; } super.eUnset(featureID); } @@ -256,16 +227,15 @@ public class PoseImpl extends EObjectImpl implements Pose { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.POSE__POSITION: + return position != null; + case Geometry_datatypesPackage.POSE__ORIENTATION: + return orientation != null; } return super.eIsSet(featureID); } 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 index c2f82eabb85..9d43f9cd44f 100644 --- 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 @@ -1,25 +1,20 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -29,22 +24,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseStampedImpl#getHeader Header - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseStampedImpl#getPose Pose - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseStampedImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseStampedImpl#getPose Pose}
  • *
*

- * + * * @generated */ -public class PoseStampedImpl extends EObjectImpl implements PoseStamped { - +public class PoseStampedImpl extends MinimalEObjectImpl.Container implements PoseStamped { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -55,7 +46,6 @@ public class PoseStampedImpl extends EObjectImpl implements PoseStamped { * The cached value of the '{@link #getPose() Pose}' containment reference. * * - * * @see #getPose() * @generated * @ordered @@ -65,7 +55,6 @@ public class PoseStampedImpl extends EObjectImpl implements PoseStamped { /** * * - * * @generated */ protected PoseStampedImpl() { @@ -75,7 +64,6 @@ public class PoseStampedImpl extends EObjectImpl implements PoseStamped { /** * * - * * @generated */ @Override @@ -86,7 +74,6 @@ public class PoseStampedImpl extends EObjectImpl implements PoseStamped { /** * * - * * @generated */ public Header getHeader() { @@ -96,18 +83,14 @@ public class PoseStampedImpl extends EObjectImpl implements PoseStamped { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -115,27 +98,25 @@ public class PoseStampedImpl extends EObjectImpl implements PoseStamped { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE_STAMPED__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE_STAMPED__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public Pose getPose() { @@ -145,18 +126,14 @@ public class PoseStampedImpl extends EObjectImpl implements PoseStamped { /** * * - * * @generated */ public NotificationChain basicSetPose(Pose newPose, NotificationChain msgs) { Pose oldPose = pose; pose = newPose; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -164,36 +141,34 @@ public class PoseStampedImpl extends EObjectImpl implements PoseStamped { /** * * - * * @generated */ public void setPose(Pose newPose) { - if(newPose != pose) { + if (newPose != pose) { NotificationChain msgs = null; - if(pose != null) + if (pose != null) msgs = ((InternalEObject)pose).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE_STAMPED__POSE, null, msgs); - if(newPose != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE_STAMPED__POSE, newPose, newPose)); } /** * * - * * @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); + 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); } @@ -201,16 +176,15 @@ public class PoseStampedImpl extends EObjectImpl implements PoseStamped { /** * * - * * @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(); + switch (featureID) { + case Geometry_datatypesPackage.POSE_STAMPED__HEADER: + return getHeader(); + case Geometry_datatypesPackage.POSE_STAMPED__POSE: + return getPose(); } return super.eGet(featureID, resolve, coreType); } @@ -218,18 +192,17 @@ public class PoseStampedImpl extends EObjectImpl implements PoseStamped { /** * * - * * @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; + 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); } @@ -237,18 +210,17 @@ public class PoseStampedImpl extends EObjectImpl implements PoseStamped { /** * * - * * @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; + 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); } @@ -256,16 +228,15 @@ public class PoseStampedImpl extends EObjectImpl implements PoseStamped { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.POSE_STAMPED__HEADER: + return header != null; + case Geometry_datatypesPackage.POSE_STAMPED__POSE: + return pose != null; } return super.eIsSet(featureID); } 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 index a2cd4ee9990..09eaed00222 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -32,23 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceImpl#getPose - * Pose}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceImpl#getCovariance - * Covariance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceImpl#getPose Pose}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.PoseWithCovarianceImpl#getCovariance Covariance}
  • *
*

- * + * * @generated */ -public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovariance { - +public class PoseWithCovarianceImpl extends MinimalEObjectImpl.Container implements PoseWithCovariance { /** * The cached value of the '{@link #getPose() Pose}' containment reference. * * - * * @see #getPose() * @generated * @ordered @@ -59,7 +50,6 @@ public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovar * The cached value of the '{@link #getCovariance() Covariance}' attribute list. * * - * * @see #getCovariance() * @generated * @ordered @@ -69,7 +59,6 @@ public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovar /** * * - * * @generated */ protected PoseWithCovarianceImpl() { @@ -79,7 +68,6 @@ public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovar /** * * - * * @generated */ @Override @@ -90,7 +78,6 @@ public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovar /** * * - * * @generated */ public Pose getPose() { @@ -100,18 +87,14 @@ public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovar /** * * - * * @generated */ public NotificationChain basicSetPose(Pose newPose, NotificationChain msgs) { Pose oldPose = pose; pose = newPose; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -119,31 +102,29 @@ public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovar /** * * - * * @generated */ public void setPose(Pose newPose) { - if(newPose != pose) { + if (newPose != pose) { NotificationChain msgs = null; - if(pose != null) + if (pose != null) msgs = ((InternalEObject)pose).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.POSE_WITH_COVARIANCE__POSE, null, msgs); - if(newPose != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.POSE_WITH_COVARIANCE__POSE, newPose, newPose)); } /** * * - * * @generated */ public EList getCovariance() { - if(covariance == null) { + if (covariance == null) { covariance = new EDataTypeUniqueEList(Double.class, this, Geometry_datatypesPackage.POSE_WITH_COVARIANCE__COVARIANCE); } return covariance; @@ -152,14 +133,13 @@ public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovar /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Geometry_datatypesPackage.POSE_WITH_COVARIANCE__POSE: - return basicSetPose(null, msgs); + switch (featureID) { + case Geometry_datatypesPackage.POSE_WITH_COVARIANCE__POSE: + return basicSetPose(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -167,16 +147,15 @@ public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovar /** * * - * * @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(); + 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); } @@ -184,20 +163,19 @@ public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovar /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -205,18 +183,17 @@ public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovar /** * * - * * @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; + 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); } @@ -224,16 +201,15 @@ public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovar /** * * - * * @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(); + 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); } @@ -241,13 +217,11 @@ public class PoseWithCovarianceImpl extends EObjectImpl implements PoseWithCovar /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (covariance: "); 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 index bfc74e01380..ecb9e4c8052 100644 --- 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 @@ -1,18 +1,11 @@ -/***************************************************************************** - * 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.geometry_datatypes.impl; import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.EObjectImpl; + +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; @@ -22,15 +15,13 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp * *

*

- * + * * @generated */ -public class PoseWithCovarianceStampedImpl extends EObjectImpl implements PoseWithCovarianceStamped { - +public class PoseWithCovarianceStampedImpl extends MinimalEObjectImpl.Container implements PoseWithCovarianceStamped { /** * * - * * @generated */ protected PoseWithCovarianceStampedImpl() { @@ -40,7 +31,6 @@ public class PoseWithCovarianceStampedImpl extends EObjectImpl implements PoseWi /** * * - * * @generated */ @Override 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 index c5350839c70..8e440ae1676 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,22 +19,20 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl#getX X}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl#getY Y}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl#getZ Z}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl#getW W}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl#getX X}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl#getY Y}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl#getZ Z}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionImpl#getW W}
  • *
*

- * + * * @generated */ -public class QuaternionImpl extends EObjectImpl implements Quaternion { - +public class QuaternionImpl extends MinimalEObjectImpl.Container implements Quaternion { /** * The default value of the '{@link #getX() X}' attribute. * * - * * @see #getX() * @generated * @ordered @@ -51,7 +43,6 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { * The cached value of the '{@link #getX() X}' attribute. * * - * * @see #getX() * @generated * @ordered @@ -62,7 +53,6 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { * The default value of the '{@link #getY() Y}' attribute. * * - * * @see #getY() * @generated * @ordered @@ -73,7 +63,6 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { * The cached value of the '{@link #getY() Y}' attribute. * * - * * @see #getY() * @generated * @ordered @@ -84,7 +73,6 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { * The default value of the '{@link #getZ() Z}' attribute. * * - * * @see #getZ() * @generated * @ordered @@ -95,7 +83,6 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { * The cached value of the '{@link #getZ() Z}' attribute. * * - * * @see #getZ() * @generated * @ordered @@ -106,7 +93,6 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { * The default value of the '{@link #getW() W}' attribute. * * - * * @see #getW() * @generated * @ordered @@ -117,7 +103,6 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { * The cached value of the '{@link #getW() W}' attribute. * * - * * @see #getW() * @generated * @ordered @@ -127,7 +112,6 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { /** * * - * * @generated */ protected QuaternionImpl() { @@ -137,7 +121,6 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { /** * * - * * @generated */ @Override @@ -148,7 +131,6 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { /** * * - * * @generated */ public double getX() { @@ -158,20 +140,18 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { /** * * - * * @generated */ public void setX(double newX) { double oldX = x; x = newX; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION__X, oldX, x)); } /** * * - * * @generated */ public double getY() { @@ -181,20 +161,18 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { /** * * - * * @generated */ public void setY(double newY) { double oldY = y; y = newY; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION__Y, oldY, y)); } /** * * - * * @generated */ public double getZ() { @@ -204,20 +182,18 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { /** * * - * * @generated */ public void setZ(double newZ) { double oldZ = z; z = newZ; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION__Z, oldZ, z)); } /** * * - * * @generated */ public double getW() { @@ -227,33 +203,31 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { /** * * - * * @generated */ public void setW(double newW) { double oldW = w; w = newW; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION__W, oldW, w)); } /** * * - * * @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(); + 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); } @@ -261,24 +235,23 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Geometry_datatypesPackage.QUATERNION__X: - setX((Double)newValue); - return; - case Geometry_datatypesPackage.QUATERNION__Y: - setY((Double)newValue); - return; - case Geometry_datatypesPackage.QUATERNION__Z: - setZ((Double)newValue); - return; - case Geometry_datatypesPackage.QUATERNION__W: - setW((Double)newValue); - return; + switch (featureID) { + case Geometry_datatypesPackage.QUATERNION__X: + setX((Double)newValue); + return; + case Geometry_datatypesPackage.QUATERNION__Y: + setY((Double)newValue); + return; + case Geometry_datatypesPackage.QUATERNION__Z: + setZ((Double)newValue); + return; + case Geometry_datatypesPackage.QUATERNION__W: + setW((Double)newValue); + return; } super.eSet(featureID, newValue); } @@ -286,24 +259,23 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { /** * * - * * @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; + 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); } @@ -311,20 +283,19 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Geometry_datatypesPackage.QUATERNION__X: - return x != X_EDEFAULT; - case Geometry_datatypesPackage.QUATERNION__Y: - return y != Y_EDEFAULT; - case Geometry_datatypesPackage.QUATERNION__Z: - return z != Z_EDEFAULT; - case Geometry_datatypesPackage.QUATERNION__W: - return w != W_EDEFAULT; + switch (featureID) { + case Geometry_datatypesPackage.QUATERNION__X: + return x != X_EDEFAULT; + case Geometry_datatypesPackage.QUATERNION__Y: + return y != Y_EDEFAULT; + case Geometry_datatypesPackage.QUATERNION__Z: + return z != Z_EDEFAULT; + case Geometry_datatypesPackage.QUATERNION__W: + return w != W_EDEFAULT; } return super.eIsSet(featureID); } @@ -332,13 +303,11 @@ public class QuaternionImpl extends EObjectImpl implements Quaternion { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (x: "); 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 index 9ce0bb4c397..8e69db47dae 100644 --- 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 @@ -1,25 +1,20 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -29,22 +24,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionStampedImpl#getHeader - * Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionStampedImpl#getQuaternion - * Quaternion}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionStampedImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.QuaternionStampedImpl#getQuaternion Quaternion}
  • *
*

- * + * * @generated */ -public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStamped { - +public class QuaternionStampedImpl extends MinimalEObjectImpl.Container implements QuaternionStamped { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -55,7 +46,6 @@ public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStam * The cached value of the '{@link #getQuaternion() Quaternion}' containment reference. * * - * * @see #getQuaternion() * @generated * @ordered @@ -65,7 +55,6 @@ public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStam /** * * - * * @generated */ protected QuaternionStampedImpl() { @@ -75,7 +64,6 @@ public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStam /** * * - * * @generated */ @Override @@ -86,7 +74,6 @@ public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStam /** * * - * * @generated */ public Header getHeader() { @@ -96,18 +83,14 @@ public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStam /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -115,27 +98,25 @@ public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStam /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.QUATERNION_STAMPED__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION_STAMPED__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public Quaternion getQuaternion() { @@ -145,18 +126,14 @@ public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStam /** * * - * * @generated */ public NotificationChain basicSetQuaternion(Quaternion newQuaternion, NotificationChain msgs) { Quaternion oldQuaternion = quaternion; quaternion = newQuaternion; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -164,36 +141,34 @@ public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStam /** * * - * * @generated */ public void setQuaternion(Quaternion newQuaternion) { - if(newQuaternion != quaternion) { + if (newQuaternion != quaternion) { NotificationChain msgs = null; - if(quaternion != null) + if (quaternion != null) msgs = ((InternalEObject)quaternion).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION, null, msgs); - if(newQuaternion != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION, newQuaternion, newQuaternion)); } /** * * - * * @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); + 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); } @@ -201,16 +176,15 @@ public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStam /** * * - * * @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(); + switch (featureID) { + case Geometry_datatypesPackage.QUATERNION_STAMPED__HEADER: + return getHeader(); + case Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION: + return getQuaternion(); } return super.eGet(featureID, resolve, coreType); } @@ -218,18 +192,17 @@ public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStam /** * * - * * @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; + 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); } @@ -237,18 +210,17 @@ public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStam /** * * - * * @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; + 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); } @@ -256,16 +228,15 @@ public class QuaternionStampedImpl extends EObjectImpl implements QuaternionStam /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.QUATERNION_STAMPED__HEADER: + return header != null; + case Geometry_datatypesPackage.QUATERNION_STAMPED__QUATERNION: + return quaternion != null; } return super.eIsSet(featureID); } 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 index af762e624bc..79604a0df67 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -29,22 +23,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TransformImpl#getTranslation - * Translation}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TransformImpl#getRotation - * Rotation}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TransformImpl#getTranslation Translation}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TransformImpl#getRotation Rotation}
  • *
*

- * + * * @generated */ -public class TransformImpl extends EObjectImpl implements Transform { - +public class TransformImpl extends MinimalEObjectImpl.Container implements Transform { /** * The cached value of the '{@link #getTranslation() Translation}' containment reference. * * - * * @see #getTranslation() * @generated * @ordered @@ -55,7 +45,6 @@ public class TransformImpl extends EObjectImpl implements Transform { * The cached value of the '{@link #getRotation() Rotation}' containment reference. * * - * * @see #getRotation() * @generated * @ordered @@ -65,7 +54,6 @@ public class TransformImpl extends EObjectImpl implements Transform { /** * * - * * @generated */ protected TransformImpl() { @@ -75,7 +63,6 @@ public class TransformImpl extends EObjectImpl implements Transform { /** * * - * * @generated */ @Override @@ -86,7 +73,6 @@ public class TransformImpl extends EObjectImpl implements Transform { /** * * - * * @generated */ public Vector3 getTranslation() { @@ -96,18 +82,14 @@ public class TransformImpl extends EObjectImpl implements Transform { /** * * - * * @generated */ public NotificationChain basicSetTranslation(Vector3 newTranslation, NotificationChain msgs) { Vector3 oldTranslation = translation; translation = newTranslation; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TRANSFORM__TRANSLATION, oldTranslation, newTranslation); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -115,27 +97,25 @@ public class TransformImpl extends EObjectImpl implements Transform { /** * * - * * @generated */ public void setTranslation(Vector3 newTranslation) { - if(newTranslation != translation) { + if (newTranslation != translation) { NotificationChain msgs = null; - if(translation != null) + if (translation != null) msgs = ((InternalEObject)translation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TRANSFORM__TRANSLATION, null, msgs); - if(newTranslation != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TRANSFORM__TRANSLATION, newTranslation, newTranslation)); } /** * * - * * @generated */ public Quaternion getRotation() { @@ -145,18 +125,14 @@ public class TransformImpl extends EObjectImpl implements Transform { /** * * - * * @generated */ public NotificationChain basicSetRotation(Quaternion newRotation, NotificationChain msgs) { Quaternion oldRotation = rotation; rotation = newRotation; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TRANSFORM__ROTATION, oldRotation, newRotation); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -164,36 +140,34 @@ public class TransformImpl extends EObjectImpl implements Transform { /** * * - * * @generated */ public void setRotation(Quaternion newRotation) { - if(newRotation != rotation) { + if (newRotation != rotation) { NotificationChain msgs = null; - if(rotation != null) + if (rotation != null) msgs = ((InternalEObject)rotation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TRANSFORM__ROTATION, null, msgs); - if(newRotation != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TRANSFORM__ROTATION, newRotation, newRotation)); } /** * * - * * @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); + 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); } @@ -201,16 +175,15 @@ public class TransformImpl extends EObjectImpl implements Transform { /** * * - * * @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(); + switch (featureID) { + case Geometry_datatypesPackage.TRANSFORM__TRANSLATION: + return getTranslation(); + case Geometry_datatypesPackage.TRANSFORM__ROTATION: + return getRotation(); } return super.eGet(featureID, resolve, coreType); } @@ -218,18 +191,17 @@ public class TransformImpl extends EObjectImpl implements Transform { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.TRANSFORM__TRANSLATION: + setTranslation((Vector3)newValue); + return; + case Geometry_datatypesPackage.TRANSFORM__ROTATION: + setRotation((Quaternion)newValue); + return; } super.eSet(featureID, newValue); } @@ -237,18 +209,17 @@ public class TransformImpl extends EObjectImpl implements Transform { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.TRANSFORM__TRANSLATION: + setTranslation((Vector3)null); + return; + case Geometry_datatypesPackage.TRANSFORM__ROTATION: + setRotation((Quaternion)null); + return; } super.eUnset(featureID); } @@ -256,16 +227,15 @@ public class TransformImpl extends EObjectImpl implements Transform { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.TRANSFORM__TRANSLATION: + return translation != null; + case Geometry_datatypesPackage.TRANSFORM__ROTATION: + return rotation != null; } return super.eIsSet(featureID); } 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 index 45a56e6e520..641a13056bf 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -28,22 +22,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistImpl#getLinear Linear} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistImpl#getAngular Angular - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistImpl#getLinear Linear}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistImpl#getAngular Angular}
  • *
*

- * + * * @generated */ -public class TwistImpl extends EObjectImpl implements Twist { - +public class TwistImpl extends MinimalEObjectImpl.Container implements Twist { /** * The cached value of the '{@link #getLinear() Linear}' containment reference. * * - * * @see #getLinear() * @generated * @ordered @@ -54,7 +44,6 @@ public class TwistImpl extends EObjectImpl implements Twist { * The cached value of the '{@link #getAngular() Angular}' containment reference. * * - * * @see #getAngular() * @generated * @ordered @@ -64,7 +53,6 @@ public class TwistImpl extends EObjectImpl implements Twist { /** * * - * * @generated */ protected TwistImpl() { @@ -74,7 +62,6 @@ public class TwistImpl extends EObjectImpl implements Twist { /** * * - * * @generated */ @Override @@ -85,7 +72,6 @@ public class TwistImpl extends EObjectImpl implements Twist { /** * * - * * @generated */ public Vector3 getLinear() { @@ -95,18 +81,14 @@ public class TwistImpl extends EObjectImpl implements Twist { /** * * - * * @generated */ public NotificationChain basicSetLinear(Vector3 newLinear, NotificationChain msgs) { Vector3 oldLinear = linear; linear = newLinear; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST__LINEAR, oldLinear, newLinear); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -114,27 +96,25 @@ public class TwistImpl extends EObjectImpl implements Twist { /** * * - * * @generated */ public void setLinear(Vector3 newLinear) { - if(newLinear != linear) { + if (newLinear != linear) { NotificationChain msgs = null; - if(linear != null) + if (linear != null) msgs = ((InternalEObject)linear).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST__LINEAR, null, msgs); - if(newLinear != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST__LINEAR, newLinear, newLinear)); } /** * * - * * @generated */ public Vector3 getAngular() { @@ -144,18 +124,14 @@ public class TwistImpl extends EObjectImpl implements Twist { /** * * - * * @generated */ public NotificationChain basicSetAngular(Vector3 newAngular, NotificationChain msgs) { Vector3 oldAngular = angular; angular = newAngular; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST__ANGULAR, oldAngular, newAngular); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -163,36 +139,34 @@ public class TwistImpl extends EObjectImpl implements Twist { /** * * - * * @generated */ public void setAngular(Vector3 newAngular) { - if(newAngular != angular) { + if (newAngular != angular) { NotificationChain msgs = null; - if(angular != null) + if (angular != null) msgs = ((InternalEObject)angular).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST__ANGULAR, null, msgs); - if(newAngular != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST__ANGULAR, newAngular, newAngular)); } /** * * - * * @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); + 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); } @@ -200,16 +174,15 @@ public class TwistImpl extends EObjectImpl implements Twist { /** * * - * * @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(); + switch (featureID) { + case Geometry_datatypesPackage.TWIST__LINEAR: + return getLinear(); + case Geometry_datatypesPackage.TWIST__ANGULAR: + return getAngular(); } return super.eGet(featureID, resolve, coreType); } @@ -217,18 +190,17 @@ public class TwistImpl extends EObjectImpl implements Twist { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.TWIST__LINEAR: + setLinear((Vector3)newValue); + return; + case Geometry_datatypesPackage.TWIST__ANGULAR: + setAngular((Vector3)newValue); + return; } super.eSet(featureID, newValue); } @@ -236,18 +208,17 @@ public class TwistImpl extends EObjectImpl implements Twist { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.TWIST__LINEAR: + setLinear((Vector3)null); + return; + case Geometry_datatypesPackage.TWIST__ANGULAR: + setAngular((Vector3)null); + return; } super.eUnset(featureID); } @@ -255,16 +226,15 @@ public class TwistImpl extends EObjectImpl implements Twist { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.TWIST__LINEAR: + return linear != null; + case Geometry_datatypesPackage.TWIST__ANGULAR: + return angular != null; } return super.eIsSet(featureID); } 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 index 17a200a365f..e90d96a3899 100644 --- 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 @@ -1,25 +1,20 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -29,22 +24,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistStampedImpl#getHeader - * Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistStampedImpl#getTwist Twist - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistStampedImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistStampedImpl#getTwist Twist}
  • *
*

- * + * * @generated */ -public class TwistStampedImpl extends EObjectImpl implements TwistStamped { - +public class TwistStampedImpl extends MinimalEObjectImpl.Container implements TwistStamped { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -55,7 +46,6 @@ public class TwistStampedImpl extends EObjectImpl implements TwistStamped { * The cached value of the '{@link #getTwist() Twist}' containment reference. * * - * * @see #getTwist() * @generated * @ordered @@ -65,7 +55,6 @@ public class TwistStampedImpl extends EObjectImpl implements TwistStamped { /** * * - * * @generated */ protected TwistStampedImpl() { @@ -75,7 +64,6 @@ public class TwistStampedImpl extends EObjectImpl implements TwistStamped { /** * * - * * @generated */ @Override @@ -86,7 +74,6 @@ public class TwistStampedImpl extends EObjectImpl implements TwistStamped { /** * * - * * @generated */ public Header getHeader() { @@ -96,18 +83,14 @@ public class TwistStampedImpl extends EObjectImpl implements TwistStamped { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -115,27 +98,25 @@ public class TwistStampedImpl extends EObjectImpl implements TwistStamped { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST_STAMPED__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST_STAMPED__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public Twist getTwist() { @@ -145,18 +126,14 @@ public class TwistStampedImpl extends EObjectImpl implements TwistStamped { /** * * - * * @generated */ public NotificationChain basicSetTwist(Twist newTwist, NotificationChain msgs) { Twist oldTwist = twist; twist = newTwist; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -164,36 +141,34 @@ public class TwistStampedImpl extends EObjectImpl implements TwistStamped { /** * * - * * @generated */ public void setTwist(Twist newTwist) { - if(newTwist != twist) { + if (newTwist != twist) { NotificationChain msgs = null; - if(twist != null) + if (twist != null) msgs = ((InternalEObject)twist).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST_STAMPED__TWIST, null, msgs); - if(newTwist != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST_STAMPED__TWIST, newTwist, newTwist)); } /** * * - * * @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); + 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); } @@ -201,16 +176,15 @@ public class TwistStampedImpl extends EObjectImpl implements TwistStamped { /** * * - * * @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(); + switch (featureID) { + case Geometry_datatypesPackage.TWIST_STAMPED__HEADER: + return getHeader(); + case Geometry_datatypesPackage.TWIST_STAMPED__TWIST: + return getTwist(); } return super.eGet(featureID, resolve, coreType); } @@ -218,18 +192,17 @@ public class TwistStampedImpl extends EObjectImpl implements TwistStamped { /** * * - * * @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; + 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); } @@ -237,18 +210,17 @@ public class TwistStampedImpl extends EObjectImpl implements TwistStamped { /** * * - * * @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; + 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); } @@ -256,16 +228,15 @@ public class TwistStampedImpl extends EObjectImpl implements TwistStamped { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.TWIST_STAMPED__HEADER: + return header != null; + case Geometry_datatypesPackage.TWIST_STAMPED__TWIST: + return twist != null; } return super.eIsSet(featureID); } 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 index 54ad64f5be1..feaf03815b4 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -32,23 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistWithCovarianceImpl#getTwist - * Twist}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistWithCovarianceImpl#getCovariance - * Covariance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistWithCovarianceImpl#getTwist Twist}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.TwistWithCovarianceImpl#getCovariance Covariance}
  • *
*

- * + * * @generated */ -public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCovariance { - +public class TwistWithCovarianceImpl extends MinimalEObjectImpl.Container implements TwistWithCovariance { /** * The cached value of the '{@link #getTwist() Twist}' containment reference. * * - * * @see #getTwist() * @generated * @ordered @@ -59,7 +50,6 @@ public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCov * The cached value of the '{@link #getCovariance() Covariance}' attribute list. * * - * * @see #getCovariance() * @generated * @ordered @@ -69,7 +59,6 @@ public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCov /** * * - * * @generated */ protected TwistWithCovarianceImpl() { @@ -79,7 +68,6 @@ public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCov /** * * - * * @generated */ @Override @@ -90,7 +78,6 @@ public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCov /** * * - * * @generated */ public Twist getTwist() { @@ -100,18 +87,14 @@ public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCov /** * * - * * @generated */ public NotificationChain basicSetTwist(Twist newTwist, NotificationChain msgs) { Twist oldTwist = twist; twist = newTwist; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -119,31 +102,29 @@ public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCov /** * * - * * @generated */ public void setTwist(Twist newTwist) { - if(newTwist != twist) { + if (newTwist != twist) { NotificationChain msgs = null; - if(twist != null) + if (twist != null) msgs = ((InternalEObject)twist).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__TWIST, null, msgs); - if(newTwist != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__TWIST, newTwist, newTwist)); } /** * * - * * @generated */ public EList getCovariance() { - if(covariance == null) { + if (covariance == null) { covariance = new EDataTypeUniqueEList(Double.class, this, Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__COVARIANCE); } return covariance; @@ -152,14 +133,13 @@ public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCov /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__TWIST: - return basicSetTwist(null, msgs); + switch (featureID) { + case Geometry_datatypesPackage.TWIST_WITH_COVARIANCE__TWIST: + return basicSetTwist(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -167,16 +147,15 @@ public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCov /** * * - * * @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(); + 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); } @@ -184,20 +163,19 @@ public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCov /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -205,18 +183,17 @@ public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCov /** * * - * * @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; + 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); } @@ -224,16 +201,15 @@ public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCov /** * * - * * @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(); + 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); } @@ -241,13 +217,11 @@ public class TwistWithCovarianceImpl extends EObjectImpl implements TwistWithCov /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (covariance: "); 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 index 89c526398c2..a226bdd552b 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,21 +19,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl#getX X}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl#getY Y}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl#getZ Z}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl#getX X}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl#getY Y}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3Impl#getZ Z}
  • *
*

- * + * * @generated */ -public class Vector3Impl extends EObjectImpl implements Vector3 { - +public class Vector3Impl extends MinimalEObjectImpl.Container implements Vector3 { /** * The default value of the '{@link #getX() X}' attribute. * * - * * @see #getX() * @generated * @ordered @@ -50,7 +42,6 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { * The cached value of the '{@link #getX() X}' attribute. * * - * * @see #getX() * @generated * @ordered @@ -61,7 +52,6 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { * The default value of the '{@link #getY() Y}' attribute. * * - * * @see #getY() * @generated * @ordered @@ -72,7 +62,6 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { * The cached value of the '{@link #getY() Y}' attribute. * * - * * @see #getY() * @generated * @ordered @@ -83,7 +72,6 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { * The default value of the '{@link #getZ() Z}' attribute. * * - * * @see #getZ() * @generated * @ordered @@ -94,7 +82,6 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { * The cached value of the '{@link #getZ() Z}' attribute. * * - * * @see #getZ() * @generated * @ordered @@ -104,7 +91,6 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { /** * * - * * @generated */ protected Vector3Impl() { @@ -114,7 +100,6 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { /** * * - * * @generated */ @Override @@ -125,7 +110,6 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { /** * * - * * @generated */ public double getX() { @@ -135,20 +119,18 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { /** * * - * * @generated */ public void setX(double newX) { double oldX = x; x = newX; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.VECTOR3__X, oldX, x)); } /** * * - * * @generated */ public double getY() { @@ -158,20 +140,18 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { /** * * - * * @generated */ public void setY(double newY) { double oldY = y; y = newY; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.VECTOR3__Y, oldY, y)); } /** * * - * * @generated */ public double getZ() { @@ -181,31 +161,29 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { /** * * - * * @generated */ public void setZ(double newZ) { double oldZ = z; z = newZ; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.VECTOR3__Z, oldZ, z)); } /** * * - * * @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(); + 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); } @@ -213,21 +191,20 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Geometry_datatypesPackage.VECTOR3__X: - setX((Double)newValue); - return; - case Geometry_datatypesPackage.VECTOR3__Y: - setY((Double)newValue); - return; - case Geometry_datatypesPackage.VECTOR3__Z: - setZ((Double)newValue); - return; + switch (featureID) { + case Geometry_datatypesPackage.VECTOR3__X: + setX((Double)newValue); + return; + case Geometry_datatypesPackage.VECTOR3__Y: + setY((Double)newValue); + return; + case Geometry_datatypesPackage.VECTOR3__Z: + setZ((Double)newValue); + return; } super.eSet(featureID, newValue); } @@ -235,21 +212,20 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { /** * * - * * @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; + 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); } @@ -257,18 +233,17 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Geometry_datatypesPackage.VECTOR3__X: - return x != X_EDEFAULT; - case Geometry_datatypesPackage.VECTOR3__Y: - return y != Y_EDEFAULT; - case Geometry_datatypesPackage.VECTOR3__Z: - return z != Z_EDEFAULT; + switch (featureID) { + case Geometry_datatypesPackage.VECTOR3__X: + return x != X_EDEFAULT; + case Geometry_datatypesPackage.VECTOR3__Y: + return y != Y_EDEFAULT; + case Geometry_datatypesPackage.VECTOR3__Z: + return z != Z_EDEFAULT; } return super.eIsSet(featureID); } @@ -276,13 +251,11 @@ public class Vector3Impl extends EObjectImpl implements Vector3 { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (x: "); 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 index 214af2ae8ce..e3ad0353262 100644 --- 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 @@ -1,25 +1,20 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -29,22 +24,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3StampedImpl#getHeader - * Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3StampedImpl#getVector - * Vector}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3StampedImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.Vector3StampedImpl#getVector Vector}
  • *
*

- * + * * @generated */ -public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { - +public class Vector3StampedImpl extends MinimalEObjectImpl.Container implements Vector3Stamped { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -55,7 +46,6 @@ public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { * The cached value of the '{@link #getVector() Vector}' containment reference. * * - * * @see #getVector() * @generated * @ordered @@ -65,7 +55,6 @@ public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { /** * * - * * @generated */ protected Vector3StampedImpl() { @@ -75,7 +64,6 @@ public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { /** * * - * * @generated */ @Override @@ -86,7 +74,6 @@ public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { /** * * - * * @generated */ public Header getHeader() { @@ -96,18 +83,14 @@ public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -115,27 +98,25 @@ public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.VECTOR3_STAMPED__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.VECTOR3_STAMPED__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public Vector3 getVector() { @@ -145,18 +126,14 @@ public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { /** * * - * * @generated */ public NotificationChain basicSetVector(Vector3 newVector, NotificationChain msgs) { Vector3 oldVector = vector; vector = newVector; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -164,36 +141,34 @@ public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { /** * * - * * @generated */ public void setVector(Vector3 newVector) { - if(newVector != vector) { + if (newVector != vector) { NotificationChain msgs = null; - if(vector != null) + if (vector != null) msgs = ((InternalEObject)vector).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR, null, msgs); - if(newVector != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR, newVector, newVector)); } /** * * - * * @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); + 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); } @@ -201,16 +176,15 @@ public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { /** * * - * * @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(); + switch (featureID) { + case Geometry_datatypesPackage.VECTOR3_STAMPED__HEADER: + return getHeader(); + case Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR: + return getVector(); } return super.eGet(featureID, resolve, coreType); } @@ -218,18 +192,17 @@ public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { /** * * - * * @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; + 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); } @@ -237,18 +210,17 @@ public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { /** * * - * * @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; + 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); } @@ -256,16 +228,15 @@ public class Vector3StampedImpl extends EObjectImpl implements Vector3Stamped { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.VECTOR3_STAMPED__HEADER: + return header != null; + case Geometry_datatypesPackage.VECTOR3_STAMPED__VECTOR: + return vector != null; } return super.eIsSet(featureID); } 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 index dbfdb72135f..c1463a29203 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -28,21 +22,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchImpl#getForce Force}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchImpl#getTorque Torque - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchImpl#getForce Force}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchImpl#getTorque Torque}
  • *
*

- * + * * @generated */ -public class WrenchImpl extends EObjectImpl implements Wrench { - +public class WrenchImpl extends MinimalEObjectImpl.Container implements Wrench { /** * The cached value of the '{@link #getForce() Force}' containment reference. * * - * * @see #getForce() * @generated * @ordered @@ -53,7 +44,6 @@ public class WrenchImpl extends EObjectImpl implements Wrench { * The cached value of the '{@link #getTorque() Torque}' containment reference. * * - * * @see #getTorque() * @generated * @ordered @@ -63,7 +53,6 @@ public class WrenchImpl extends EObjectImpl implements Wrench { /** * * - * * @generated */ protected WrenchImpl() { @@ -73,7 +62,6 @@ public class WrenchImpl extends EObjectImpl implements Wrench { /** * * - * * @generated */ @Override @@ -84,7 +72,6 @@ public class WrenchImpl extends EObjectImpl implements Wrench { /** * * - * * @generated */ public Vector3 getForce() { @@ -94,18 +81,14 @@ public class WrenchImpl extends EObjectImpl implements Wrench { /** * * - * * @generated */ public NotificationChain basicSetForce(Vector3 newForce, NotificationChain msgs) { Vector3 oldForce = force; force = newForce; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH__FORCE, oldForce, newForce); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -113,27 +96,25 @@ public class WrenchImpl extends EObjectImpl implements Wrench { /** * * - * * @generated */ public void setForce(Vector3 newForce) { - if(newForce != force) { + if (newForce != force) { NotificationChain msgs = null; - if(force != null) + if (force != null) msgs = ((InternalEObject)force).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.WRENCH__FORCE, null, msgs); - if(newForce != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH__FORCE, newForce, newForce)); } /** * * - * * @generated */ public Vector3 getTorque() { @@ -143,18 +124,14 @@ public class WrenchImpl extends EObjectImpl implements Wrench { /** * * - * * @generated */ public NotificationChain basicSetTorque(Vector3 newTorque, NotificationChain msgs) { Vector3 oldTorque = torque; torque = newTorque; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH__TORQUE, oldTorque, newTorque); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -162,36 +139,34 @@ public class WrenchImpl extends EObjectImpl implements Wrench { /** * * - * * @generated */ public void setTorque(Vector3 newTorque) { - if(newTorque != torque) { + if (newTorque != torque) { NotificationChain msgs = null; - if(torque != null) + if (torque != null) msgs = ((InternalEObject)torque).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.WRENCH__TORQUE, null, msgs); - if(newTorque != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH__TORQUE, newTorque, newTorque)); } /** * * - * * @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); + 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); } @@ -199,16 +174,15 @@ public class WrenchImpl extends EObjectImpl implements Wrench { /** * * - * * @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(); + switch (featureID) { + case Geometry_datatypesPackage.WRENCH__FORCE: + return getForce(); + case Geometry_datatypesPackage.WRENCH__TORQUE: + return getTorque(); } return super.eGet(featureID, resolve, coreType); } @@ -216,18 +190,17 @@ public class WrenchImpl extends EObjectImpl implements Wrench { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.WRENCH__FORCE: + setForce((Vector3)newValue); + return; + case Geometry_datatypesPackage.WRENCH__TORQUE: + setTorque((Vector3)newValue); + return; } super.eSet(featureID, newValue); } @@ -235,18 +208,17 @@ public class WrenchImpl extends EObjectImpl implements Wrench { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.WRENCH__FORCE: + setForce((Vector3)null); + return; + case Geometry_datatypesPackage.WRENCH__TORQUE: + setTorque((Vector3)null); + return; } super.eUnset(featureID); } @@ -254,16 +226,15 @@ public class WrenchImpl extends EObjectImpl implements Wrench { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.WRENCH__FORCE: + return force != null; + case Geometry_datatypesPackage.WRENCH__TORQUE: + return torque != null; } return super.eIsSet(featureID); } 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 index 2e0a467d89c..9fab1683062 100644 --- 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 @@ -1,25 +1,20 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -29,22 +24,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchStampedImpl#getHeader - * Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchStampedImpl#getWrench - * Wrench}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchStampedImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.impl.WrenchStampedImpl#getWrench Wrench}
  • *
*

- * + * * @generated */ -public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { - +public class WrenchStampedImpl extends MinimalEObjectImpl.Container implements WrenchStamped { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -55,7 +46,6 @@ public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { * The cached value of the '{@link #getWrench() Wrench}' containment reference. * * - * * @see #getWrench() * @generated * @ordered @@ -65,7 +55,6 @@ public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { /** * * - * * @generated */ protected WrenchStampedImpl() { @@ -75,7 +64,6 @@ public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { /** * * - * * @generated */ @Override @@ -86,7 +74,6 @@ public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { /** * * - * * @generated */ public Header getHeader() { @@ -96,18 +83,14 @@ public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -115,27 +98,25 @@ public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.WRENCH_STAMPED__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH_STAMPED__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public Wrench getWrench() { @@ -145,18 +126,14 @@ public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { /** * * - * * @generated */ public NotificationChain basicSetWrench(Wrench newWrench, NotificationChain msgs) { Wrench oldWrench = wrench; wrench = newWrench; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -164,36 +141,34 @@ public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { /** * * - * * @generated */ public void setWrench(Wrench newWrench) { - if(newWrench != wrench) { + if (newWrench != wrench) { NotificationChain msgs = null; - if(wrench != null) + if (wrench != null) msgs = ((InternalEObject)wrench).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH, null, msgs); - if(newWrench != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH, newWrench, newWrench)); } /** * * - * * @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); + 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); } @@ -201,16 +176,15 @@ public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { /** * * - * * @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(); + switch (featureID) { + case Geometry_datatypesPackage.WRENCH_STAMPED__HEADER: + return getHeader(); + case Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH: + return getWrench(); } return super.eGet(featureID, resolve, coreType); } @@ -218,18 +192,17 @@ public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { /** * * - * * @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; + 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); } @@ -237,18 +210,17 @@ public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { /** * * - * * @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; + 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); } @@ -256,16 +228,15 @@ public class WrenchStampedImpl extends EObjectImpl implements WrenchStamped { /** * * - * * @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; + switch (featureID) { + case Geometry_datatypesPackage.WRENCH_STAMPED__HEADER: + return header != null; + case Geometry_datatypesPackage.WRENCH_STAMPED__WRENCH: + return wrench != null; } return super.eIsSet(featureID); } 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 index 6100164e426..d0ba0eee823 100644 --- 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 @@ -1,59 +1,29 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.*; /** * * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage * @generated */ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { - /** * The cached model package. * * - * * @generated */ protected static Geometry_datatypesPackage modelPackage; @@ -62,11 +32,10 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { * Creates an instance of the adapter factory. * * - * * @generated */ public Geometry_datatypesAdapterFactory() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Geometry_datatypesPackage.eINSTANCE; } } @@ -76,16 +45,15 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { * * This implementation returns true if the object is either the model's package or is an instance object of the model. * - * * @return whether this factory is applicable for the type of the object. * @generated */ @Override public boolean isFactoryForType(Object object) { - if(object == modelPackage) { + if (object == modelPackage) { return true; } - if(object instanceof EObject) { + if (object instanceof EObject) { return ((EObject)object).eClass().getEPackage() == modelPackage; } return false; @@ -95,129 +63,105 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { * The switch that delegates to the createXXX methods. * * - * * @generated */ - protected Geometry_datatypesSwitch modelSwitch = new Geometry_datatypesSwitch() { - - @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(); - } - }; + protected Geometry_datatypesSwitch modelSwitch = + new Geometry_datatypesSwitch() { + @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 target. * * - * - * @param target - * the object to adapt. + * @param target the object to adapt. * @return the adapter for the target. * @generated */ @@ -228,13 +172,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point Point}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point Point}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point * @generated @@ -244,13 +186,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32 Point32}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32 Point32}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32 * @generated @@ -260,13 +200,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped Point Stamped}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped Point Stamped}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PointStamped * @generated @@ -276,13 +214,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon Polygon}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon Polygon}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Polygon * @generated @@ -292,14 +228,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped Polygon Stamped} - * '. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped Polygon Stamped}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PolygonStamped * @generated @@ -309,13 +242,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3 Vector3}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3 Vector3}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3 * @generated @@ -325,14 +256,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped Vector3 Stamped} - * '. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped Vector3 Stamped}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Vector3Stamped * @generated @@ -342,13 +270,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion Quaternion}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion Quaternion}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Quaternion * @generated @@ -358,13 +284,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose Pose}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose Pose}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose * @generated @@ -374,13 +298,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped Pose Stamped}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped Pose Stamped}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped * @generated @@ -390,14 +312,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance - * Twist With Covariance}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance Twist With Covariance}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistWithCovariance * @generated @@ -407,13 +326,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist Twist}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist Twist}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Twist * @generated @@ -423,13 +340,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped Twist Stamped}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped Twist Stamped}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.TwistStamped * @generated @@ -439,14 +354,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance - * Pose With Covariance}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance Pose With Covariance}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovariance * @generated @@ -456,13 +368,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D Pose2 D}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D Pose2 D}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose2D * @generated @@ -472,14 +382,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped - * Pose With Covariance Stamped}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped Pose With Covariance Stamped}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseWithCovarianceStamped * @generated @@ -489,13 +396,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray Pose Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray Pose Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseArray * @generated @@ -505,14 +410,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped - * Quaternion Stamped}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped Quaternion Stamped}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.QuaternionStamped * @generated @@ -522,13 +424,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform Transform}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform Transform}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Transform * @generated @@ -538,13 +438,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped Wrench Stamped}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped Wrench Stamped}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.WrenchStamped * @generated @@ -554,13 +452,11 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench Wrench}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench Wrench}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Wrench * @generated @@ -574,7 +470,6 @@ public class Geometry_datatypesAdapterFactory extends AdapterFactoryImpl { * * This default implementation returns null. * - * * @return the new adapter. * @generated */ 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 index a7b81ab7870..574d292c649 100644 --- 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 @@ -1,62 +1,32 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.*; /** * * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for each class of the model, + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX 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. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Geometry_datatypesPackage * @generated */ public class Geometry_datatypesSwitch extends Switch { - /** * The cached model package * * - * * @generated */ protected static Geometry_datatypesPackage modelPackage; @@ -65,11 +35,10 @@ public class Geometry_datatypesSwitch extends Switch { * Creates an instance of the switch. * * - * * @generated */ public Geometry_datatypesSwitch() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Geometry_datatypesPackage.eINSTANCE; } } @@ -78,7 +47,6 @@ public class Geometry_datatypesSwitch extends Switch { * Checks whether this is a switch for the given package. * * - * * @parameter ePackage the package in question. * @return whether this is a switch for the given package. * @generated @@ -92,183 +60,139 @@ public class Geometry_datatypesSwitch extends Switch { * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. * * - * * @return the first non-null result returned by a caseXXX 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); + 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); } } @@ -278,9 +202,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Point'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -295,9 +217,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Point32'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -312,9 +232,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Point Stamped'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -329,9 +247,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Polygon'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -346,9 +262,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Polygon Stamped'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -363,9 +277,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Vector3'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -380,9 +292,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Vector3 Stamped'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -397,9 +307,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Quaternion'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -414,9 +322,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Pose'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -431,9 +337,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Pose Stamped'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -448,9 +352,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Twist With Covariance'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -465,9 +367,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Twist'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -482,9 +382,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Twist Stamped'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -499,9 +397,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Pose With Covariance'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -516,9 +412,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Pose2 D'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -533,9 +427,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Pose With Covariance Stamped'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -550,9 +442,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Pose Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -567,9 +457,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Quaternion Stamped'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -584,9 +472,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Transform'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -601,9 +487,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Wrench Stamped'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -618,9 +502,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Wrench'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -635,9 +517,7 @@ public class Geometry_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch, but this is the last case anyway. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated 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 index 2edf8dec177..2ccf86117de 100644 --- 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 @@ -1,51 +1,43 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Grid Cells'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_width Cell width}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_height Cell height} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCells Cells}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_width Cell width}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_height Cell height}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCells Cells}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getGridCells_Header() @@ -55,13 +47,10 @@ public interface GridCells extends EObject { Header getHeader(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -71,28 +60,23 @@ public interface GridCells extends EObject { * Returns the value of the 'Cell width' attribute. * *

- * If the meaning of the 'Cell width' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Cell width' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Cell width' attribute. * @see #setCell_width(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getCell_width(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_width Cell width}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_width Cell width}' attribute. * * - * - * @param value - * the new value of the 'Cell width' attribute. + * @param value the new value of the 'Cell width' attribute. * @see #getCell_width() * @generated */ @@ -102,28 +86,23 @@ public interface GridCells extends EObject { * Returns the value of the 'Cell height' attribute. * *

- * If the meaning of the 'Cell height' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Cell height' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Cell height' attribute. * @see #setCell_height(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getCell_height(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_height Cell height} - * ' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_height Cell height}' attribute. * * - * - * @param value - * the new value of the 'Cell height' attribute. + * @param value the new value of the 'Cell height' attribute. * @see #getCell_height() * @generated */ @@ -134,10 +113,10 @@ public interface GridCells extends EObject { * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point}. * *

- * If the meaning of the 'Cells' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Cells' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Cells' containment reference list. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getGridCells_Cells() * @model containment="true" ordered="false" 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 index 161dcf0cbd7..cd848cba232 100644 --- 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 @@ -1,70 +1,54 @@ -/***************************************************************************** - * 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.nav_datatypes; import java.util.Date; import org.eclipse.emf.ecore.EObject; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Pose; /** * * A representation of the model object 'Map Meta Data'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getMap_load_time Map load time - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getResolution Resolution} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getWidth Width}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getOrigin Origin}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getMap_load_time Map load time}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getResolution Resolution}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getOrigin Origin}
  • *
*

- * + * * @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 'Map load time' attribute. * *

- * If the meaning of the 'Map load time' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Map load time' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Map load time' attribute. * @see #setMap_load_time(Date) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Time" required="true" ordered="false" * @generated */ Date getMap_load_time(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getMap_load_time - * Map load time}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getMap_load_time Map load time}' attribute. * * - * - * @param value - * the new value of the 'Map load time' attribute. + * @param value the new value of the 'Map load time' attribute. * @see #getMap_load_time() * @generated */ @@ -74,28 +58,23 @@ public interface MapMetaData extends EObject { * Returns the value of the 'Resolution' attribute. * *

- * If the meaning of the 'Resolution' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Resolution' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Resolution' attribute. * @see #setResolution(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getResolution(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getResolution Resolution} - * ' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getResolution Resolution}' attribute. * * - * - * @param value - * the new value of the 'Resolution' attribute. + * @param value the new value of the 'Resolution' attribute. * @see #getResolution() * @generated */ @@ -105,27 +84,23 @@ public interface MapMetaData extends EObject { * Returns the value of the 'Width' attribute. * *

- * If the meaning of the 'Width' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Width' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Width' attribute. * @see #setWidth(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getWidth(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getWidth - * Width}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getWidth Width}' attribute. * * - * - * @param value - * the new value of the 'Width' attribute. + * @param value the new value of the 'Width' attribute. * @see #getWidth() * @generated */ @@ -135,10 +110,10 @@ public interface MapMetaData extends EObject { * Returns the value of the 'Origin' containment reference. * *

- * If the meaning of the 'Origin' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Origin' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Origin' containment reference. * @see #setOrigin(Pose) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getMapMetaData_Origin() @@ -148,13 +123,10 @@ public interface MapMetaData extends EObject { Pose getOrigin(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getOrigin - * Origin}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getOrigin Origin}' containment reference. * * - * - * @param value - * the new value of the 'Origin' containment reference. + * @param value the new value of the 'Origin' containment reference. * @see #getOrigin() * @generated */ 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 index 690a0e25496..8f1117b49a9 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.nav_datatypes; import org.eclipse.emf.ecore.EFactory; @@ -18,17 +9,14 @@ import org.eclipse.emf.ecore.EFactory; * The Factory for the model. * It provides a create method for each non-abstract class of the model. * - * * @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. * * - * * @generated */ Nav_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.Nav_datatypesFactoryImpl.init(); @@ -37,7 +25,6 @@ public interface Nav_datatypesFactory extends EFactory { * Returns a new object of class 'Path'. * * - * * @return a new object of class 'Path'. * @generated */ @@ -47,7 +34,6 @@ public interface Nav_datatypesFactory extends EFactory { * Returns a new object of class 'Odometry'. * * - * * @return a new object of class 'Odometry'. * @generated */ @@ -57,7 +43,6 @@ public interface Nav_datatypesFactory extends EFactory { * Returns a new object of class 'Map Meta Data'. * * - * * @return a new object of class 'Map Meta Data'. * @generated */ @@ -67,7 +52,6 @@ public interface Nav_datatypesFactory extends EFactory { * Returns a new object of class 'Occupancy Grid'. * * - * * @return a new object of class 'Occupancy Grid'. * @generated */ @@ -77,7 +61,6 @@ public interface Nav_datatypesFactory extends EFactory { * Returns a new object of class 'Grid Cells'. * * - * * @return a new object of class 'Grid Cells'. * @generated */ @@ -87,7 +70,6 @@ public interface Nav_datatypesFactory extends EFactory { * Returns the package supported by this factory. * * - * * @return the package supported by this factory. * @generated */ 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 index 2f4d3f347d0..f887f8ad02f 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.nav_datatypes; import org.eclipse.emf.ecore.EAttribute; @@ -21,24 +12,22 @@ import org.eclipse.emf.ecore.EReference; * The Package for the model. * It contains accessors for the meta objects to represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @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. * * - * * @generated */ String eNAME = "nav_datatypes"; @@ -47,7 +36,6 @@ public interface Nav_datatypesPackage extends EPackage { * The package namespace URI. * * - * * @generated */ String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes.ecore"; @@ -56,7 +44,6 @@ public interface Nav_datatypesPackage extends EPackage { * The package namespace name. * * - * * @generated */ String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes"; @@ -65,17 +52,14 @@ public interface Nav_datatypesPackage extends EPackage { * The singleton instance of the package. * * - * * @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 - * Path}' class. + * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl Path}' class. * * - * * @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 @@ -86,7 +70,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -96,7 +79,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Poses' containment reference list. * * - * * @generated * @ordered */ @@ -106,18 +88,24 @@ public interface Nav_datatypesPackage extends EPackage { * The number of structural features of the 'Path' class. * * - * * @generated * @ordered */ int PATH_FEATURE_COUNT = 2; /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl - * Odometry}' class. + * The number of operations of the 'Path' class. + * + * + * @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 Odometry}' class. * * - * * @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 @@ -128,7 +116,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -138,7 +125,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Child frame id' attribute. * * - * * @generated * @ordered */ @@ -148,7 +134,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Pose' containment reference. * * - * * @generated * @ordered */ @@ -158,7 +143,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Twist' containment reference. * * - * * @generated * @ordered */ @@ -168,19 +152,24 @@ public interface Nav_datatypesPackage extends EPackage { * The number of structural features of the 'Odometry' class. * * - * * @generated * @ordered */ int ODOMETRY_FEATURE_COUNT = 4; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl Map Meta Data}' - * class. + * The number of operations of the 'Odometry' class. + * + * + * @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 Map Meta Data}' class. * * - * * @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 @@ -191,7 +180,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Map load time' attribute. * * - * * @generated * @ordered */ @@ -201,7 +189,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Resolution' attribute. * * - * * @generated * @ordered */ @@ -211,7 +198,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Width' attribute. * * - * * @generated * @ordered */ @@ -221,7 +207,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Origin' containment reference. * * - * * @generated * @ordered */ @@ -231,19 +216,24 @@ public interface Nav_datatypesPackage extends EPackage { * The number of structural features of the 'Map Meta Data' class. * * - * * @generated * @ordered */ int MAP_META_DATA_FEATURE_COUNT = 4; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl - * Occupancy Grid}' class. + * The number of operations of the 'Map Meta Data' class. + * + * + * @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 Occupancy Grid}' class. * * - * * @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 @@ -254,7 +244,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -264,7 +253,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Info' containment reference. * * - * * @generated * @ordered */ @@ -274,7 +262,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -284,19 +271,24 @@ public interface Nav_datatypesPackage extends EPackage { * The number of structural features of the 'Occupancy Grid' class. * * - * * @generated * @ordered */ int OCCUPANCY_GRID_FEATURE_COUNT = 3; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl Grid Cells}' - * class. + * The number of operations of the 'Occupancy Grid' class. + * + * + * @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 Grid Cells}' class. * * - * * @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 @@ -307,7 +299,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -317,7 +308,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Cell width' attribute. * * - * * @generated * @ordered */ @@ -327,7 +317,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Cell height' attribute. * * - * * @generated * @ordered */ @@ -337,7 +326,6 @@ public interface Nav_datatypesPackage extends EPackage { * The feature id for the 'Cells' containment reference list. * * - * * @generated * @ordered */ @@ -347,19 +335,25 @@ public interface Nav_datatypesPackage extends EPackage { * The number of structural features of the 'Grid Cells' class. * * - * * @generated * @ordered */ int GRID_CELLS_FEATURE_COUNT = 4; + /** + * The number of operations of the 'Grid Cells' class. + * + * + * @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 - * Path}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path Path}'. * * - * * @return the meta object for class 'Path'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path * @generated @@ -367,11 +361,9 @@ public interface Nav_datatypesPackage extends EPackage { EClass getPath(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getHeader() * @see #getPath() @@ -380,11 +372,9 @@ public interface Nav_datatypesPackage extends EPackage { 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 Poses}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getPoses Poses}'. * * - * * @return the meta object for the containment reference list 'Poses'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getPoses() * @see #getPath() @@ -393,11 +383,9 @@ public interface Nav_datatypesPackage extends EPackage { EReference getPath_Poses(); /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry - * Odometry}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry Odometry}'. * * - * * @return the meta object for class 'Odometry'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry * @generated @@ -405,11 +393,9 @@ public interface Nav_datatypesPackage extends EPackage { EClass getOdometry(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getHeader() * @see #getOdometry() @@ -418,12 +404,9 @@ public interface Nav_datatypesPackage extends EPackage { 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 - * Child frame id}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getChild_frame_id Child frame id}'. * * - * * @return the meta object for the attribute 'Child frame id'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getChild_frame_id() * @see #getOdometry() @@ -432,11 +415,9 @@ public interface Nav_datatypesPackage extends EPackage { 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 Pose}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getPose Pose}'. * * - * * @return the meta object for the containment reference 'Pose'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getPose() * @see #getOdometry() @@ -445,11 +426,9 @@ public interface Nav_datatypesPackage extends EPackage { EReference getOdometry_Pose(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getTwist Twist}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getTwist Twist}'. * * - * * @return the meta object for the containment reference 'Twist'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getTwist() * @see #getOdometry() @@ -458,11 +437,9 @@ public interface Nav_datatypesPackage extends EPackage { EReference getOdometry_Twist(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData Map Meta Data}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData Map Meta Data}'. * * - * * @return the meta object for class 'Map Meta Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData * @generated @@ -470,12 +447,9 @@ public interface Nav_datatypesPackage extends EPackage { EClass getMapMetaData(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getMap_load_time - * Map load time}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getMap_load_time Map load time}'. * * - * * @return the meta object for the attribute 'Map load time'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getMap_load_time() * @see #getMapMetaData() @@ -484,12 +458,9 @@ public interface Nav_datatypesPackage extends EPackage { 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 Resolution} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getResolution Resolution}'. * * - * * @return the meta object for the attribute 'Resolution'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getResolution() * @see #getMapMetaData() @@ -498,11 +469,9 @@ public interface Nav_datatypesPackage extends EPackage { EAttribute getMapMetaData_Resolution(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getWidth Width}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getWidth Width}'. * * - * * @return the meta object for the attribute 'Width'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getWidth() * @see #getMapMetaData() @@ -511,11 +480,9 @@ public interface Nav_datatypesPackage extends EPackage { EAttribute getMapMetaData_Width(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getOrigin Origin}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getOrigin Origin}'. * * - * * @return the meta object for the containment reference 'Origin'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData#getOrigin() * @see #getMapMetaData() @@ -524,11 +491,9 @@ public interface Nav_datatypesPackage extends EPackage { EReference getMapMetaData_Origin(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid Occupancy Grid}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid Occupancy Grid}'. * * - * * @return the meta object for class 'Occupancy Grid'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid * @generated @@ -536,11 +501,9 @@ public interface Nav_datatypesPackage extends EPackage { EClass getOccupancyGrid(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getHeader() * @see #getOccupancyGrid() @@ -549,11 +512,9 @@ public interface Nav_datatypesPackage extends EPackage { EReference getOccupancyGrid_Header(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getInfo Info}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getInfo Info}'. * * - * * @return the meta object for the containment reference 'Info'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getInfo() * @see #getOccupancyGrid() @@ -562,11 +523,9 @@ public interface Nav_datatypesPackage extends EPackage { EReference getOccupancyGrid_Info(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getData() * @see #getOccupancyGrid() @@ -575,11 +534,9 @@ public interface Nav_datatypesPackage extends EPackage { EAttribute getOccupancyGrid_Data(); /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells - * Grid Cells}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells Grid Cells}'. * * - * * @return the meta object for class 'Grid Cells'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells * @generated @@ -587,11 +544,9 @@ public interface Nav_datatypesPackage extends EPackage { EClass getGridCells(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getHeader() * @see #getGridCells() @@ -600,11 +555,9 @@ public interface Nav_datatypesPackage extends EPackage { EReference getGridCells_Header(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_width Cell width}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_width Cell width}'. * * - * * @return the meta object for the attribute 'Cell width'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_width() * @see #getGridCells() @@ -613,12 +566,9 @@ public interface Nav_datatypesPackage extends EPackage { 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 Cell height} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_height Cell height}'. * * - * * @return the meta object for the attribute 'Cell height'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCell_height() * @see #getGridCells() @@ -627,11 +577,9 @@ public interface Nav_datatypesPackage extends EPackage { 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 Cells}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCells Cells}'. * * - * * @return the meta object for the containment reference list 'Cells'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells#getCells() * @see #getGridCells() @@ -643,7 +591,6 @@ public interface Nav_datatypesPackage extends EPackage { * Returns the factory that creates the instances of the model. * * - * * @return the factory that creates the instances of the model. * @generated */ @@ -653,23 +600,20 @@ public interface Nav_datatypesPackage extends EPackage { * * Defines literals for the meta objects that represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @generated */ interface Literals { - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl Path}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl Path}' class. * * - * * @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 @@ -680,7 +624,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference PATH__HEADER = eINSTANCE.getPath_Header(); @@ -689,18 +632,14 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Poses' containment reference list feature. * * - * * @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 Odometry}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl Odometry}' class. * * - * * @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 @@ -711,7 +650,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference ODOMETRY__HEADER = eINSTANCE.getOdometry_Header(); @@ -720,7 +658,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Child frame id' attribute feature. * * - * * @generated */ EAttribute ODOMETRY__CHILD_FRAME_ID = eINSTANCE.getOdometry_Child_frame_id(); @@ -729,7 +666,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Pose' containment reference feature. * * - * * @generated */ EReference ODOMETRY__POSE = eINSTANCE.getOdometry_Pose(); @@ -738,18 +674,14 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Twist' containment reference feature. * * - * * @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 - * Map Meta Data}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl Map Meta Data}' class. * * - * * @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 @@ -760,7 +692,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Map load time' attribute feature. * * - * * @generated */ EAttribute MAP_META_DATA__MAP_LOAD_TIME = eINSTANCE.getMapMetaData_Map_load_time(); @@ -769,7 +700,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Resolution' attribute feature. * * - * * @generated */ EAttribute MAP_META_DATA__RESOLUTION = eINSTANCE.getMapMetaData_Resolution(); @@ -778,7 +708,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Width' attribute feature. * * - * * @generated */ EAttribute MAP_META_DATA__WIDTH = eINSTANCE.getMapMetaData_Width(); @@ -787,18 +716,14 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Origin' containment reference feature. * * - * * @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 - * Occupancy Grid}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl Occupancy Grid}' class. * * - * * @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 @@ -809,7 +734,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference OCCUPANCY_GRID__HEADER = eINSTANCE.getOccupancyGrid_Header(); @@ -818,7 +742,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Info' containment reference feature. * * - * * @generated */ EReference OCCUPANCY_GRID__INFO = eINSTANCE.getOccupancyGrid_Info(); @@ -827,18 +750,14 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @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 Grid Cells}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl Grid Cells}' class. * * - * * @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 @@ -849,7 +768,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference GRID_CELLS__HEADER = eINSTANCE.getGridCells_Header(); @@ -858,7 +776,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Cell width' attribute feature. * * - * * @generated */ EAttribute GRID_CELLS__CELL_WIDTH = eINSTANCE.getGridCells_Cell_width(); @@ -867,7 +784,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Cell height' attribute feature. * * - * * @generated */ EAttribute GRID_CELLS__CELL_HEIGHT = eINSTANCE.getGridCells_Cell_height(); @@ -876,7 +792,6 @@ public interface Nav_datatypesPackage extends EPackage { * The meta object literal for the 'Cells' containment reference list feature. * * - * * @generated */ EReference GRID_CELLS__CELLS = eINSTANCE.getGridCells_Cells(); 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 index 24542142806..e39d797cebd 100644 --- 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 @@ -1,48 +1,41 @@ -/***************************************************************************** - * 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.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; +// TODO: Auto-generated Javadoc /** * * A representation of the model object 'Occupancy Grid'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getInfo Info}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getInfo Info}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getData Data}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOccupancyGrid_Header() @@ -52,14 +45,10 @@ public interface OccupancyGrid extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getHeader Header}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -69,10 +58,10 @@ public interface OccupancyGrid extends EObject { * Returns the value of the 'Info' containment reference. * *

- * If the meaning of the 'Info' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Info' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Info' containment reference. * @see #setInfo(MapMetaData) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOccupancyGrid_Info() @@ -82,13 +71,10 @@ public interface OccupancyGrid extends EObject { MapMetaData getInfo(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getInfo - * Info}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid#getInfo Info}' containment reference. * * - * - * @param value - * the new value of the 'Info' containment reference. + * @param value the new value of the 'Info' containment reference. * @see #getInfo() * @generated */ @@ -99,10 +85,10 @@ public interface OccupancyGrid extends EObject { * The list contents are of type {@link java.lang.Character}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index 78bcb0aceeb..551c403bbd7 100644 --- 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 @@ -1,51 +1,42 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Odometry'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getChild_frame_id Child frame id - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getPose Pose}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getTwist Twist}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getChild_frame_id Child frame id}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getPose Pose}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getTwist Twist}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOdometry_Header() @@ -55,13 +46,10 @@ public interface Odometry extends EObject { Header getHeader(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -71,28 +59,23 @@ public interface Odometry extends EObject { * Returns the value of the 'Child frame id' attribute. * *

- * If the meaning of the 'Child frame id' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Child frame id' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Child frame id' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getChild_frame_id(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getChild_frame_id - * Child frame id}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getChild_frame_id Child frame id}' attribute. * * - * - * @param value - * the new value of the 'Child frame id' attribute. + * @param value the new value of the 'Child frame id' attribute. * @see #getChild_frame_id() * @generated */ @@ -102,10 +85,10 @@ public interface Odometry extends EObject { * Returns the value of the 'Pose' containment reference. * *

- * If the meaning of the 'Pose' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Pose' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Pose' containment reference. * @see #setPose(PoseWithCovariance) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOdometry_Pose() @@ -115,13 +98,10 @@ public interface Odometry extends EObject { PoseWithCovariance getPose(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getPose - * Pose}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getPose Pose}' containment reference. * * - * - * @param value - * the new value of the 'Pose' containment reference. + * @param value the new value of the 'Pose' containment reference. * @see #getPose() * @generated */ @@ -131,10 +111,10 @@ public interface Odometry extends EObject { * Returns the value of the 'Twist' containment reference. * *

- * If the meaning of the 'Twist' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Twist' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Twist' containment reference. * @see #setTwist(TwistWithCovariance) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getOdometry_Twist() @@ -144,13 +124,10 @@ public interface Odometry extends EObject { TwistWithCovariance getTwist(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getTwist - * Twist}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry#getTwist Twist}' containment reference. * * - * - * @param value - * the new value of the 'Twist' containment reference. + * @param value the new value of the 'Twist' containment reference. * @see #getTwist() * @generated */ 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 index e9c338b9b12..bc9af8ef804 100644 --- 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 @@ -1,48 +1,41 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Path'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getPoses Poses}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getPoses Poses}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getPath_Header() @@ -52,13 +45,10 @@ public interface Path extends EObject { Header getHeader(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -66,14 +56,13 @@ public interface Path extends EObject { /** * Returns the value of the 'Poses' containment reference list. - * The list contents are of type - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped}. + * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.PoseStamped}. * *

- * If the meaning of the 'Poses' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Poses' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Poses' containment reference list. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#getPath_Poses() * @model containment="true" ordered="false" 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 index 312d5d2d2e5..49e1e929a8a 100644 --- 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 @@ -1,30 +1,28 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -34,24 +32,20 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl#getCell_width Cell - * width}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl#getCell_height Cell - * height}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl#getCells Cells}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl#getCell_width Cell width}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl#getCell_height Cell height}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.GridCellsImpl#getCells Cells}
  • *
*

- * + * * @generated */ -public class GridCellsImpl extends EObjectImpl implements GridCells { - +public class GridCellsImpl extends MinimalEObjectImpl.Container implements GridCells { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -62,7 +56,6 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { * The default value of the '{@link #getCell_width() Cell width}' attribute. * * - * * @see #getCell_width() * @generated * @ordered @@ -73,7 +66,6 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { * The cached value of the '{@link #getCell_width() Cell width}' attribute. * * - * * @see #getCell_width() * @generated * @ordered @@ -84,7 +76,6 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { * The default value of the '{@link #getCell_height() Cell height}' attribute. * * - * * @see #getCell_height() * @generated * @ordered @@ -95,7 +86,6 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { * The cached value of the '{@link #getCell_height() Cell height}' attribute. * * - * * @see #getCell_height() * @generated * @ordered @@ -106,7 +96,6 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { * The cached value of the '{@link #getCells() Cells}' containment reference list. * * - * * @see #getCells() * @generated * @ordered @@ -116,7 +105,6 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @generated */ protected GridCellsImpl() { @@ -126,7 +114,6 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @generated */ @Override @@ -137,7 +124,6 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @generated */ public Header getHeader() { @@ -147,18 +133,14 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -166,27 +148,25 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.GRID_CELLS__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.GRID_CELLS__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public float getCell_width() { @@ -196,20 +176,18 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @generated */ public void setCell_width(float newCell_width) { float oldCell_width = cell_width; cell_width = newCell_width; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.GRID_CELLS__CELL_WIDTH, oldCell_width, cell_width)); } /** * * - * * @generated */ public float getCell_height() { @@ -219,24 +197,22 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @generated */ public void setCell_height(float newCell_height) { float oldCell_height = cell_height; cell_height = newCell_height; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.GRID_CELLS__CELL_HEIGHT, oldCell_height, cell_height)); } /** * * - * * @generated */ public EList getCells() { - if(cells == null) { + if (cells == null) { cells = new EObjectContainmentEList(Point.class, this, Nav_datatypesPackage.GRID_CELLS__CELLS); } return cells; @@ -245,16 +221,15 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @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); + 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); } @@ -262,20 +237,19 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @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(); + 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); } @@ -283,26 +257,25 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @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((Float)newValue); - return; - case Nav_datatypesPackage.GRID_CELLS__CELL_HEIGHT: - setCell_height((Float)newValue); - return; - case Nav_datatypesPackage.GRID_CELLS__CELLS: - getCells().clear(); - getCells().addAll((Collection)newValue); - return; + switch (featureID) { + case Nav_datatypesPackage.GRID_CELLS__HEADER: + setHeader((Header)newValue); + return; + case Nav_datatypesPackage.GRID_CELLS__CELL_WIDTH: + setCell_width((Float)newValue); + return; + case Nav_datatypesPackage.GRID_CELLS__CELL_HEIGHT: + setCell_height((Float)newValue); + return; + case Nav_datatypesPackage.GRID_CELLS__CELLS: + getCells().clear(); + getCells().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -310,24 +283,23 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @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; + 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); } @@ -335,20 +307,19 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @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 != CELL_WIDTH_EDEFAULT; - case Nav_datatypesPackage.GRID_CELLS__CELL_HEIGHT: - return cell_height != CELL_HEIGHT_EDEFAULT; - case Nav_datatypesPackage.GRID_CELLS__CELLS: - return cells != null && !cells.isEmpty(); + switch (featureID) { + case Nav_datatypesPackage.GRID_CELLS__HEADER: + return header != null; + case Nav_datatypesPackage.GRID_CELLS__CELL_WIDTH: + return cell_width != CELL_WIDTH_EDEFAULT; + case Nav_datatypesPackage.GRID_CELLS__CELL_HEIGHT: + return cell_height != CELL_HEIGHT_EDEFAULT; + case Nav_datatypesPackage.GRID_CELLS__CELLS: + return cells != null && !cells.isEmpty(); } return super.eIsSet(featureID); } @@ -356,13 +327,11 @@ public class GridCellsImpl extends EObjectImpl implements GridCells { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (cell_width: "); 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 index 416b22c8d12..cc8007d8b04 100644 --- 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 @@ -1,25 +1,20 @@ -/***************************************************************************** - * 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.nav_datatypes.impl; import java.util.Date; 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.EObjectImpl; +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; @@ -30,25 +25,20 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl#getMap_load_time Map - * load time}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl#getResolution - * Resolution}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl#getWidth Width}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl#getOrigin Origin - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl#getMap_load_time Map load time}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl#getResolution Resolution}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.MapMetaDataImpl#getOrigin Origin}
  • *
*

- * + * * @generated */ -public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { - +public class MapMetaDataImpl extends MinimalEObjectImpl.Container implements MapMetaData { /** * The default value of the '{@link #getMap_load_time() Map load time}' attribute. * * - * * @see #getMap_load_time() * @generated * @ordered @@ -59,7 +49,6 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { * The cached value of the '{@link #getMap_load_time() Map load time}' attribute. * * - * * @see #getMap_load_time() * @generated * @ordered @@ -70,7 +59,6 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { * The default value of the '{@link #getResolution() Resolution}' attribute. * * - * * @see #getResolution() * @generated * @ordered @@ -81,7 +69,6 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { * The cached value of the '{@link #getResolution() Resolution}' attribute. * * - * * @see #getResolution() * @generated * @ordered @@ -92,7 +79,6 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { * The default value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -103,7 +89,6 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { * The cached value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -114,7 +99,6 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { * The cached value of the '{@link #getOrigin() Origin}' containment reference. * * - * * @see #getOrigin() * @generated * @ordered @@ -124,7 +108,6 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @generated */ protected MapMetaDataImpl() { @@ -134,7 +117,6 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @generated */ @Override @@ -145,7 +127,6 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @generated */ public Date getMap_load_time() { @@ -155,20 +136,18 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @generated */ public void setMap_load_time(Date newMap_load_time) { Date oldMap_load_time = map_load_time; map_load_time = newMap_load_time; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.MAP_META_DATA__MAP_LOAD_TIME, oldMap_load_time, map_load_time)); } /** * * - * * @generated */ public float getResolution() { @@ -178,20 +157,18 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @generated */ public void setResolution(float newResolution) { float oldResolution = resolution; resolution = newResolution; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.MAP_META_DATA__RESOLUTION, oldResolution, resolution)); } /** * * - * * @generated */ public long getWidth() { @@ -201,20 +178,18 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @generated */ public void setWidth(long newWidth) { long oldWidth = width; width = newWidth; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.MAP_META_DATA__WIDTH, oldWidth, width)); } /** * * - * * @generated */ public Pose getOrigin() { @@ -224,18 +199,14 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @generated */ public NotificationChain basicSetOrigin(Pose newOrigin, NotificationChain msgs) { Pose oldOrigin = origin; origin = newOrigin; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -243,34 +214,32 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @generated */ public void setOrigin(Pose newOrigin) { - if(newOrigin != origin) { + if (newOrigin != origin) { NotificationChain msgs = null; - if(origin != null) + if (origin != null) msgs = ((InternalEObject)origin).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.MAP_META_DATA__ORIGIN, null, msgs); - if(newOrigin != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.MAP_META_DATA__ORIGIN, newOrigin, newOrigin)); } /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Nav_datatypesPackage.MAP_META_DATA__ORIGIN: - return basicSetOrigin(null, msgs); + switch (featureID) { + case Nav_datatypesPackage.MAP_META_DATA__ORIGIN: + return basicSetOrigin(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -278,20 +247,19 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @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(); + 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); } @@ -299,24 +267,23 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Nav_datatypesPackage.MAP_META_DATA__MAP_LOAD_TIME: - setMap_load_time((Date)newValue); - return; - case Nav_datatypesPackage.MAP_META_DATA__RESOLUTION: - setResolution((Float)newValue); - return; - case Nav_datatypesPackage.MAP_META_DATA__WIDTH: - setWidth((Long)newValue); - return; - case Nav_datatypesPackage.MAP_META_DATA__ORIGIN: - setOrigin((Pose)newValue); - return; + switch (featureID) { + case Nav_datatypesPackage.MAP_META_DATA__MAP_LOAD_TIME: + setMap_load_time((Date)newValue); + return; + case Nav_datatypesPackage.MAP_META_DATA__RESOLUTION: + setResolution((Float)newValue); + return; + case Nav_datatypesPackage.MAP_META_DATA__WIDTH: + setWidth((Long)newValue); + return; + case Nav_datatypesPackage.MAP_META_DATA__ORIGIN: + setOrigin((Pose)newValue); + return; } super.eSet(featureID, newValue); } @@ -324,24 +291,23 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @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; + 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); } @@ -349,20 +315,19 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @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 != RESOLUTION_EDEFAULT; - case Nav_datatypesPackage.MAP_META_DATA__WIDTH: - return width != WIDTH_EDEFAULT; - case Nav_datatypesPackage.MAP_META_DATA__ORIGIN: - return origin != null; + 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 != RESOLUTION_EDEFAULT; + case Nav_datatypesPackage.MAP_META_DATA__WIDTH: + return width != WIDTH_EDEFAULT; + case Nav_datatypesPackage.MAP_META_DATA__ORIGIN: + return origin != null; } return super.eIsSet(featureID); } @@ -370,13 +335,11 @@ public class MapMetaDataImpl extends EObjectImpl implements MapMetaData { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (map_load_time: "); 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 index 38ed33be89b..3e50257665a 100644 --- 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 @@ -1,52 +1,42 @@ -/***************************************************************************** - * 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.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; +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.*; + +// TODO: Auto-generated Javadoc /** * * An implementation of the model Factory. * - * * @generated */ public class Nav_datatypesFactoryImpl extends EFactoryImpl implements Nav_datatypesFactory { - + /** * Creates the default factory implementation. * * - * + * + * @return the nav_datatypes factory * @generated */ public static Nav_datatypesFactory init() { try { - Nav_datatypesFactory theNav_datatypesFactory = (Nav_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory("http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/nav_datatypes.ecore"); - if(theNav_datatypesFactory != null) { + Nav_datatypesFactory theNav_datatypesFactory = (Nav_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Nav_datatypesPackage.eNS_URI); + if (theNav_datatypesFactory != null) { return theNav_datatypesFactory; } - } catch (Exception exception) { + } + catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new Nav_datatypesFactoryImpl(); @@ -56,7 +46,6 @@ public class Nav_datatypesFactoryImpl extends EFactoryImpl implements Nav_dataty * Creates an instance of the factory. * * - * * @generated */ public Nav_datatypesFactoryImpl() { @@ -65,32 +54,30 @@ public class Nav_datatypesFactoryImpl extends EFactoryImpl implements Nav_dataty /** * - * - * + * . + * + * @param eClass the e class + * @return the e object * @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"); + 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"); } } /** * - * - * + * . + * + * @return the path * @generated */ public Path createPath() { @@ -100,8 +87,9 @@ public class Nav_datatypesFactoryImpl extends EFactoryImpl implements Nav_dataty /** * - * - * + * . + * + * @return the odometry * @generated */ public Odometry createOdometry() { @@ -111,8 +99,9 @@ public class Nav_datatypesFactoryImpl extends EFactoryImpl implements Nav_dataty /** * - * - * + * . + * + * @return the map meta data * @generated */ public MapMetaData createMapMetaData() { @@ -122,8 +111,9 @@ public class Nav_datatypesFactoryImpl extends EFactoryImpl implements Nav_dataty /** * - * - * + * . + * + * @return the occupancy grid * @generated */ public OccupancyGrid createOccupancyGrid() { @@ -133,8 +123,9 @@ public class Nav_datatypesFactoryImpl extends EFactoryImpl implements Nav_dataty /** * - * - * + * . + * + * @return the grid cells * @generated */ public GridCells createGridCells() { @@ -144,8 +135,9 @@ public class Nav_datatypesFactoryImpl extends EFactoryImpl implements Nav_dataty /** * - * - * + * . + * + * @return the nav_datatypes package * @generated */ public Nav_datatypesPackage getNav_datatypesPackage() { @@ -154,8 +146,9 @@ public class Nav_datatypesFactoryImpl extends EFactoryImpl implements Nav_dataty /** * - * - * + * . + * + * @return the package * @deprecated * @generated */ 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 index d3a0ab9508d..08c5076353b 100644 --- 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 @@ -1,29 +1,30 @@ -/***************************************************************************** - * 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.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; @@ -31,29 +32,35 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp 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; /** * * An implementation of the model Package. * - * * @generated */ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_datatypesPackage { - /** * * - * * @generated */ private EClass pathEClass = null; @@ -61,7 +68,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ private EClass odometryEClass = null; @@ -69,7 +75,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ private EClass mapMetaDataEClass = null; @@ -77,7 +82,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ private EClass occupancyGridEClass = null; @@ -85,19 +89,20 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ private EClass gridCellsEClass = null; /** - * Creates an instance of the model Package, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the - * package + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. - *

- * 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. - * + *

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. + * + * * @see org.eclipse.emf.ecore.EPackage.Registry * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage#eNS_URI * @see #init() @@ -110,7 +115,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ private static boolean isInited = false; @@ -118,18 +122,17 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * - *

- * 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. - * + *

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. + * + * * @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); + 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()); @@ -174,7 +177,7 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty // 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; @@ -183,7 +186,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EClass getPath() { @@ -193,7 +195,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EReference getPath_Header() { @@ -203,7 +204,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EReference getPath_Poses() { @@ -213,7 +213,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EClass getOdometry() { @@ -223,7 +222,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EReference getOdometry_Header() { @@ -233,7 +231,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EAttribute getOdometry_Child_frame_id() { @@ -243,7 +240,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EReference getOdometry_Pose() { @@ -253,7 +249,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EReference getOdometry_Twist() { @@ -263,7 +258,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EClass getMapMetaData() { @@ -273,7 +267,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EAttribute getMapMetaData_Map_load_time() { @@ -283,7 +276,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EAttribute getMapMetaData_Resolution() { @@ -293,7 +285,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EAttribute getMapMetaData_Width() { @@ -303,7 +294,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EReference getMapMetaData_Origin() { @@ -313,7 +303,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EClass getOccupancyGrid() { @@ -323,7 +312,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EReference getOccupancyGrid_Header() { @@ -333,7 +321,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EReference getOccupancyGrid_Info() { @@ -343,7 +330,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EAttribute getOccupancyGrid_Data() { @@ -353,7 +339,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EClass getGridCells() { @@ -363,7 +348,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EReference getGridCells_Header() { @@ -373,7 +357,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EAttribute getGridCells_Cell_width() { @@ -383,7 +366,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EAttribute getGridCells_Cell_height() { @@ -393,7 +375,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public EReference getGridCells_Cells() { @@ -403,7 +384,6 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @generated */ public Nav_datatypesFactory getNav_datatypesFactory() { @@ -413,22 +393,19 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @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. * * - * * @generated */ public void createPackageContents() { - if(isCreated) - return; + if (isCreated) return; isCreated = true; // Create classes and their features @@ -463,22 +440,19 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty /** * * - * * @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. * * - * * @generated */ public void initializePackageContents() { - if(isInitialized) - return; + if (isInitialized) return; isInitialized = true; // Initialize package @@ -496,7 +470,7 @@ public class Nav_datatypesPackageImpl extends EPackageImpl implements Nav_dataty // Add supertypes to classes - // Initialize classes and features; add operations and parameters + // 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); 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 index 60e9a5e4861..6005785c88d 100644 --- 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 @@ -1,31 +1,29 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; +// TODO: Auto-generated Javadoc /** * * An implementation of the model object 'Occupancy Grid'. @@ -33,22 +31,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl#getHeader Header - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl#getInfo Info}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl#getInfo Info}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OccupancyGridImpl#getData Data}
  • *
*

- * + * * @generated */ -public class OccupancyGridImpl extends EObjectImpl implements OccupancyGrid { - +public class OccupancyGridImpl extends MinimalEObjectImpl.Container implements OccupancyGrid { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -59,7 +54,6 @@ public class OccupancyGridImpl extends EObjectImpl implements OccupancyGrid { * The cached value of the '{@link #getInfo() Info}' containment reference. * * - * * @see #getInfo() * @generated * @ordered @@ -70,7 +64,6 @@ public class OccupancyGridImpl extends EObjectImpl implements OccupancyGrid { * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -79,8 +72,8 @@ public class OccupancyGridImpl extends EObjectImpl implements OccupancyGrid { /** * - * - * + * . + * * @generated */ protected OccupancyGridImpl() { @@ -89,8 +82,9 @@ public class OccupancyGridImpl extends EObjectImpl implements OccupancyGrid { /** * - * - * + * . + * + * @return the e class * @generated */ @Override @@ -100,8 +94,9 @@ public class OccupancyGridImpl extends EObjectImpl implements OccupancyGrid { /** * - * - * + * . + * + * @return the header * @generated */ public Header getHeader() { @@ -110,47 +105,49 @@ public class OccupancyGridImpl extends EObjectImpl implements OccupancyGrid { /** * - * - * + * . + * + * @param newHeader the new header + * @param msgs the msgs + * @return the notification chain * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } /** * - * - * + * . + * + * @param newHeader the new header * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.OCCUPANCY_GRID__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.OCCUPANCY_GRID__HEADER, newHeader, newHeader)); } /** * - * - * + * . + * + * @return the info * @generated */ public MapMetaData getInfo() { @@ -159,51 +156,53 @@ public class OccupancyGridImpl extends EObjectImpl implements OccupancyGrid { /** * - * - * + * . + * + * @param newInfo the new info + * @param msgs the msgs + * @return the notification chain * @generated */ public NotificationChain basicSetInfo(MapMetaData newInfo, NotificationChain msgs) { MapMetaData oldInfo = info; info = newInfo; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } /** * - * - * + * . + * + * @param newInfo the new info * @generated */ public void setInfo(MapMetaData newInfo) { - if(newInfo != info) { + if (newInfo != info) { NotificationChain msgs = null; - if(info != null) + if (info != null) msgs = ((InternalEObject)info).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.OCCUPANCY_GRID__INFO, null, msgs); - if(newInfo != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.OCCUPANCY_GRID__INFO, newInfo, newInfo)); } /** * - * - * + * . + * + * @return the data * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Character.class, this, Nav_datatypesPackage.OCCUPANCY_GRID__DATA); } return data; @@ -211,115 +210,128 @@ public class OccupancyGridImpl extends EObjectImpl implements OccupancyGrid { /** * - * - * + * . + * + * @param otherEnd the other end + * @param featureID the feature id + * @param msgs the msgs + * @return the notification chain * @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); + 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); } /** * - * - * + * . + * + * @param featureID the feature id + * @param resolve the resolve + * @param coreType the core type + * @return the object * @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(); + 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); } /** * - * - * + * . + * + * @param featureID the feature id + * @param newValue the new value * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } /** * - * - * + * . + * + * @param featureID the feature id * @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; + 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); } /** * - * - * + * . + * + * @param featureID the feature id + * @return true, if successful * @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(); + 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); } /** * - * - * + * . + * + * @return the string * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data: "); 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 index f992f000cdb..62347894c51 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -30,23 +26,20 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl#getChild_frame_id Child - * frame id}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl#getPose Pose}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl#getTwist Twist}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl#getChild_frame_id Child frame id}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl#getPose Pose}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.OdometryImpl#getTwist Twist}
  • *
*

- * + * * @generated */ -public class OdometryImpl extends EObjectImpl implements Odometry { - +public class OdometryImpl extends MinimalEObjectImpl.Container implements Odometry { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -57,7 +50,6 @@ public class OdometryImpl extends EObjectImpl implements Odometry { * The default value of the '{@link #getChild_frame_id() Child frame id}' attribute. * * - * * @see #getChild_frame_id() * @generated * @ordered @@ -68,7 +60,6 @@ public class OdometryImpl extends EObjectImpl implements Odometry { * The cached value of the '{@link #getChild_frame_id() Child frame id}' attribute. * * - * * @see #getChild_frame_id() * @generated * @ordered @@ -79,7 +70,6 @@ public class OdometryImpl extends EObjectImpl implements Odometry { * The cached value of the '{@link #getPose() Pose}' containment reference. * * - * * @see #getPose() * @generated * @ordered @@ -90,7 +80,6 @@ public class OdometryImpl extends EObjectImpl implements Odometry { * The cached value of the '{@link #getTwist() Twist}' containment reference. * * - * * @see #getTwist() * @generated * @ordered @@ -100,7 +89,6 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @generated */ protected OdometryImpl() { @@ -110,7 +98,6 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @generated */ @Override @@ -121,7 +108,6 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @generated */ public Header getHeader() { @@ -131,18 +117,14 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__HEADER, oldHeader, newHeader); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -150,27 +132,25 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.ODOMETRY__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public String getChild_frame_id() { @@ -180,20 +160,18 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @generated */ public void setChild_frame_id(String newChild_frame_id) { String oldChild_frame_id = child_frame_id; child_frame_id = newChild_frame_id; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__CHILD_FRAME_ID, oldChild_frame_id, child_frame_id)); } /** * * - * * @generated */ public PoseWithCovariance getPose() { @@ -203,18 +181,14 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @generated */ public NotificationChain basicSetPose(PoseWithCovariance newPose, NotificationChain msgs) { PoseWithCovariance oldPose = pose; pose = newPose; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__POSE, oldPose, newPose); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -222,27 +196,25 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @generated */ public void setPose(PoseWithCovariance newPose) { - if(newPose != pose) { + if (newPose != pose) { NotificationChain msgs = null; - if(pose != null) + if (pose != null) msgs = ((InternalEObject)pose).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.ODOMETRY__POSE, null, msgs); - if(newPose != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__POSE, newPose, newPose)); } /** * * - * * @generated */ public TwistWithCovariance getTwist() { @@ -252,18 +224,14 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @generated */ public NotificationChain basicSetTwist(TwistWithCovariance newTwist, NotificationChain msgs) { TwistWithCovariance oldTwist = twist; twist = newTwist; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__TWIST, oldTwist, newTwist); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -271,38 +239,36 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @generated */ public void setTwist(TwistWithCovariance newTwist) { - if(newTwist != twist) { + if (newTwist != twist) { NotificationChain msgs = null; - if(twist != null) + if (twist != null) msgs = ((InternalEObject)twist).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.ODOMETRY__TWIST, null, msgs); - if(newTwist != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.ODOMETRY__TWIST, newTwist, newTwist)); } /** * * - * * @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); + 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); } @@ -310,20 +276,19 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @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(); + 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); } @@ -331,24 +296,23 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @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((String)newValue); - return; - case Nav_datatypesPackage.ODOMETRY__POSE: - setPose((PoseWithCovariance)newValue); - return; - case Nav_datatypesPackage.ODOMETRY__TWIST: - setTwist((TwistWithCovariance)newValue); - return; + switch (featureID) { + case Nav_datatypesPackage.ODOMETRY__HEADER: + setHeader((Header)newValue); + return; + case Nav_datatypesPackage.ODOMETRY__CHILD_FRAME_ID: + setChild_frame_id((String)newValue); + return; + case Nav_datatypesPackage.ODOMETRY__POSE: + setPose((PoseWithCovariance)newValue); + return; + case Nav_datatypesPackage.ODOMETRY__TWIST: + setTwist((TwistWithCovariance)newValue); + return; } super.eSet(featureID, newValue); } @@ -356,24 +320,23 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @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; + 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); } @@ -381,20 +344,19 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @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; + 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); } @@ -402,13 +364,11 @@ public class OdometryImpl extends EObjectImpl implements Odometry { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (child_frame_id: "); 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 index 4da0ae6ab86..264a66d2679 100644 --- 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 @@ -1,30 +1,28 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -34,20 +32,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl#getPoses Poses}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.impl.PathImpl#getPoses Poses}
  • *
*

- * + * * @generated */ -public class PathImpl extends EObjectImpl implements Path { - +public class PathImpl extends MinimalEObjectImpl.Container implements Path { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -58,7 +54,6 @@ public class PathImpl extends EObjectImpl implements Path { * The cached value of the '{@link #getPoses() Poses}' containment reference list. * * - * * @see #getPoses() * @generated * @ordered @@ -68,7 +63,6 @@ public class PathImpl extends EObjectImpl implements Path { /** * * - * * @generated */ protected PathImpl() { @@ -78,7 +72,6 @@ public class PathImpl extends EObjectImpl implements Path { /** * * - * * @generated */ @Override @@ -89,7 +82,6 @@ public class PathImpl extends EObjectImpl implements Path { /** * * - * * @generated */ public Header getHeader() { @@ -99,18 +91,14 @@ public class PathImpl extends EObjectImpl implements Path { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.PATH__HEADER, oldHeader, newHeader); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -118,31 +106,29 @@ public class PathImpl extends EObjectImpl implements Path { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Nav_datatypesPackage.PATH__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Nav_datatypesPackage.PATH__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public EList getPoses() { - if(poses == null) { + if (poses == null) { poses = new EObjectContainmentEList(PoseStamped.class, this, Nav_datatypesPackage.PATH__POSES); } return poses; @@ -151,16 +137,15 @@ public class PathImpl extends EObjectImpl implements Path { /** * * - * * @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); + 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); } @@ -168,16 +153,15 @@ public class PathImpl extends EObjectImpl implements Path { /** * * - * * @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(); + switch (featureID) { + case Nav_datatypesPackage.PATH__HEADER: + return getHeader(); + case Nav_datatypesPackage.PATH__POSES: + return getPoses(); } return super.eGet(featureID, resolve, coreType); } @@ -185,20 +169,19 @@ public class PathImpl extends EObjectImpl implements Path { /** * * - * * @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)newValue); - return; + switch (featureID) { + case Nav_datatypesPackage.PATH__HEADER: + setHeader((Header)newValue); + return; + case Nav_datatypesPackage.PATH__POSES: + getPoses().clear(); + getPoses().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -206,18 +189,17 @@ public class PathImpl extends EObjectImpl implements Path { /** * * - * * @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; + switch (featureID) { + case Nav_datatypesPackage.PATH__HEADER: + setHeader((Header)null); + return; + case Nav_datatypesPackage.PATH__POSES: + getPoses().clear(); + return; } super.eUnset(featureID); } @@ -225,16 +207,15 @@ public class PathImpl extends EObjectImpl implements Path { /** * * - * * @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(); + switch (featureID) { + case Nav_datatypesPackage.PATH__HEADER: + return header != null; + case Nav_datatypesPackage.PATH__POSES: + return poses != null && !poses.isEmpty(); } return super.eIsSet(featureID); } 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 index e7a88969bd7..1262a70f5a8 100644 --- 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 @@ -1,43 +1,29 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.*; /** * * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage * @generated */ public class Nav_datatypesAdapterFactory extends AdapterFactoryImpl { - /** * The cached model package. * * - * * @generated */ protected static Nav_datatypesPackage modelPackage; @@ -46,11 +32,10 @@ public class Nav_datatypesAdapterFactory extends AdapterFactoryImpl { * Creates an instance of the adapter factory. * * - * * @generated */ public Nav_datatypesAdapterFactory() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Nav_datatypesPackage.eINSTANCE; } } @@ -60,16 +45,15 @@ public class Nav_datatypesAdapterFactory extends AdapterFactoryImpl { * * This implementation returns true if the object is either the model's package or is an instance object of the model. * - * * @return whether this factory is applicable for the type of the object. * @generated */ @Override public boolean isFactoryForType(Object object) { - if(object == modelPackage) { + if (object == modelPackage) { return true; } - if(object instanceof EObject) { + if (object instanceof EObject) { return ((EObject)object).eClass().getEPackage() == modelPackage; } return false; @@ -79,49 +63,41 @@ public class Nav_datatypesAdapterFactory extends AdapterFactoryImpl { * The switch that delegates to the createXXX methods. * * - * * @generated */ - protected Nav_datatypesSwitch modelSwitch = new Nav_datatypesSwitch() { - - @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(); - } - }; + protected Nav_datatypesSwitch modelSwitch = + new Nav_datatypesSwitch() { + @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 target. * * - * - * @param target - * the object to adapt. + * @param target the object to adapt. * @return the adapter for the target. * @generated */ @@ -132,13 +108,11 @@ public class Nav_datatypesAdapterFactory extends AdapterFactoryImpl { /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path Path}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path Path}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Path * @generated @@ -148,13 +122,11 @@ public class Nav_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry Odometry}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry Odometry}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Odometry * @generated @@ -164,13 +136,11 @@ public class Nav_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData Map Meta Data}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData Map Meta Data}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.MapMetaData * @generated @@ -180,13 +150,11 @@ public class Nav_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid Occupancy Grid}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid Occupancy Grid}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.OccupancyGrid * @generated @@ -196,13 +164,11 @@ public class Nav_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells Grid Cells}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells Grid Cells}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.GridCells * @generated @@ -216,7 +182,6 @@ public class Nav_datatypesAdapterFactory extends AdapterFactoryImpl { * * This default implementation returns null. * - * * @return the new adapter. * @generated */ 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 index 0d58a7a532b..6f976325744 100644 --- 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 @@ -1,46 +1,32 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.*; /** * * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for each class of the model, + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX 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. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.nav_datatypes.Nav_datatypesPackage * @generated */ public class Nav_datatypesSwitch extends Switch { - /** * The cached model package * * - * * @generated */ protected static Nav_datatypesPackage modelPackage; @@ -49,11 +35,10 @@ public class Nav_datatypesSwitch extends Switch { * Creates an instance of the switch. * * - * * @generated */ public Nav_datatypesSwitch() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Nav_datatypesPackage.eINSTANCE; } } @@ -62,7 +47,6 @@ public class Nav_datatypesSwitch extends Switch { * Checks whether this is a switch for the given package. * * - * * @parameter ePackage the package in question. * @return whether this is a switch for the given package. * @generated @@ -76,55 +60,43 @@ public class Nav_datatypesSwitch extends Switch { * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. * * - * * @return the first non-null result returned by a caseXXX 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); + 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); } } @@ -134,9 +106,7 @@ public class Nav_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Path'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -151,9 +121,7 @@ public class Nav_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Odometry'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -168,9 +136,7 @@ public class Nav_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Map Meta Data'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -185,9 +151,7 @@ public class Nav_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Occupancy Grid'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -202,9 +166,7 @@ public class Nav_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Grid Cells'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -219,9 +181,7 @@ public class Nav_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch, but this is the last case anyway. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated 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 index 0f26ea1197f..85891adea8c 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp1_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,51 +8,42 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Car Like Command'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getVelocity - * Velocity}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getSteeringAngle - * Steering Angle}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getVelocity Velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getSteeringAngle Steering Angle}
  • *
*

- * + * * @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 'Velocity' attribute. * The default value is "0". * *

- * If the meaning of the 'Velocity' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Velocity' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Velocity' attribute. * @see #setVelocity(double) * @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" + * @model default="0" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getVelocity(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getVelocity - * Velocity}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getVelocity Velocity}' attribute. * * - * - * @param value - * the new value of the 'Velocity' attribute. + * @param value the new value of the 'Velocity' attribute. * @see #getVelocity() * @generated */ @@ -72,28 +54,23 @@ public interface CarLikeCommand extends EObject { * The default value is "0". * *

- * If the meaning of the 'Steering Angle' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Steering Angle' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Steering Angle' attribute. * @see #setSteeringAngle(double) * @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" + * @model default="0" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getSteeringAngle(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getSteeringAngle - * Steering Angle}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getSteeringAngle Steering Angle}' attribute. * * - * - * @param value - * the new value of the 'Steering Angle' attribute. + * @param value the new value of the 'Steering Angle' attribute. * @see #getSteeringAngle() * @generated */ 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 index bba2693dd9f..abfe6e54c91 100644 --- 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 @@ -1,52 +1,38 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp1_datatypes; import org.eclipse.emf.ecore.EObject; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan; /** * * A representation of the model object 'Extented Lidar Scan'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getScan - * Scan}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerId - * Layer Id}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerAngle - * Layer Angle}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getScan Scan}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerId Layer Id}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerAngle Layer Angle}
  • *
*

- * + * * @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 'Scan' containment reference. * *

- * If the meaning of the 'Scan' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Scan' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Scan' containment reference. * @see #setScan(LaserScan) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#getExtentedLidarScan_Scan() @@ -56,14 +42,10 @@ public interface ExtentedLidarScan extends EObject { LaserScan getScan(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getScan - * Scan}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getScan Scan}' containment reference. * * - * - * @param value - * the new value of the 'Scan' containment reference. + * @param value the new value of the 'Scan' containment reference. * @see #getScan() * @generated */ @@ -73,28 +55,23 @@ public interface ExtentedLidarScan extends EObject { * Returns the value of the 'Layer Id' attribute. * *

- * If the meaning of the 'Layer Id' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Layer Id' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layer Id' attribute. * @see #setLayerId(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getLayerId(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerId - * Layer Id}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerId Layer Id}' attribute. * * - * - * @param value - * the new value of the 'Layer Id' attribute. + * @param value the new value of the 'Layer Id' attribute. * @see #getLayerId() * @generated */ @@ -104,28 +81,23 @@ public interface ExtentedLidarScan extends EObject { * Returns the value of the 'Layer Angle' attribute. * *

- * If the meaning of the 'Layer Angle' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Layer Angle' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layer Angle' attribute. * @see #setLayerAngle(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getLayerAngle(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerAngle - * Layer Angle}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerAngle Layer Angle}' attribute. * * - * - * @param value - * the new value of the 'Layer Angle' attribute. + * @param value the new value of the 'Layer Angle' attribute. * @see #getLayerAngle() * @generated */ 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 index 9e9d8b03495..8aa5ef72ae6 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp1_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,33 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Multi Layer Lidar Scan'. * - * + * *

* The following features are supported: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getLayers - * Layers}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getNbLayer - * Nb Layer}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getLayers Layers}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getNbLayer Nb Layer}
  • *
*

- * + * * @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 'Layers' containment reference. * *

- * If the meaning of the 'Layers' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Layers' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layers' containment reference. * @see #setLayers(ExtentedLidarScan) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage#getMultiLayerLidarScan_Layers() @@ -53,14 +39,10 @@ public interface MultiLayerLidarScan extends EObject { ExtentedLidarScan getLayers(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getLayers - * Layers}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getLayers Layers}' containment reference. * * - * - * @param value - * the new value of the 'Layers' containment reference. + * @param value the new value of the 'Layers' containment reference. * @see #getLayers() * @generated */ @@ -70,28 +52,23 @@ public interface MultiLayerLidarScan extends EObject { * Returns the value of the 'Nb Layer' attribute. * *

- * If the meaning of the 'Nb Layer' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Nb Layer' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Nb Layer' attribute. * @see #setNbLayer(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getNbLayer(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getNbLayer - * Nb Layer}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getNbLayer Nb Layer}' attribute. * * - * - * @param value - * the new value of the 'Nb Layer' attribute. + * @param value the new value of the 'Nb Layer' attribute. * @see #getNbLayer() * @generated */ 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 index 7b701668afc..ebd3e96c6eb 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp1_datatypes; import org.eclipse.emf.ecore.EFactory; @@ -18,17 +9,14 @@ import org.eclipse.emf.ecore.EFactory; * The Factory for the model. * It provides a create method for each non-abstract class of the model. * - * * @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. * * - * * @generated */ Oarp1_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.Oarp1_datatypesFactoryImpl.init(); @@ -37,7 +25,6 @@ public interface Oarp1_datatypesFactory extends EFactory { * Returns a new object of class 'Car Like Command'. * * - * * @return a new object of class 'Car Like Command'. * @generated */ @@ -47,7 +34,6 @@ public interface Oarp1_datatypesFactory extends EFactory { * Returns a new object of class 'Multi Layer Lidar Scan'. * * - * * @return a new object of class 'Multi Layer Lidar Scan'. * @generated */ @@ -57,7 +43,6 @@ public interface Oarp1_datatypesFactory extends EFactory { * Returns a new object of class 'Extented Lidar Scan'. * * - * * @return a new object of class 'Extented Lidar Scan'. * @generated */ @@ -67,7 +52,6 @@ public interface Oarp1_datatypesFactory extends EFactory { * Returns the package supported by this factory. * * - * * @return the package supported by this factory. * @generated */ 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 index c78aac48779..1c338be39b1 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp1_datatypes; import org.eclipse.emf.ecore.EAttribute; @@ -21,24 +12,22 @@ import org.eclipse.emf.ecore.EReference; * The Package for the model. * It contains accessors for the meta objects to represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @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. * * - * * @generated */ String eNAME = "oarp1_datatypes"; @@ -47,7 +36,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The package namespace URI. * * - * * @generated */ String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes.ecore"; @@ -56,7 +44,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The package namespace name. * * - * * @generated */ String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes"; @@ -65,18 +52,14 @@ public interface Oarp1_datatypesPackage extends EPackage { * The singleton instance of the package. * * - * * @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 - * Car Like Command}' class. + * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl Car Like Command}' class. * * - * * @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 @@ -87,7 +70,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The feature id for the 'Velocity' attribute. * * - * * @generated * @ordered */ @@ -97,7 +79,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The feature id for the 'Steering Angle' attribute. * * - * * @generated * @ordered */ @@ -107,19 +88,24 @@ public interface Oarp1_datatypesPackage extends EPackage { * The number of structural features of the 'Car Like Command' class. * * - * * @generated * @ordered */ int CAR_LIKE_COMMAND_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.MultiLayerLidarScanImpl - * Multi Layer Lidar Scan}' class. + * The number of operations of the 'Car Like Command' class. + * + * + * @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 Multi Layer Lidar Scan}' class. * * - * * @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 @@ -130,7 +116,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The feature id for the 'Layers' containment reference. * * - * * @generated * @ordered */ @@ -140,7 +125,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The feature id for the 'Nb Layer' attribute. * * - * * @generated * @ordered */ @@ -150,19 +134,24 @@ public interface Oarp1_datatypesPackage extends EPackage { * The number of structural features of the 'Multi Layer Lidar Scan' class. * * - * * @generated * @ordered */ int MULTI_LAYER_LIDAR_SCAN_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl - * Extented Lidar Scan}' class. + * The number of operations of the 'Multi Layer Lidar Scan' class. + * + * + * @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 Extented Lidar Scan}' class. * * - * * @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 @@ -173,7 +162,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The feature id for the 'Scan' containment reference. * * - * * @generated * @ordered */ @@ -183,7 +171,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The feature id for the 'Layer Id' attribute. * * - * * @generated * @ordered */ @@ -193,7 +180,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The feature id for the 'Layer Angle' attribute. * * - * * @generated * @ordered */ @@ -203,20 +189,25 @@ public interface Oarp1_datatypesPackage extends EPackage { * The number of structural features of the 'Extented Lidar Scan' class. * * - * * @generated * @ordered */ int EXTENTED_LIDAR_SCAN_FEATURE_COUNT = 3; + /** + * The number of operations of the 'Extented Lidar Scan' class. + * + * + * @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 - * Car Like Command}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand Car Like Command}'. * * - * * @return the meta object for class 'Car Like Command'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand * @generated @@ -224,12 +215,9 @@ public interface Oarp1_datatypesPackage extends EPackage { EClass getCarLikeCommand(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getVelocity - * Velocity}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getVelocity Velocity}'. * * - * * @return the meta object for the attribute 'Velocity'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getVelocity() * @see #getCarLikeCommand() @@ -238,12 +226,9 @@ public interface Oarp1_datatypesPackage extends EPackage { 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 - * Steering Angle}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getSteeringAngle Steering Angle}'. * * - * * @return the meta object for the attribute 'Steering Angle'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand#getSteeringAngle() * @see #getCarLikeCommand() @@ -252,12 +237,9 @@ public interface Oarp1_datatypesPackage extends EPackage { EAttribute getCarLikeCommand_SteeringAngle(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan - * Multi Layer Lidar Scan}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan Multi Layer Lidar Scan}'. * * - * * @return the meta object for class 'Multi Layer Lidar Scan'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan * @generated @@ -265,12 +247,9 @@ public interface Oarp1_datatypesPackage extends EPackage { 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 - * Layers}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getLayers Layers}'. * * - * * @return the meta object for the containment reference 'Layers'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getLayers() * @see #getMultiLayerLidarScan() @@ -279,12 +258,9 @@ public interface Oarp1_datatypesPackage extends EPackage { 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 - * Nb Layer}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getNbLayer Nb Layer}'. * * - * * @return the meta object for the attribute 'Nb Layer'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan#getNbLayer() * @see #getMultiLayerLidarScan() @@ -293,12 +269,9 @@ public interface Oarp1_datatypesPackage extends EPackage { EAttribute getMultiLayerLidarScan_NbLayer(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan - * Extented Lidar Scan}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan Extented Lidar Scan}'. * * - * * @return the meta object for class 'Extented Lidar Scan'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan * @generated @@ -306,12 +279,9 @@ public interface Oarp1_datatypesPackage extends EPackage { 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 - * Scan}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getScan Scan}'. * * - * * @return the meta object for the containment reference 'Scan'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getScan() * @see #getExtentedLidarScan() @@ -320,12 +290,9 @@ public interface Oarp1_datatypesPackage extends EPackage { 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 - * Layer Id}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerId Layer Id}'. * * - * * @return the meta object for the attribute 'Layer Id'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerId() * @see #getExtentedLidarScan() @@ -334,12 +301,9 @@ public interface Oarp1_datatypesPackage extends EPackage { 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 - * Layer Angle}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerAngle Layer Angle}'. * * - * * @return the meta object for the attribute 'Layer Angle'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan#getLayerAngle() * @see #getExtentedLidarScan() @@ -351,7 +315,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * Returns the factory that creates the instances of the model. * * - * * @return the factory that creates the instances of the model. * @generated */ @@ -361,24 +324,20 @@ public interface Oarp1_datatypesPackage extends EPackage { * * Defines literals for the meta objects that represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @generated */ interface Literals { - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl - * Car Like Command}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl Car Like Command}' class. * * - * * @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 @@ -389,7 +348,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The meta object literal for the 'Velocity' attribute feature. * * - * * @generated */ EAttribute CAR_LIKE_COMMAND__VELOCITY = eINSTANCE.getCarLikeCommand_Velocity(); @@ -398,18 +356,14 @@ public interface Oarp1_datatypesPackage extends EPackage { * The meta object literal for the 'Steering Angle' attribute feature. * * - * * @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 - * Multi Layer Lidar Scan}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.MultiLayerLidarScanImpl Multi Layer Lidar Scan}' class. * * - * * @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 @@ -420,7 +374,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The meta object literal for the 'Layers' containment reference feature. * * - * * @generated */ EReference MULTI_LAYER_LIDAR_SCAN__LAYERS = eINSTANCE.getMultiLayerLidarScan_Layers(); @@ -429,18 +382,14 @@ public interface Oarp1_datatypesPackage extends EPackage { * The meta object literal for the 'Nb Layer' attribute feature. * * - * * @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 - * Extented Lidar Scan}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl Extented Lidar Scan}' class. * * - * * @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 @@ -451,7 +400,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The meta object literal for the 'Scan' containment reference feature. * * - * * @generated */ EReference EXTENTED_LIDAR_SCAN__SCAN = eINSTANCE.getExtentedLidarScan_Scan(); @@ -460,7 +408,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The meta object literal for the 'Layer Id' attribute feature. * * - * * @generated */ EAttribute EXTENTED_LIDAR_SCAN__LAYER_ID = eINSTANCE.getExtentedLidarScan_LayerId(); @@ -469,7 +416,6 @@ public interface Oarp1_datatypesPackage extends EPackage { * The meta object literal for the 'Layer Angle' attribute feature. * * - * * @generated */ EAttribute EXTENTED_LIDAR_SCAN__LAYER_ANGLE = eINSTANCE.getExtentedLidarScan_LayerAngle(); 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 index b88d0a4a909..56836669a30 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,24 +19,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl#getVelocity - * Velocity}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl#getSteeringAngle - * Steering Angle}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl#getVelocity Velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.CarLikeCommandImpl#getSteeringAngle Steering Angle}
  • *
*

- * + * * @generated */ -public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { - +public class CarLikeCommandImpl extends MinimalEObjectImpl.Container implements CarLikeCommand { /** * The default value of the '{@link #getVelocity() Velocity}' attribute. * * - * * @see #getVelocity() * @generated * @ordered @@ -53,7 +41,6 @@ public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { * The cached value of the '{@link #getVelocity() Velocity}' attribute. * * - * * @see #getVelocity() * @generated * @ordered @@ -64,7 +51,6 @@ public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { * The default value of the '{@link #getSteeringAngle() Steering Angle}' attribute. * * - * * @see #getSteeringAngle() * @generated * @ordered @@ -75,7 +61,6 @@ public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { * The cached value of the '{@link #getSteeringAngle() Steering Angle}' attribute. * * - * * @see #getSteeringAngle() * @generated * @ordered @@ -85,7 +70,6 @@ public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { /** * * - * * @generated */ protected CarLikeCommandImpl() { @@ -95,7 +79,6 @@ public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { /** * * - * * @generated */ @Override @@ -106,7 +89,6 @@ public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { /** * * - * * @generated */ public double getVelocity() { @@ -116,20 +98,18 @@ public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { /** * * - * * @generated */ public void setVelocity(double newVelocity) { double oldVelocity = velocity; velocity = newVelocity; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.CAR_LIKE_COMMAND__VELOCITY, oldVelocity, velocity)); } /** * * - * * @generated */ public double getSteeringAngle() { @@ -139,29 +119,27 @@ public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { /** * * - * * @generated */ public void setSteeringAngle(double newSteeringAngle) { double oldSteeringAngle = steeringAngle; steeringAngle = newSteeringAngle; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.CAR_LIKE_COMMAND__STEERING_ANGLE, oldSteeringAngle, steeringAngle)); } /** * * - * * @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(); + 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); } @@ -169,18 +147,17 @@ public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__VELOCITY: - setVelocity((Double)newValue); - return; - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__STEERING_ANGLE: - setSteeringAngle((Double)newValue); - return; + switch (featureID) { + case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__VELOCITY: + setVelocity((Double)newValue); + return; + case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__STEERING_ANGLE: + setSteeringAngle((Double)newValue); + return; } super.eSet(featureID, newValue); } @@ -188,18 +165,17 @@ public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { /** * * - * * @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; + 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); } @@ -207,16 +183,15 @@ public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__VELOCITY: - return velocity != VELOCITY_EDEFAULT; - case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__STEERING_ANGLE: - return steeringAngle != STEERING_ANGLE_EDEFAULT; + switch (featureID) { + case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__VELOCITY: + return velocity != VELOCITY_EDEFAULT; + case Oarp1_datatypesPackage.CAR_LIKE_COMMAND__STEERING_ANGLE: + return steeringAngle != STEERING_ANGLE_EDEFAULT; } return super.eIsSet(featureID); } @@ -224,13 +199,11 @@ public class CarLikeCommandImpl extends EObjectImpl implements CarLikeCommand { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (velocity: "); 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 index e410419fd2c..50f8094a553 100644 --- 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 @@ -1,24 +1,19 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -28,27 +23,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl#getScan - * Scan}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl#getLayerId - * Layer Id}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl#getLayerAngle - * Layer Angle}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl#getScan Scan}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl#getLayerId Layer Id}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.ExtentedLidarScanImpl#getLayerAngle Layer Angle}
  • *
*

- * + * * @generated */ -public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarScan { - +public class ExtentedLidarScanImpl extends MinimalEObjectImpl.Container implements ExtentedLidarScan { /** * The cached value of the '{@link #getScan() Scan}' containment reference. * * - * * @see #getScan() * @generated * @ordered @@ -59,7 +46,6 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS * The default value of the '{@link #getLayerId() Layer Id}' attribute. * * - * * @see #getLayerId() * @generated * @ordered @@ -70,7 +56,6 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS * The cached value of the '{@link #getLayerId() Layer Id}' attribute. * * - * * @see #getLayerId() * @generated * @ordered @@ -81,7 +66,6 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS * The default value of the '{@link #getLayerAngle() Layer Angle}' attribute. * * - * * @see #getLayerAngle() * @generated * @ordered @@ -92,7 +76,6 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS * The cached value of the '{@link #getLayerAngle() Layer Angle}' attribute. * * - * * @see #getLayerAngle() * @generated * @ordered @@ -102,7 +85,6 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS /** * * - * * @generated */ protected ExtentedLidarScanImpl() { @@ -112,7 +94,6 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS /** * * - * * @generated */ @Override @@ -123,7 +104,6 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS /** * * - * * @generated */ public LaserScan getScan() { @@ -133,18 +113,14 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS /** * * - * * @generated */ public NotificationChain basicSetScan(LaserScan newScan, NotificationChain msgs) { LaserScan oldScan = scan; scan = newScan; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -152,27 +128,25 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS /** * * - * * @generated */ public void setScan(LaserScan newScan) { - if(newScan != scan) { + if (newScan != scan) { NotificationChain msgs = null; - if(scan != null) + if (scan != null) msgs = ((InternalEObject)scan).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN, null, msgs); - if(newScan != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN, newScan, newScan)); } /** * * - * * @generated */ public char getLayerId() { @@ -182,20 +156,18 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS /** * * - * * @generated */ public void setLayerId(char newLayerId) { char oldLayerId = layerId; layerId = newLayerId; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ID, oldLayerId, layerId)); } /** * * - * * @generated */ public float getLayerAngle() { @@ -205,27 +177,25 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS /** * * - * * @generated */ public void setLayerAngle(float newLayerAngle) { float oldLayerAngle = layerAngle; layerAngle = newLayerAngle; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ANGLE, oldLayerAngle, layerAngle)); } /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN: - return basicSetScan(null, msgs); + switch (featureID) { + case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN: + return basicSetScan(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -233,18 +203,17 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS /** * * - * * @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(); + 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); } @@ -252,21 +221,20 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS /** * * - * * @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((Character)newValue); - return; - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ANGLE: - setLayerAngle((Float)newValue); - return; + switch (featureID) { + case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN: + setScan((LaserScan)newValue); + return; + case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ID: + setLayerId((Character)newValue); + return; + case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ANGLE: + setLayerAngle((Float)newValue); + return; } super.eSet(featureID, newValue); } @@ -274,21 +242,20 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS /** * * - * * @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; + 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); } @@ -296,18 +263,17 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS /** * * - * * @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 layerId != LAYER_ID_EDEFAULT; - case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ANGLE: - return layerAngle != LAYER_ANGLE_EDEFAULT; + switch (featureID) { + case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__SCAN: + return scan != null; + case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ID: + return layerId != LAYER_ID_EDEFAULT; + case Oarp1_datatypesPackage.EXTENTED_LIDAR_SCAN__LAYER_ANGLE: + return layerAngle != LAYER_ANGLE_EDEFAULT; } return super.eIsSet(featureID); } @@ -315,13 +281,11 @@ public class ExtentedLidarScanImpl extends EObjectImpl implements ExtentedLidarS /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (layerId: "); 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 index a8e091a0289..1f4d0a6a275 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -28,24 +22,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.MultiLayerLidarScanImpl#getLayers - * Layers}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.MultiLayerLidarScanImpl#getNbLayer - * Nb Layer}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.MultiLayerLidarScanImpl#getLayers Layers}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.impl.MultiLayerLidarScanImpl#getNbLayer Nb Layer}
  • *
*

- * + * * @generated */ -public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLidarScan { - +public class MultiLayerLidarScanImpl extends MinimalEObjectImpl.Container implements MultiLayerLidarScan { /** * The cached value of the '{@link #getLayers() Layers}' containment reference. * * - * * @see #getLayers() * @generated * @ordered @@ -56,7 +44,6 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi * The default value of the '{@link #getNbLayer() Nb Layer}' attribute. * * - * * @see #getNbLayer() * @generated * @ordered @@ -67,7 +54,6 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi * The cached value of the '{@link #getNbLayer() Nb Layer}' attribute. * * - * * @see #getNbLayer() * @generated * @ordered @@ -77,7 +63,6 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi /** * * - * * @generated */ protected MultiLayerLidarScanImpl() { @@ -87,7 +72,6 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi /** * * - * * @generated */ @Override @@ -98,7 +82,6 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi /** * * - * * @generated */ public ExtentedLidarScan getLayers() { @@ -108,18 +91,14 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi /** * * - * * @generated */ public NotificationChain basicSetLayers(ExtentedLidarScan newLayers, NotificationChain msgs) { ExtentedLidarScan oldLayers = layers; layers = newLayers; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -127,27 +106,25 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi /** * * - * * @generated */ public void setLayers(ExtentedLidarScan newLayers) { - if(newLayers != layers) { + if (newLayers != layers) { NotificationChain msgs = null; - if(layers != null) + if (layers != null) msgs = ((InternalEObject)layers).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS, null, msgs); - if(newLayers != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS, newLayers, newLayers)); } /** * * - * * @generated */ public char getNbLayer() { @@ -157,27 +134,25 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi /** * * - * * @generated */ public void setNbLayer(char newNbLayer) { char oldNbLayer = nbLayer; nbLayer = newNbLayer; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__NB_LAYER, oldNbLayer, nbLayer)); } /** * * - * * @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); + switch (featureID) { + case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS: + return basicSetLayers(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -185,16 +160,15 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi /** * * - * * @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(); + 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); } @@ -202,18 +176,17 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi /** * * - * * @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((Character)newValue); - return; + switch (featureID) { + case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS: + setLayers((ExtentedLidarScan)newValue); + return; + case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__NB_LAYER: + setNbLayer((Character)newValue); + return; } super.eSet(featureID, newValue); } @@ -221,18 +194,17 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi /** * * - * * @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; + 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); } @@ -240,16 +212,15 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi /** * * - * * @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 nbLayer != NB_LAYER_EDEFAULT; + switch (featureID) { + case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__LAYERS: + return layers != null; + case Oarp1_datatypesPackage.MULTI_LAYER_LIDAR_SCAN__NB_LAYER: + return nbLayer != NB_LAYER_EDEFAULT; } return super.eIsSet(featureID); } @@ -257,13 +228,11 @@ public class MultiLayerLidarScanImpl extends EObjectImpl implements MultiLayerLi /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (nbLayer: "); 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 index 01372e928b4..4a4bbab780d 100644 --- 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 @@ -1,50 +1,38 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.*; /** * * An implementation of the model Factory. * - * * @generated */ public class Oarp1_datatypesFactoryImpl extends EFactoryImpl implements Oarp1_datatypesFactory { - /** * Creates the default factory implementation. * * - * * @generated */ public static Oarp1_datatypesFactory init() { try { - Oarp1_datatypesFactory theOarp1_datatypesFactory = (Oarp1_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory("http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp1_datatypes.ecore"); - if(theOarp1_datatypesFactory != null) { + Oarp1_datatypesFactory theOarp1_datatypesFactory = (Oarp1_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Oarp1_datatypesPackage.eNS_URI); + if (theOarp1_datatypesFactory != null) { return theOarp1_datatypesFactory; } - } catch (Exception exception) { + } + catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new Oarp1_datatypesFactoryImpl(); @@ -54,7 +42,6 @@ public class Oarp1_datatypesFactoryImpl extends EFactoryImpl implements Oarp1_da * Creates an instance of the factory. * * - * * @generated */ public Oarp1_datatypesFactoryImpl() { @@ -64,27 +51,22 @@ public class Oarp1_datatypesFactoryImpl extends EFactoryImpl implements Oarp1_da /** * * - * * @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"); + 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"); } } /** * * - * * @generated */ public CarLikeCommand createCarLikeCommand() { @@ -95,7 +77,6 @@ public class Oarp1_datatypesFactoryImpl extends EFactoryImpl implements Oarp1_da /** * * - * * @generated */ public MultiLayerLidarScan createMultiLayerLidarScan() { @@ -106,7 +87,6 @@ public class Oarp1_datatypesFactoryImpl extends EFactoryImpl implements Oarp1_da /** * * - * * @generated */ public ExtentedLidarScan createExtentedLidarScan() { @@ -117,7 +97,6 @@ public class Oarp1_datatypesFactoryImpl extends EFactoryImpl implements Oarp1_da /** * * - * * @generated */ public Oarp1_datatypesPackage getOarp1_datatypesPackage() { @@ -127,7 +106,6 @@ public class Oarp1_datatypesFactoryImpl extends EFactoryImpl implements Oarp1_da /** * * - * * @deprecated * @generated */ 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 index 57dcd9a60ab..8f47be39dfb 100644 --- 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 @@ -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.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; /** * * An implementation of the model Package. * - * * @generated */ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_datatypesPackage { - /** * * - * * @generated */ private EClass carLikeCommandEClass = null; @@ -59,7 +66,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ private EClass multiLayerLidarScanEClass = null; @@ -67,19 +73,20 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ private EClass extentedLidarScanEClass = null; /** - * Creates an instance of the model Package, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the - * package + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. - *

- * 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. - * + *

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. + * + * * @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() @@ -92,7 +99,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ private static boolean isInited = false; @@ -100,18 +106,17 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * - *

- * 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. - * + *

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. + * + * * @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); + 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()); @@ -156,7 +161,7 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da // 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; @@ -165,7 +170,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ public EClass getCarLikeCommand() { @@ -175,7 +179,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ public EAttribute getCarLikeCommand_Velocity() { @@ -185,7 +188,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ public EAttribute getCarLikeCommand_SteeringAngle() { @@ -195,7 +197,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ public EClass getMultiLayerLidarScan() { @@ -205,7 +206,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ public EReference getMultiLayerLidarScan_Layers() { @@ -215,7 +215,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ public EAttribute getMultiLayerLidarScan_NbLayer() { @@ -225,7 +224,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ public EClass getExtentedLidarScan() { @@ -235,7 +233,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ public EReference getExtentedLidarScan_Scan() { @@ -245,7 +242,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ public EAttribute getExtentedLidarScan_LayerId() { @@ -255,7 +251,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ public EAttribute getExtentedLidarScan_LayerAngle() { @@ -265,7 +260,6 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @generated */ public Oarp1_datatypesFactory getOarp1_datatypesFactory() { @@ -275,22 +269,19 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @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. * * - * * @generated */ public void createPackageContents() { - if(isCreated) - return; + if (isCreated) return; isCreated = true; // Create classes and their features @@ -311,22 +302,19 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da /** * * - * * @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. * * - * * @generated */ public void initializePackageContents() { - if(isInitialized) - return; + if (isInitialized) return; isInitialized = true; // Initialize package @@ -344,7 +332,7 @@ public class Oarp1_datatypesPackageImpl extends EPackageImpl implements Oarp1_da // Add supertypes to classes - // Initialize classes and features; add operations and parameters + // 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); 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 index d78f40c2541..62d935e9af8 100644 --- 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 @@ -1,41 +1,29 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.*; /** * * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * - * * @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. * * - * * @generated */ protected static Oarp1_datatypesPackage modelPackage; @@ -44,11 +32,10 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { * Creates an instance of the adapter factory. * * - * * @generated */ public Oarp1_datatypesAdapterFactory() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Oarp1_datatypesPackage.eINSTANCE; } } @@ -58,16 +45,15 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { * * This implementation returns true if the object is either the model's package or is an instance object of the model. * - * * @return whether this factory is applicable for the type of the object. * @generated */ @Override public boolean isFactoryForType(Object object) { - if(object == modelPackage) { + if (object == modelPackage) { return true; } - if(object instanceof EObject) { + if (object instanceof EObject) { return ((EObject)object).eClass().getEPackage() == modelPackage; } return false; @@ -77,39 +63,33 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { * The switch that delegates to the createXXX methods. * * - * * @generated */ - protected Oarp1_datatypesSwitch modelSwitch = new Oarp1_datatypesSwitch() { - - @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(); - } - }; + protected Oarp1_datatypesSwitch modelSwitch = + new Oarp1_datatypesSwitch() { + @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 target. * * - * - * @param target - * the object to adapt. + * @param target the object to adapt. * @return the adapter for the target. * @generated */ @@ -120,14 +100,11 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand - * Car Like Command}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand Car Like Command}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.CarLikeCommand * @generated @@ -137,14 +114,11 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan - * Multi Layer Lidar Scan}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan Multi Layer Lidar Scan}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.MultiLayerLidarScan * @generated @@ -154,14 +128,11 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan - * Extented Lidar Scan}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan Extented Lidar Scan}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.ExtentedLidarScan * @generated @@ -175,7 +146,6 @@ public class Oarp1_datatypesAdapterFactory extends AdapterFactoryImpl { * * This default implementation returns null. * - * * @return the new adapter. * @generated */ 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 index 94af7cc977d..2b8d807eb97 100644 --- 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 @@ -1,44 +1,32 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.*; /** * * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for each class of the model, + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX 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. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp1_datatypes.Oarp1_datatypesPackage * @generated */ public class Oarp1_datatypesSwitch extends Switch { - /** * The cached model package * * - * * @generated */ protected static Oarp1_datatypesPackage modelPackage; @@ -47,11 +35,10 @@ public class Oarp1_datatypesSwitch extends Switch { * Creates an instance of the switch. * * - * * @generated */ public Oarp1_datatypesSwitch() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Oarp1_datatypesPackage.eINSTANCE; } } @@ -60,7 +47,6 @@ public class Oarp1_datatypesSwitch extends Switch { * Checks whether this is a switch for the given package. * * - * * @parameter ePackage the package in question. * @return whether this is a switch for the given package. * @generated @@ -74,39 +60,31 @@ public class Oarp1_datatypesSwitch extends Switch { * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. * * - * * @return the first non-null result returned by a caseXXX 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); + 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); } } @@ -116,9 +94,7 @@ public class Oarp1_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Car Like Command'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -133,9 +109,7 @@ public class Oarp1_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Multi Layer Lidar Scan'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -150,9 +124,7 @@ public class Oarp1_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Extented Lidar Scan'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -167,9 +139,7 @@ public class Oarp1_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch, but this is the last case anyway. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated 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 index e10791bb6de..0777ccb25d8 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,47 +8,40 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Angular'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular#getValue Value - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular#getValue Value}
  • *
*

- * + * * @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 'Value' attribute. * *

- * If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Value' attribute. * @see #setValue(long) * @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" + * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getValue(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular#getValue - * Value}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular#getValue Value}' attribute. * * - * - * @param value - * the new value of the 'Value' attribute. + * @param value the new value of the 'Value' attribute. * @see #getValue() * @generated */ 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 index 75a1ec0331d..b4a73ce6443 100644 --- 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 @@ -1,48 +1,36 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; +// TODO: Auto-generated Javadoc /** * * A representation of the model object 'Art Set Point'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_left - * Omega left}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_right - * Omega right}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_left Omega left}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_right Omega right}
  • *
*

- * + * * @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 'Omega left' containment reference. * *

- * If the meaning of the 'Omega left' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Omega left' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Omega left' 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() @@ -52,14 +40,10 @@ public interface Art_Set_Point extends EObject { 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 - * Omega left}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_left Omega left}' containment reference. * * - * - * @param value - * the new value of the 'Omega left' containment reference. + * @param value the new value of the 'Omega left' containment reference. * @see #getOmega_left() * @generated */ @@ -69,10 +53,10 @@ public interface Art_Set_Point extends EObject { * Returns the value of the 'Omega right' containment reference. * *

- * If the meaning of the 'Omega right' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Omega right' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Omega right' 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() @@ -82,14 +66,10 @@ public interface Art_Set_Point extends EObject { 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 - * Omega right}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_right Omega right}' containment reference. * * - * - * @param value - * the new value of the 'Omega right' containment reference. + * @param value the new value of the 'Omega right' containment reference. * @see #getOmega_right() * @generated */ 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 index db2d22440f7..97c79ec3c05 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,47 +8,40 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Distance'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance#getValue Value - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance#getValue Value}
  • *
*

- * + * * @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 'Value' attribute. * *

- * If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Value' attribute. * @see #setValue(long) * @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" + * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getValue(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance#getValue - * Value}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance#getValue Value}' attribute. * * - * - * @param value - * the new value of the 'Value' attribute. + * @param value the new value of the 'Value' attribute. * @see #getValue() * @generated */ 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 index ac05dd63d41..1f89fb513a5 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,47 +8,40 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Metric'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric#getValue Value - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric#getValue Value}
  • *
*

- * + * * @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 'Value' attribute. * *

- * If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Value' attribute. * @see #setValue(double) * @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" + * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getValue(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric#getValue - * Value}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric#getValue Value}' attribute. * * - * - * @param value - * the new value of the 'Value' attribute. + * @param value the new value of the 'Value' attribute. * @see #getValue() * @generated */ 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 index 3f752afbcc3..ffd39a2c9a1 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,47 +8,40 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Milli Amp'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp#getValue Value - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp#getValue Value}
  • *
*

- * + * * @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 'Value' attribute. * *

- * If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Value' attribute. * @see #setValue(long) * @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" + * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getValue(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp#getValue - * Value}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp#getValue Value}' attribute. * * - * - * @param value - * the new value of the 'Value' attribute. + * @param value the new value of the 'Value' attribute. * @see #getValue() * @generated */ 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 index 70ab800af67..831396fc2aa 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EFactory; @@ -18,17 +9,14 @@ import org.eclipse.emf.ecore.EFactory; * The Factory for the model. * It provides a create method for each non-abstract class of the model. * - * * @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. * * - * * @generated */ Oarp4_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Oarp4_datatypesFactoryImpl.init(); @@ -37,7 +25,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Velocity Linear'. * * - * * @return a new object of class 'Velocity Linear'. * @generated */ @@ -47,7 +34,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Art Set Point'. * * - * * @return a new object of class 'Art Set Point'. * @generated */ @@ -57,7 +43,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Velocity Angular'. * * - * * @return a new object of class 'Velocity Angular'. * @generated */ @@ -67,7 +52,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Distance'. * * - * * @return a new object of class 'Distance'. * @generated */ @@ -77,7 +61,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Metric'. * * - * * @return a new object of class 'Metric'. * @generated */ @@ -87,7 +70,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Angular'. * * - * * @return a new object of class 'Angular'. * @generated */ @@ -97,7 +79,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Op Set Point'. * * - * * @return a new object of class 'Op Set Point'. * @generated */ @@ -107,7 +88,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Speed Tics Left Right'. * * - * * @return a new object of class 'Speed Tics Left Right'. * @generated */ @@ -117,7 +97,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Speed Tics'. * * - * * @return a new object of class 'Speed Tics'. * @generated */ @@ -127,7 +106,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Odometer Tics'. * * - * * @return a new object of class 'Odometer Tics'. * @generated */ @@ -137,7 +115,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Odometer Tics Left Right'. * * - * * @return a new object of class 'Odometer Tics Left Right'. * @generated */ @@ -147,7 +124,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Proxi Left Right'. * * - * * @return a new object of class 'Proxi Left Right'. * @generated */ @@ -157,7 +133,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Milli Amp'. * * - * * @return a new object of class 'Milli Amp'. * @generated */ @@ -167,7 +142,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Odometer Linear Left Right'. * * - * * @return a new object of class 'Odometer Linear Left Right'. * @generated */ @@ -177,7 +151,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Velocity Angular Left Right'. * * - * * @return a new object of class 'Velocity Angular Left Right'. * @generated */ @@ -187,7 +160,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns a new object of class 'Velocity'. * * - * * @return a new object of class 'Velocity'. * @generated */ @@ -197,7 +169,6 @@ public interface Oarp4_datatypesFactory extends EFactory { * Returns the package supported by this factory. * * - * * @return the package supported by this factory. * @generated */ 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 index 2e9f8a9b1d1..12410a164b0 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EAttribute; @@ -21,24 +12,22 @@ import org.eclipse.emf.ecore.EReference; * The Package for the model. * It contains accessors for the meta objects to represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @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. * * - * * @generated */ String eNAME = "oarp4_datatypes"; @@ -47,7 +36,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The package namespace URI. * * - * * @generated */ String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes.ecore"; @@ -56,7 +44,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The package namespace name. * * - * * @generated */ String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes"; @@ -65,18 +52,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The singleton instance of the package. * * - * * @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 - * Velocity Linear}' class. + * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_LinearImpl Velocity Linear}' class. * * - * * @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 @@ -87,7 +70,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Value' attribute. * * - * * @generated * @ordered */ @@ -97,19 +79,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Velocity Linear' class. * * - * * @generated * @ordered */ int VELOCITY_LINEAR_FEATURE_COUNT = 1; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Art_Set_PointImpl - * Art Set Point}' class. + * The number of operations of the 'Velocity Linear' class. + * + * + * @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 Art Set Point}' class. * * - * * @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 @@ -120,7 +107,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Omega left' containment reference. * * - * * @generated * @ordered */ @@ -130,7 +116,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Omega right' containment reference. * * - * * @generated * @ordered */ @@ -140,19 +125,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Art Set Point' class. * * - * * @generated * @ordered */ int ART_SET_POINT_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_AngularImpl - * Velocity Angular}' class. + * The number of operations of the 'Art Set Point' class. + * + * + * @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 Velocity Angular}' class. * * - * * @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 @@ -163,7 +153,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Value' attribute. * * - * * @generated * @ordered */ @@ -173,19 +162,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Velocity Angular' class. * * - * * @generated * @ordered */ int VELOCITY_ANGULAR_FEATURE_COUNT = 1; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.DistanceImpl - * Distance}' class. + * The number of operations of the 'Velocity Angular' class. + * + * + * @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 Distance}' class. * * - * * @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 @@ -196,7 +190,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Value' attribute. * * - * * @generated * @ordered */ @@ -206,19 +199,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Distance' class. * * - * * @generated * @ordered */ int DISTANCE_FEATURE_COUNT = 1; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.MetricImpl - * Metric}' class. + * The number of operations of the 'Distance' class. + * + * + * @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 Metric}' class. * * - * * @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 @@ -229,7 +227,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Value' attribute. * * - * * @generated * @ordered */ @@ -239,19 +236,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Metric' class. * * - * * @generated * @ordered */ int METRIC_FEATURE_COUNT = 1; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.AngularImpl - * Angular}' class. + * The number of operations of the 'Metric' class. + * + * + * @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 Angular}' class. * * - * * @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 @@ -262,7 +264,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Value' attribute. * * - * * @generated * @ordered */ @@ -272,19 +273,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Angular' class. * * - * * @generated * @ordered */ int ANGULAR_FEATURE_COUNT = 1; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Op_Set_PointImpl - * Op Set Point}' class. + * The number of operations of the 'Angular' class. + * + * + * @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 Op Set Point}' class. * * - * * @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 @@ -295,7 +301,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Velocity' containment reference. * * - * * @generated * @ordered */ @@ -305,7 +310,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Orientation' containment reference. * * - * * @generated * @ordered */ @@ -315,19 +319,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Op Set Point' class. * * - * * @generated * @ordered */ int OP_SET_POINT_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_Tics_Left_RightImpl - * Speed Tics Left Right}' class. + * The number of operations of the 'Op Set Point' class. + * + * + * @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 Speed Tics Left Right}' class. * * - * * @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 @@ -338,7 +347,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Speed tics left' containment reference. * * - * * @generated * @ordered */ @@ -348,7 +356,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Speed tics right' containment reference. * * - * * @generated * @ordered */ @@ -358,19 +365,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Speed Tics Left Right' class. * * - * * @generated * @ordered */ int SPEED_TICS_LEFT_RIGHT_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_TicsImpl - * Speed Tics}' class. + * The number of operations of the 'Speed Tics Left Right' class. + * + * + * @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 Speed Tics}' class. * * - * * @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 @@ -381,7 +393,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Value' attribute. * * - * * @generated * @ordered */ @@ -391,19 +402,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Speed Tics' class. * * - * * @generated * @ordered */ int SPEED_TICS_FEATURE_COUNT = 1; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_TicsImpl - * Odometer Tics}' class. + * The number of operations of the 'Speed Tics' class. + * + * + * @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 Odometer Tics}' class. * * - * * @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 @@ -414,7 +430,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Value' attribute. * * - * * @generated * @ordered */ @@ -424,19 +439,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Odometer Tics' class. * * - * * @generated * @ordered */ int ODOMETER_TICS_FEATURE_COUNT = 1; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Tics_Left_RightImpl - * Odometer Tics Left Right}' class. + * The number of operations of the 'Odometer Tics' class. + * + * + * @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 Odometer Tics Left Right}' class. * * - * * @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 @@ -447,7 +467,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Odometer tics left' containment reference. * * - * * @generated * @ordered */ @@ -457,7 +476,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Odometer tics right' containment reference. * * - * * @generated * @ordered */ @@ -467,19 +485,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Odometer Tics Left Right' class. * * - * * @generated * @ordered */ int ODOMETER_TICS_LEFT_RIGHT_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Proxi_Left_RightImpl - * Proxi Left Right}' class. + * The number of operations of the 'Odometer Tics Left Right' class. + * + * + * @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 Proxi Left Right}' class. * * - * * @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 @@ -490,7 +513,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Proxi left' containment reference. * * - * * @generated * @ordered */ @@ -500,7 +522,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Proxi right' containment reference. * * - * * @generated * @ordered */ @@ -510,19 +531,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Proxi Left Right' class. * * - * * @generated * @ordered */ int PROXI_LEFT_RIGHT_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Milli_AmpImpl - * Milli Amp}' class. + * The number of operations of the 'Proxi Left Right' class. + * + * + * @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 Milli Amp}' class. * * - * * @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 @@ -533,7 +559,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Value' attribute. * * - * * @generated * @ordered */ @@ -543,19 +568,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Milli Amp' class. * * - * * @generated * @ordered */ int MILLI_AMP_FEATURE_COUNT = 1; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Linear_Left_RightImpl - * Odometer Linear Left Right}' class. + * The number of operations of the 'Milli Amp' class. + * + * + * @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 Odometer Linear Left Right}' class. * * - * * @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 @@ -566,7 +596,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Odometer linear left' containment reference. * * - * * @generated * @ordered */ @@ -576,7 +605,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Odometer linear right' containment reference. * * - * * @generated * @ordered */ @@ -586,19 +614,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Odometer Linear Left Right' class. * * - * * @generated * @ordered */ int ODOMETER_LINEAR_LEFT_RIGHT_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_Angular_Left_RightImpl - * Velocity Angular Left Right}' class. + * The number of operations of the 'Odometer Linear Left Right' class. + * + * + * @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 Velocity Angular Left Right}' class. * * - * * @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 @@ -609,7 +642,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Velocity angular left' containment reference. * * - * * @generated * @ordered */ @@ -619,7 +651,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Velocity angular right' containment reference. * * - * * @generated * @ordered */ @@ -629,19 +660,24 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Velocity Angular Left Right' class. * * - * * @generated * @ordered */ int VELOCITY_ANGULAR_LEFT_RIGHT_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.VelocityImpl - * Velocity}' class. + * The number of operations of the 'Velocity Angular Left Right' class. + * + * + * @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 Velocity}' class. * * - * * @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 @@ -652,7 +688,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Velocity linear' containment reference. * * - * * @generated * @ordered */ @@ -662,7 +697,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The feature id for the 'Velocity angular' containment reference. * * - * * @generated * @ordered */ @@ -672,20 +706,25 @@ public interface Oarp4_datatypesPackage extends EPackage { * The number of structural features of the 'Velocity' class. * * - * * @generated * @ordered */ int VELOCITY_FEATURE_COUNT = 2; + /** + * The number of operations of the 'Velocity' class. + * + * + * @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 - * Velocity Linear}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear Velocity Linear}'. * * - * * @return the meta object for class 'Velocity Linear'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear * @generated @@ -693,12 +732,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Value}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear#getValue Value}'. * * - * * @return the meta object for the attribute 'Value'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear#getValue() * @see #getVelocity_Linear() @@ -707,12 +743,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Art Set Point}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point Art Set Point}'. * * - * * @return the meta object for class 'Art Set Point'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point * @generated @@ -720,12 +753,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * 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_left Omega left}'. * * - * * @return the meta object for the containment reference 'Omega left'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_left() * @see #getArt_Set_Point() @@ -734,12 +764,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Omega right}'. + * 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 Omega right}'. * * - * * @return the meta object for the containment reference 'Omega right'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point#getOmega_right() * @see #getArt_Set_Point() @@ -748,12 +775,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Velocity Angular}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular Velocity Angular}'. * * - * * @return the meta object for class 'Velocity Angular'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular * @generated @@ -761,12 +785,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Value}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular#getValue Value}'. * * - * * @return the meta object for the attribute 'Value'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular#getValue() * @see #getVelocity_Angular() @@ -775,12 +796,9 @@ public interface Oarp4_datatypesPackage extends EPackage { EAttribute getVelocity_Angular_Value(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance Distance} - * '. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance Distance}'. * * - * * @return the meta object for class 'Distance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance * @generated @@ -788,12 +806,9 @@ public interface Oarp4_datatypesPackage extends EPackage { EClass getDistance(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance#getValue - * Value}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance#getValue Value}'. * * - * * @return the meta object for the attribute 'Value'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance#getValue() * @see #getDistance() @@ -802,11 +817,9 @@ public interface Oarp4_datatypesPackage extends EPackage { EAttribute getDistance_Value(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric Metric}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric Metric}'. * * - * * @return the meta object for class 'Metric'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric * @generated @@ -814,12 +827,9 @@ public interface Oarp4_datatypesPackage extends EPackage { EClass getMetric(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric#getValue - * Value}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric#getValue Value}'. * * - * * @return the meta object for the attribute 'Value'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric#getValue() * @see #getMetric() @@ -828,11 +838,9 @@ public interface Oarp4_datatypesPackage extends EPackage { EAttribute getMetric_Value(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular Angular}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular Angular}'. * * - * * @return the meta object for class 'Angular'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular * @generated @@ -840,12 +848,9 @@ public interface Oarp4_datatypesPackage extends EPackage { EClass getAngular(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular#getValue - * Value}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular#getValue Value}'. * * - * * @return the meta object for the attribute 'Value'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular#getValue() * @see #getAngular() @@ -854,12 +859,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Op Set Point}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point Op Set Point}'. * * - * * @return the meta object for class 'Op Set Point'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point * @generated @@ -867,12 +869,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * 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#getVelocity Velocity}'. * * - * * @return the meta object for the containment reference 'Velocity'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getVelocity() * @see #getOp_Set_Point() @@ -881,12 +880,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Orientation}'. + * 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 Orientation}'. * * - * * @return the meta object for the containment reference 'Orientation'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getOrientation() * @see #getOp_Set_Point() @@ -895,12 +891,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Speed Tics Left Right}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right Speed Tics Left Right}'. * * - * * @return the meta object for class 'Speed Tics Left Right'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right * @generated @@ -908,12 +901,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * 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_left Speed tics left}'. * * - * * @return the meta object for the containment reference 'Speed tics left'. * @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() @@ -922,12 +912,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Speed tics 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_right Speed tics right}'. * * - * * @return the meta object for the containment reference 'Speed tics right'. * @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() @@ -936,12 +923,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Speed Tics}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics Speed Tics}'. * * - * * @return the meta object for class 'Speed Tics'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics * @generated @@ -949,12 +933,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Value}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics#getValue Value}'. * * - * * @return the meta object for the attribute 'Value'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics#getValue() * @see #getSpeed_Tics() @@ -963,12 +944,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Odometer Tics}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics Odometer Tics}'. * * - * * @return the meta object for class 'Odometer Tics'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics * @generated @@ -976,12 +954,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Value}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics#getValue Value}'. * * - * * @return the meta object for the attribute 'Value'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics#getValue() * @see #getOdometer_Tics() @@ -990,12 +965,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Odometer Tics Left Right}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right Odometer Tics Left Right}'. * * - * * @return the meta object for class 'Odometer Tics Left Right'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right * @generated @@ -1003,12 +975,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * 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_left Odometer tics left}'. * * - * * @return the meta object for the containment reference 'Odometer tics left'. * @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() @@ -1017,12 +986,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Odometer tics 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_right Odometer tics right}'. * * - * * @return the meta object for the containment reference 'Odometer tics right'. * @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() @@ -1031,12 +997,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Proxi Left Right}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right Proxi Left Right}'. * * - * * @return the meta object for class 'Proxi Left Right'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right * @generated @@ -1044,12 +1007,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * 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_left Proxi left}'. * * - * * @return the meta object for the containment reference 'Proxi left'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_left() * @see #getProxi_Left_Right() @@ -1058,12 +1018,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Proxi 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_right Proxi right}'. * * - * * @return the meta object for the containment reference 'Proxi right'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_right() * @see #getProxi_Left_Right() @@ -1072,12 +1029,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Milli Amp}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp Milli Amp}'. * * - * * @return the meta object for class 'Milli Amp'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp * @generated @@ -1085,12 +1039,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Value}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp#getValue Value}'. * * - * * @return the meta object for the attribute 'Value'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp#getValue() * @see #getMilli_Amp() @@ -1099,12 +1050,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Odometer Linear Left Right}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right Odometer Linear Left Right}'. * * - * * @return the meta object for class 'Odometer Linear Left Right'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right * @generated @@ -1112,12 +1060,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * 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_left Odometer linear left}'. * * - * * @return the meta object for the containment reference 'Odometer linear left'. * @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() @@ -1126,12 +1071,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Odometer linear 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_right Odometer linear right}'. * * - * * @return the meta object for the containment reference 'Odometer linear right'. * @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() @@ -1140,12 +1082,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Velocity Angular Left Right}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right Velocity Angular Left Right}'. * * - * * @return the meta object for class 'Velocity Angular Left Right'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right * @generated @@ -1153,12 +1092,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * 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_left Velocity angular left}'. * * - * * @return the meta object for the containment reference 'Velocity angular left'. * @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() @@ -1167,12 +1103,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Velocity angular 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_right Velocity angular right}'. * * - * * @return the meta object for the containment reference 'Velocity angular right'. * @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() @@ -1181,12 +1114,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 Velocity} - * '. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity Velocity}'. * * - * * @return the meta object for class 'Velocity'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity * @generated @@ -1194,12 +1124,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * 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_linear Velocity linear}'. * * - * * @return the meta object for the containment reference 'Velocity linear'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_linear() * @see #getVelocity() @@ -1208,12 +1135,9 @@ public interface Oarp4_datatypesPackage extends EPackage { 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 - * Velocity angular}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_angular Velocity angular}'. * * - * * @return the meta object for the containment reference 'Velocity angular'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_angular() * @see #getVelocity() @@ -1225,7 +1149,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * Returns the factory that creates the instances of the model. * * - * * @return the factory that creates the instances of the model. * @generated */ @@ -1235,24 +1158,20 @@ public interface Oarp4_datatypesPackage extends EPackage { * * Defines literals for the meta objects that represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @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 - * Velocity Linear}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_LinearImpl Velocity Linear}' class. * * - * * @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 @@ -1263,18 +1182,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Value' attribute feature. * * - * * @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 - * Art Set Point}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Art_Set_PointImpl Art Set Point}' class. * * - * * @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 @@ -1285,7 +1200,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Omega left' containment reference feature. * * - * * @generated */ EReference ART_SET_POINT__OMEGA_LEFT = eINSTANCE.getArt_Set_Point_Omega_left(); @@ -1294,18 +1208,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Omega right' containment reference feature. * * - * * @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 - * Velocity Angular}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_AngularImpl Velocity Angular}' class. * * - * * @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 @@ -1316,18 +1226,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Value' attribute feature. * * - * * @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 - * Distance}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.DistanceImpl Distance}' class. * * - * * @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 @@ -1338,18 +1244,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Value' attribute feature. * * - * * @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 - * Metric}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.MetricImpl Metric}' class. * * - * * @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 @@ -1360,18 +1262,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Value' attribute feature. * * - * * @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 - * Angular}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.AngularImpl Angular}' class. * * - * * @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 @@ -1382,18 +1280,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Value' attribute feature. * * - * * @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 - * Op Set Point}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Op_Set_PointImpl Op Set Point}' class. * * - * * @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 @@ -1404,7 +1298,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Velocity' containment reference feature. * * - * * @generated */ EReference OP_SET_POINT__VELOCITY = eINSTANCE.getOp_Set_Point_Velocity(); @@ -1413,18 +1306,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Orientation' containment reference feature. * * - * * @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 - * Speed Tics Left Right}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_Tics_Left_RightImpl Speed Tics Left Right}' class. * * - * * @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 @@ -1435,7 +1324,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Speed tics left' containment reference feature. * * - * * @generated */ EReference SPEED_TICS_LEFT_RIGHT__SPEED_TICS_LEFT = eINSTANCE.getSpeed_Tics_Left_Right_Speed_tics_left(); @@ -1444,18 +1332,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Speed tics right' containment reference feature. * * - * * @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 - * Speed Tics}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_TicsImpl Speed Tics}' class. * * - * * @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 @@ -1466,18 +1350,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Value' attribute feature. * * - * * @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 - * Odometer Tics}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_TicsImpl Odometer Tics}' class. * * - * * @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 @@ -1488,18 +1368,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Value' attribute feature. * * - * * @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 - * Odometer Tics Left Right}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Tics_Left_RightImpl Odometer Tics Left Right}' class. * * - * * @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 @@ -1510,7 +1386,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Odometer tics left' containment reference feature. * * - * * @generated */ EReference ODOMETER_TICS_LEFT_RIGHT__ODOMETER_TICS_LEFT = eINSTANCE.getOdometer_Tics_Left_Right_Odometer_tics_left(); @@ -1519,18 +1394,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Odometer tics right' containment reference feature. * * - * * @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 - * Proxi Left Right}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Proxi_Left_RightImpl Proxi Left Right}' class. * * - * * @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 @@ -1541,7 +1412,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Proxi left' containment reference feature. * * - * * @generated */ EReference PROXI_LEFT_RIGHT__PROXI_LEFT = eINSTANCE.getProxi_Left_Right_Proxi_left(); @@ -1550,18 +1420,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Proxi right' containment reference feature. * * - * * @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 - * Milli Amp}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Milli_AmpImpl Milli Amp}' class. * * - * * @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 @@ -1572,18 +1438,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Value' attribute feature. * * - * * @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 - * Odometer Linear Left Right}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Linear_Left_RightImpl Odometer Linear Left Right}' class. * * - * * @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 @@ -1594,7 +1456,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Odometer linear left' containment reference feature. * * - * * @generated */ EReference ODOMETER_LINEAR_LEFT_RIGHT__ODOMETER_LINEAR_LEFT = eINSTANCE.getOdometer_Linear_Left_Right_Odometer_linear_left(); @@ -1603,18 +1464,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Odometer linear right' containment reference feature. * * - * * @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 - * Velocity Angular Left Right}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_Angular_Left_RightImpl Velocity Angular Left Right}' class. * * - * * @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 @@ -1625,7 +1482,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Velocity angular left' containment reference feature. * * - * * @generated */ EReference VELOCITY_ANGULAR_LEFT_RIGHT__VELOCITY_ANGULAR_LEFT = eINSTANCE.getVelocity_Angular_Left_Right_Velocity_angular_left(); @@ -1634,18 +1490,14 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Velocity angular right' containment reference feature. * * - * * @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 - * Velocity}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.VelocityImpl Velocity}' class. * * - * * @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 @@ -1656,7 +1508,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Velocity linear' containment reference feature. * * - * * @generated */ EReference VELOCITY__VELOCITY_LINEAR = eINSTANCE.getVelocity_Velocity_linear(); @@ -1665,7 +1516,6 @@ public interface Oarp4_datatypesPackage extends EPackage { * The meta object literal for the 'Velocity angular' containment reference feature. * * - * * @generated */ EReference VELOCITY__VELOCITY_ANGULAR = eINSTANCE.getVelocity_Velocity_angular(); 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 index f0870ce7761..3c3c4d4d6ce 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,33 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Odometer Linear Left Right'. * - * + * *

* The following features are supported: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right#getOdometer_linear_left - * Odometer linear left}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right#getOdometer_linear_right - * Odometer linear right}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right#getOdometer_linear_left Odometer linear left}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right#getOdometer_linear_right Odometer linear right}
  • *
*

- * + * * @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 'Odometer linear left' containment reference. * *

- * If the meaning of the 'Odometer linear left' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Odometer linear left' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Odometer linear left' 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() @@ -53,14 +39,10 @@ public interface Odometer_Linear_Left_Right extends EObject { 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 - * Odometer linear left}' containment reference. + * 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 Odometer linear left}' containment reference. * * - * - * @param value - * the new value of the 'Odometer linear left' containment reference. + * @param value the new value of the 'Odometer linear left' containment reference. * @see #getOdometer_linear_left() * @generated */ @@ -70,10 +52,10 @@ public interface Odometer_Linear_Left_Right extends EObject { * Returns the value of the 'Odometer linear right' containment reference. * *

- * If the meaning of the 'Odometer linear right' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Odometer linear right' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Odometer linear right' 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() @@ -83,14 +65,10 @@ public interface Odometer_Linear_Left_Right extends EObject { 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 - * Odometer linear right}' containment reference. + * 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 Odometer linear right}' containment reference. * * - * - * @param value - * the new value of the 'Odometer linear right' containment reference. + * @param value the new value of the 'Odometer linear right' containment reference. * @see #getOdometer_linear_right() * @generated */ 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 index 9f45ea5bac1..be514c02e4e 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,47 +8,40 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Odometer Tics'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics#getValue - * Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics#getValue Value}
  • *
*

- * + * * @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 'Value' attribute. * *

- * If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Value' attribute. * @see #setValue(int) * @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" + * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32" required="true" ordered="false" * @generated */ int getValue(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics#getValue - * Value}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics#getValue Value}' attribute. * * - * - * @param value - * the new value of the 'Value' attribute. + * @param value the new value of the 'Value' attribute. * @see #getValue() * @generated */ 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 index c572adfd444..6d0ba751506 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,33 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Odometer Tics Left Right'. * - * + * *

* The following features are supported: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right#getOdometer_tics_left - * Odometer tics left}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right#getOdometer_tics_right - * Odometer tics right}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right#getOdometer_tics_left Odometer tics left}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right#getOdometer_tics_right Odometer tics right}
  • *
*

- * + * * @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 'Odometer tics left' containment reference. * *

- * If the meaning of the 'Odometer tics left' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Odometer tics left' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Odometer tics left' 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() @@ -53,14 +39,10 @@ public interface Odometer_Tics_Left_Right extends EObject { 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 - * Odometer tics left}' containment reference. + * 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 Odometer tics left}' containment reference. * * - * - * @param value - * the new value of the 'Odometer tics left' containment reference. + * @param value the new value of the 'Odometer tics left' containment reference. * @see #getOdometer_tics_left() * @generated */ @@ -70,10 +52,10 @@ public interface Odometer_Tics_Left_Right extends EObject { * Returns the value of the 'Odometer tics right' containment reference. * *

- * If the meaning of the 'Odometer tics right' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Odometer tics right' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Odometer tics right' 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() @@ -83,14 +65,10 @@ public interface Odometer_Tics_Left_Right extends EObject { 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 - * Odometer tics right}' containment reference. + * 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 Odometer tics right}' containment reference. * * - * - * @param value - * the new value of the 'Odometer tics right' containment reference. + * @param value the new value of the 'Odometer tics right' containment reference. * @see #getOdometer_tics_right() * @generated */ 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 index 08ec2760d25..4fe716c3989 100644 --- 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 @@ -1,47 +1,36 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; +// TODO: Auto-generated Javadoc /** * * A representation of the model object 'Op Set Point'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getVelocity - * Velocity}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getOrientation - * Orientation}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getVelocity Velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getOrientation Orientation}
  • *
*

- * + * * @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 'Velocity' containment reference. * *

- * If the meaning of the 'Velocity' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Velocity' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Velocity' 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() @@ -51,14 +40,10 @@ public interface Op_Set_Point extends EObject { 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 - * Velocity}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getVelocity Velocity}' containment reference. * * - * - * @param value - * the new value of the 'Velocity' containment reference. + * @param value the new value of the 'Velocity' containment reference. * @see #getVelocity() * @generated */ @@ -68,10 +53,10 @@ public interface Op_Set_Point extends EObject { * Returns the value of the 'Orientation' containment reference. * *

- * If the meaning of the 'Orientation' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Orientation' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Orientation' containment reference. * @see #setOrientation(Angular) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage#getOp_Set_Point_Orientation() @@ -81,14 +66,10 @@ public interface Op_Set_Point extends EObject { Angular getOrientation(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getOrientation - * Orientation}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point#getOrientation Orientation}' containment reference. * * - * - * @param value - * the new value of the 'Orientation' containment reference. + * @param value the new value of the 'Orientation' containment reference. * @see #getOrientation() * @generated */ 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 index cedb7ceddf7..726105907f2 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,33 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Proxi Left Right'. * - * + * *

* The following features are supported: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_left - * Proxi left}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_right - * Proxi right}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_left Proxi left}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_right Proxi right}
  • *
*

- * + * * @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 'Proxi left' containment reference. * *

- * If the meaning of the 'Proxi left' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Proxi left' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Proxi left' 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() @@ -53,14 +39,10 @@ public interface Proxi_Left_Right extends EObject { 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 - * Proxi left}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_left Proxi left}' containment reference. * * - * - * @param value - * the new value of the 'Proxi left' containment reference. + * @param value the new value of the 'Proxi left' containment reference. * @see #getProxi_left() * @generated */ @@ -70,10 +52,10 @@ public interface Proxi_Left_Right extends EObject { * Returns the value of the 'Proxi right' containment reference. * *

- * If the meaning of the 'Proxi right' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Proxi right' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Proxi right' 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() @@ -83,14 +65,10 @@ public interface Proxi_Left_Right extends EObject { 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 - * Proxi right}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right#getProxi_right Proxi right}' containment reference. * * - * - * @param value - * the new value of the 'Proxi right' containment reference. + * @param value the new value of the 'Proxi right' containment reference. * @see #getProxi_right() * @generated */ 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 index ed18990cb67..2bb5293bcbc 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,47 +8,40 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Speed Tics'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics#getValue - * Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics#getValue Value}
  • *
*

- * + * * @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 'Value' attribute. * *

- * If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Value' attribute. * @see #setValue(int) * @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" + * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32" required="true" ordered="false" * @generated */ int getValue(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics#getValue - * Value}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics#getValue Value}' attribute. * * - * - * @param value - * the new value of the 'Value' attribute. + * @param value the new value of the 'Value' attribute. * @see #getValue() * @generated */ 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 index 31aeeca7a9f..bcbf0b4af7d 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,33 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Speed Tics Left Right'. * - * + * *

* The following features are supported: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right#getSpeed_tics_left - * Speed tics left}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right#getSpeed_tics_right - * Speed tics right}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right#getSpeed_tics_left Speed tics left}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right#getSpeed_tics_right Speed tics right}
  • *
*

- * + * * @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 'Speed tics left' containment reference. * *

- * If the meaning of the 'Speed tics left' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Speed tics left' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Speed tics left' 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() @@ -53,14 +39,10 @@ public interface Speed_Tics_Left_Right extends EObject { 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 - * Speed tics left}' containment reference. + * 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 Speed tics left}' containment reference. * * - * - * @param value - * the new value of the 'Speed tics left' containment reference. + * @param value the new value of the 'Speed tics left' containment reference. * @see #getSpeed_tics_left() * @generated */ @@ -70,10 +52,10 @@ public interface Speed_Tics_Left_Right extends EObject { * Returns the value of the 'Speed tics right' containment reference. * *

- * If the meaning of the 'Speed tics right' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Speed tics right' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Speed tics right' 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() @@ -83,14 +65,10 @@ public interface Speed_Tics_Left_Right extends EObject { 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 - * Speed tics right}' containment reference. + * 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 Speed tics right}' containment reference. * * - * - * @param value - * the new value of the 'Speed tics right' containment reference. + * @param value the new value of the 'Speed tics right' containment reference. * @see #getSpeed_tics_right() * @generated */ 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 index 5f3142838e6..cf3044804a1 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,32 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Velocity'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_linear - * Velocity linear}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_angular - * Velocity angular}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_linear Velocity linear}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_angular Velocity angular}
  • *
*

- * + * * @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 'Velocity linear' containment reference. * *

- * If the meaning of the 'Velocity linear' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Velocity linear' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Velocity linear' 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() @@ -52,14 +39,10 @@ public interface Velocity extends EObject { 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 - * Velocity linear}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_linear Velocity linear}' containment reference. * * - * - * @param value - * the new value of the 'Velocity linear' containment reference. + * @param value the new value of the 'Velocity linear' containment reference. * @see #getVelocity_linear() * @generated */ @@ -69,10 +52,10 @@ public interface Velocity extends EObject { * Returns the value of the 'Velocity angular' containment reference. * *

- * If the meaning of the 'Velocity angular' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Velocity angular' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Velocity angular' 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() @@ -82,14 +65,10 @@ public interface Velocity extends EObject { 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 - * Velocity angular}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity#getVelocity_angular Velocity angular}' containment reference. * * - * - * @param value - * the new value of the 'Velocity angular' containment reference. + * @param value the new value of the 'Velocity angular' containment reference. * @see #getVelocity_angular() * @generated */ 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 index 8c5965f93a2..dbc2145062f 100644 --- 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 @@ -1,63 +1,48 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; +// TODO: Auto-generated Javadoc /** * * A representation of the model object 'Velocity Angular'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular#getValue - * Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular#getValue Value}
  • *
*

- * + * * @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 'Value' attribute. * *

- * If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Value' attribute. * @see #setValue(double) * @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" + * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getValue(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular#getValue - * Value}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular#getValue Value}' attribute. * * - * - * @param value - * the new value of the 'Value' attribute. + * @param value the new value of the 'Value' attribute. * @see #getValue() * @generated */ 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 index 608603f6a30..8dc1bf589e7 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,33 +8,28 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Velocity Angular Left Right'. * - * + * *

* The following features are supported: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right#getVelocity_angular_left - * Velocity angular left}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right#getVelocity_angular_right - * Velocity angular right}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right#getVelocity_angular_left Velocity angular left}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right#getVelocity_angular_right Velocity angular right}
  • *
*

- * + * * @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 'Velocity angular left' containment reference. * *

- * If the meaning of the 'Velocity angular left' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Velocity angular left' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Velocity angular left' 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() @@ -53,14 +39,10 @@ public interface Velocity_Angular_Left_Right extends EObject { 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 - * Velocity angular left}' containment reference. + * 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 Velocity angular left}' containment reference. * * - * - * @param value - * the new value of the 'Velocity angular left' containment reference. + * @param value the new value of the 'Velocity angular left' containment reference. * @see #getVelocity_angular_left() * @generated */ @@ -70,10 +52,10 @@ public interface Velocity_Angular_Left_Right extends EObject { * Returns the value of the 'Velocity angular right' containment reference. * *

- * If the meaning of the 'Velocity angular right' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Velocity angular right' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Velocity angular right' 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() @@ -83,14 +65,10 @@ public interface Velocity_Angular_Left_Right extends EObject { 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 - * Velocity angular right}' containment reference. + * 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 Velocity angular right}' containment reference. * * - * - * @param value - * the new value of the 'Velocity angular right' containment reference. + * @param value the new value of the 'Velocity angular right' containment reference. * @see #getVelocity_angular_right() * @generated */ 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 index 4f20dad34f5..2df8c59caa3 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.oarps_datatypes.oarp4_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,47 +8,40 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Velocity Linear'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear#getValue - * Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear#getValue Value}
  • *
*

- * + * * @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 'Value' attribute. * *

- * If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Value' attribute. * @see #setValue(int) * @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" + * @model unique="false" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32" required="true" ordered="false" * @generated */ int getValue(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear#getValue - * Value}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear#getValue Value}' attribute. * * - * - * @param value - * the new value of the 'Value' attribute. + * @param value the new value of the 'Value' attribute. * @see #getValue() * @generated */ 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 index 363ec4f2250..509f37ef72a 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,20 +19,17 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.AngularImpl#getValue - * Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.AngularImpl#getValue Value}
  • *
*

- * + * * @generated */ -public class AngularImpl extends EObjectImpl implements Angular { - +public class AngularImpl extends MinimalEObjectImpl.Container implements Angular { /** * The default value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -49,7 +40,6 @@ public class AngularImpl extends EObjectImpl implements Angular { * The cached value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -59,7 +49,6 @@ public class AngularImpl extends EObjectImpl implements Angular { /** * * - * * @generated */ protected AngularImpl() { @@ -69,7 +58,6 @@ public class AngularImpl extends EObjectImpl implements Angular { /** * * - * * @generated */ @Override @@ -80,7 +68,6 @@ public class AngularImpl extends EObjectImpl implements Angular { /** * * - * * @generated */ public long getValue() { @@ -90,27 +77,25 @@ public class AngularImpl extends EObjectImpl implements Angular { /** * * - * * @generated */ public void setValue(long newValue) { long oldValue = value; value = newValue; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ANGULAR__VALUE, oldValue, value)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case Oarp4_datatypesPackage.ANGULAR__VALUE: - return getValue(); + switch (featureID) { + case Oarp4_datatypesPackage.ANGULAR__VALUE: + return getValue(); } return super.eGet(featureID, resolve, coreType); } @@ -118,15 +103,14 @@ public class AngularImpl extends EObjectImpl implements Angular { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Oarp4_datatypesPackage.ANGULAR__VALUE: - setValue((Long)newValue); - return; + switch (featureID) { + case Oarp4_datatypesPackage.ANGULAR__VALUE: + setValue((Long)newValue); + return; } super.eSet(featureID, newValue); } @@ -134,15 +118,14 @@ public class AngularImpl extends EObjectImpl implements Angular { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.ANGULAR__VALUE: - setValue(VALUE_EDEFAULT); - return; + switch (featureID) { + case Oarp4_datatypesPackage.ANGULAR__VALUE: + setValue(VALUE_EDEFAULT); + return; } super.eUnset(featureID); } @@ -150,14 +133,13 @@ public class AngularImpl extends EObjectImpl implements Angular { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.ANGULAR__VALUE: - return value != VALUE_EDEFAULT; + switch (featureID) { + case Oarp4_datatypesPackage.ANGULAR__VALUE: + return value != VALUE_EDEFAULT; } return super.eIsSet(featureID); } @@ -165,13 +147,11 @@ public class AngularImpl extends EObjectImpl implements Angular { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (value: "); 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 index cef5f9ce2f8..2d804007a7c 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -28,24 +22,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Art_Set_PointImpl#getOmega_left - * Omega left}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Art_Set_PointImpl#getOmega_right - * Omega right}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Art_Set_PointImpl#getOmega_left Omega left}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Art_Set_PointImpl#getOmega_right Omega right}
  • *
*

- * + * * @generated */ -public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { - +public class Art_Set_PointImpl extends MinimalEObjectImpl.Container implements Art_Set_Point { /** * The cached value of the '{@link #getOmega_left() Omega left}' containment reference. * * - * * @see #getOmega_left() * @generated * @ordered @@ -56,7 +44,6 @@ public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { * The cached value of the '{@link #getOmega_right() Omega right}' containment reference. * * - * * @see #getOmega_right() * @generated * @ordered @@ -66,7 +53,6 @@ public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { /** * * - * * @generated */ protected Art_Set_PointImpl() { @@ -76,7 +62,6 @@ public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { /** * * - * * @generated */ @Override @@ -87,7 +72,6 @@ public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { /** * * - * * @generated */ public Velocity_Angular getOmega_left() { @@ -97,18 +81,14 @@ public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { /** * * - * * @generated */ public NotificationChain basicSetOmega_left(Velocity_Angular newOmega_left, NotificationChain msgs) { Velocity_Angular oldOmega_left = omega_left; omega_left = newOmega_left; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -116,27 +96,25 @@ public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { /** * * - * * @generated */ public void setOmega_left(Velocity_Angular newOmega_left) { - if(newOmega_left != omega_left) { + if (newOmega_left != omega_left) { NotificationChain msgs = null; - if(omega_left != 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) + 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()) + 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)); } /** * * - * * @generated */ public Velocity_Angular getOmega_right() { @@ -146,18 +124,14 @@ public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { /** * * - * * @generated */ public NotificationChain basicSetOmega_right(Velocity_Angular newOmega_right, NotificationChain msgs) { Velocity_Angular oldOmega_right = omega_right; omega_right = newOmega_right; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -165,36 +139,34 @@ public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { /** * * - * * @generated */ public void setOmega_right(Velocity_Angular newOmega_right) { - if(newOmega_right != omega_right) { + if (newOmega_right != omega_right) { NotificationChain msgs = null; - if(omega_right != 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) + 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()) + 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)); } /** * * - * * @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); + 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); } @@ -202,16 +174,15 @@ public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { /** * * - * * @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(); + 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); } @@ -219,18 +190,17 @@ public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { /** * * - * * @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; + 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); } @@ -238,18 +208,17 @@ public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { /** * * - * * @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; + 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); } @@ -257,16 +226,15 @@ public class Art_Set_PointImpl extends EObjectImpl implements Art_Set_Point { /** * * - * * @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; + 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); } 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 index 4d325d3d08b..4f9ea9eaa42 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,20 +19,17 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.DistanceImpl#getValue - * Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.DistanceImpl#getValue Value}
  • *
*

- * + * * @generated */ -public class DistanceImpl extends EObjectImpl implements Distance { - +public class DistanceImpl extends MinimalEObjectImpl.Container implements Distance { /** * The default value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -49,7 +40,6 @@ public class DistanceImpl extends EObjectImpl implements Distance { * The cached value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -59,7 +49,6 @@ public class DistanceImpl extends EObjectImpl implements Distance { /** * * - * * @generated */ protected DistanceImpl() { @@ -69,7 +58,6 @@ public class DistanceImpl extends EObjectImpl implements Distance { /** * * - * * @generated */ @Override @@ -80,7 +68,6 @@ public class DistanceImpl extends EObjectImpl implements Distance { /** * * - * * @generated */ public long getValue() { @@ -90,27 +77,25 @@ public class DistanceImpl extends EObjectImpl implements Distance { /** * * - * * @generated */ public void setValue(long newValue) { long oldValue = value; value = newValue; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.DISTANCE__VALUE, oldValue, value)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case Oarp4_datatypesPackage.DISTANCE__VALUE: - return getValue(); + switch (featureID) { + case Oarp4_datatypesPackage.DISTANCE__VALUE: + return getValue(); } return super.eGet(featureID, resolve, coreType); } @@ -118,15 +103,14 @@ public class DistanceImpl extends EObjectImpl implements Distance { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Oarp4_datatypesPackage.DISTANCE__VALUE: - setValue((Long)newValue); - return; + switch (featureID) { + case Oarp4_datatypesPackage.DISTANCE__VALUE: + setValue((Long)newValue); + return; } super.eSet(featureID, newValue); } @@ -134,15 +118,14 @@ public class DistanceImpl extends EObjectImpl implements Distance { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.DISTANCE__VALUE: - setValue(VALUE_EDEFAULT); - return; + switch (featureID) { + case Oarp4_datatypesPackage.DISTANCE__VALUE: + setValue(VALUE_EDEFAULT); + return; } super.eUnset(featureID); } @@ -150,14 +133,13 @@ public class DistanceImpl extends EObjectImpl implements Distance { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.DISTANCE__VALUE: - return value != VALUE_EDEFAULT; + switch (featureID) { + case Oarp4_datatypesPackage.DISTANCE__VALUE: + return value != VALUE_EDEFAULT; } return super.eIsSet(featureID); } @@ -165,13 +147,11 @@ public class DistanceImpl extends EObjectImpl implements Distance { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (value: "); 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 index e60718d0f43..03ca839c8fd 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,20 +19,17 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.MetricImpl#getValue - * Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.MetricImpl#getValue Value}
  • *
*

- * + * * @generated */ -public class MetricImpl extends EObjectImpl implements Metric { - +public class MetricImpl extends MinimalEObjectImpl.Container implements Metric { /** * The default value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -49,7 +40,6 @@ public class MetricImpl extends EObjectImpl implements Metric { * The cached value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -59,7 +49,6 @@ public class MetricImpl extends EObjectImpl implements Metric { /** * * - * * @generated */ protected MetricImpl() { @@ -69,7 +58,6 @@ public class MetricImpl extends EObjectImpl implements Metric { /** * * - * * @generated */ @Override @@ -80,7 +68,6 @@ public class MetricImpl extends EObjectImpl implements Metric { /** * * - * * @generated */ public double getValue() { @@ -90,27 +77,25 @@ public class MetricImpl extends EObjectImpl implements Metric { /** * * - * * @generated */ public void setValue(double newValue) { double oldValue = value; value = newValue; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.METRIC__VALUE, oldValue, value)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case Oarp4_datatypesPackage.METRIC__VALUE: - return getValue(); + switch (featureID) { + case Oarp4_datatypesPackage.METRIC__VALUE: + return getValue(); } return super.eGet(featureID, resolve, coreType); } @@ -118,15 +103,14 @@ public class MetricImpl extends EObjectImpl implements Metric { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Oarp4_datatypesPackage.METRIC__VALUE: - setValue((Double)newValue); - return; + switch (featureID) { + case Oarp4_datatypesPackage.METRIC__VALUE: + setValue((Double)newValue); + return; } super.eSet(featureID, newValue); } @@ -134,15 +118,14 @@ public class MetricImpl extends EObjectImpl implements Metric { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.METRIC__VALUE: - setValue(VALUE_EDEFAULT); - return; + switch (featureID) { + case Oarp4_datatypesPackage.METRIC__VALUE: + setValue(VALUE_EDEFAULT); + return; } super.eUnset(featureID); } @@ -150,14 +133,13 @@ public class MetricImpl extends EObjectImpl implements Metric { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.METRIC__VALUE: - return value != VALUE_EDEFAULT; + switch (featureID) { + case Oarp4_datatypesPackage.METRIC__VALUE: + return value != VALUE_EDEFAULT; } return super.eIsSet(featureID); } @@ -165,13 +147,11 @@ public class MetricImpl extends EObjectImpl implements Metric { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (value: "); 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 index 9ad5bae1ad3..789d2fe4911 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,20 +19,17 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Milli_AmpImpl#getValue - * Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Milli_AmpImpl#getValue Value}
  • *
*

- * + * * @generated */ -public class Milli_AmpImpl extends EObjectImpl implements Milli_Amp { - +public class Milli_AmpImpl extends MinimalEObjectImpl.Container implements Milli_Amp { /** * The default value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -49,7 +40,6 @@ public class Milli_AmpImpl extends EObjectImpl implements Milli_Amp { * The cached value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -59,7 +49,6 @@ public class Milli_AmpImpl extends EObjectImpl implements Milli_Amp { /** * * - * * @generated */ protected Milli_AmpImpl() { @@ -69,7 +58,6 @@ public class Milli_AmpImpl extends EObjectImpl implements Milli_Amp { /** * * - * * @generated */ @Override @@ -80,7 +68,6 @@ public class Milli_AmpImpl extends EObjectImpl implements Milli_Amp { /** * * - * * @generated */ public long getValue() { @@ -90,27 +77,25 @@ public class Milli_AmpImpl extends EObjectImpl implements Milli_Amp { /** * * - * * @generated */ public void setValue(long newValue) { long oldValue = value; value = newValue; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.MILLI_AMP__VALUE, oldValue, value)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case Oarp4_datatypesPackage.MILLI_AMP__VALUE: - return getValue(); + switch (featureID) { + case Oarp4_datatypesPackage.MILLI_AMP__VALUE: + return getValue(); } return super.eGet(featureID, resolve, coreType); } @@ -118,15 +103,14 @@ public class Milli_AmpImpl extends EObjectImpl implements Milli_Amp { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Oarp4_datatypesPackage.MILLI_AMP__VALUE: - setValue((Long)newValue); - return; + switch (featureID) { + case Oarp4_datatypesPackage.MILLI_AMP__VALUE: + setValue((Long)newValue); + return; } super.eSet(featureID, newValue); } @@ -134,15 +118,14 @@ public class Milli_AmpImpl extends EObjectImpl implements Milli_Amp { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.MILLI_AMP__VALUE: - setValue(VALUE_EDEFAULT); - return; + switch (featureID) { + case Oarp4_datatypesPackage.MILLI_AMP__VALUE: + setValue(VALUE_EDEFAULT); + return; } super.eUnset(featureID); } @@ -150,14 +133,13 @@ public class Milli_AmpImpl extends EObjectImpl implements Milli_Amp { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.MILLI_AMP__VALUE: - return value != VALUE_EDEFAULT; + switch (featureID) { + case Oarp4_datatypesPackage.MILLI_AMP__VALUE: + return value != VALUE_EDEFAULT; } return super.eIsSet(featureID); } @@ -165,13 +147,11 @@ public class Milli_AmpImpl extends EObjectImpl implements Milli_Amp { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (value: "); 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 index 9c8f0ecacb2..c051730f151 100644 --- 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 @@ -1,63 +1,38 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.*; /** * * An implementation of the model Factory. * - * * @generated */ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_datatypesFactory { - /** * Creates the default factory implementation. * * - * * @generated */ public static Oarp4_datatypesFactory init() { try { - Oarp4_datatypesFactory theOarp4_datatypesFactory = (Oarp4_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory("http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes.ecore"); - if(theOarp4_datatypesFactory != null) { + Oarp4_datatypesFactory theOarp4_datatypesFactory = (Oarp4_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Oarp4_datatypesPackage.eNS_URI); + if (theOarp4_datatypesFactory != null) { return theOarp4_datatypesFactory; } - } catch (Exception exception) { + } + catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new Oarp4_datatypesFactoryImpl(); @@ -67,7 +42,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da * Creates an instance of the factory. * * - * * @generated */ public Oarp4_datatypesFactoryImpl() { @@ -77,53 +51,35 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @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"); + 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"); } } /** * * - * * @generated */ public Velocity_Linear createVelocity_Linear() { @@ -134,7 +90,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Art_Set_Point createArt_Set_Point() { @@ -145,7 +100,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Velocity_Angular createVelocity_Angular() { @@ -156,7 +110,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Distance createDistance() { @@ -167,7 +120,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Metric createMetric() { @@ -178,7 +130,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Angular createAngular() { @@ -189,7 +140,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Op_Set_Point createOp_Set_Point() { @@ -200,7 +150,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Speed_Tics_Left_Right createSpeed_Tics_Left_Right() { @@ -211,7 +160,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Speed_Tics createSpeed_Tics() { @@ -222,7 +170,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Odometer_Tics createOdometer_Tics() { @@ -233,7 +180,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Odometer_Tics_Left_Right createOdometer_Tics_Left_Right() { @@ -244,7 +190,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Proxi_Left_Right createProxi_Left_Right() { @@ -255,7 +200,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Milli_Amp createMilli_Amp() { @@ -266,7 +210,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Odometer_Linear_Left_Right createOdometer_Linear_Left_Right() { @@ -277,7 +220,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Velocity_Angular_Left_Right createVelocity_Angular_Left_Right() { @@ -288,7 +230,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Velocity createVelocity() { @@ -299,7 +240,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @generated */ public Oarp4_datatypesPackage getOarp4_datatypesPackage() { @@ -309,7 +249,6 @@ public class Oarp4_datatypesFactoryImpl extends EFactoryImpl implements Oarp4_da /** * * - * * @deprecated * @generated */ 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 index 50ded9e94af..5d1d934a61d 100644 --- 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 @@ -1,33 +1,38 @@ -/***************************************************************************** - * 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.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; @@ -46,25 +51,27 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp 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; /** * * An implementation of the model Package. * - * * @generated */ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_datatypesPackage { - /** * * - * * @generated */ private EClass velocity_LinearEClass = null; @@ -72,7 +79,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass art_Set_PointEClass = null; @@ -80,7 +86,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass velocity_AngularEClass = null; @@ -88,7 +93,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass distanceEClass = null; @@ -96,7 +100,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass metricEClass = null; @@ -104,7 +107,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass angularEClass = null; @@ -112,7 +114,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass op_Set_PointEClass = null; @@ -120,7 +121,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass speed_Tics_Left_RightEClass = null; @@ -128,7 +128,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass speed_TicsEClass = null; @@ -136,7 +135,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass odometer_TicsEClass = null; @@ -144,7 +142,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass odometer_Tics_Left_RightEClass = null; @@ -152,7 +149,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass proxi_Left_RightEClass = null; @@ -160,7 +156,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass milli_AmpEClass = null; @@ -168,7 +163,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass odometer_Linear_Left_RightEClass = null; @@ -176,7 +170,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass velocity_Angular_Left_RightEClass = null; @@ -184,19 +177,20 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private EClass velocityEClass = null; /** - * Creates an instance of the model Package, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the - * package + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. - *

- * 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. - * + *

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. + * + * * @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() @@ -209,7 +203,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ private static boolean isInited = false; @@ -217,18 +210,17 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * - *

- * 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. - * + *

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. + * + * * @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); + 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()); @@ -273,7 +265,7 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da // 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; @@ -282,7 +274,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getVelocity_Linear() { @@ -292,7 +283,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EAttribute getVelocity_Linear_Value() { @@ -302,7 +292,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getArt_Set_Point() { @@ -312,7 +301,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getArt_Set_Point_Omega_left() { @@ -322,7 +310,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getArt_Set_Point_Omega_right() { @@ -332,7 +319,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getVelocity_Angular() { @@ -342,7 +328,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EAttribute getVelocity_Angular_Value() { @@ -352,7 +337,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getDistance() { @@ -362,7 +346,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EAttribute getDistance_Value() { @@ -372,7 +355,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getMetric() { @@ -382,7 +364,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EAttribute getMetric_Value() { @@ -392,7 +373,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getAngular() { @@ -402,7 +382,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EAttribute getAngular_Value() { @@ -412,7 +391,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getOp_Set_Point() { @@ -422,7 +400,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getOp_Set_Point_Velocity() { @@ -432,7 +409,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getOp_Set_Point_Orientation() { @@ -442,7 +418,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getSpeed_Tics_Left_Right() { @@ -452,7 +427,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getSpeed_Tics_Left_Right_Speed_tics_left() { @@ -462,7 +436,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getSpeed_Tics_Left_Right_Speed_tics_right() { @@ -472,7 +445,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getSpeed_Tics() { @@ -482,7 +454,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EAttribute getSpeed_Tics_Value() { @@ -492,7 +463,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getOdometer_Tics() { @@ -502,7 +472,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EAttribute getOdometer_Tics_Value() { @@ -512,7 +481,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getOdometer_Tics_Left_Right() { @@ -522,7 +490,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getOdometer_Tics_Left_Right_Odometer_tics_left() { @@ -532,7 +499,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getOdometer_Tics_Left_Right_Odometer_tics_right() { @@ -542,7 +508,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getProxi_Left_Right() { @@ -552,7 +517,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getProxi_Left_Right_Proxi_left() { @@ -562,7 +526,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getProxi_Left_Right_Proxi_right() { @@ -572,7 +535,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getMilli_Amp() { @@ -582,7 +544,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EAttribute getMilli_Amp_Value() { @@ -592,7 +553,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getOdometer_Linear_Left_Right() { @@ -602,7 +562,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getOdometer_Linear_Left_Right_Odometer_linear_left() { @@ -612,7 +571,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getOdometer_Linear_Left_Right_Odometer_linear_right() { @@ -622,7 +580,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getVelocity_Angular_Left_Right() { @@ -632,7 +589,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getVelocity_Angular_Left_Right_Velocity_angular_left() { @@ -642,7 +598,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getVelocity_Angular_Left_Right_Velocity_angular_right() { @@ -652,7 +607,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EClass getVelocity() { @@ -662,7 +616,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getVelocity_Velocity_linear() { @@ -672,7 +625,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public EReference getVelocity_Velocity_angular() { @@ -682,7 +634,6 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @generated */ public Oarp4_datatypesFactory getOarp4_datatypesFactory() { @@ -692,22 +643,19 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @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. * * - * * @generated */ public void createPackageContents() { - if(isCreated) - return; + if (isCreated) return; isCreated = true; // Create classes and their features @@ -771,22 +719,19 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da /** * * - * * @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. * * - * * @generated */ public void initializePackageContents() { - if(isInitialized) - return; + if (isInitialized) return; isInitialized = true; // Initialize package @@ -803,7 +748,7 @@ public class Oarp4_datatypesPackageImpl extends EPackageImpl implements Oarp4_da // Add supertypes to classes - // Initialize classes and features; add operations and parameters + // 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); 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 index 326cb1c6899..360da99a1af 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -28,24 +22,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Linear_Left_RightImpl#getOdometer_linear_left - * Odometer linear left}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Linear_Left_RightImpl#getOdometer_linear_right - * Odometer linear right}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Linear_Left_RightImpl#getOdometer_linear_left Odometer linear left}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Linear_Left_RightImpl#getOdometer_linear_right Odometer linear right}
  • *
*

- * + * * @generated */ -public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odometer_Linear_Left_Right { - +public class Odometer_Linear_Left_RightImpl extends MinimalEObjectImpl.Container implements Odometer_Linear_Left_Right { /** * The cached value of the '{@link #getOdometer_linear_left() Odometer linear left}' containment reference. * * - * * @see #getOdometer_linear_left() * @generated * @ordered @@ -56,7 +44,6 @@ public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odome * The cached value of the '{@link #getOdometer_linear_right() Odometer linear right}' containment reference. * * - * * @see #getOdometer_linear_right() * @generated * @ordered @@ -66,7 +53,6 @@ public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odome /** * * - * * @generated */ protected Odometer_Linear_Left_RightImpl() { @@ -76,7 +62,6 @@ public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odome /** * * - * * @generated */ @Override @@ -87,7 +72,6 @@ public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odome /** * * - * * @generated */ public Metric getOdometer_linear_left() { @@ -97,18 +81,14 @@ public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odome /** * * - * * @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()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -116,27 +96,25 @@ public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odome /** * * - * * @generated */ public void setOdometer_linear_left(Metric newOdometer_linear_left) { - if(newOdometer_linear_left != odometer_linear_left) { + if (newOdometer_linear_left != odometer_linear_left) { NotificationChain msgs = null; - if(odometer_linear_left != 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) + 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()) + 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)); } /** * * - * * @generated */ public Metric getOdometer_linear_right() { @@ -146,18 +124,14 @@ public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odome /** * * - * * @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()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -165,36 +139,34 @@ public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odome /** * * - * * @generated */ public void setOdometer_linear_right(Metric newOdometer_linear_right) { - if(newOdometer_linear_right != odometer_linear_right) { + if (newOdometer_linear_right != odometer_linear_right) { NotificationChain msgs = null; - if(odometer_linear_right != 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) + 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()) + 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)); } /** * * - * * @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); + 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); } @@ -202,16 +174,15 @@ public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odome /** * * - * * @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(); + 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); } @@ -219,18 +190,17 @@ public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odome /** * * - * * @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; + 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); } @@ -238,18 +208,17 @@ public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odome /** * * - * * @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; + 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); } @@ -257,16 +226,15 @@ public class Odometer_Linear_Left_RightImpl extends EObjectImpl implements Odome /** * * - * * @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; + 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); } 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 index a86623973c5..0fa60f999e3 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,21 +19,17 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_TicsImpl#getValue - * Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_TicsImpl#getValue Value}
  • *
*

- * + * * @generated */ -public class Odometer_TicsImpl extends EObjectImpl implements Odometer_Tics { - +public class Odometer_TicsImpl extends MinimalEObjectImpl.Container implements Odometer_Tics { /** * The default value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -50,7 +40,6 @@ public class Odometer_TicsImpl extends EObjectImpl implements Odometer_Tics { * The cached value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -60,7 +49,6 @@ public class Odometer_TicsImpl extends EObjectImpl implements Odometer_Tics { /** * * - * * @generated */ protected Odometer_TicsImpl() { @@ -70,7 +58,6 @@ public class Odometer_TicsImpl extends EObjectImpl implements Odometer_Tics { /** * * - * * @generated */ @Override @@ -81,7 +68,6 @@ public class Odometer_TicsImpl extends EObjectImpl implements Odometer_Tics { /** * * - * * @generated */ public int getValue() { @@ -91,27 +77,25 @@ public class Odometer_TicsImpl extends EObjectImpl implements Odometer_Tics { /** * * - * * @generated */ public void setValue(int newValue) { int oldValue = value; value = newValue; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ODOMETER_TICS__VALUE, oldValue, value)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE: - return getValue(); + switch (featureID) { + case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE: + return getValue(); } return super.eGet(featureID, resolve, coreType); } @@ -119,15 +103,14 @@ public class Odometer_TicsImpl extends EObjectImpl implements Odometer_Tics { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE: - setValue((Integer)newValue); - return; + switch (featureID) { + case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE: + setValue((Integer)newValue); + return; } super.eSet(featureID, newValue); } @@ -135,15 +118,14 @@ public class Odometer_TicsImpl extends EObjectImpl implements Odometer_Tics { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE: - setValue(VALUE_EDEFAULT); - return; + switch (featureID) { + case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE: + setValue(VALUE_EDEFAULT); + return; } super.eUnset(featureID); } @@ -151,14 +133,13 @@ public class Odometer_TicsImpl extends EObjectImpl implements Odometer_Tics { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE: - return value != VALUE_EDEFAULT; + switch (featureID) { + case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE: + return value != VALUE_EDEFAULT; } return super.eIsSet(featureID); } @@ -166,13 +147,11 @@ public class Odometer_TicsImpl extends EObjectImpl implements Odometer_Tics { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (value: "); 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 index 2b6acfd09e6..aec84ab1d13 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -28,24 +22,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Tics_Left_RightImpl#getOdometer_tics_left - * Odometer tics left}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Tics_Left_RightImpl#getOdometer_tics_right - * Odometer tics right}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Tics_Left_RightImpl#getOdometer_tics_left Odometer tics left}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Odometer_Tics_Left_RightImpl#getOdometer_tics_right Odometer tics right}
  • *
*

- * + * * @generated */ -public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odometer_Tics_Left_Right { - +public class Odometer_Tics_Left_RightImpl extends MinimalEObjectImpl.Container implements Odometer_Tics_Left_Right { /** * The cached value of the '{@link #getOdometer_tics_left() Odometer tics left}' containment reference. * * - * * @see #getOdometer_tics_left() * @generated * @ordered @@ -56,7 +44,6 @@ public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odomete * The cached value of the '{@link #getOdometer_tics_right() Odometer tics right}' containment reference. * * - * * @see #getOdometer_tics_right() * @generated * @ordered @@ -66,7 +53,6 @@ public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odomete /** * * - * * @generated */ protected Odometer_Tics_Left_RightImpl() { @@ -76,7 +62,6 @@ public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odomete /** * * - * * @generated */ @Override @@ -87,7 +72,6 @@ public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odomete /** * * - * * @generated */ public Odometer_Tics getOdometer_tics_left() { @@ -97,18 +81,14 @@ public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odomete /** * * - * * @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()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -116,27 +96,25 @@ public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odomete /** * * - * * @generated */ public void setOdometer_tics_left(Odometer_Tics newOdometer_tics_left) { - if(newOdometer_tics_left != odometer_tics_left) { + if (newOdometer_tics_left != odometer_tics_left) { NotificationChain msgs = null; - if(odometer_tics_left != 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) + 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()) + 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)); } /** * * - * * @generated */ public Odometer_Tics getOdometer_tics_right() { @@ -146,18 +124,14 @@ public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odomete /** * * - * * @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()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -165,36 +139,34 @@ public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odomete /** * * - * * @generated */ public void setOdometer_tics_right(Odometer_Tics newOdometer_tics_right) { - if(newOdometer_tics_right != odometer_tics_right) { + if (newOdometer_tics_right != odometer_tics_right) { NotificationChain msgs = null; - if(odometer_tics_right != 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) + 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()) + 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)); } /** * * - * * @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); + 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); } @@ -202,16 +174,15 @@ public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odomete /** * * - * * @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(); + 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); } @@ -219,18 +190,17 @@ public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odomete /** * * - * * @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; + 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); } @@ -238,18 +208,17 @@ public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odomete /** * * - * * @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; + 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); } @@ -257,16 +226,15 @@ public class Odometer_Tics_Left_RightImpl extends EObjectImpl implements Odomete /** * * - * * @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; + 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); } 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 index b4f5530fdac..4f306c14e32 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -29,24 +23,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Op_Set_PointImpl#getVelocity - * Velocity}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Op_Set_PointImpl#getOrientation - * Orientation}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Op_Set_PointImpl#getVelocity Velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Op_Set_PointImpl#getOrientation Orientation}
  • *
*

- * + * * @generated */ -public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { - +public class Op_Set_PointImpl extends MinimalEObjectImpl.Container implements Op_Set_Point { /** * The cached value of the '{@link #getVelocity() Velocity}' containment reference. * * - * * @see #getVelocity() * @generated * @ordered @@ -57,7 +45,6 @@ public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { * The cached value of the '{@link #getOrientation() Orientation}' containment reference. * * - * * @see #getOrientation() * @generated * @ordered @@ -67,7 +54,6 @@ public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { /** * * - * * @generated */ protected Op_Set_PointImpl() { @@ -77,7 +63,6 @@ public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { /** * * - * * @generated */ @Override @@ -88,7 +73,6 @@ public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { /** * * - * * @generated */ public Velocity_Linear getVelocity() { @@ -98,18 +82,14 @@ public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { /** * * - * * @generated */ public NotificationChain basicSetVelocity(Velocity_Linear newVelocity, NotificationChain msgs) { Velocity_Linear oldVelocity = velocity; velocity = newVelocity; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -117,27 +97,25 @@ public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { /** * * - * * @generated */ public void setVelocity(Velocity_Linear newVelocity) { - if(newVelocity != velocity) { + if (newVelocity != velocity) { NotificationChain msgs = null; - if(velocity != null) + if (velocity != null) msgs = ((InternalEObject)velocity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.OP_SET_POINT__VELOCITY, null, msgs); - if(newVelocity != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.OP_SET_POINT__VELOCITY, newVelocity, newVelocity)); } /** * * - * * @generated */ public Angular getOrientation() { @@ -147,18 +125,14 @@ public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { /** * * - * * @generated */ public NotificationChain basicSetOrientation(Angular newOrientation, NotificationChain msgs) { Angular oldOrientation = orientation; orientation = newOrientation; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -166,36 +140,34 @@ public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { /** * * - * * @generated */ public void setOrientation(Angular newOrientation) { - if(newOrientation != orientation) { + if (newOrientation != orientation) { NotificationChain msgs = null; - if(orientation != null) + if (orientation != null) msgs = ((InternalEObject)orientation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Oarp4_datatypesPackage.OP_SET_POINT__ORIENTATION, null, msgs); - if(newOrientation != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.OP_SET_POINT__ORIENTATION, newOrientation, newOrientation)); } /** * * - * * @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); + 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); } @@ -203,16 +175,15 @@ public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { /** * * - * * @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(); + 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); } @@ -220,18 +191,17 @@ public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { /** * * - * * @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; + 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); } @@ -239,18 +209,17 @@ public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { /** * * - * * @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; + 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); } @@ -258,16 +227,15 @@ public class Op_Set_PointImpl extends EObjectImpl implements Op_Set_Point { /** * * - * * @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; + 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); } 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 index 50fba098e83..69f7d9ce3a3 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -28,24 +22,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Proxi_Left_RightImpl#getProxi_left - * Proxi left}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Proxi_Left_RightImpl#getProxi_right - * Proxi right}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Proxi_Left_RightImpl#getProxi_left Proxi left}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Proxi_Left_RightImpl#getProxi_right Proxi right}
  • *
*

- * + * * @generated */ -public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Right { - +public class Proxi_Left_RightImpl extends MinimalEObjectImpl.Container implements Proxi_Left_Right { /** * The cached value of the '{@link #getProxi_left() Proxi left}' containment reference. * * - * * @see #getProxi_left() * @generated * @ordered @@ -56,7 +44,6 @@ public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Righ * The cached value of the '{@link #getProxi_right() Proxi right}' containment reference. * * - * * @see #getProxi_right() * @generated * @ordered @@ -66,7 +53,6 @@ public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Righ /** * * - * * @generated */ protected Proxi_Left_RightImpl() { @@ -76,7 +62,6 @@ public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Righ /** * * - * * @generated */ @Override @@ -87,7 +72,6 @@ public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Righ /** * * - * * @generated */ public Distance getProxi_left() { @@ -97,18 +81,14 @@ public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Righ /** * * - * * @generated */ public NotificationChain basicSetProxi_left(Distance newProxi_left, NotificationChain msgs) { Distance oldProxi_left = proxi_left; proxi_left = newProxi_left; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -116,27 +96,25 @@ public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Righ /** * * - * * @generated */ public void setProxi_left(Distance newProxi_left) { - if(newProxi_left != proxi_left) { + if (newProxi_left != proxi_left) { NotificationChain msgs = null; - if(proxi_left != 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) + 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()) + 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)); } /** * * - * * @generated */ public Distance getProxi_right() { @@ -146,18 +124,14 @@ public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Righ /** * * - * * @generated */ public NotificationChain basicSetProxi_right(Distance newProxi_right, NotificationChain msgs) { Distance oldProxi_right = proxi_right; proxi_right = newProxi_right; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -165,36 +139,34 @@ public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Righ /** * * - * * @generated */ public void setProxi_right(Distance newProxi_right) { - if(newProxi_right != proxi_right) { + if (newProxi_right != proxi_right) { NotificationChain msgs = null; - if(proxi_right != 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) + 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()) + 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)); } /** * * - * * @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); + 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); } @@ -202,16 +174,15 @@ public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Righ /** * * - * * @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(); + 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); } @@ -219,18 +190,17 @@ public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Righ /** * * - * * @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; + 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); } @@ -238,18 +208,17 @@ public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Righ /** * * - * * @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; + 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); } @@ -257,16 +226,15 @@ public class Proxi_Left_RightImpl extends EObjectImpl implements Proxi_Left_Righ /** * * - * * @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; + 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); } 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 index faa1abade4d..0360634380a 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,21 +19,17 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_TicsImpl#getValue - * Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_TicsImpl#getValue Value}
  • *
*

- * + * * @generated */ -public class Speed_TicsImpl extends EObjectImpl implements Speed_Tics { - +public class Speed_TicsImpl extends MinimalEObjectImpl.Container implements Speed_Tics { /** * The default value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -50,7 +40,6 @@ public class Speed_TicsImpl extends EObjectImpl implements Speed_Tics { * The cached value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -60,7 +49,6 @@ public class Speed_TicsImpl extends EObjectImpl implements Speed_Tics { /** * * - * * @generated */ protected Speed_TicsImpl() { @@ -70,7 +58,6 @@ public class Speed_TicsImpl extends EObjectImpl implements Speed_Tics { /** * * - * * @generated */ @Override @@ -81,7 +68,6 @@ public class Speed_TicsImpl extends EObjectImpl implements Speed_Tics { /** * * - * * @generated */ public int getValue() { @@ -91,27 +77,25 @@ public class Speed_TicsImpl extends EObjectImpl implements Speed_Tics { /** * * - * * @generated */ public void setValue(int newValue) { int oldValue = value; value = newValue; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.SPEED_TICS__VALUE, oldValue, value)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case Oarp4_datatypesPackage.SPEED_TICS__VALUE: - return getValue(); + switch (featureID) { + case Oarp4_datatypesPackage.SPEED_TICS__VALUE: + return getValue(); } return super.eGet(featureID, resolve, coreType); } @@ -119,15 +103,14 @@ public class Speed_TicsImpl extends EObjectImpl implements Speed_Tics { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Oarp4_datatypesPackage.SPEED_TICS__VALUE: - setValue((Integer)newValue); - return; + switch (featureID) { + case Oarp4_datatypesPackage.SPEED_TICS__VALUE: + setValue((Integer)newValue); + return; } super.eSet(featureID, newValue); } @@ -135,15 +118,14 @@ public class Speed_TicsImpl extends EObjectImpl implements Speed_Tics { /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.SPEED_TICS__VALUE: - setValue(VALUE_EDEFAULT); - return; + switch (featureID) { + case Oarp4_datatypesPackage.SPEED_TICS__VALUE: + setValue(VALUE_EDEFAULT); + return; } super.eUnset(featureID); } @@ -151,14 +133,13 @@ public class Speed_TicsImpl extends EObjectImpl implements Speed_Tics { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.SPEED_TICS__VALUE: - return value != VALUE_EDEFAULT; + switch (featureID) { + case Oarp4_datatypesPackage.SPEED_TICS__VALUE: + return value != VALUE_EDEFAULT; } return super.eIsSet(featureID); } @@ -166,13 +147,11 @@ public class Speed_TicsImpl extends EObjectImpl implements Speed_Tics { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (value: "); 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 index dd0d4dedccc..a94b781fff0 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -28,24 +22,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_Tics_Left_RightImpl#getSpeed_tics_left - * Speed tics left}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_Tics_Left_RightImpl#getSpeed_tics_right - * Speed tics right}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_Tics_Left_RightImpl#getSpeed_tics_left Speed tics left}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Speed_Tics_Left_RightImpl#getSpeed_tics_right Speed tics right}
  • *
*

- * + * * @generated */ -public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics_Left_Right { - +public class Speed_Tics_Left_RightImpl extends MinimalEObjectImpl.Container implements Speed_Tics_Left_Right { /** * The cached value of the '{@link #getSpeed_tics_left() Speed tics left}' containment reference. * * - * * @see #getSpeed_tics_left() * @generated * @ordered @@ -56,7 +44,6 @@ public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics * The cached value of the '{@link #getSpeed_tics_right() Speed tics right}' containment reference. * * - * * @see #getSpeed_tics_right() * @generated * @ordered @@ -66,7 +53,6 @@ public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics /** * * - * * @generated */ protected Speed_Tics_Left_RightImpl() { @@ -76,7 +62,6 @@ public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics /** * * - * * @generated */ @Override @@ -87,7 +72,6 @@ public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics /** * * - * * @generated */ public Speed_Tics getSpeed_tics_left() { @@ -97,18 +81,14 @@ public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics /** * * - * * @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()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -116,27 +96,25 @@ public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics /** * * - * * @generated */ public void setSpeed_tics_left(Speed_Tics newSpeed_tics_left) { - if(newSpeed_tics_left != speed_tics_left) { + if (newSpeed_tics_left != speed_tics_left) { NotificationChain msgs = null; - if(speed_tics_left != 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) + 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()) + 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)); } /** * * - * * @generated */ public Speed_Tics getSpeed_tics_right() { @@ -146,18 +124,14 @@ public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics /** * * - * * @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()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -165,36 +139,34 @@ public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics /** * * - * * @generated */ public void setSpeed_tics_right(Speed_Tics newSpeed_tics_right) { - if(newSpeed_tics_right != speed_tics_right) { + if (newSpeed_tics_right != speed_tics_right) { NotificationChain msgs = null; - if(speed_tics_right != 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) + 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()) + 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)); } /** * * - * * @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); + 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); } @@ -202,16 +174,15 @@ public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics /** * * - * * @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(); + 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); } @@ -219,18 +190,17 @@ public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics /** * * - * * @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; + 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); } @@ -238,18 +208,17 @@ public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics /** * * - * * @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; + 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); } @@ -257,16 +226,15 @@ public class Speed_Tics_Left_RightImpl extends EObjectImpl implements Speed_Tics /** * * - * * @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; + 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); } 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 index 57066eb8859..098176c14c1 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -29,24 +23,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.VelocityImpl#getVelocity_linear - * Velocity linear}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.VelocityImpl#getVelocity_angular - * Velocity angular}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.VelocityImpl#getVelocity_linear Velocity linear}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.VelocityImpl#getVelocity_angular Velocity angular}
  • *
*

- * + * * @generated */ -public class VelocityImpl extends EObjectImpl implements Velocity { - +public class VelocityImpl extends MinimalEObjectImpl.Container implements Velocity { /** * The cached value of the '{@link #getVelocity_linear() Velocity linear}' containment reference. * * - * * @see #getVelocity_linear() * @generated * @ordered @@ -57,7 +45,6 @@ public class VelocityImpl extends EObjectImpl implements Velocity { * The cached value of the '{@link #getVelocity_angular() Velocity angular}' containment reference. * * - * * @see #getVelocity_angular() * @generated * @ordered @@ -67,7 +54,6 @@ public class VelocityImpl extends EObjectImpl implements Velocity { /** * * - * * @generated */ protected VelocityImpl() { @@ -77,7 +63,6 @@ public class VelocityImpl extends EObjectImpl implements Velocity { /** * * - * * @generated */ @Override @@ -88,7 +73,6 @@ public class VelocityImpl extends EObjectImpl implements Velocity { /** * * - * * @generated */ public Velocity_Linear getVelocity_linear() { @@ -98,18 +82,14 @@ public class VelocityImpl extends EObjectImpl implements Velocity { /** * * - * * @generated */ public NotificationChain basicSetVelocity_linear(Velocity_Linear newVelocity_linear, NotificationChain msgs) { Velocity_Linear oldVelocity_linear = velocity_linear; velocity_linear = newVelocity_linear; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -117,27 +97,25 @@ public class VelocityImpl extends EObjectImpl implements Velocity { /** * * - * * @generated */ public void setVelocity_linear(Velocity_Linear newVelocity_linear) { - if(newVelocity_linear != velocity_linear) { + if (newVelocity_linear != velocity_linear) { NotificationChain msgs = null; - if(velocity_linear != 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) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY__VELOCITY_LINEAR, newVelocity_linear, newVelocity_linear)); } /** * * - * * @generated */ public Velocity_Angular getVelocity_angular() { @@ -147,18 +125,14 @@ public class VelocityImpl extends EObjectImpl implements Velocity { /** * * - * * @generated */ public NotificationChain basicSetVelocity_angular(Velocity_Angular newVelocity_angular, NotificationChain msgs) { Velocity_Angular oldVelocity_angular = velocity_angular; velocity_angular = newVelocity_angular; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -166,36 +140,34 @@ public class VelocityImpl extends EObjectImpl implements Velocity { /** * * - * * @generated */ public void setVelocity_angular(Velocity_Angular newVelocity_angular) { - if(newVelocity_angular != velocity_angular) { + if (newVelocity_angular != velocity_angular) { NotificationChain msgs = null; - if(velocity_angular != 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) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY__VELOCITY_ANGULAR, newVelocity_angular, newVelocity_angular)); } /** * * - * * @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); + 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); } @@ -203,16 +175,15 @@ public class VelocityImpl extends EObjectImpl implements Velocity { /** * * - * * @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(); + 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); } @@ -220,18 +191,17 @@ public class VelocityImpl extends EObjectImpl implements Velocity { /** * * - * * @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; + 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); } @@ -239,18 +209,17 @@ public class VelocityImpl extends EObjectImpl implements Velocity { /** * * - * * @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; + 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); } @@ -258,16 +227,15 @@ public class VelocityImpl extends EObjectImpl implements Velocity { /** * * - * * @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; + 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); } 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 index 9b01b5c3293..620d7f90654 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,21 +19,17 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_AngularImpl#getValue - * Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_AngularImpl#getValue Value}
  • *
*

- * + * * @generated */ -public class Velocity_AngularImpl extends EObjectImpl implements Velocity_Angular { - +public class Velocity_AngularImpl extends MinimalEObjectImpl.Container implements Velocity_Angular { /** * The default value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -50,7 +40,6 @@ public class Velocity_AngularImpl extends EObjectImpl implements Velocity_Angula * The cached value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -60,7 +49,6 @@ public class Velocity_AngularImpl extends EObjectImpl implements Velocity_Angula /** * * - * * @generated */ protected Velocity_AngularImpl() { @@ -70,7 +58,6 @@ public class Velocity_AngularImpl extends EObjectImpl implements Velocity_Angula /** * * - * * @generated */ @Override @@ -81,7 +68,6 @@ public class Velocity_AngularImpl extends EObjectImpl implements Velocity_Angula /** * * - * * @generated */ public double getValue() { @@ -91,27 +77,25 @@ public class Velocity_AngularImpl extends EObjectImpl implements Velocity_Angula /** * * - * * @generated */ public void setValue(double newValue) { double oldValue = value; value = newValue; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE, oldValue, value)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE: - return getValue(); + switch (featureID) { + case Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE: + return getValue(); } return super.eGet(featureID, resolve, coreType); } @@ -119,15 +103,14 @@ public class Velocity_AngularImpl extends EObjectImpl implements Velocity_Angula /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE: - setValue((Double)newValue); - return; + switch (featureID) { + case Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE: + setValue((Double)newValue); + return; } super.eSet(featureID, newValue); } @@ -135,15 +118,14 @@ public class Velocity_AngularImpl extends EObjectImpl implements Velocity_Angula /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE: - setValue(VALUE_EDEFAULT); - return; + switch (featureID) { + case Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE: + setValue(VALUE_EDEFAULT); + return; } super.eUnset(featureID); } @@ -151,14 +133,13 @@ public class Velocity_AngularImpl extends EObjectImpl implements Velocity_Angula /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE: - return value != VALUE_EDEFAULT; + switch (featureID) { + case Oarp4_datatypesPackage.VELOCITY_ANGULAR__VALUE: + return value != VALUE_EDEFAULT; } return super.eIsSet(featureID); } @@ -166,13 +147,11 @@ public class Velocity_AngularImpl extends EObjectImpl implements Velocity_Angula /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (value: "); 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 index 272f1be324e..65457c7c191 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -28,24 +22,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_Angular_Left_RightImpl#getVelocity_angular_left - * Velocity angular left}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_Angular_Left_RightImpl#getVelocity_angular_right - * Velocity angular right}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_Angular_Left_RightImpl#getVelocity_angular_left Velocity angular left}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_Angular_Left_RightImpl#getVelocity_angular_right Velocity angular right}
  • *
*

- * + * * @generated */ -public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velocity_Angular_Left_Right { - +public class Velocity_Angular_Left_RightImpl extends MinimalEObjectImpl.Container implements Velocity_Angular_Left_Right { /** * The cached value of the '{@link #getVelocity_angular_left() Velocity angular left}' containment reference. * * - * * @see #getVelocity_angular_left() * @generated * @ordered @@ -56,7 +44,6 @@ public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velo * The cached value of the '{@link #getVelocity_angular_right() Velocity angular right}' containment reference. * * - * * @see #getVelocity_angular_right() * @generated * @ordered @@ -66,7 +53,6 @@ public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velo /** * * - * * @generated */ protected Velocity_Angular_Left_RightImpl() { @@ -76,7 +62,6 @@ public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velo /** * * - * * @generated */ @Override @@ -87,7 +72,6 @@ public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velo /** * * - * * @generated */ public Velocity_Angular getVelocity_angular_left() { @@ -97,18 +81,14 @@ public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velo /** * * - * * @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()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -116,27 +96,25 @@ public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velo /** * * - * * @generated */ public void setVelocity_angular_left(Velocity_Angular newVelocity_angular_left) { - if(newVelocity_angular_left != velocity_angular_left) { + if (newVelocity_angular_left != velocity_angular_left) { NotificationChain msgs = null; - if(velocity_angular_left != 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) + 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()) + 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)); } /** * * - * * @generated */ public Velocity_Angular getVelocity_angular_right() { @@ -146,18 +124,14 @@ public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velo /** * * - * * @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()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -165,36 +139,34 @@ public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velo /** * * - * * @generated */ public void setVelocity_angular_right(Velocity_Angular newVelocity_angular_right) { - if(newVelocity_angular_right != velocity_angular_right) { + if (newVelocity_angular_right != velocity_angular_right) { NotificationChain msgs = null; - if(velocity_angular_right != 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) + 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()) + 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)); } /** * * - * * @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); + 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); } @@ -202,16 +174,15 @@ public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velo /** * * - * * @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(); + 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); } @@ -219,18 +190,17 @@ public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velo /** * * - * * @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; + 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); } @@ -238,18 +208,17 @@ public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velo /** * * - * * @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; + 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); } @@ -257,16 +226,15 @@ public class Velocity_Angular_Left_RightImpl extends EObjectImpl implements Velo /** * * - * * @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; + 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); } 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 index 5d46ad9856c..6066c36f56b 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,21 +19,17 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_LinearImpl#getValue - * Value}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.impl.Velocity_LinearImpl#getValue Value}
  • *
*

- * + * * @generated */ -public class Velocity_LinearImpl extends EObjectImpl implements Velocity_Linear { - +public class Velocity_LinearImpl extends MinimalEObjectImpl.Container implements Velocity_Linear { /** * The default value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -50,7 +40,6 @@ public class Velocity_LinearImpl extends EObjectImpl implements Velocity_Linear * The cached value of the '{@link #getValue() Value}' attribute. * * - * * @see #getValue() * @generated * @ordered @@ -60,7 +49,6 @@ public class Velocity_LinearImpl extends EObjectImpl implements Velocity_Linear /** * * - * * @generated */ protected Velocity_LinearImpl() { @@ -70,7 +58,6 @@ public class Velocity_LinearImpl extends EObjectImpl implements Velocity_Linear /** * * - * * @generated */ @Override @@ -81,7 +68,6 @@ public class Velocity_LinearImpl extends EObjectImpl implements Velocity_Linear /** * * - * * @generated */ public int getValue() { @@ -91,27 +77,25 @@ public class Velocity_LinearImpl extends EObjectImpl implements Velocity_Linear /** * * - * * @generated */ public void setValue(int newValue) { int oldValue = value; value = newValue; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE, oldValue, value)); } /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE: - return getValue(); + switch (featureID) { + case Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE: + return getValue(); } return super.eGet(featureID, resolve, coreType); } @@ -119,15 +103,14 @@ public class Velocity_LinearImpl extends EObjectImpl implements Velocity_Linear /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE: - setValue((Integer)newValue); - return; + switch (featureID) { + case Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE: + setValue((Integer)newValue); + return; } super.eSet(featureID, newValue); } @@ -135,15 +118,14 @@ public class Velocity_LinearImpl extends EObjectImpl implements Velocity_Linear /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE: - setValue(VALUE_EDEFAULT); - return; + switch (featureID) { + case Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE: + setValue(VALUE_EDEFAULT); + return; } super.eUnset(featureID); } @@ -151,14 +133,13 @@ public class Velocity_LinearImpl extends EObjectImpl implements Velocity_Linear /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE: - return value != VALUE_EDEFAULT; + switch (featureID) { + case Oarp4_datatypesPackage.VELOCITY_LINEAR__VALUE: + return value != VALUE_EDEFAULT; } return super.eIsSet(featureID); } @@ -166,13 +147,11 @@ public class Velocity_LinearImpl extends EObjectImpl implements Velocity_Linear /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (value: "); 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 index 86b191aca81..2932f26da4c 100644 --- 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 @@ -1,54 +1,29 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.*; /** * * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * - * * @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. * * - * * @generated */ protected static Oarp4_datatypesPackage modelPackage; @@ -57,11 +32,10 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { * Creates an instance of the adapter factory. * * - * * @generated */ public Oarp4_datatypesAdapterFactory() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Oarp4_datatypesPackage.eINSTANCE; } } @@ -71,16 +45,15 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { * * This implementation returns true if the object is either the model's package or is an instance object of the model. * - * * @return whether this factory is applicable for the type of the object. * @generated */ @Override public boolean isFactoryForType(Object object) { - if(object == modelPackage) { + if (object == modelPackage) { return true; } - if(object instanceof EObject) { + if (object instanceof EObject) { return ((EObject)object).eClass().getEPackage() == modelPackage; } return false; @@ -90,104 +63,85 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { * The switch that delegates to the createXXX methods. * * - * * @generated */ - protected Oarp4_datatypesSwitch modelSwitch = new Oarp4_datatypesSwitch() { - - @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(); - } - }; + protected Oarp4_datatypesSwitch modelSwitch = + new Oarp4_datatypesSwitch() { + @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 target. * * - * - * @param target - * the object to adapt. + * @param target the object to adapt. * @return the adapter for the target. * @generated */ @@ -198,14 +152,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear - * Velocity Linear}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear Velocity Linear}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Linear * @generated @@ -215,14 +166,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * 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 - * Art Set Point}'. + * 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 Art Set Point}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Art_Set_Point * @generated @@ -232,14 +180,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular - * Velocity Angular}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular Velocity Angular}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular * @generated @@ -249,14 +194,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance Distance} - * '. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance Distance}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Distance * @generated @@ -266,13 +208,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric Metric}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric Metric}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Metric * @generated @@ -282,13 +222,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular Angular}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular Angular}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Angular * @generated @@ -298,14 +236,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * 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 - * Op Set Point}'. + * 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 Op Set Point}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Op_Set_Point * @generated @@ -315,14 +250,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * 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 - * Speed Tics Left Right}'. + * 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 Speed Tics Left Right}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics_Left_Right * @generated @@ -332,14 +264,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics - * Speed Tics}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics Speed Tics}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Speed_Tics * @generated @@ -349,14 +278,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics - * Odometer Tics}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics Odometer Tics}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics * @generated @@ -366,14 +292,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * 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 - * Odometer Tics Left Right}'. + * 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 Odometer Tics Left Right}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Tics_Left_Right * @generated @@ -383,14 +306,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * 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 - * Proxi Left Right}'. + * 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 Proxi Left Right}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Proxi_Left_Right * @generated @@ -400,14 +320,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp - * Milli Amp}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp Milli Amp}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Milli_Amp * @generated @@ -417,14 +334,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * 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 - * Odometer Linear Left Right}'. + * 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 Odometer Linear Left Right}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Odometer_Linear_Left_Right * @generated @@ -434,14 +348,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * 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 - * Velocity Angular Left Right}'. + * 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 Velocity Angular Left Right}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity_Angular_Left_Right * @generated @@ -451,14 +362,11 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity Velocity} - * '. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity Velocity}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Velocity * @generated @@ -472,7 +380,6 @@ public class Oarp4_datatypesAdapterFactory extends AdapterFactoryImpl { * * This default implementation returns null. * - * * @return the new adapter. * @generated */ 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 index c6c38767f23..569950fd293 100644 --- 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 @@ -1,57 +1,32 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.*; /** * * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for each class of the model, + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX 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. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.oarps_datatypes.oarp4_datatypes.Oarp4_datatypesPackage * @generated */ public class Oarp4_datatypesSwitch extends Switch { - /** * The cached model package * * - * * @generated */ protected static Oarp4_datatypesPackage modelPackage; @@ -60,11 +35,10 @@ public class Oarp4_datatypesSwitch extends Switch { * Creates an instance of the switch. * * - * * @generated */ public Oarp4_datatypesSwitch() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Oarp4_datatypesPackage.eINSTANCE; } } @@ -73,7 +47,6 @@ public class Oarp4_datatypesSwitch extends Switch { * Checks whether this is a switch for the given package. * * - * * @parameter ePackage the package in question. * @return whether this is a switch for the given package. * @generated @@ -87,143 +60,109 @@ public class Oarp4_datatypesSwitch extends Switch { * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. * * - * * @return the first non-null result returned by a caseXXX 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); + 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); } } @@ -233,9 +172,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Velocity Linear'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -250,9 +187,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Art Set Point'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -267,9 +202,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Velocity Angular'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -284,9 +217,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Distance'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -301,9 +232,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Metric'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -318,9 +247,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Angular'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -335,9 +262,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Op Set Point'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -352,9 +277,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Speed Tics Left Right'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -369,9 +292,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Speed Tics'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -386,9 +307,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Odometer Tics'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -403,9 +322,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Odometer Tics Left Right'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -420,9 +337,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Proxi Left Right'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -437,9 +352,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Milli Amp'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -454,9 +367,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Odometer Linear Left Right'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -471,9 +382,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Velocity Angular Left Right'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -488,9 +397,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Velocity'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -505,9 +412,7 @@ public class Oarp4_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch, but this is the last case anyway. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated 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 index 93b174e2c17..5141b2c560a 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.sensor_datatypes; import java.util.Arrays; @@ -22,7 +13,6 @@ import org.eclipse.emf.common.util.Enumerator; * A representation of the literals of the enumeration 'COVARIANCE TYPE', * and utility methods for working with them. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCOVARIANCE_TYPE() * @model * @generated @@ -32,7 +22,6 @@ public enum COVARIANCE_TYPE implements Enumerator { * The 'COVARIANCE TYPE UNKNOWN' literal object. * * - * * @see #COVARIANCE_TYPE_UNKNOWN_VALUE * @generated * @ordered @@ -43,7 +32,6 @@ public enum COVARIANCE_TYPE implements Enumerator { * The 'COVARIANCE TYPE APPROXIMATED' literal object. * * - * * @see #COVARIANCE_TYPE_APPROXIMATED_VALUE * @generated * @ordered @@ -54,7 +42,6 @@ public enum COVARIANCE_TYPE implements Enumerator { * The 'COVARIANCE TYPE DIAGONAL KNOWN' literal object. * * - * * @see #_COVARIANCE_TYPE_DIAGONAL_KNOWN_VALUE * @generated * @ordered @@ -65,7 +52,6 @@ public enum COVARIANCE_TYPE implements Enumerator { * The 'COVARIANCE TYPE KNOWN' literal object. * * - * * @see #COVARIANCE_TYPE_KNOWN_VALUE * @generated * @ordered @@ -76,10 +62,10 @@ public enum COVARIANCE_TYPE implements Enumerator { * The 'COVARIANCE TYPE UNKNOWN' literal value. * *

- * If the meaning of 'COVARIANCE TYPE UNKNOWN' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'COVARIANCE TYPE UNKNOWN' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #COVARIANCE_TYPE_UNKNOWN * @model * @generated @@ -91,11 +77,10 @@ public enum COVARIANCE_TYPE implements Enumerator { * The 'COVARIANCE TYPE APPROXIMATED' literal value. * *

- * If the meaning of 'COVARIANCE TYPE APPROXIMATED' literal object isn't clear, there really should be more of a description - * here... + * If the meaning of 'COVARIANCE TYPE APPROXIMATED' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #COVARIANCE_TYPE_APPROXIMATED * @model * @generated @@ -107,11 +92,10 @@ public enum COVARIANCE_TYPE implements Enumerator { * The 'COVARIANCE TYPE DIAGONAL KNOWN' literal value. * *

- * If the meaning of 'COVARIANCE TYPE DIAGONAL KNOWN' literal object isn't clear, there really should be more of a description - * here... + * If the meaning of 'COVARIANCE TYPE DIAGONAL KNOWN' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #_COVARIANCE_TYPE_DIAGONAL_KNOWN * @model * @generated @@ -123,10 +107,10 @@ public enum COVARIANCE_TYPE implements Enumerator { * The 'COVARIANCE TYPE KNOWN' literal value. * *

- * If the meaning of 'COVARIANCE TYPE KNOWN' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'COVARIANCE TYPE KNOWN' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #COVARIANCE_TYPE_KNOWN * @model * @generated @@ -138,16 +122,20 @@ public enum COVARIANCE_TYPE implements Enumerator { * An array of all the 'COVARIANCE TYPE' enumerators. * * - * * @generated */ - private static final COVARIANCE_TYPE[] VALUES_ARRAY = new COVARIANCE_TYPE[]{ COVARIANCE_TYPE_UNKNOWN, COVARIANCE_TYPE_APPROXIMATED, _COVARIANCE_TYPE_DIAGONAL_KNOWN, COVARIANCE_TYPE_KNOWN, }; + 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 'COVARIANCE TYPE' enumerators. * * - * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); @@ -156,13 +144,12 @@ public enum COVARIANCE_TYPE implements Enumerator { * Returns the 'COVARIANCE TYPE' literal with the specified literal value. * * - * * @generated */ public static COVARIANCE_TYPE get(String literal) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { COVARIANCE_TYPE result = VALUES_ARRAY[i]; - if(result.toString().equals(literal)) { + if (result.toString().equals(literal)) { return result; } } @@ -173,13 +160,12 @@ public enum COVARIANCE_TYPE implements Enumerator { * Returns the 'COVARIANCE TYPE' literal with the specified name. * * - * * @generated */ public static COVARIANCE_TYPE getByName(String name) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { COVARIANCE_TYPE result = VALUES_ARRAY[i]; - if(result.getName().equals(name)) { + if (result.getName().equals(name)) { return result; } } @@ -190,19 +176,14 @@ public enum COVARIANCE_TYPE implements Enumerator { * Returns the 'COVARIANCE TYPE' literal with the specified integer value. * * - * * @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; + 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; } @@ -210,7 +191,6 @@ public enum COVARIANCE_TYPE implements Enumerator { /** * * - * * @generated */ private final int value; @@ -218,7 +198,6 @@ public enum COVARIANCE_TYPE implements Enumerator { /** * * - * * @generated */ private final String name; @@ -226,7 +205,6 @@ public enum COVARIANCE_TYPE implements Enumerator { /** * * - * * @generated */ private final String literal; @@ -235,7 +213,6 @@ public enum COVARIANCE_TYPE implements Enumerator { * Only this class can construct instances. * * - * * @generated */ private COVARIANCE_TYPE(int value, String name, String literal) { @@ -247,43 +224,39 @@ public enum COVARIANCE_TYPE implements Enumerator { /** * * - * * @generated */ public int getValue() { - return value; + return value; } /** * * - * * @generated */ public String getName() { - return name; + return name; } /** * * - * * @generated */ public String getLiteral() { - return literal; + return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * * - * * @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 index e7e2381f2f8..9339ebdd25f 100644 --- 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 @@ -1,59 +1,48 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Camera Info'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeight Height}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getWidth Width}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getDistorsion_model - * Distorsion model}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getD D}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getK K}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getR R}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getP P}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_x Binning x} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_y Binning y} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getRoi Roi}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeight Height}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getDistorsion_model Distorsion model}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getD D}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getK K}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getR R}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getP P}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_x Binning x}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_y Binning y}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getRoi Roi}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_Header() @@ -63,14 +52,10 @@ public interface CameraInfo extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeader Header}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -80,28 +65,23 @@ public interface CameraInfo extends EObject { * Returns the value of the 'Height' attribute. * *

- * If the meaning of the 'Height' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Height' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Height' attribute. * @see #setHeight(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getHeight(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeight Height}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeight Height}' attribute. * * - * - * @param value - * the new value of the 'Height' attribute. + * @param value the new value of the 'Height' attribute. * @see #getHeight() * @generated */ @@ -111,27 +91,23 @@ public interface CameraInfo extends EObject { * Returns the value of the 'Width' attribute. * *

- * If the meaning of the 'Width' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Width' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Width' attribute. * @see #setWidth(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getWidth(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getWidth - * Width}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getWidth Width}' attribute. * * - * - * @param value - * the new value of the 'Width' attribute. + * @param value the new value of the 'Width' attribute. * @see #getWidth() * @generated */ @@ -141,28 +117,23 @@ public interface CameraInfo extends EObject { * Returns the value of the 'Distorsion model' attribute. * *

- * If the meaning of the 'Distorsion model' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Distorsion model' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Distorsion model' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getDistorsion_model(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getDistorsion_model - * Distorsion model}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getDistorsion_model Distorsion model}' attribute. * * - * - * @param value - * the new value of the 'Distorsion model' attribute. + * @param value the new value of the 'Distorsion model' attribute. * @see #getDistorsion_model() * @generated */ @@ -173,10 +144,10 @@ public interface CameraInfo extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'D' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'D' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'D' 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" @@ -189,14 +160,13 @@ public interface CameraInfo extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'K' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'K' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'K' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="9" upper="9" ordered="false" * @generated */ EList getK(); @@ -206,14 +176,13 @@ public interface CameraInfo extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'R' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'R' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'R' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="9" upper="9" ordered="false" * @generated */ EList getR(); @@ -223,14 +192,13 @@ public interface CameraInfo extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'P' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'P' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'P' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="12" upper="12" ordered="false" * @generated */ EList getP(); @@ -239,28 +207,23 @@ public interface CameraInfo extends EObject { * Returns the value of the 'Binning x' attribute. * *

- * If the meaning of the 'Binning x' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Binning x' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Binning x' attribute. * @see #setBinning_x(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getBinning_x(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_x Binning x} - * ' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_x Binning x}' attribute. * * - * - * @param value - * the new value of the 'Binning x' attribute. + * @param value the new value of the 'Binning x' attribute. * @see #getBinning_x() * @generated */ @@ -270,28 +233,23 @@ public interface CameraInfo extends EObject { * Returns the value of the 'Binning y' attribute. * *

- * If the meaning of the 'Binning y' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Binning y' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Binning y' attribute. * @see #setBinning_y(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getBinning_y(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_y Binning y} - * ' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_y Binning y}' attribute. * * - * - * @param value - * the new value of the 'Binning y' attribute. + * @param value the new value of the 'Binning y' attribute. * @see #getBinning_y() * @generated */ @@ -301,10 +259,10 @@ public interface CameraInfo extends EObject { * Returns the value of the 'Roi' containment reference. * *

- * If the meaning of the 'Roi' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Roi' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Roi' containment reference. * @see #setRoi(RegionOfInterest) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCameraInfo_Roi() @@ -314,13 +272,10 @@ public interface CameraInfo extends EObject { RegionOfInterest getRoi(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getRoi - * Roi}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getRoi Roi}' containment reference. * * - * - * @param value - * the new value of the 'Roi' containment reference. + * @param value the new value of the 'Roi' containment reference. * @see #getRoi() * @generated */ 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 index 1221b78b4d3..619fdffb0f6 100644 --- 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 @@ -1,59 +1,41 @@ -/***************************************************************************** - * 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.sensor_datatypes; import org.eclipse.emf.ecore.EObject; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; /** * * A representation of the model object 'Car Like Odometry'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getSteering_angle - * Steering angle}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_distance - * Left rear wheel distance}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_distance - * Right rear wheel distance}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_velocity - * Right rear wheel velocity}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_velocity - * Left rear wheel velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getSteering_angle Steering angle}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_distance Left rear wheel distance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_distance Right rear wheel distance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_velocity Right rear wheel velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_velocity Left rear wheel velocity}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCarLikeOdometry_Header() @@ -63,14 +45,10 @@ public interface CarLikeOdometry extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getHeader Header}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -80,28 +58,23 @@ public interface CarLikeOdometry extends EObject { * Returns the value of the 'Steering angle' attribute. * *

- * If the meaning of the 'Steering angle' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Steering angle' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Steering angle' attribute. * @see #setSteering_angle(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getSteering_angle(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getSteering_angle - * Steering angle}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getSteering_angle Steering angle}' attribute. * * - * - * @param value - * the new value of the 'Steering angle' attribute. + * @param value the new value of the 'Steering angle' attribute. * @see #getSteering_angle() * @generated */ @@ -111,28 +84,23 @@ public interface CarLikeOdometry extends EObject { * Returns the value of the 'Left rear wheel distance' attribute. * *

- * If the meaning of the 'Left rear wheel distance' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Left rear wheel distance' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Left rear wheel distance' attribute. * @see #setLeft_rear_wheel_distance(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double 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 - * Left rear wheel distance}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_distance Left rear wheel distance}' attribute. * * - * - * @param value - * the new value of the 'Left rear wheel distance' attribute. + * @param value the new value of the 'Left rear wheel distance' attribute. * @see #getLeft_rear_wheel_distance() * @generated */ @@ -142,28 +110,23 @@ public interface CarLikeOdometry extends EObject { * Returns the value of the 'Right rear wheel distance' attribute. * *

- * If the meaning of the 'Right rear wheel distance' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Right rear wheel distance' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Right rear wheel distance' attribute. * @see #setRight_rear_wheel_distance(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double 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 - * Right rear wheel distance}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_distance Right rear wheel distance}' attribute. * * - * - * @param value - * the new value of the 'Right rear wheel distance' attribute. + * @param value the new value of the 'Right rear wheel distance' attribute. * @see #getRight_rear_wheel_distance() * @generated */ @@ -173,28 +136,23 @@ public interface CarLikeOdometry extends EObject { * Returns the value of the 'Right rear wheel velocity' attribute. * *

- * If the meaning of the 'Right rear wheel velocity' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Right rear wheel velocity' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Right rear wheel velocity' attribute. * @see #setRight_rear_wheel_velocity(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double 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 - * Right rear wheel velocity}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_velocity Right rear wheel velocity}' attribute. * * - * - * @param value - * the new value of the 'Right rear wheel velocity' attribute. + * @param value the new value of the 'Right rear wheel velocity' attribute. * @see #getRight_rear_wheel_velocity() * @generated */ @@ -204,28 +162,23 @@ public interface CarLikeOdometry extends EObject { * Returns the value of the 'Left rear wheel velocity' attribute. * *

- * If the meaning of the 'Left rear wheel velocity' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Left rear wheel velocity' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Left rear wheel velocity' attribute. * @see #setLeft_rear_wheel_velocity(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double 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 - * Left rear wheel velocity}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_velocity Left rear wheel velocity}' attribute. * * - * - * @param value - * the new value of the 'Left rear wheel velocity' attribute. + * @param value the new value of the 'Left rear wheel velocity' attribute. * @see #getLeft_rear_wheel_velocity() * @generated */ 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 index 1af09fda548..4aa1ffff22d 100644 --- 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 @@ -1,64 +1,50 @@ -/***************************************************************************** - * 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.sensor_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Channel Float32'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getName Name}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getValues Values}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getName Name}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getValues Values}
  • *
*

- * + * * @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 'Name' attribute. * *

- * If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Name' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getName(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getName Name}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getName Name}' attribute. * * - * - * @param value - * the new value of the 'Name' attribute. + * @param value the new value of the 'Name' attribute. * @see #getName() * @generated */ @@ -69,10 +55,10 @@ public interface ChannelFloat32 extends EObject { * The list contents are of type {@link java.lang.Float}. * *

- * If the meaning of the 'Values' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Values' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Values' 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" 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 index ce08f696dba..08aeaf3d469 100644 --- 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 @@ -1,48 +1,40 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Compressed Image'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getFormat Format}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getFormat Format}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getData Data}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getCompressedImage_Header() @@ -52,14 +44,10 @@ public interface CompressedImage extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getHeader Header}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -69,28 +57,23 @@ public interface CompressedImage extends EObject { * Returns the value of the 'Format' attribute. * *

- * If the meaning of the 'Format' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Format' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Format' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getFormat(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getFormat Format}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getFormat Format}' attribute. * * - * - * @param value - * the new value of the 'Format' attribute. + * @param value the new value of the 'Format' attribute. * @see #getFormat() * @generated */ @@ -101,10 +84,10 @@ public interface CompressedImage extends EObject { * The list contents are of type {@link java.lang.Character}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index a52d6701ab5..ba91e4d2037 100644 --- 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 @@ -1,54 +1,40 @@ -/***************************************************************************** - * 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.sensor_datatypes; import org.eclipse.emf.ecore.EObject; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; /** * * A representation of the model object 'Differential Odometry'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getHeader Header - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_distance - * Right distance}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_distance - * Left distance}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_velocity - * Left velocity}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_velocity - * Right velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_distance Right distance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_distance Left distance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_velocity Left velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_velocity Right velocity}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getDifferentialOdometry_Header() @@ -58,14 +44,10 @@ public interface DifferentialOdometry extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -75,28 +57,23 @@ public interface DifferentialOdometry extends EObject { * Returns the value of the 'Right distance' attribute. * *

- * If the meaning of the 'Right distance' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Right distance' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Right distance' attribute. * @see #setRight_distance(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getRight_distance(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_distance - * Right distance}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_distance Right distance}' attribute. * * - * - * @param value - * the new value of the 'Right distance' attribute. + * @param value the new value of the 'Right distance' attribute. * @see #getRight_distance() * @generated */ @@ -106,28 +83,23 @@ public interface DifferentialOdometry extends EObject { * Returns the value of the 'Left distance' attribute. * *

- * If the meaning of the 'Left distance' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Left distance' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Left distance' attribute. * @see #setLeft_distance(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getLeft_distance(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_distance - * Left distance}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_distance Left distance}' attribute. * * - * - * @param value - * the new value of the 'Left distance' attribute. + * @param value the new value of the 'Left distance' attribute. * @see #getLeft_distance() * @generated */ @@ -137,28 +109,23 @@ public interface DifferentialOdometry extends EObject { * Returns the value of the 'Left velocity' attribute. * *

- * If the meaning of the 'Left velocity' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Left velocity' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Left velocity' attribute. * @see #setLeft_velocity(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getLeft_velocity(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_velocity - * Left velocity}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_velocity Left velocity}' attribute. * * - * - * @param value - * the new value of the 'Left velocity' attribute. + * @param value the new value of the 'Left velocity' attribute. * @see #getLeft_velocity() * @generated */ @@ -168,28 +135,23 @@ public interface DifferentialOdometry extends EObject { * Returns the value of the 'Right velocity' attribute. * *

- * If the meaning of the 'Right velocity' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Right velocity' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Right velocity' attribute. * @see #setRight_velocity(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getRight_velocity(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_velocity - * Right velocity}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_velocity Right velocity}' attribute. * * - * - * @param value - * the new value of the 'Right velocity' attribute. + * @param value the new value of the 'Right velocity' attribute. * @see #getRight_velocity() * @generated */ 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 index 7bfdb62b8ab..7a30bf9ba3e 100644 --- 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 @@ -1,53 +1,44 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Image'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeight Height}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getWidth Width}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getEncoding Encoding}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getIs_bigendian Is bigendian - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getStep Step}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeight Height}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getEncoding Encoding}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getIs_bigendian Is bigendian}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getStep Step}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getData Data}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImage_Header() @@ -57,13 +48,10 @@ public interface Image extends EObject { Header getHeader(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -73,27 +61,23 @@ public interface Image extends EObject { * Returns the value of the 'Height' attribute. * *

- * If the meaning of the 'Height' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Height' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Height' attribute. * @see #setHeight(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getHeight(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeight - * Height}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeight Height}' attribute. * * - * - * @param value - * the new value of the 'Height' attribute. + * @param value the new value of the 'Height' attribute. * @see #getHeight() * @generated */ @@ -103,27 +87,23 @@ public interface Image extends EObject { * Returns the value of the 'Width' attribute. * *

- * If the meaning of the 'Width' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Width' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Width' attribute. * @see #setWidth(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getWidth(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getWidth - * Width}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getWidth Width}' attribute. * * - * - * @param value - * the new value of the 'Width' attribute. + * @param value the new value of the 'Width' attribute. * @see #getWidth() * @generated */ @@ -133,27 +113,23 @@ public interface Image extends EObject { * Returns the value of the 'Encoding' attribute. * *

- * If the meaning of the 'Encoding' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Encoding' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Encoding' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getEncoding(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getEncoding - * Encoding}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getEncoding Encoding}' attribute. * * - * - * @param value - * the new value of the 'Encoding' attribute. + * @param value the new value of the 'Encoding' attribute. * @see #getEncoding() * @generated */ @@ -163,28 +139,23 @@ public interface Image extends EObject { * Returns the value of the 'Is bigendian' attribute. * *

- * If the meaning of the 'Is bigendian' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Is bigendian' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Is bigendian' attribute. * @see #setIs_bigendian(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getIs_bigendian(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getIs_bigendian - * Is bigendian}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getIs_bigendian Is bigendian}' attribute. * * - * - * @param value - * the new value of the 'Is bigendian' attribute. + * @param value the new value of the 'Is bigendian' attribute. * @see #getIs_bigendian() * @generated */ @@ -194,27 +165,23 @@ public interface Image extends EObject { * Returns the value of the 'Step' attribute. * *

- * If the meaning of the 'Step' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Step' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Step' attribute. * @see #setStep(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getStep(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getStep - * Step}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getStep Step}' attribute. * * - * - * @param value - * the new value of the 'Step' attribute. + * @param value the new value of the 'Step' attribute. * @see #getStep() * @generated */ @@ -225,10 +192,10 @@ public interface Image extends EObject { * The list contents are of type {@link java.lang.Character}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index 83f0f84973d..ebe3a06079d 100644 --- 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 @@ -1,59 +1,47 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Imu'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation Orientation}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation_covariance - * Orientation covariance}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity Angular - * velocity}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity_covariance - * Angular velocity covariance}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration Linear - * acceleration}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration_covariance - * Linear acceleration covariance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation Orientation}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation_covariance Orientation covariance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity Angular velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity_covariance Angular velocity covariance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration Linear acceleration}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration_covariance Linear acceleration covariance}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImu_Header() @@ -63,13 +51,10 @@ public interface Imu extends EObject { Header getHeader(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -79,10 +64,10 @@ public interface Imu extends EObject { * Returns the value of the 'Orientation' containment reference. * *

- * If the meaning of the 'Orientation' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Orientation' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Orientation' containment reference. * @see #setOrientation(Quaternion) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImu_Orientation() @@ -92,13 +77,10 @@ public interface Imu extends EObject { Quaternion getOrientation(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation - * Orientation}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation Orientation}' containment reference. * * - * - * @param value - * the new value of the 'Orientation' containment reference. + * @param value the new value of the 'Orientation' containment reference. * @see #getOrientation() * @generated */ @@ -109,14 +91,13 @@ public interface Imu extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'Orientation covariance' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Orientation covariance' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Orientation covariance' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="9" upper="9" ordered="false" * @generated */ EList getOrientation_covariance(); @@ -125,10 +106,10 @@ public interface Imu extends EObject { * Returns the value of the 'Angular velocity' containment reference. * *

- * If the meaning of the 'Angular velocity' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Angular velocity' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Angular velocity' containment reference. * @see #setAngular_velocity(Vector3) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImu_Angular_velocity() @@ -138,14 +119,10 @@ public interface Imu extends EObject { Vector3 getAngular_velocity(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity - * Angular velocity}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity Angular velocity}' containment reference. * * - * - * @param value - * the new value of the 'Angular velocity' containment reference. + * @param value the new value of the 'Angular velocity' containment reference. * @see #getAngular_velocity() * @generated */ @@ -156,14 +133,13 @@ public interface Imu extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'Angular velocity covariance' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Angular velocity covariance' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Angular velocity covariance' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="9" upper="9" ordered="false" * @generated */ EList getAngular_velocity_covariance(); @@ -172,10 +148,10 @@ public interface Imu extends EObject { * Returns the value of the 'Linear acceleration' containment reference. * *

- * If the meaning of the 'Linear acceleration' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Linear acceleration' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Linear acceleration' containment reference. * @see #setLinear_acceleration(Vector3) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getImu_Linear_acceleration() @@ -185,14 +161,10 @@ public interface Imu extends EObject { Vector3 getLinear_acceleration(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration - * Linear acceleration}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration Linear acceleration}' containment reference. * * - * - * @param value - * the new value of the 'Linear acceleration' containment reference. + * @param value the new value of the 'Linear acceleration' containment reference. * @see #getLinear_acceleration() * @generated */ @@ -203,15 +175,13 @@ public interface Imu extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'Linear acceleration covariance' attribute list isn't clear, there really should be more of a description - * here... + * If the meaning of the 'Linear acceleration covariance' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Linear acceleration covariance' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="9" upper="9" ordered="false" * @generated */ EList getLinear_acceleration_covariance(); 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 index 0806b14a793..fa5cb244ac0 100644 --- 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 @@ -1,49 +1,40 @@ -/***************************************************************************** - * 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.sensor_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Joint State'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getName Name}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getPosition Position}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getVelocity Velocity}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getEffort Effort}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getName Name}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getPosition Position}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getVelocity Velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getEffort Effort}
  • *
*

- * + * * @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 'Name' attribute list. * The list contents are of type {@link java.lang.String}. * *

- * If the meaning of the 'Name' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Name' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Name' 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" @@ -56,10 +47,10 @@ public interface JointState extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'Position' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Position' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Position' 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" @@ -72,10 +63,10 @@ public interface JointState extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'Velocity' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Velocity' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Velocity' 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" @@ -88,10 +79,10 @@ public interface JointState extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'Effort' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Effort' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Effort' 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" 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 index b0368a4d32a..72543056295 100644 --- 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 @@ -1,48 +1,40 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Joy'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getAxes Axes}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getButtons Buttons}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getAxes Axes}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getButtons Buttons}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoy_Header() @@ -52,13 +44,10 @@ public interface Joy extends EObject { Header getHeader(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -69,10 +58,10 @@ public interface Joy extends EObject { * The list contents are of type {@link java.lang.Float}. * *

- * If the meaning of the 'Axes' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Axes' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Axes' 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" @@ -85,10 +74,10 @@ public interface Joy extends EObject { * The list contents are of type {@link java.lang.Integer}. * *

- * If the meaning of the 'Buttons' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Buttons' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Buttons' 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" 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 index 797e82d3b1f..fc950f56378 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.sensor_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,55 +8,46 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Joy Feedback'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_LED TYPE LED}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_RUMBLE TYPE RUMBLE - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_BUZZER TYPE BUZZER - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getType Type}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getId Id}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getIntensity Intensity - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_LED TYPE LED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_RUMBLE TYPE RUMBLE}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_BUZZER TYPE BUZZER}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getType Type}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getId Id}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getIntensity Intensity}
  • *
*

- * + * * @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 'TYPE LED' attribute. * The default value is "0". * *

- * If the meaning of the 'TYPE LED' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'TYPE LED' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'TYPE LED' attribute. * @see #setTYPE_LED(char) * @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" + * @model default="0" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getTYPE_LED(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_LED TYPE LED}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_LED TYPE LED}' attribute. * * - * - * @param value - * the new value of the 'TYPE LED' attribute. + * @param value the new value of the 'TYPE LED' attribute. * @see #getTYPE_LED() * @generated */ @@ -76,28 +58,23 @@ public interface JoyFeedback extends EObject { * The default value is "1". * *

- * If the meaning of the 'TYPE RUMBLE' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'TYPE RUMBLE' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'TYPE RUMBLE' attribute. * @see #setTYPE_RUMBLE(char) * @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" + * @model default="1" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getTYPE_RUMBLE(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_RUMBLE - * TYPE RUMBLE}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_RUMBLE TYPE RUMBLE}' attribute. * * - * - * @param value - * the new value of the 'TYPE RUMBLE' attribute. + * @param value the new value of the 'TYPE RUMBLE' attribute. * @see #getTYPE_RUMBLE() * @generated */ @@ -108,28 +85,23 @@ public interface JoyFeedback extends EObject { * The default value is "2". * *

- * If the meaning of the 'TYPE BUZZER' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'TYPE BUZZER' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'TYPE BUZZER' attribute. * @see #setTYPE_BUZZER(char) * @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" + * @model default="2" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getTYPE_BUZZER(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_BUZZER - * TYPE BUZZER}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_BUZZER TYPE BUZZER}' attribute. * * - * - * @param value - * the new value of the 'TYPE BUZZER' attribute. + * @param value the new value of the 'TYPE BUZZER' attribute. * @see #getTYPE_BUZZER() * @generated */ @@ -139,27 +111,23 @@ public interface JoyFeedback extends EObject { * Returns the value of the 'Type' attribute. * *

- * If the meaning of the 'Type' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Type' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Type' attribute. * @see #setType(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getType(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getType - * Type}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getType Type}' attribute. * * - * - * @param value - * the new value of the 'Type' attribute. + * @param value the new value of the 'Type' attribute. * @see #getType() * @generated */ @@ -169,27 +137,23 @@ public interface JoyFeedback extends EObject { * Returns the value of the 'Id' attribute. * *

- * If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Id' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Id' attribute. * @see #setId(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getId(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getId - * Id}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getId Id}' attribute. * * - * - * @param value - * the new value of the 'Id' attribute. + * @param value the new value of the 'Id' attribute. * @see #getId() * @generated */ @@ -199,28 +163,23 @@ public interface JoyFeedback extends EObject { * Returns the value of the 'Intensity' attribute. * *

- * If the meaning of the 'Intensity' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Intensity' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Intensity' attribute. * @see #setIntensity(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getIntensity(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getIntensity - * Intensity}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getIntensity Intensity}' attribute. * * - * - * @param value - * the new value of the 'Intensity' attribute. + * @param value the new value of the 'Intensity' attribute. * @see #getIntensity() * @generated */ 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 index 800a4d0803d..e283610bd7b 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.sensor_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Joy Feedback Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray#getArray Array}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray#getArray Array}
  • *
*

- * + * * @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 'Array' containment reference list. * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback}. * *

- * If the meaning of the 'Array' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Array' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Array' containment reference list. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getJoyFeedbackArray_Array() * @model containment="true" ordered="false" 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 index f093d7d20ee..e531cbd32b0 100644 --- 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 @@ -1,58 +1,47 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Laser Scan'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_min Angle min}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_max Angle max}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_increment Angle - * increment}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getTime_increment Time - * increment}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getScan_time Scan time}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_min Range min}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_max Range max}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange Range}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getIntensities Intensities - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_min Angle min}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_max Angle max}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_increment Angle increment}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getTime_increment Time increment}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getScan_time Scan time}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_min Range min}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_max Range max}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange Range}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getIntensities Intensities}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getLaserScan_Header() @@ -62,13 +51,10 @@ public interface LaserScan extends EObject { Header getHeader(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -78,28 +64,23 @@ public interface LaserScan extends EObject { * Returns the value of the 'Angle min' attribute. * *

- * If the meaning of the 'Angle min' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Angle min' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Angle min' attribute. * @see #setAngle_min(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getAngle_min(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_min Angle min}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_min Angle min}' attribute. * * - * - * @param value - * the new value of the 'Angle min' attribute. + * @param value the new value of the 'Angle min' attribute. * @see #getAngle_min() * @generated */ @@ -109,28 +90,23 @@ public interface LaserScan extends EObject { * Returns the value of the 'Angle max' attribute. * *

- * If the meaning of the 'Angle max' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Angle max' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Angle max' attribute. * @see #setAngle_max(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getAngle_max(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_max Angle max}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_max Angle max}' attribute. * * - * - * @param value - * the new value of the 'Angle max' attribute. + * @param value the new value of the 'Angle max' attribute. * @see #getAngle_max() * @generated */ @@ -140,28 +116,23 @@ public interface LaserScan extends EObject { * Returns the value of the 'Angle increment' attribute. * *

- * If the meaning of the 'Angle increment' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Angle increment' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Angle increment' attribute. * @see #setAngle_increment(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getAngle_increment(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_increment - * Angle increment}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_increment Angle increment}' attribute. * * - * - * @param value - * the new value of the 'Angle increment' attribute. + * @param value the new value of the 'Angle increment' attribute. * @see #getAngle_increment() * @generated */ @@ -171,28 +142,23 @@ public interface LaserScan extends EObject { * Returns the value of the 'Time increment' attribute. * *

- * If the meaning of the 'Time increment' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Time increment' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Time increment' attribute. * @see #setTime_increment(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getTime_increment(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getTime_increment - * Time increment}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getTime_increment Time increment}' attribute. * * - * - * @param value - * the new value of the 'Time increment' attribute. + * @param value the new value of the 'Time increment' attribute. * @see #getTime_increment() * @generated */ @@ -202,28 +168,23 @@ public interface LaserScan extends EObject { * Returns the value of the 'Scan time' attribute. * *

- * If the meaning of the 'Scan time' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Scan time' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Scan time' attribute. * @see #setScan_time(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getScan_time(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getScan_time Scan time}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getScan_time Scan time}' attribute. * * - * - * @param value - * the new value of the 'Scan time' attribute. + * @param value the new value of the 'Scan time' attribute. * @see #getScan_time() * @generated */ @@ -233,28 +194,23 @@ public interface LaserScan extends EObject { * Returns the value of the 'Range min' attribute. * *

- * If the meaning of the 'Range min' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Range min' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Range min' attribute. * @see #setRange_min(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getRange_min(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_min Range min}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_min Range min}' attribute. * * - * - * @param value - * the new value of the 'Range min' attribute. + * @param value the new value of the 'Range min' attribute. * @see #getRange_min() * @generated */ @@ -264,28 +220,23 @@ public interface LaserScan extends EObject { * Returns the value of the 'Range max' attribute. * *

- * If the meaning of the 'Range max' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Range max' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Range max' attribute. * @see #setRange_max(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getRange_max(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_max Range max}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_max Range max}' attribute. * * - * - * @param value - * the new value of the 'Range max' attribute. + * @param value the new value of the 'Range max' attribute. * @see #getRange_max() * @generated */ @@ -296,10 +247,10 @@ public interface LaserScan extends EObject { * The list contents are of type {@link java.lang.Float}. * *

- * If the meaning of the 'Range' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Range' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Range' 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" @@ -312,10 +263,10 @@ public interface LaserScan extends EObject { * The list contents are of type {@link java.lang.Float}. * *

- * If the meaning of the 'Intensities' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Intensities' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Intensities' 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" 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 index 19a4234b84d..1185c5762dc 100644 --- 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 @@ -1,57 +1,46 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Nav Sat Fix'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getStatus Status}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getService Service}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLatitude Latitude}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLongitude Longitude}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getAltitude Altitude}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance - * Position covariance}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance_type - * Position covariance type}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getStatus Status}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getService Service}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLatitude Latitude}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLongitude Longitude}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getAltitude Altitude}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance Position covariance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance_type Position covariance type}
  • *
*

- * + * * @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 'Status' attribute. - * The literals are from the enumeration - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE}. + * The literals are from the enumeration {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE}. * *

- * If the meaning of the 'Status' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Status' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Status' attribute. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE * @see #setStatus(STATUS_TYPE) @@ -62,13 +51,10 @@ public interface NavSatFix extends EObject { STATUS_TYPE getStatus(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getStatus - * Status}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getStatus Status}' attribute. * * - * - * @param value - * the new value of the 'Status' attribute. + * @param value the new value of the 'Status' attribute. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE * @see #getStatus() * @generated @@ -77,14 +63,13 @@ public interface NavSatFix extends EObject { /** * Returns the value of the 'Service' attribute. - * The literals are from the enumeration - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE}. + * The literals are from the enumeration {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE}. * *

- * If the meaning of the 'Service' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Service' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Service' attribute. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE * @see #setService(SERVICE_TYPE) @@ -95,14 +80,10 @@ public interface NavSatFix extends EObject { SERVICE_TYPE getService(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getService Service}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getService Service}' attribute. * * - * - * @param value - * the new value of the 'Service' attribute. + * @param value the new value of the 'Service' attribute. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE * @see #getService() * @generated @@ -113,10 +94,10 @@ public interface NavSatFix extends EObject { * Returns the value of the 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getNavSatFix_Header() @@ -126,13 +107,10 @@ public interface NavSatFix extends EObject { Header getHeader(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -142,28 +120,23 @@ public interface NavSatFix extends EObject { * Returns the value of the 'Latitude' attribute. * *

- * If the meaning of the 'Latitude' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Latitude' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Latitude' attribute. * @see #setLatitude(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getLatitude(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLatitude Latitude}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLatitude Latitude}' attribute. * * - * - * @param value - * the new value of the 'Latitude' attribute. + * @param value the new value of the 'Latitude' attribute. * @see #getLatitude() * @generated */ @@ -173,28 +146,23 @@ public interface NavSatFix extends EObject { * Returns the value of the 'Longitude' attribute. * *

- * If the meaning of the 'Longitude' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Longitude' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Longitude' attribute. * @see #setLongitude(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getLongitude(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLongitude Longitude}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLongitude Longitude}' attribute. * * - * - * @param value - * the new value of the 'Longitude' attribute. + * @param value the new value of the 'Longitude' attribute. * @see #getLongitude() * @generated */ @@ -204,28 +172,23 @@ public interface NavSatFix extends EObject { * Returns the value of the 'Altitude' attribute. * *

- * If the meaning of the 'Altitude' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Altitude' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Altitude' attribute. * @see #setAltitude(double) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" required="true" ordered="false" * @generated */ double getAltitude(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getAltitude Altitude}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getAltitude Altitude}' attribute. * * - * - * @param value - * the new value of the 'Altitude' attribute. + * @param value the new value of the 'Altitude' attribute. * @see #getAltitude() * @generated */ @@ -236,28 +199,26 @@ public interface NavSatFix extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'Position covariance' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Position covariance' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Position covariance' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64" lower="9" upper="9" ordered="false" * @generated */ EList getPosition_covariance(); /** * Returns the value of the 'Position covariance type' attribute. - * The literals are from the enumeration - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE}. + * The literals are from the enumeration {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE}. * *

- * If the meaning of the 'Position covariance type' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Position covariance type' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Position covariance type' attribute. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE * @see #setPosition_covariance_type(COVARIANCE_TYPE) @@ -268,14 +229,10 @@ public interface NavSatFix extends EObject { 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 - * Position covariance type}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance_type Position covariance type}' attribute. * * - * - * @param value - * the new value of the 'Position covariance type' attribute. + * @param value the new value of the 'Position covariance type' attribute. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE * @see #getPosition_covariance_type() * @generated 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 index b73887f227d..a6516561865 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.sensor_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,50 +8,40 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Nav Sat Status'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_NO_FIX STATUS NO - * FIX}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_FIX STATUS FIX - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_SBAS_FIX STATUS - * SBAS FIX}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_GBAS_FIX STATUS - * GBAS FIX}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getStatus Status}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GPS SERVICE GPS - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GLONASS SERVICE - * GLONASS}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_COMPASS SERVICE - * COMPASS}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GALILEO SERVICE - * GALILEO}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getService Service}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_NO_FIX STATUS NO FIX}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_FIX STATUS FIX}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_SBAS_FIX STATUS SBAS FIX}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_GBAS_FIX STATUS GBAS FIX}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getStatus Status}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GPS SERVICE GPS}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GLONASS SERVICE GLONASS}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_COMPASS SERVICE COMPASS}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GALILEO SERVICE GALILEO}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getService Service}
  • *
*

- * + * * @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 'STATUS NO FIX' attribute. * The default value is "-1". * *

- * If the meaning of the 'STATUS NO FIX' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'STATUS NO FIX' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'STATUS NO FIX' 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" + * @model default="-1" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8" required="true" changeable="false" ordered="false" * @generated */ char getSTATUS_NO_FIX(); @@ -70,14 +51,13 @@ public interface NavSatStatus extends EObject { * The default value is "0". * *

- * If the meaning of the 'STATUS FIX' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'STATUS FIX' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'STATUS FIX' 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" + * @model default="0" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8" required="true" changeable="false" ordered="false" * @generated */ char getSTATUS_FIX(); @@ -87,14 +67,13 @@ public interface NavSatStatus extends EObject { * The default value is "1". * *

- * If the meaning of the 'STATUS SBAS FIX' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'STATUS SBAS FIX' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'STATUS SBAS FIX' 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" + * @model default="1" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8" required="true" changeable="false" ordered="false" * @generated */ char getSTATUS_SBAS_FIX(); @@ -104,14 +83,13 @@ public interface NavSatStatus extends EObject { * The default value is "2". * *

- * If the meaning of the 'STATUS GBAS FIX' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'STATUS GBAS FIX' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'STATUS GBAS FIX' 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" + * @model default="2" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8" required="true" changeable="false" ordered="false" * @generated */ char getSTATUS_GBAS_FIX(); @@ -120,28 +98,23 @@ public interface NavSatStatus extends EObject { * Returns the value of the 'Status' attribute. * *

- * If the meaning of the 'Status' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Status' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Status' attribute. * @see #setStatus(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8" required="true" ordered="false" * @generated */ char getStatus(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getStatus Status}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getStatus Status}' attribute. * * - * - * @param value - * the new value of the 'Status' attribute. + * @param value the new value of the 'Status' attribute. * @see #getStatus() * @generated */ @@ -152,14 +125,13 @@ public interface NavSatStatus extends EObject { * The default value is "1". * *

- * If the meaning of the 'SERVICE GPS' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'SERVICE GPS' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'SERVICE GPS' 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" + * @model default="1" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16" required="true" changeable="false" ordered="false" * @generated */ int getSERVICE_GPS(); @@ -169,14 +141,13 @@ public interface NavSatStatus extends EObject { * The default value is "2". * *

- * If the meaning of the 'SERVICE GLONASS' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'SERVICE GLONASS' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'SERVICE GLONASS' 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" + * @model default="2" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16" required="true" changeable="false" ordered="false" * @generated */ int getSERVICE_GLONASS(); @@ -186,14 +157,13 @@ public interface NavSatStatus extends EObject { * The default value is "4". * *

- * If the meaning of the 'SERVICE COMPASS' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'SERVICE COMPASS' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'SERVICE COMPASS' 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" + * @model default="4" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16" required="true" changeable="false" ordered="false" * @generated */ int getSERVICE_COMPASS(); @@ -203,14 +173,13 @@ public interface NavSatStatus extends EObject { * The default value is "8". * *

- * If the meaning of the 'SERVICE GALILEO' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'SERVICE GALILEO' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'SERVICE GALILEO' 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" + * @model default="8" dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16" required="true" changeable="false" ordered="false" * @generated */ int getSERVICE_GALILEO(); @@ -219,28 +188,23 @@ public interface NavSatStatus extends EObject { * Returns the value of the 'Service' attribute. * *

- * If the meaning of the 'Service' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Service' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Service' attribute. * @see #setService(int) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt16" required="true" ordered="false" * @generated */ int getService(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getService Service}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getService Service}' attribute. * * - * - * @param value - * the new value of the 'Service' attribute. + * @param value the new value of the 'Service' attribute. * @see #getService() * @generated */ 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 index fc0342a0746..4ea14a5fe3b 100644 --- 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 @@ -1,49 +1,42 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Point Cloud'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getPoints Points}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getChannels Channels}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getPoints Points}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getChannels Channels}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud_Header() @@ -53,14 +46,10 @@ public interface PointCloud extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getHeader Header}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -71,10 +60,10 @@ public interface PointCloud extends EObject { * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.geometry_datatypes.Point32}. * *

- * If the meaning of the 'Points' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Points' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Points' containment reference list. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud_Points() * @model containment="true" ordered="false" @@ -84,14 +73,13 @@ public interface PointCloud extends EObject { /** * Returns the value of the 'Channels' containment reference list. - * The list contents are of type - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32}. + * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32}. * *

- * If the meaning of the 'Channels' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Channels' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Channels' containment reference list. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud_Channels() * @model containment="true" ordered="false" 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 index 601abf21dea..a0345ee9cc4 100644 --- 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 @@ -1,56 +1,46 @@ -/***************************************************************************** - * 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.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; /** * * A representation of the model object 'Point Cloud2'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeight Height}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getWidth Width}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getFields Fields}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_bigendian Is bigendian - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getPoint_step Point step - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getRow_step Row step}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getData Data}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_dense Is dense}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeight Height}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getFields Fields}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_bigendian Is bigendian}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getPoint_step Point step}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getRow_step Row step}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_dense Is dense}
  • *
*

- * + * * @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 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud2_Header() @@ -60,14 +50,10 @@ public interface PointCloud2 extends EObject { Header getHeader(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeader Header}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -77,28 +63,23 @@ public interface PointCloud2 extends EObject { * Returns the value of the 'Height' attribute. * *

- * If the meaning of the 'Height' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Height' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Height' attribute. * @see #setHeight(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getHeight(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeight Height}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeight Height}' attribute. * * - * - * @param value - * the new value of the 'Height' attribute. + * @param value the new value of the 'Height' attribute. * @see #getHeight() * @generated */ @@ -108,28 +89,23 @@ public interface PointCloud2 extends EObject { * Returns the value of the 'Width' attribute. * *

- * If the meaning of the 'Width' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Width' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Width' attribute. * @see #setWidth(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getWidth(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getWidth Width}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getWidth Width}' attribute. * * - * - * @param value - * the new value of the 'Width' attribute. + * @param value the new value of the 'Width' attribute. * @see #getWidth() * @generated */ @@ -140,10 +116,10 @@ public interface PointCloud2 extends EObject { * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField}. * *

- * If the meaning of the 'Fields' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Fields' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Fields' containment reference list. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getPointCloud2_Fields() * @model containment="true" ordered="false" @@ -155,28 +131,23 @@ public interface PointCloud2 extends EObject { * Returns the value of the 'Is bigendian' attribute. * *

- * If the meaning of the 'Is bigendian' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Is bigendian' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Is bigendian' attribute. * @see #setIs_bigendian(boolean) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Bool" required="true" ordered="false" * @generated */ boolean isIs_bigendian(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_bigendian - * Is bigendian}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_bigendian Is bigendian}' attribute. * * - * - * @param value - * the new value of the 'Is bigendian' attribute. + * @param value the new value of the 'Is bigendian' attribute. * @see #isIs_bigendian() * @generated */ @@ -186,28 +157,23 @@ public interface PointCloud2 extends EObject { * Returns the value of the 'Point step' attribute. * *

- * If the meaning of the 'Point step' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Point step' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Point step' attribute. * @see #setPoint_step(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getPoint_step(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getPoint_step - * Point step}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getPoint_step Point step}' attribute. * * - * - * @param value - * the new value of the 'Point step' attribute. + * @param value the new value of the 'Point step' attribute. * @see #getPoint_step() * @generated */ @@ -217,28 +183,23 @@ public interface PointCloud2 extends EObject { * Returns the value of the 'Row step' attribute. * *

- * If the meaning of the 'Row step' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Row step' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Row step' attribute. * @see #setRow_step(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getRow_step(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getRow_step Row step}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getRow_step Row step}' attribute. * * - * - * @param value - * the new value of the 'Row step' attribute. + * @param value the new value of the 'Row step' attribute. * @see #getRow_step() * @generated */ @@ -249,10 +210,10 @@ public interface PointCloud2 extends EObject { * The list contents are of type {@link java.lang.Character}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" @@ -264,28 +225,23 @@ public interface PointCloud2 extends EObject { * Returns the value of the 'Is dense' attribute. * *

- * If the meaning of the 'Is dense' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Is dense' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Is dense' attribute. * @see #setIs_dense(boolean) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Bool" required="true" ordered="false" * @generated */ boolean isIs_dense(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_dense Is dense}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_dense Is dense}' attribute. * * - * - * @param value - * the new value of the 'Is dense' attribute. + * @param value the new value of the 'Is dense' attribute. * @see #isIs_dense() * @generated */ 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 index f01a1e6dfd5..bba451cfd42 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.sensor_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,48 +8,43 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Point Field'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getName Name}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getOffset Offset}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getDatatype Datatype}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getCount Count}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getName Name}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getOffset Offset}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getDatatype Datatype}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getCount Count}
  • *
*

- * + * * @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 'Name' attribute. * *

- * If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Name' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getName(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getName - * Name}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getName Name}' attribute. * * - * - * @param value - * the new value of the 'Name' attribute. + * @param value the new value of the 'Name' attribute. * @see #getName() * @generated */ @@ -68,28 +54,23 @@ public interface PointField extends EObject { * Returns the value of the 'Offset' attribute. * *

- * If the meaning of the 'Offset' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Offset' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Offset' attribute. * @see #setOffset(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getOffset(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getOffset Offset}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getOffset Offset}' attribute. * * - * - * @param value - * the new value of the 'Offset' attribute. + * @param value the new value of the 'Offset' attribute. * @see #getOffset() * @generated */ @@ -99,28 +80,23 @@ public interface PointField extends EObject { * Returns the value of the 'Datatype' attribute. * *

- * If the meaning of the 'Datatype' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Datatype' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Datatype' attribute. * @see #setDatatype(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getDatatype(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getDatatype Datatype}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getDatatype Datatype}' attribute. * * - * - * @param value - * the new value of the 'Datatype' attribute. + * @param value the new value of the 'Datatype' attribute. * @see #getDatatype() * @generated */ @@ -130,27 +106,23 @@ public interface PointField extends EObject { * Returns the value of the 'Count' attribute. * *

- * If the meaning of the 'Count' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Count' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Count' attribute. * @see #setCount(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getCount(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getCount - * Count}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getCount Count}' attribute. * * - * - * @param value - * the new value of the 'Count' attribute. + * @param value the new value of the 'Count' attribute. * @see #getCount() * @generated */ 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 index cef1dc3143d..a189544221a 100644 --- 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 @@ -1,71 +1,56 @@ -/***************************************************************************** - * 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.sensor_datatypes; import org.eclipse.emf.ecore.EObject; + import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header; /** * * A representation of the model object 'Range'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getULTRASOUND ULTRASOUND}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getINFRARED INFRARED}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRadiation_type Radiation type - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getField_of_view Field of view - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMin_range Min range}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMax_range Max range}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRange Range}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getULTRASOUND ULTRASOUND}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getINFRARED INFRARED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRadiation_type Radiation type}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getField_of_view Field of view}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMin_range Min range}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMax_range Max range}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRange Range}
  • *
*

- * + * * @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 'ULTRASOUND' attribute. * *

- * If the meaning of the 'ULTRASOUND' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'ULTRASOUND' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'ULTRASOUND' attribute. * @see #setULTRASOUND(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getULTRASOUND(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getULTRASOUND - * ULTRASOUND}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getULTRASOUND ULTRASOUND}' attribute. * * - * - * @param value - * the new value of the 'ULTRASOUND' attribute. + * @param value the new value of the 'ULTRASOUND' attribute. * @see #getULTRASOUND() * @generated */ @@ -75,27 +60,23 @@ public interface Range extends EObject { * Returns the value of the 'INFRARED' attribute. * *

- * If the meaning of the 'INFRARED' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'INFRARED' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'INFRARED' attribute. * @see #setINFRARED(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getINFRARED(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getINFRARED - * INFRARED}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getINFRARED INFRARED}' attribute. * * - * - * @param value - * the new value of the 'INFRARED' attribute. + * @param value the new value of the 'INFRARED' attribute. * @see #getINFRARED() * @generated */ @@ -105,10 +86,10 @@ public interface Range extends EObject { * Returns the value of the 'Header' containment reference. * *

- * If the meaning of the 'Header' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Header' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Header' containment reference. * @see #setHeader(Header) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getRange_Header() @@ -118,13 +99,10 @@ public interface Range extends EObject { Header getHeader(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getHeader - * Header}' containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getHeader Header}' containment reference. * * - * - * @param value - * the new value of the 'Header' containment reference. + * @param value the new value of the 'Header' containment reference. * @see #getHeader() * @generated */ @@ -134,28 +112,23 @@ public interface Range extends EObject { * Returns the value of the 'Radiation type' attribute. * *

- * If the meaning of the 'Radiation type' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Radiation type' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Radiation type' attribute. * @see #setRadiation_type(char) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8" required="true" ordered="false" * @generated */ char getRadiation_type(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRadiation_type - * Radiation type}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRadiation_type Radiation type}' attribute. * * - * - * @param value - * the new value of the 'Radiation type' attribute. + * @param value the new value of the 'Radiation type' attribute. * @see #getRadiation_type() * @generated */ @@ -165,28 +138,23 @@ public interface Range extends EObject { * Returns the value of the 'Field of view' attribute. * *

- * If the meaning of the 'Field of view' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Field of view' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Field of view' attribute. * @see #setField_of_view(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getField_of_view(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getField_of_view - * Field of view}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getField_of_view Field of view}' attribute. * * - * - * @param value - * the new value of the 'Field of view' attribute. + * @param value the new value of the 'Field of view' attribute. * @see #getField_of_view() * @generated */ @@ -196,27 +164,23 @@ public interface Range extends EObject { * Returns the value of the 'Min range' attribute. * *

- * If the meaning of the 'Min range' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Min range' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Min range' attribute. * @see #setMin_range(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getMin_range(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMin_range - * Min range}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMin_range Min range}' attribute. * * - * - * @param value - * the new value of the 'Min range' attribute. + * @param value the new value of the 'Min range' attribute. * @see #getMin_range() * @generated */ @@ -226,27 +190,23 @@ public interface Range extends EObject { * Returns the value of the 'Max range' attribute. * *

- * If the meaning of the 'Max range' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Max range' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Max range' attribute. * @see #setMax_range(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getMax_range(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMax_range - * Max range}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMax_range Max range}' attribute. * * - * - * @param value - * the new value of the 'Max range' attribute. + * @param value the new value of the 'Max range' attribute. * @see #getMax_range() * @generated */ @@ -256,27 +216,23 @@ public interface Range extends EObject { * Returns the value of the 'Range' attribute. * *

- * If the meaning of the 'Range' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Range' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Range' attribute. * @see #setRange(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getRange(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRange - * Range}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRange Range}' attribute. * * - * - * @param value - * the new value of the 'Range' attribute. + * @param value the new value of the 'Range' attribute. * @see #getRange() * @generated */ 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 index 559e2a4dd13..ffb8f16cd7d 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.sensor_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,54 +8,44 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Region Of Interest'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getX_offset Xoffset - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getY_offset Yoffset - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getHeight Height} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#isDo_rectify Do - * rectify}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getX_offset Xoffset}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getY_offset Yoffset}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getHeight Height}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#isDo_rectify Do rectify}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getWidth Width}
  • *
*

- * + * * @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 'Xoffset' attribute. * *

- * If the meaning of the 'Xoffset' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Xoffset' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Xoffset' attribute. * @see #setX_offset(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getX_offset(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getX_offset - * Xoffset}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getX_offset Xoffset}' attribute. * * - * - * @param value - * the new value of the 'Xoffset' attribute. + * @param value the new value of the 'Xoffset' attribute. * @see #getX_offset() * @generated */ @@ -74,28 +55,23 @@ public interface RegionOfInterest extends EObject { * Returns the value of the 'Yoffset' attribute. * *

- * If the meaning of the 'Yoffset' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Yoffset' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Yoffset' attribute. * @see #setY_offset(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getY_offset(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getY_offset - * Yoffset}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getY_offset Yoffset}' attribute. * * - * - * @param value - * the new value of the 'Yoffset' attribute. + * @param value the new value of the 'Yoffset' attribute. * @see #getY_offset() * @generated */ @@ -105,28 +81,23 @@ public interface RegionOfInterest extends EObject { * Returns the value of the 'Height' attribute. * *

- * If the meaning of the 'Height' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Height' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Height' attribute. * @see #setHeight(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getHeight(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getHeight Height} - * ' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getHeight Height}' attribute. * * - * - * @param value - * the new value of the 'Height' attribute. + * @param value the new value of the 'Height' attribute. * @see #getHeight() * @generated */ @@ -136,28 +107,23 @@ public interface RegionOfInterest extends EObject { * Returns the value of the 'Do rectify' attribute. * *

- * If the meaning of the 'Do rectify' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Do rectify' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Do rectify' attribute. * @see #setDo_rectify(boolean) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Bool" required="true" ordered="false" * @generated */ boolean isDo_rectify(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#isDo_rectify - * Do rectify}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#isDo_rectify Do rectify}' attribute. * * - * - * @param value - * the new value of the 'Do rectify' attribute. + * @param value the new value of the 'Do rectify' attribute. * @see #isDo_rectify() * @generated */ @@ -167,28 +133,23 @@ public interface RegionOfInterest extends EObject { * Returns the value of the 'Width' attribute. * *

- * If the meaning of the 'Width' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Width' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Width' attribute. * @see #setWidth(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getWidth(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getWidth Width}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getWidth Width}' attribute. * * - * - * @param value - * the new value of the 'Width' attribute. + * @param value the new value of the 'Width' attribute. * @see #getWidth() * @generated */ 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 index 9fc7b8635de..39392afc52c 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.sensor_datatypes; import java.util.Arrays; @@ -22,7 +13,6 @@ import org.eclipse.emf.common.util.Enumerator; * A representation of the literals of the enumeration 'SERVICE TYPE', * and utility methods for working with them. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getSERVICE_TYPE() * @model * @generated @@ -32,7 +22,6 @@ public enum SERVICE_TYPE implements Enumerator { * The 'SERVICE GPS' literal object. * * - * * @see #SERVICE_GPS_VALUE * @generated * @ordered @@ -43,7 +32,6 @@ public enum SERVICE_TYPE implements Enumerator { * The 'SERVICE GLONASS' literal object. * * - * * @see #SERVICE_GLONASS_VALUE * @generated * @ordered @@ -54,7 +42,6 @@ public enum SERVICE_TYPE implements Enumerator { * The 'SERVICE COMPASS' literal object. * * - * * @see #SERVICE_COMPASS_VALUE * @generated * @ordered @@ -65,7 +52,6 @@ public enum SERVICE_TYPE implements Enumerator { * The 'SERVICE GALILEO' literal object. * * - * * @see #SERVICE_GALILEO_VALUE * @generated * @ordered @@ -76,10 +62,10 @@ public enum SERVICE_TYPE implements Enumerator { * The 'SERVICE GPS' literal value. * *

- * If the meaning of 'SERVICE GPS' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'SERVICE GPS' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #SERVICE_GPS * @model * @generated @@ -91,10 +77,10 @@ public enum SERVICE_TYPE implements Enumerator { * The 'SERVICE GLONASS' literal value. * *

- * If the meaning of 'SERVICE GLONASS' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'SERVICE GLONASS' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #SERVICE_GLONASS * @model * @generated @@ -106,10 +92,10 @@ public enum SERVICE_TYPE implements Enumerator { * The 'SERVICE COMPASS' literal value. * *

- * If the meaning of 'SERVICE COMPASS' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'SERVICE COMPASS' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #SERVICE_COMPASS * @model * @generated @@ -121,10 +107,10 @@ public enum SERVICE_TYPE implements Enumerator { * The 'SERVICE GALILEO' literal value. * *

- * If the meaning of 'SERVICE GALILEO' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'SERVICE GALILEO' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #SERVICE_GALILEO * @model * @generated @@ -136,16 +122,20 @@ public enum SERVICE_TYPE implements Enumerator { * An array of all the 'SERVICE TYPE' enumerators. * * - * * @generated */ - private static final SERVICE_TYPE[] VALUES_ARRAY = new SERVICE_TYPE[]{ SERVICE_GPS, SERVICE_GLONASS, SERVICE_COMPASS, SERVICE_GALILEO, }; + 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 'SERVICE TYPE' enumerators. * * - * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); @@ -154,13 +144,12 @@ public enum SERVICE_TYPE implements Enumerator { * Returns the 'SERVICE TYPE' literal with the specified literal value. * * - * * @generated */ public static SERVICE_TYPE get(String literal) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { SERVICE_TYPE result = VALUES_ARRAY[i]; - if(result.toString().equals(literal)) { + if (result.toString().equals(literal)) { return result; } } @@ -171,13 +160,12 @@ public enum SERVICE_TYPE implements Enumerator { * Returns the 'SERVICE TYPE' literal with the specified name. * * - * * @generated */ public static SERVICE_TYPE getByName(String name) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { SERVICE_TYPE result = VALUES_ARRAY[i]; - if(result.getName().equals(name)) { + if (result.getName().equals(name)) { return result; } } @@ -188,19 +176,14 @@ public enum SERVICE_TYPE implements Enumerator { * Returns the 'SERVICE TYPE' literal with the specified integer value. * * - * * @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; + 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; } @@ -208,7 +191,6 @@ public enum SERVICE_TYPE implements Enumerator { /** * * - * * @generated */ private final int value; @@ -216,7 +198,6 @@ public enum SERVICE_TYPE implements Enumerator { /** * * - * * @generated */ private final String name; @@ -224,7 +205,6 @@ public enum SERVICE_TYPE implements Enumerator { /** * * - * * @generated */ private final String literal; @@ -233,7 +213,6 @@ public enum SERVICE_TYPE implements Enumerator { * Only this class can construct instances. * * - * * @generated */ private SERVICE_TYPE(int value, String name, String literal) { @@ -245,43 +224,39 @@ public enum SERVICE_TYPE implements Enumerator { /** * * - * * @generated */ public int getValue() { - return value; + return value; } /** * * - * * @generated */ public String getName() { - return name; + return name; } /** * * - * * @generated */ public String getLiteral() { - return literal; + return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * * - * * @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 index a0858d485c1..40e0937cd4b 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.sensor_datatypes; import java.util.Arrays; @@ -22,7 +13,6 @@ import org.eclipse.emf.common.util.Enumerator; * A representation of the literals of the enumeration 'STATUS TYPE', * and utility methods for working with them. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#getSTATUS_TYPE() * @model * @generated @@ -32,7 +22,6 @@ public enum STATUS_TYPE implements Enumerator { * The 'STATUS NO FIX' literal object. * * - * * @see #STATUS_NO_FIX_VALUE * @generated * @ordered @@ -43,7 +32,6 @@ public enum STATUS_TYPE implements Enumerator { * The 'STATUS FIX' literal object. * * - * * @see #STATUS_FIX_VALUE * @generated * @ordered @@ -54,7 +42,6 @@ public enum STATUS_TYPE implements Enumerator { * The 'STATUS SBAS FIX' literal object. * * - * * @see #STATUS_SBAS_FIX_VALUE * @generated * @ordered @@ -65,7 +52,6 @@ public enum STATUS_TYPE implements Enumerator { * The 'STATUS GBAS FIX' literal object. * * - * * @see #STATUS_GBAS_FIX_VALUE * @generated * @ordered @@ -76,10 +62,10 @@ public enum STATUS_TYPE implements Enumerator { * The 'STATUS NO FIX' literal value. * *

- * If the meaning of 'STATUS NO FIX' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'STATUS NO FIX' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #STATUS_NO_FIX * @model * @generated @@ -91,10 +77,10 @@ public enum STATUS_TYPE implements Enumerator { * The 'STATUS FIX' literal value. * *

- * If the meaning of 'STATUS FIX' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'STATUS FIX' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #STATUS_FIX * @model * @generated @@ -106,10 +92,10 @@ public enum STATUS_TYPE implements Enumerator { * The 'STATUS SBAS FIX' literal value. * *

- * If the meaning of 'STATUS SBAS FIX' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'STATUS SBAS FIX' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #STATUS_SBAS_FIX * @model * @generated @@ -121,10 +107,10 @@ public enum STATUS_TYPE implements Enumerator { * The 'STATUS GBAS FIX' literal value. * *

- * If the meaning of 'STATUS GBAS FIX' literal object isn't clear, there really should be more of a description here... + * If the meaning of 'STATUS GBAS FIX' literal object isn't clear, + * there really should be more of a description here... *

* - * * @see #STATUS_GBAS_FIX * @model * @generated @@ -136,16 +122,20 @@ public enum STATUS_TYPE implements Enumerator { * An array of all the 'STATUS TYPE' enumerators. * * - * * @generated */ - private static final STATUS_TYPE[] VALUES_ARRAY = new STATUS_TYPE[]{ STATUS_NO_FIX, STATUS_FIX, STATUS_SBAS_FIX, STATUS_GBAS_FIX, }; + 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 'STATUS TYPE' enumerators. * * - * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); @@ -154,13 +144,12 @@ public enum STATUS_TYPE implements Enumerator { * Returns the 'STATUS TYPE' literal with the specified literal value. * * - * * @generated */ public static STATUS_TYPE get(String literal) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { STATUS_TYPE result = VALUES_ARRAY[i]; - if(result.toString().equals(literal)) { + if (result.toString().equals(literal)) { return result; } } @@ -171,13 +160,12 @@ public enum STATUS_TYPE implements Enumerator { * Returns the 'STATUS TYPE' literal with the specified name. * * - * * @generated */ public static STATUS_TYPE getByName(String name) { - for(int i = 0; i < VALUES_ARRAY.length; ++i) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { STATUS_TYPE result = VALUES_ARRAY[i]; - if(result.getName().equals(name)) { + if (result.getName().equals(name)) { return result; } } @@ -188,19 +176,14 @@ public enum STATUS_TYPE implements Enumerator { * Returns the 'STATUS TYPE' literal with the specified integer value. * * - * * @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; + 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; } @@ -208,7 +191,6 @@ public enum STATUS_TYPE implements Enumerator { /** * * - * * @generated */ private final int value; @@ -216,7 +198,6 @@ public enum STATUS_TYPE implements Enumerator { /** * * - * * @generated */ private final String name; @@ -224,7 +205,6 @@ public enum STATUS_TYPE implements Enumerator { /** * * - * * @generated */ private final String literal; @@ -233,7 +213,6 @@ public enum STATUS_TYPE implements Enumerator { * Only this class can construct instances. * * - * * @generated */ private STATUS_TYPE(int value, String name, String literal) { @@ -245,43 +224,39 @@ public enum STATUS_TYPE implements Enumerator { /** * * - * * @generated */ public int getValue() { - return value; + return value; } /** * * - * * @generated */ public String getName() { - return name; + return name; } /** * * - * * @generated */ public String getLiteral() { - return literal; + return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * * - * * @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 index 9c4c4df6bd0..322a7025f98 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.sensor_datatypes; import org.eclipse.emf.ecore.EFactory; @@ -18,17 +9,14 @@ import org.eclipse.emf.ecore.EFactory; * The Factory for the model. * It provides a create method for each non-abstract class of the model. * - * * @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. * * - * * @generated */ Sensor_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.Sensor_datatypesFactoryImpl.init(); @@ -37,7 +25,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Region Of Interest'. * * - * * @return a new object of class 'Region Of Interest'. * @generated */ @@ -47,7 +34,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Range'. * * - * * @return a new object of class 'Range'. * @generated */ @@ -57,7 +43,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Camera Info'. * * - * * @return a new object of class 'Camera Info'. * @generated */ @@ -67,7 +52,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Imu'. * * - * * @return a new object of class 'Imu'. * @generated */ @@ -77,7 +61,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Laser Scan'. * * - * * @return a new object of class 'Laser Scan'. * @generated */ @@ -87,7 +70,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Image'. * * - * * @return a new object of class 'Image'. * @generated */ @@ -97,7 +79,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Channel Float32'. * * - * * @return a new object of class 'Channel Float32'. * @generated */ @@ -107,7 +88,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Compressed Image'. * * - * * @return a new object of class 'Compressed Image'. * @generated */ @@ -117,7 +97,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Point Cloud'. * * - * * @return a new object of class 'Point Cloud'. * @generated */ @@ -127,7 +106,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Point Field'. * * - * * @return a new object of class 'Point Field'. * @generated */ @@ -137,7 +115,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Point Cloud2'. * * - * * @return a new object of class 'Point Cloud2'. * @generated */ @@ -147,7 +124,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Joint State'. * * - * * @return a new object of class 'Joint State'. * @generated */ @@ -157,7 +133,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Nav Sat Status'. * * - * * @return a new object of class 'Nav Sat Status'. * @generated */ @@ -167,7 +142,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Nav Sat Fix'. * * - * * @return a new object of class 'Nav Sat Fix'. * @generated */ @@ -177,7 +151,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Joy'. * * - * * @return a new object of class 'Joy'. * @generated */ @@ -187,7 +160,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Joy Feedback'. * * - * * @return a new object of class 'Joy Feedback'. * @generated */ @@ -197,7 +169,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Joy Feedback Array'. * * - * * @return a new object of class 'Joy Feedback Array'. * @generated */ @@ -207,7 +178,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Car Like Odometry'. * * - * * @return a new object of class 'Car Like Odometry'. * @generated */ @@ -217,7 +187,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns a new object of class 'Differential Odometry'. * * - * * @return a new object of class 'Differential Odometry'. * @generated */ @@ -227,7 +196,6 @@ public interface Sensor_datatypesFactory extends EFactory { * Returns the package supported by this factory. * * - * * @return the package supported by this factory. * @generated */ 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 index c9453419a8e..2043a965a2d 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.sensor_datatypes; import org.eclipse.emf.ecore.EAttribute; @@ -17,29 +8,28 @@ import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; +// TODO: Auto-generated Javadoc /** * * The Package for the model. * It contains accessors for the meta objects to represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @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. * * - * * @generated */ String eNAME = "sensor_datatypes"; @@ -48,7 +38,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The package namespace URI. * * - * * @generated */ String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes.ecore"; @@ -57,7 +46,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The package namespace name. * * - * * @generated */ String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes"; @@ -66,18 +54,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The singleton instance of the package. * * - * * @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 - * Region Of Interest}' class. + * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl Region Of Interest}' class. * * - * * @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 @@ -88,7 +72,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Xoffset' attribute. * * - * * @generated * @ordered */ @@ -98,7 +81,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Yoffset' attribute. * * - * * @generated * @ordered */ @@ -108,7 +90,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Height' attribute. * * - * * @generated * @ordered */ @@ -118,7 +99,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Do rectify' attribute. * * - * * @generated * @ordered */ @@ -128,7 +108,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Width' attribute. * * - * * @generated * @ordered */ @@ -138,18 +117,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Region Of Interest' class. * * - * * @generated * @ordered */ int REGION_OF_INTEREST_FEATURE_COUNT = 5; /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl - * Range}' class. + * The number of operations of the 'Region Of Interest' class. + * + * + * @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 Range}' class. * * - * * @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 @@ -160,7 +145,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'ULTRASOUND' attribute. * * - * * @generated * @ordered */ @@ -170,7 +154,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'INFRARED' attribute. * * - * * @generated * @ordered */ @@ -180,7 +163,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -190,7 +172,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Radiation type' attribute. * * - * * @generated * @ordered */ @@ -200,7 +181,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Field of view' attribute. * * - * * @generated * @ordered */ @@ -210,7 +190,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Min range' attribute. * * - * * @generated * @ordered */ @@ -220,7 +199,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Max range' attribute. * * - * * @generated * @ordered */ @@ -230,7 +208,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Range' attribute. * * - * * @generated * @ordered */ @@ -240,19 +217,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Range' class. * * - * * @generated * @ordered */ int RANGE_FEATURE_COUNT = 8; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl Camera Info}' - * class. + * The number of operations of the 'Range' class. + * + * + * @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 Camera Info}' class. * * - * * @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 @@ -263,7 +245,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -273,7 +254,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Height' attribute. * * - * * @generated * @ordered */ @@ -283,7 +263,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Width' attribute. * * - * * @generated * @ordered */ @@ -293,7 +272,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Distorsion model' attribute. * * - * * @generated * @ordered */ @@ -303,7 +281,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'D' attribute list. * * - * * @generated * @ordered */ @@ -313,7 +290,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'K' attribute list. * * - * * @generated * @ordered */ @@ -323,7 +299,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'R' attribute list. * * - * * @generated * @ordered */ @@ -333,7 +308,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'P' attribute list. * * - * * @generated * @ordered */ @@ -343,7 +317,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Binning x' attribute. * * - * * @generated * @ordered */ @@ -353,7 +326,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Binning y' attribute. * * - * * @generated * @ordered */ @@ -363,7 +335,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Roi' containment reference. * * - * * @generated * @ordered */ @@ -373,18 +344,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Camera Info' class. * * - * * @generated * @ordered */ int CAMERA_INFO_FEATURE_COUNT = 11; /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl - * Imu}' class. + * The number of operations of the 'Camera Info' class. + * + * + * @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 Imu}' class. * * - * * @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 @@ -395,7 +372,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -405,7 +381,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Orientation' containment reference. * * - * * @generated * @ordered */ @@ -415,7 +390,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Orientation covariance' attribute list. * * - * * @generated * @ordered */ @@ -425,7 +399,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Angular velocity' containment reference. * * - * * @generated * @ordered */ @@ -435,7 +408,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Angular velocity covariance' attribute list. * * - * * @generated * @ordered */ @@ -445,7 +417,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Linear acceleration' containment reference. * * - * * @generated * @ordered */ @@ -455,7 +426,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Linear acceleration covariance' attribute list. * * - * * @generated * @ordered */ @@ -465,19 +435,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Imu' class. * * - * * @generated * @ordered */ int IMU_FEATURE_COUNT = 7; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl Laser Scan}' - * class. + * The number of operations of the 'Imu' class. + * + * + * @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 Laser Scan}' class. * * - * * @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 @@ -488,7 +463,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -498,7 +472,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Angle min' attribute. * * - * * @generated * @ordered */ @@ -508,7 +481,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Angle max' attribute. * * - * * @generated * @ordered */ @@ -518,7 +490,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Angle increment' attribute. * * - * * @generated * @ordered */ @@ -528,7 +499,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Time increment' attribute. * * - * * @generated * @ordered */ @@ -538,7 +508,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Scan time' attribute. * * - * * @generated * @ordered */ @@ -548,7 +517,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Range min' attribute. * * - * * @generated * @ordered */ @@ -558,7 +526,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Range max' attribute. * * - * * @generated * @ordered */ @@ -568,7 +535,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Range' attribute list. * * - * * @generated * @ordered */ @@ -578,7 +544,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Intensities' attribute list. * * - * * @generated * @ordered */ @@ -588,18 +553,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Laser Scan' class. * * - * * @generated * @ordered */ int LASER_SCAN_FEATURE_COUNT = 10; /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl - * Image}' class. + * The number of operations of the 'Laser Scan' class. + * + * + * @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 Image}' class. * * - * * @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 @@ -610,7 +581,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -620,7 +590,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Height' attribute. * * - * * @generated * @ordered */ @@ -630,7 +599,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Width' attribute. * * - * * @generated * @ordered */ @@ -640,7 +608,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Encoding' attribute. * * - * * @generated * @ordered */ @@ -650,7 +617,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Is bigendian' attribute. * * - * * @generated * @ordered */ @@ -660,7 +626,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Step' attribute. * * - * * @generated * @ordered */ @@ -670,7 +635,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -680,19 +644,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Image' class. * * - * * @generated * @ordered */ int IMAGE_FEATURE_COUNT = 7; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ChannelFloat32Impl - * Channel Float32}' class. + * The number of operations of the 'Image' class. + * + * + * @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 Channel Float32}' class. * * - * * @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 @@ -703,7 +672,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Name' attribute. * * - * * @generated * @ordered */ @@ -713,7 +681,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Values' attribute list. * * - * * @generated * @ordered */ @@ -723,19 +690,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Channel Float32' class. * * - * * @generated * @ordered */ int CHANNEL_FLOAT32_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl - * Compressed Image}' class. + * The number of operations of the 'Channel Float32' class. + * + * + * @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 Compressed Image}' class. * * - * * @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 @@ -746,7 +718,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -756,7 +727,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Format' attribute. * * - * * @generated * @ordered */ @@ -766,7 +736,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -776,19 +745,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Compressed Image' class. * * - * * @generated * @ordered */ int COMPRESSED_IMAGE_FEATURE_COUNT = 3; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl Point Cloud}' - * class. + * The number of operations of the 'Compressed Image' class. + * + * + * @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 Point Cloud}' class. * * - * * @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 @@ -799,7 +773,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -809,7 +782,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Points' containment reference list. * * - * * @generated * @ordered */ @@ -819,7 +791,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Channels' containment reference list. * * - * * @generated * @ordered */ @@ -829,19 +800,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Point Cloud' class. * * - * * @generated * @ordered */ int POINT_CLOUD_FEATURE_COUNT = 3; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl Point Field}' - * class. + * The number of operations of the 'Point Cloud' class. + * + * + * @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 Point Field}' class. * * - * * @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 @@ -852,7 +828,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Name' attribute. * * - * * @generated * @ordered */ @@ -862,7 +837,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Offset' attribute. * * - * * @generated * @ordered */ @@ -872,7 +846,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Datatype' attribute. * * - * * @generated * @ordered */ @@ -882,7 +855,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Count' attribute. * * - * * @generated * @ordered */ @@ -892,19 +864,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Point Field' class. * * - * * @generated * @ordered */ int POINT_FIELD_FEATURE_COUNT = 4; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl Point Cloud2} - * ' class. + * The number of operations of the 'Point Field' class. + * + * + * @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 Point Cloud2}' class. * * - * * @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 @@ -915,7 +892,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -925,7 +901,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Height' attribute. * * - * * @generated * @ordered */ @@ -935,7 +910,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Width' attribute. * * - * * @generated * @ordered */ @@ -945,7 +919,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Fields' containment reference list. * * - * * @generated * @ordered */ @@ -955,7 +928,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Is bigendian' attribute. * * - * * @generated * @ordered */ @@ -965,7 +937,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Point step' attribute. * * - * * @generated * @ordered */ @@ -975,7 +946,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Row step' attribute. * * - * * @generated * @ordered */ @@ -985,7 +955,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -995,7 +964,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Is dense' attribute. * * - * * @generated * @ordered */ @@ -1005,19 +973,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Point Cloud2' class. * * - * * @generated * @ordered */ int POINT_CLOUD2_FEATURE_COUNT = 9; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl Joint State}' - * class. + * The number of operations of the 'Point Cloud2' class. + * + * + * @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 Joint State}' class. * * - * * @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 @@ -1028,7 +1001,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Name' attribute list. * * - * * @generated * @ordered */ @@ -1038,7 +1010,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Position' attribute list. * * - * * @generated * @ordered */ @@ -1048,7 +1019,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Velocity' attribute list. * * - * * @generated * @ordered */ @@ -1058,7 +1028,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Effort' attribute list. * * - * * @generated * @ordered */ @@ -1068,19 +1037,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Joint State' class. * * - * * @generated * @ordered */ int JOINT_STATE_FEATURE_COUNT = 4; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl - * Nav Sat Status}' class. + * The number of operations of the 'Joint State' class. + * + * + * @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 Nav Sat Status}' class. * * - * * @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 @@ -1091,7 +1065,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'STATUS NO FIX' attribute. * * - * * @generated * @ordered */ @@ -1101,7 +1074,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'STATUS FIX' attribute. * * - * * @generated * @ordered */ @@ -1111,7 +1083,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'STATUS SBAS FIX' attribute. * * - * * @generated * @ordered */ @@ -1121,7 +1092,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'STATUS GBAS FIX' attribute. * * - * * @generated * @ordered */ @@ -1131,7 +1101,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Status' attribute. * * - * * @generated * @ordered */ @@ -1141,7 +1110,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'SERVICE GPS' attribute. * * - * * @generated * @ordered */ @@ -1151,7 +1119,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'SERVICE GLONASS' attribute. * * - * * @generated * @ordered */ @@ -1161,7 +1128,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'SERVICE COMPASS' attribute. * * - * * @generated * @ordered */ @@ -1171,7 +1137,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'SERVICE GALILEO' attribute. * * - * * @generated * @ordered */ @@ -1181,7 +1146,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Service' attribute. * * - * * @generated * @ordered */ @@ -1191,19 +1155,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Nav Sat Status' class. * * - * * @generated * @ordered */ int NAV_SAT_STATUS_FEATURE_COUNT = 10; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl Nav Sat Fix}' - * class. + * The number of operations of the 'Nav Sat Status' class. + * + * + * @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 Nav Sat Fix}' class. * * - * * @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 @@ -1214,7 +1183,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Status' attribute. * * - * * @generated * @ordered */ @@ -1224,7 +1192,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Service' attribute. * * - * * @generated * @ordered */ @@ -1234,7 +1201,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -1244,7 +1210,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Latitude' attribute. * * - * * @generated * @ordered */ @@ -1254,7 +1219,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Longitude' attribute. * * - * * @generated * @ordered */ @@ -1264,7 +1228,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Altitude' attribute. * * - * * @generated * @ordered */ @@ -1274,7 +1237,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Position covariance' attribute list. * * - * * @generated * @ordered */ @@ -1284,7 +1246,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Position covariance type' attribute. * * - * * @generated * @ordered */ @@ -1294,18 +1255,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Nav Sat Fix' class. * * - * * @generated * @ordered */ int NAV_SAT_FIX_FEATURE_COUNT = 8; /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl - * Joy}' class. + * The number of operations of the 'Nav Sat Fix' class. + * + * + * @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 Joy}' class. * * - * * @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 @@ -1316,7 +1283,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -1326,7 +1292,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Axes' attribute list. * * - * * @generated * @ordered */ @@ -1336,7 +1301,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Buttons' attribute list. * * - * * @generated * @ordered */ @@ -1346,19 +1310,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Joy' class. * * - * * @generated * @ordered */ int JOY_FEATURE_COUNT = 3; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl Joy Feedback} - * ' class. + * The number of operations of the 'Joy' class. + * + * + * @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 Joy Feedback}' class. * * - * * @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 @@ -1369,7 +1338,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'TYPE LED' attribute. * * - * * @generated * @ordered */ @@ -1379,7 +1347,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'TYPE RUMBLE' attribute. * * - * * @generated * @ordered */ @@ -1389,7 +1356,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'TYPE BUZZER' attribute. * * - * * @generated * @ordered */ @@ -1399,7 +1365,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Type' attribute. * * - * * @generated * @ordered */ @@ -1409,7 +1374,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Id' attribute. * * - * * @generated * @ordered */ @@ -1419,7 +1383,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Intensity' attribute. * * - * * @generated * @ordered */ @@ -1429,19 +1392,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Joy Feedback' class. * * - * * @generated * @ordered */ int JOY_FEEDBACK_FEATURE_COUNT = 6; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackArrayImpl - * Joy Feedback Array}' class. + * The number of operations of the 'Joy Feedback' class. + * + * + * @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 Joy Feedback Array}' class. * * - * * @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 @@ -1452,7 +1420,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Array' containment reference list. * * - * * @generated * @ordered */ @@ -1462,19 +1429,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Joy Feedback Array' class. * * - * * @generated * @ordered */ int JOY_FEEDBACK_ARRAY_FEATURE_COUNT = 1; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl - * Car Like Odometry}' class. + * The number of operations of the 'Joy Feedback Array' class. + * + * + * @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 Car Like Odometry}' class. * * - * * @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 @@ -1485,7 +1457,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -1495,7 +1466,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Steering angle' attribute. * * - * * @generated * @ordered */ @@ -1505,7 +1475,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Left rear wheel distance' attribute. * * - * * @generated * @ordered */ @@ -1515,7 +1484,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Right rear wheel distance' attribute. * * - * * @generated * @ordered */ @@ -1525,7 +1493,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Right rear wheel velocity' attribute. * * - * * @generated * @ordered */ @@ -1535,7 +1502,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Left rear wheel velocity' attribute. * * - * * @generated * @ordered */ @@ -1545,19 +1511,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Car Like Odometry' class. * * - * * @generated * @ordered */ int CAR_LIKE_ODOMETRY_FEATURE_COUNT = 6; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl - * Differential Odometry}' class. + * The number of operations of the 'Car Like Odometry' class. + * + * + * @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 Differential Odometry}' class. * * - * * @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 @@ -1568,7 +1539,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Header' containment reference. * * - * * @generated * @ordered */ @@ -1578,7 +1548,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Right distance' attribute. * * - * * @generated * @ordered */ @@ -1588,7 +1557,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Left distance' attribute. * * - * * @generated * @ordered */ @@ -1598,7 +1566,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Left velocity' attribute. * * - * * @generated * @ordered */ @@ -1608,7 +1575,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The feature id for the 'Right velocity' attribute. * * - * * @generated * @ordered */ @@ -1618,18 +1584,24 @@ public interface Sensor_datatypesPackage extends EPackage { * The number of structural features of the 'Differential Odometry' class. * * - * * @generated * @ordered */ int DIFFERENTIAL_ODOMETRY_FEATURE_COUNT = 5; /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE - * STATUS TYPE}' enum. + * The number of operations of the 'Differential Odometry' class. + * + * + * @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 STATUS TYPE}' enum. * * - * * @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 @@ -1637,11 +1609,9 @@ public interface Sensor_datatypesPackage extends EPackage { int STATUS_TYPE = 19; /** - * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE - * SERVICE TYPE}' enum. + * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE SERVICE TYPE}' enum. * * - * * @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 @@ -1649,12 +1619,9 @@ public interface Sensor_datatypesPackage extends EPackage { int SERVICE_TYPE = 20; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE COVARIANCE TYPE}' - * enum. + * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE COVARIANCE TYPE}' enum. * * - * * @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 @@ -1663,12 +1630,9 @@ public interface Sensor_datatypesPackage extends EPackage { /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest - * Region Of Interest}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest Region Of Interest}'. * * - * * @return the meta object for class 'Region Of Interest'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest * @generated @@ -1676,12 +1640,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getRegionOfInterest(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getX_offset - * Xoffset}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getX_offset Xoffset}'. * * - * * @return the meta object for the attribute 'Xoffset'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getX_offset() * @see #getRegionOfInterest() @@ -1690,12 +1651,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Yoffset}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getY_offset Yoffset}'. * * - * * @return the meta object for the attribute 'Yoffset'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getY_offset() * @see #getRegionOfInterest() @@ -1704,12 +1662,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getRegionOfInterest_Y_offset(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getHeight Height} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getHeight Height}'. * * - * * @return the meta object for the attribute 'Height'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getHeight() * @see #getRegionOfInterest() @@ -1718,12 +1673,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getRegionOfInterest_Height(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#isDo_rectify - * Do rectify}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#isDo_rectify Do rectify}'. * * - * * @return the meta object for the attribute 'Do rectify'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#isDo_rectify() * @see #getRegionOfInterest() @@ -1732,11 +1684,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getRegionOfInterest_Do_rectify(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getWidth Width}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getWidth Width}'. * * - * * @return the meta object for the attribute 'Width'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest#getWidth() * @see #getRegionOfInterest() @@ -1745,11 +1695,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getRegionOfInterest_Width(); /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range - * Range}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range Range}'. * * - * * @return the meta object for class 'Range'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range * @generated @@ -1757,11 +1705,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getRange(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getULTRASOUND ULTRASOUND}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getULTRASOUND ULTRASOUND}'. * * - * * @return the meta object for the attribute 'ULTRASOUND'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getULTRASOUND() * @see #getRange() @@ -1770,11 +1716,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getRange_ULTRASOUND(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getINFRARED INFRARED}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getINFRARED INFRARED}'. * * - * * @return the meta object for the attribute 'INFRARED'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getINFRARED() * @see #getRange() @@ -1783,11 +1727,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getRange_INFRARED(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getHeader() * @see #getRange() @@ -1796,12 +1738,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getRange_Header(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRadiation_type - * Radiation type}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRadiation_type Radiation type}'. * * - * * @return the meta object for the attribute 'Radiation type'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRadiation_type() * @see #getRange() @@ -1810,12 +1749,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Field of view}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getField_of_view Field of view}'. * * - * * @return the meta object for the attribute 'Field of view'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getField_of_view() * @see #getRange() @@ -1824,11 +1760,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Min range}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMin_range Min range}'. * * - * * @return the meta object for the attribute 'Min range'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMin_range() * @see #getRange() @@ -1837,11 +1771,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Max range}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMax_range Max range}'. * * - * * @return the meta object for the attribute 'Max range'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getMax_range() * @see #getRange() @@ -1850,11 +1782,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getRange_Max_range(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRange Range}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRange Range}'. * * - * * @return the meta object for the attribute 'Range'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range#getRange() * @see #getRange() @@ -1863,11 +1793,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getRange_Range(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo Camera Info}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo Camera Info}'. * * - * * @return the meta object for class 'Camera Info'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo * @generated @@ -1875,11 +1803,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getCameraInfo(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeader() * @see #getCameraInfo() @@ -1888,11 +1814,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getCameraInfo_Header(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeight Height}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeight Height}'. * * - * * @return the meta object for the attribute 'Height'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getHeight() * @see #getCameraInfo() @@ -1901,11 +1825,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getCameraInfo_Height(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getWidth Width}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getWidth Width}'. * * - * * @return the meta object for the attribute 'Width'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getWidth() * @see #getCameraInfo() @@ -1914,12 +1836,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getCameraInfo_Width(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getDistorsion_model - * Distorsion model}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getDistorsion_model Distorsion model}'. * * - * * @return the meta object for the attribute 'Distorsion model'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getDistorsion_model() * @see #getCameraInfo() @@ -1928,11 +1847,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 D}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getD D}'. * * - * * @return the meta object for the attribute list 'D'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getD() * @see #getCameraInfo() @@ -1941,11 +1858,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getCameraInfo_D(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getK K}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getK K}'. * * - * * @return the meta object for the attribute list 'K'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getK() * @see #getCameraInfo() @@ -1954,11 +1869,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getCameraInfo_K(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getR R}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getR R}'. * * - * * @return the meta object for the attribute list 'R'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getR() * @see #getCameraInfo() @@ -1967,11 +1880,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getCameraInfo_R(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getP P}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getP P}'. * * - * * @return the meta object for the attribute list 'P'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getP() * @see #getCameraInfo() @@ -1980,12 +1891,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getCameraInfo_P(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_x Binning x} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_x Binning x}'. * * - * * @return the meta object for the attribute 'Binning x'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_x() * @see #getCameraInfo() @@ -1994,12 +1902,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Binning y} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_y Binning y}'. * * - * * @return the meta object for the attribute 'Binning y'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getBinning_y() * @see #getCameraInfo() @@ -2008,11 +1913,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Roi}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getRoi Roi}'. * * - * * @return the meta object for the containment reference 'Roi'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo#getRoi() * @see #getCameraInfo() @@ -2021,11 +1924,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getCameraInfo_Roi(); /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu - * Imu}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu Imu}'. * * - * * @return the meta object for class 'Imu'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu * @generated @@ -2033,11 +1934,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getImu(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getHeader() * @see #getImu() @@ -2046,11 +1945,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getImu_Header(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation Orientation}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation Orientation}'. * * - * * @return the meta object for the containment reference 'Orientation'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation() * @see #getImu() @@ -2059,12 +1956,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Orientation covariance}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation_covariance Orientation covariance}'. * * - * * @return the meta object for the attribute list 'Orientation covariance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getOrientation_covariance() * @see #getImu() @@ -2073,12 +1967,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Angular velocity}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity Angular velocity}'. * * - * * @return the meta object for the containment reference 'Angular velocity'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity() * @see #getImu() @@ -2087,12 +1978,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Angular velocity covariance}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity_covariance Angular velocity covariance}'. * * - * * @return the meta object for the attribute list 'Angular velocity covariance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getAngular_velocity_covariance() * @see #getImu() @@ -2101,12 +1989,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Linear acceleration}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration Linear acceleration}'. * * - * * @return the meta object for the containment reference 'Linear acceleration'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration() * @see #getImu() @@ -2115,12 +2000,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Linear acceleration covariance}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration_covariance Linear acceleration covariance}'. * * - * * @return the meta object for the attribute list 'Linear acceleration covariance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu#getLinear_acceleration_covariance() * @see #getImu() @@ -2129,11 +2011,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getImu_Linear_acceleration_covariance(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan Laser Scan}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan Laser Scan}'. * * - * * @return the meta object for class 'Laser Scan'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan * @generated @@ -2141,11 +2021,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getLaserScan(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getHeader() * @see #getLaserScan() @@ -2154,12 +2032,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getLaserScan_Header(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_min Angle min} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_min Angle min}'. * * - * * @return the meta object for the attribute 'Angle min'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_min() * @see #getLaserScan() @@ -2168,12 +2043,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Angle max} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_max Angle max}'. * * - * * @return the meta object for the attribute 'Angle max'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_max() * @see #getLaserScan() @@ -2182,12 +2054,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Angle increment}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_increment Angle increment}'. * * - * * @return the meta object for the attribute 'Angle increment'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getAngle_increment() * @see #getLaserScan() @@ -2196,12 +2065,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Time increment}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getTime_increment Time increment}'. * * - * * @return the meta object for the attribute 'Time increment'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getTime_increment() * @see #getLaserScan() @@ -2210,12 +2076,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Scan time} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getScan_time Scan time}'. * * - * * @return the meta object for the attribute 'Scan time'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getScan_time() * @see #getLaserScan() @@ -2224,12 +2087,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Range min} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_min Range min}'. * * - * * @return the meta object for the attribute 'Range min'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_min() * @see #getLaserScan() @@ -2238,12 +2098,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Range max} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_max Range max}'. * * - * * @return the meta object for the attribute 'Range max'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange_max() * @see #getLaserScan() @@ -2252,11 +2109,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Range}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange Range}'. * * - * * @return the meta object for the attribute list 'Range'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getRange() * @see #getLaserScan() @@ -2265,12 +2120,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getLaserScan_Range(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getIntensities - * Intensities}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getIntensities Intensities}'. * * - * * @return the meta object for the attribute list 'Intensities'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan#getIntensities() * @see #getLaserScan() @@ -2279,11 +2131,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getLaserScan_Intensities(); /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image - * Image}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image Image}'. * * - * * @return the meta object for class 'Image'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image * @generated @@ -2291,11 +2141,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getImage(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeader() * @see #getImage() @@ -2304,11 +2152,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getImage_Header(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeight Height}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeight Height}'. * * - * * @return the meta object for the attribute 'Height'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getHeight() * @see #getImage() @@ -2317,11 +2163,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getImage_Height(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getWidth Width}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getWidth Width}'. * * - * * @return the meta object for the attribute 'Width'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getWidth() * @see #getImage() @@ -2330,11 +2174,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getImage_Width(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getEncoding Encoding}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getEncoding Encoding}'. * * - * * @return the meta object for the attribute 'Encoding'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getEncoding() * @see #getImage() @@ -2343,12 +2185,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getImage_Encoding(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getIs_bigendian - * Is bigendian}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getIs_bigendian Is bigendian}'. * * - * * @return the meta object for the attribute 'Is bigendian'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getIs_bigendian() * @see #getImage() @@ -2357,11 +2196,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getImage_Is_bigendian(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getStep Step}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getStep Step}'. * * - * * @return the meta object for the attribute 'Step'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getStep() * @see #getImage() @@ -2370,11 +2207,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getImage_Step(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image#getData() * @see #getImage() @@ -2383,11 +2218,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getImage_Data(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32 Channel Float32}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32 Channel Float32}'. * * - * * @return the meta object for class 'Channel Float32'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32 * @generated @@ -2395,11 +2228,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getChannelFloat32(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getName Name}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getName Name}'. * * - * * @return the meta object for the attribute 'Name'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getName() * @see #getChannelFloat32() @@ -2408,11 +2239,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getChannelFloat32_Name(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getValues Values}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getValues Values}'. * * - * * @return the meta object for the attribute list 'Values'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32#getValues() * @see #getChannelFloat32() @@ -2421,12 +2250,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getChannelFloat32_Values(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage Compressed Image} - * '. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage Compressed Image}'. * * - * * @return the meta object for class 'Compressed Image'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage * @generated @@ -2434,12 +2260,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getCompressedImage(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getHeader Header} - * '. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getHeader() * @see #getCompressedImage() @@ -2448,12 +2271,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getCompressedImage_Header(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getFormat Format} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getFormat Format}'. * * - * * @return the meta object for the attribute 'Format'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getFormat() * @see #getCompressedImage() @@ -2462,11 +2282,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getCompressedImage_Format(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage#getData() * @see #getCompressedImage() @@ -2475,11 +2293,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getCompressedImage_Data(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud Point Cloud}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud Point Cloud}'. * * - * * @return the meta object for class 'Point Cloud'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud * @generated @@ -2487,11 +2303,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getPointCloud(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getHeader() * @see #getPointCloud() @@ -2500,11 +2314,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Points}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getPoints Points}'. * * - * * @return the meta object for the containment reference list 'Points'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getPoints() * @see #getPointCloud() @@ -2513,11 +2325,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Channels}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getChannels Channels}'. * * - * * @return the meta object for the containment reference list 'Channels'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud#getChannels() * @see #getPointCloud() @@ -2526,11 +2336,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getPointCloud_Channels(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField Point Field}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField Point Field}'. * * - * * @return the meta object for class 'Point Field'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField * @generated @@ -2538,11 +2346,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getPointField(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getName Name}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getName Name}'. * * - * * @return the meta object for the attribute 'Name'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getName() * @see #getPointField() @@ -2551,11 +2357,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getPointField_Name(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getOffset Offset}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getOffset Offset}'. * * - * * @return the meta object for the attribute 'Offset'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getOffset() * @see #getPointField() @@ -2564,11 +2368,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getPointField_Offset(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getDatatype Datatype}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getDatatype Datatype}'. * * - * * @return the meta object for the attribute 'Datatype'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getDatatype() * @see #getPointField() @@ -2577,11 +2379,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getPointField_Datatype(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getCount Count}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getCount Count}'. * * - * * @return the meta object for the attribute 'Count'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField#getCount() * @see #getPointField() @@ -2590,11 +2390,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getPointField_Count(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2 Point Cloud2}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2 Point Cloud2}'. * * - * * @return the meta object for class 'Point Cloud2'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2 * @generated @@ -2602,11 +2400,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getPointCloud2(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeader() * @see #getPointCloud2() @@ -2615,11 +2411,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getPointCloud2_Header(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeight Height}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeight Height}'. * * - * * @return the meta object for the attribute 'Height'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getHeight() * @see #getPointCloud2() @@ -2628,11 +2422,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getPointCloud2_Height(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getWidth Width}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getWidth Width}'. * * - * * @return the meta object for the attribute 'Width'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getWidth() * @see #getPointCloud2() @@ -2641,11 +2433,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Fields}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getFields Fields}'. * * - * * @return the meta object for the containment reference list 'Fields'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getFields() * @see #getPointCloud2() @@ -2654,12 +2444,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getPointCloud2_Fields(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_bigendian - * Is bigendian}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_bigendian Is bigendian}'. * * - * * @return the meta object for the attribute 'Is bigendian'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_bigendian() * @see #getPointCloud2() @@ -2668,12 +2455,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Point step}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getPoint_step Point step}'. * * - * * @return the meta object for the attribute 'Point step'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getPoint_step() * @see #getPointCloud2() @@ -2682,12 +2466,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Row step} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getRow_step Row step}'. * * - * * @return the meta object for the attribute 'Row step'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getRow_step() * @see #getPointCloud2() @@ -2696,11 +2477,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#getData() * @see #getPointCloud2() @@ -2709,11 +2488,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getPointCloud2_Data(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_dense Is dense}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_dense Is dense}'. * * - * * @return the meta object for the attribute 'Is dense'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2#isIs_dense() * @see #getPointCloud2() @@ -2722,11 +2499,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getPointCloud2_Is_dense(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState Joint State}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState Joint State}'. * * - * * @return the meta object for class 'Joint State'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState * @generated @@ -2734,11 +2509,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getJointState(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getName Name}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getName Name}'. * * - * * @return the meta object for the attribute list 'Name'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getName() * @see #getJointState() @@ -2747,11 +2520,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getJointState_Name(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getPosition Position}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getPosition Position}'. * * - * * @return the meta object for the attribute list 'Position'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getPosition() * @see #getJointState() @@ -2760,11 +2531,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getJointState_Position(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getVelocity Velocity}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getVelocity Velocity}'. * * - * * @return the meta object for the attribute list 'Velocity'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getVelocity() * @see #getJointState() @@ -2773,11 +2542,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getJointState_Velocity(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getEffort Effort}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getEffort Effort}'. * * - * * @return the meta object for the attribute list 'Effort'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState#getEffort() * @see #getJointState() @@ -2786,11 +2553,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getJointState_Effort(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus Nav Sat Status}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus Nav Sat Status}'. * * - * * @return the meta object for class 'Nav Sat Status'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus * @generated @@ -2798,12 +2563,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getNavSatStatus(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_NO_FIX - * STATUS NO FIX}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_NO_FIX STATUS NO FIX}'. * * - * * @return the meta object for the attribute 'STATUS NO FIX'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_NO_FIX() * @see #getNavSatStatus() @@ -2812,12 +2574,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * STATUS FIX}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_FIX STATUS FIX}'. * * - * * @return the meta object for the attribute 'STATUS FIX'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_FIX() * @see #getNavSatStatus() @@ -2826,12 +2585,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * STATUS SBAS FIX}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_SBAS_FIX STATUS SBAS FIX}'. * * - * * @return the meta object for the attribute 'STATUS SBAS FIX'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_SBAS_FIX() * @see #getNavSatStatus() @@ -2840,12 +2596,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * STATUS GBAS FIX}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_GBAS_FIX STATUS GBAS FIX}'. * * - * * @return the meta object for the attribute 'STATUS GBAS FIX'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSTATUS_GBAS_FIX() * @see #getNavSatStatus() @@ -2854,11 +2607,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 Status}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getStatus Status}'. * * - * * @return the meta object for the attribute 'Status'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getStatus() * @see #getNavSatStatus() @@ -2867,12 +2618,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getNavSatStatus_Status(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GPS - * SERVICE GPS}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GPS SERVICE GPS}'. * * - * * @return the meta object for the attribute 'SERVICE GPS'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GPS() * @see #getNavSatStatus() @@ -2881,12 +2629,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * SERVICE GLONASS}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GLONASS SERVICE GLONASS}'. * * - * * @return the meta object for the attribute 'SERVICE GLONASS'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GLONASS() * @see #getNavSatStatus() @@ -2895,12 +2640,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * SERVICE COMPASS}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_COMPASS SERVICE COMPASS}'. * * - * * @return the meta object for the attribute 'SERVICE COMPASS'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_COMPASS() * @see #getNavSatStatus() @@ -2909,12 +2651,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * SERVICE GALILEO}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GALILEO SERVICE GALILEO}'. * * - * * @return the meta object for the attribute 'SERVICE GALILEO'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getSERVICE_GALILEO() * @see #getNavSatStatus() @@ -2923,11 +2662,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getNavSatStatus_SERVICE_GALILEO(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getService Service}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getService Service}'. * * - * * @return the meta object for the attribute 'Service'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus#getService() * @see #getNavSatStatus() @@ -2936,11 +2673,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getNavSatStatus_Service(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix Nav Sat Fix}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix Nav Sat Fix}'. * * - * * @return the meta object for class 'Nav Sat Fix'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix * @generated @@ -2948,11 +2683,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getNavSatFix(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getStatus Status}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getStatus Status}'. * * - * * @return the meta object for the attribute 'Status'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getStatus() * @see #getNavSatFix() @@ -2961,11 +2694,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getNavSatFix_Status(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getService Service}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getService Service}'. * * - * * @return the meta object for the attribute 'Service'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getService() * @see #getNavSatFix() @@ -2974,11 +2705,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getNavSatFix_Service(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getHeader() * @see #getNavSatFix() @@ -2987,11 +2716,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getNavSatFix_Header(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLatitude Latitude}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLatitude Latitude}'. * * - * * @return the meta object for the attribute 'Latitude'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLatitude() * @see #getNavSatFix() @@ -3000,12 +2727,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getNavSatFix_Latitude(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLongitude Longitude} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLongitude Longitude}'. * * - * * @return the meta object for the attribute 'Longitude'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getLongitude() * @see #getNavSatFix() @@ -3014,11 +2738,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getNavSatFix_Longitude(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getAltitude Altitude}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getAltitude Altitude}'. * * - * * @return the meta object for the attribute 'Altitude'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getAltitude() * @see #getNavSatFix() @@ -3027,12 +2749,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Position covariance}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance Position covariance}'. * * - * * @return the meta object for the attribute list 'Position covariance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance() * @see #getNavSatFix() @@ -3041,12 +2760,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Position covariance type}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance_type Position covariance type}'. * * - * * @return the meta object for the attribute 'Position covariance type'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix#getPosition_covariance_type() * @see #getNavSatFix() @@ -3055,11 +2771,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getNavSatFix_Position_covariance_type(); /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy - * Joy}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy Joy}'. * * - * * @return the meta object for class 'Joy'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy * @generated @@ -3067,11 +2781,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getJoy(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getHeader Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getHeader() * @see #getJoy() @@ -3080,11 +2792,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getJoy_Header(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getAxes Axes}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getAxes Axes}'. * * - * * @return the meta object for the attribute list 'Axes'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getAxes() * @see #getJoy() @@ -3093,11 +2803,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getJoy_Axes(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getButtons Buttons}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getButtons Buttons}'. * * - * * @return the meta object for the attribute list 'Buttons'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy#getButtons() * @see #getJoy() @@ -3106,11 +2814,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getJoy_Buttons(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback Joy Feedback}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback Joy Feedback}'. * * - * * @return the meta object for class 'Joy Feedback'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback * @generated @@ -3118,12 +2824,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getJoyFeedback(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_LED TYPE LED} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_LED TYPE LED}'. * * - * * @return the meta object for the attribute 'TYPE LED'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_LED() * @see #getJoyFeedback() @@ -3132,12 +2835,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * TYPE RUMBLE}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_RUMBLE TYPE RUMBLE}'. * * - * * @return the meta object for the attribute 'TYPE RUMBLE'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_RUMBLE() * @see #getJoyFeedback() @@ -3146,12 +2846,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * TYPE BUZZER}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_BUZZER TYPE BUZZER}'. * * - * * @return the meta object for the attribute 'TYPE BUZZER'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getTYPE_BUZZER() * @see #getJoyFeedback() @@ -3160,11 +2857,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getJoyFeedback_TYPE_BUZZER(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getType Type}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getType Type}'. * * - * * @return the meta object for the attribute 'Type'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getType() * @see #getJoyFeedback() @@ -3173,11 +2868,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getJoyFeedback_Type(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getId Id}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getId Id}'. * * - * * @return the meta object for the attribute 'Id'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getId() * @see #getJoyFeedback() @@ -3186,12 +2879,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getJoyFeedback_Id(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getIntensity - * Intensity}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getIntensity Intensity}'. * * - * * @return the meta object for the attribute 'Intensity'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback#getIntensity() * @see #getJoyFeedback() @@ -3200,12 +2890,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getJoyFeedback_Intensity(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray - * Joy Feedback Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray Joy Feedback Array}'. * * - * * @return the meta object for class 'Joy Feedback Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray * @generated @@ -3213,11 +2900,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getJoyFeedbackArray(); /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray#getArray Array}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray#getArray Array}'. * * - * * @return the meta object for the containment reference list 'Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray#getArray() * @see #getJoyFeedbackArray() @@ -3226,12 +2911,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getJoyFeedbackArray_Array(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry Car Like Odometry} - * '. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry Car Like Odometry}'. * * - * * @return the meta object for class 'Car Like Odometry'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry * @generated @@ -3239,12 +2921,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getCarLikeOdometry(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getHeader Header} - * '. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getHeader() * @see #getCarLikeOdometry() @@ -3253,12 +2932,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getCarLikeOdometry_Header(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getSteering_angle - * Steering angle}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getSteering_angle Steering angle}'. * * - * * @return the meta object for the attribute 'Steering angle'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getSteering_angle() * @see #getCarLikeOdometry() @@ -3267,12 +2943,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Left rear wheel distance}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_distance Left rear wheel distance}'. * * - * * @return the meta object for the attribute 'Left rear wheel distance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_distance() * @see #getCarLikeOdometry() @@ -3281,12 +2954,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * 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_distance Right rear wheel distance}'. * * - * * @return the meta object for the attribute 'Right rear wheel distance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_distance() * @see #getCarLikeOdometry() @@ -3295,12 +2965,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Right rear wheel velocity}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_velocity Right rear wheel velocity}'. * * - * * @return the meta object for the attribute 'Right rear wheel velocity'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getRight_rear_wheel_velocity() * @see #getCarLikeOdometry() @@ -3309,12 +2976,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Left 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 Left rear wheel velocity}'. * * - * * @return the meta object for the attribute 'Left rear wheel velocity'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry#getLeft_rear_wheel_velocity() * @see #getCarLikeOdometry() @@ -3323,12 +2987,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getCarLikeOdometry_Left_rear_wheel_velocity(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry - * Differential Odometry}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry Differential Odometry}'. * * - * * @return the meta object for class 'Differential Odometry'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry * @generated @@ -3336,12 +2997,9 @@ public interface Sensor_datatypesPackage extends EPackage { EClass getDifferentialOdometry(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getHeader - * Header}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getHeader Header}'. * * - * * @return the meta object for the containment reference 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getHeader() * @see #getDifferentialOdometry() @@ -3350,12 +3008,9 @@ public interface Sensor_datatypesPackage extends EPackage { EReference getDifferentialOdometry_Header(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_distance - * Right distance}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_distance Right distance}'. * * - * * @return the meta object for the attribute 'Right distance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_distance() * @see #getDifferentialOdometry() @@ -3364,12 +3019,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Left distance}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_distance Left distance}'. * * - * * @return the meta object for the attribute 'Left distance'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_distance() * @see #getDifferentialOdometry() @@ -3378,12 +3030,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Left velocity}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_velocity Left velocity}'. * * - * * @return the meta object for the attribute 'Left velocity'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getLeft_velocity() * @see #getDifferentialOdometry() @@ -3392,12 +3041,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * Right velocity}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_velocity Right velocity}'. * * - * * @return the meta object for the attribute 'Right velocity'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry#getRight_velocity() * @see #getDifferentialOdometry() @@ -3406,11 +3052,9 @@ public interface Sensor_datatypesPackage extends EPackage { EAttribute getDifferentialOdometry_Right_velocity(); /** - * Returns the meta object for enum ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE STATUS TYPE}'. + * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE STATUS TYPE}'. * * - * * @return the meta object for enum 'STATUS TYPE'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE * @generated @@ -3418,11 +3062,9 @@ public interface Sensor_datatypesPackage extends EPackage { EEnum getSTATUS_TYPE(); /** - * Returns the meta object for enum ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE SERVICE TYPE}'. + * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE SERVICE TYPE}'. * * - * * @return the meta object for enum 'SERVICE TYPE'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE * @generated @@ -3430,11 +3072,9 @@ public interface Sensor_datatypesPackage extends EPackage { EEnum getSERVICE_TYPE(); /** - * Returns the meta object for enum ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE COVARIANCE TYPE}'. + * Returns the meta object for enum '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE COVARIANCE TYPE}'. * * - * * @return the meta object for enum 'COVARIANCE TYPE'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE * @generated @@ -3445,7 +3085,6 @@ public interface Sensor_datatypesPackage extends EPackage { * Returns the factory that creates the instances of the model. * * - * * @return the factory that creates the instances of the model. * @generated */ @@ -3457,22 +3096,19 @@ public interface Sensor_datatypesPackage extends EPackage { *
    *
  • each class,
  • *
  • each feature of each class,
  • + *
  • each operation of each class,
  • *
  • each enum,
  • *
  • and each data type
  • *
- * - * + * . + * * @generated */ interface Literals { - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl - * Region Of Interest}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl Region Of Interest}' class. * * - * * @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 @@ -3483,7 +3119,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Xoffset' attribute feature. * * - * * @generated */ EAttribute REGION_OF_INTEREST__XOFFSET = eINSTANCE.getRegionOfInterest_X_offset(); @@ -3492,7 +3127,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Yoffset' attribute feature. * * - * * @generated */ EAttribute REGION_OF_INTEREST__YOFFSET = eINSTANCE.getRegionOfInterest_Y_offset(); @@ -3501,7 +3135,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Height' attribute feature. * * - * * @generated */ EAttribute REGION_OF_INTEREST__HEIGHT = eINSTANCE.getRegionOfInterest_Height(); @@ -3510,7 +3143,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Do rectify' attribute feature. * * - * * @generated */ EAttribute REGION_OF_INTEREST__DO_RECTIFY = eINSTANCE.getRegionOfInterest_Do_rectify(); @@ -3519,17 +3151,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Width' attribute feature. * * - * * @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 Range}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl Range}' class. * * - * * @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 @@ -3540,7 +3169,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'ULTRASOUND' attribute feature. * * - * * @generated */ EAttribute RANGE__ULTRASOUND = eINSTANCE.getRange_ULTRASOUND(); @@ -3549,7 +3177,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'INFRARED' attribute feature. * * - * * @generated */ EAttribute RANGE__INFRARED = eINSTANCE.getRange_INFRARED(); @@ -3558,7 +3185,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference RANGE__HEADER = eINSTANCE.getRange_Header(); @@ -3567,7 +3193,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Radiation type' attribute feature. * * - * * @generated */ EAttribute RANGE__RADIATION_TYPE = eINSTANCE.getRange_Radiation_type(); @@ -3576,7 +3201,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Field of view' attribute feature. * * - * * @generated */ EAttribute RANGE__FIELD_OF_VIEW = eINSTANCE.getRange_Field_of_view(); @@ -3585,7 +3209,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Min range' attribute feature. * * - * * @generated */ EAttribute RANGE__MIN_RANGE = eINSTANCE.getRange_Min_range(); @@ -3594,7 +3217,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Max range' attribute feature. * * - * * @generated */ EAttribute RANGE__MAX_RANGE = eINSTANCE.getRange_Max_range(); @@ -3603,18 +3225,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Range' attribute feature. * * - * * @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 - * Camera Info}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl Camera Info}' class. * * - * * @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 @@ -3625,7 +3243,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference CAMERA_INFO__HEADER = eINSTANCE.getCameraInfo_Header(); @@ -3634,7 +3251,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Height' attribute feature. * * - * * @generated */ EAttribute CAMERA_INFO__HEIGHT = eINSTANCE.getCameraInfo_Height(); @@ -3643,7 +3259,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Width' attribute feature. * * - * * @generated */ EAttribute CAMERA_INFO__WIDTH = eINSTANCE.getCameraInfo_Width(); @@ -3652,7 +3267,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Distorsion model' attribute feature. * * - * * @generated */ EAttribute CAMERA_INFO__DISTORSION_MODEL = eINSTANCE.getCameraInfo_Distorsion_model(); @@ -3661,7 +3275,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'D' attribute list feature. * * - * * @generated */ EAttribute CAMERA_INFO__D = eINSTANCE.getCameraInfo_D(); @@ -3670,7 +3283,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'K' attribute list feature. * * - * * @generated */ EAttribute CAMERA_INFO__K = eINSTANCE.getCameraInfo_K(); @@ -3679,7 +3291,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'R' attribute list feature. * * - * * @generated */ EAttribute CAMERA_INFO__R = eINSTANCE.getCameraInfo_R(); @@ -3688,7 +3299,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'P' attribute list feature. * * - * * @generated */ EAttribute CAMERA_INFO__P = eINSTANCE.getCameraInfo_P(); @@ -3697,7 +3307,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Binning x' attribute feature. * * - * * @generated */ EAttribute CAMERA_INFO__BINNING_X = eINSTANCE.getCameraInfo_Binning_x(); @@ -3706,7 +3315,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Binning y' attribute feature. * * - * * @generated */ EAttribute CAMERA_INFO__BINNING_Y = eINSTANCE.getCameraInfo_Binning_y(); @@ -3715,17 +3323,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Roi' containment reference feature. * * - * * @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 Imu}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl Imu}' class. * * - * * @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 @@ -3736,7 +3341,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference IMU__HEADER = eINSTANCE.getImu_Header(); @@ -3745,7 +3349,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Orientation' containment reference feature. * * - * * @generated */ EReference IMU__ORIENTATION = eINSTANCE.getImu_Orientation(); @@ -3754,7 +3357,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Orientation covariance' attribute list feature. * * - * * @generated */ EAttribute IMU__ORIENTATION_COVARIANCE = eINSTANCE.getImu_Orientation_covariance(); @@ -3763,7 +3365,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Angular velocity' containment reference feature. * * - * * @generated */ EReference IMU__ANGULAR_VELOCITY = eINSTANCE.getImu_Angular_velocity(); @@ -3772,7 +3373,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Angular velocity covariance' attribute list feature. * * - * * @generated */ EAttribute IMU__ANGULAR_VELOCITY_COVARIANCE = eINSTANCE.getImu_Angular_velocity_covariance(); @@ -3781,7 +3381,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Linear acceleration' containment reference feature. * * - * * @generated */ EReference IMU__LINEAR_ACCELERATION = eINSTANCE.getImu_Linear_acceleration(); @@ -3790,18 +3389,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Linear acceleration covariance' attribute list feature. * * - * * @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 Laser Scan} - * ' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl Laser Scan}' class. * * - * * @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 @@ -3812,7 +3407,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference LASER_SCAN__HEADER = eINSTANCE.getLaserScan_Header(); @@ -3821,7 +3415,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Angle min' attribute feature. * * - * * @generated */ EAttribute LASER_SCAN__ANGLE_MIN = eINSTANCE.getLaserScan_Angle_min(); @@ -3830,7 +3423,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Angle max' attribute feature. * * - * * @generated */ EAttribute LASER_SCAN__ANGLE_MAX = eINSTANCE.getLaserScan_Angle_max(); @@ -3839,7 +3431,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Angle increment' attribute feature. * * - * * @generated */ EAttribute LASER_SCAN__ANGLE_INCREMENT = eINSTANCE.getLaserScan_Angle_increment(); @@ -3848,7 +3439,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Time increment' attribute feature. * * - * * @generated */ EAttribute LASER_SCAN__TIME_INCREMENT = eINSTANCE.getLaserScan_Time_increment(); @@ -3857,7 +3447,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Scan time' attribute feature. * * - * * @generated */ EAttribute LASER_SCAN__SCAN_TIME = eINSTANCE.getLaserScan_Scan_time(); @@ -3866,7 +3455,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Range min' attribute feature. * * - * * @generated */ EAttribute LASER_SCAN__RANGE_MIN = eINSTANCE.getLaserScan_Range_min(); @@ -3875,7 +3463,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Range max' attribute feature. * * - * * @generated */ EAttribute LASER_SCAN__RANGE_MAX = eINSTANCE.getLaserScan_Range_max(); @@ -3884,7 +3471,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Range' attribute list feature. * * - * * @generated */ EAttribute LASER_SCAN__RANGE = eINSTANCE.getLaserScan_Range(); @@ -3893,17 +3479,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Intensities' attribute list feature. * * - * * @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 Image}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl Image}' class. * * - * * @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 @@ -3914,7 +3497,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference IMAGE__HEADER = eINSTANCE.getImage_Header(); @@ -3923,7 +3505,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Height' attribute feature. * * - * * @generated */ EAttribute IMAGE__HEIGHT = eINSTANCE.getImage_Height(); @@ -3932,7 +3513,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Width' attribute feature. * * - * * @generated */ EAttribute IMAGE__WIDTH = eINSTANCE.getImage_Width(); @@ -3941,7 +3521,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Encoding' attribute feature. * * - * * @generated */ EAttribute IMAGE__ENCODING = eINSTANCE.getImage_Encoding(); @@ -3950,7 +3529,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Is bigendian' attribute feature. * * - * * @generated */ EAttribute IMAGE__IS_BIGENDIAN = eINSTANCE.getImage_Is_bigendian(); @@ -3959,7 +3537,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Step' attribute feature. * * - * * @generated */ EAttribute IMAGE__STEP = eINSTANCE.getImage_Step(); @@ -3968,18 +3545,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @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 - * Channel Float32}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ChannelFloat32Impl Channel Float32}' class. * * - * * @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 @@ -3990,7 +3563,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Name' attribute feature. * * - * * @generated */ EAttribute CHANNEL_FLOAT32__NAME = eINSTANCE.getChannelFloat32_Name(); @@ -3999,18 +3571,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Values' attribute list feature. * * - * * @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 - * Compressed Image}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl Compressed Image}' class. * * - * * @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 @@ -4021,7 +3589,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference COMPRESSED_IMAGE__HEADER = eINSTANCE.getCompressedImage_Header(); @@ -4030,7 +3597,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Format' attribute feature. * * - * * @generated */ EAttribute COMPRESSED_IMAGE__FORMAT = eINSTANCE.getCompressedImage_Format(); @@ -4039,18 +3605,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @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 - * Point Cloud}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl Point Cloud}' class. * * - * * @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 @@ -4061,7 +3623,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference POINT_CLOUD__HEADER = eINSTANCE.getPointCloud_Header(); @@ -4070,7 +3631,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Points' containment reference list feature. * * - * * @generated */ EReference POINT_CLOUD__POINTS = eINSTANCE.getPointCloud_Points(); @@ -4079,18 +3639,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Channels' containment reference list feature. * * - * * @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 - * Point Field}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl Point Field}' class. * * - * * @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 @@ -4101,7 +3657,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Name' attribute feature. * * - * * @generated */ EAttribute POINT_FIELD__NAME = eINSTANCE.getPointField_Name(); @@ -4110,7 +3665,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Offset' attribute feature. * * - * * @generated */ EAttribute POINT_FIELD__OFFSET = eINSTANCE.getPointField_Offset(); @@ -4119,7 +3673,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Datatype' attribute feature. * * - * * @generated */ EAttribute POINT_FIELD__DATATYPE = eINSTANCE.getPointField_Datatype(); @@ -4128,18 +3681,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Count' attribute feature. * * - * * @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 - * Point Cloud2}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl Point Cloud2}' class. * * - * * @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 @@ -4150,7 +3699,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference POINT_CLOUD2__HEADER = eINSTANCE.getPointCloud2_Header(); @@ -4159,7 +3707,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Height' attribute feature. * * - * * @generated */ EAttribute POINT_CLOUD2__HEIGHT = eINSTANCE.getPointCloud2_Height(); @@ -4168,7 +3715,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Width' attribute feature. * * - * * @generated */ EAttribute POINT_CLOUD2__WIDTH = eINSTANCE.getPointCloud2_Width(); @@ -4177,7 +3723,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Fields' containment reference list feature. * * - * * @generated */ EReference POINT_CLOUD2__FIELDS = eINSTANCE.getPointCloud2_Fields(); @@ -4186,7 +3731,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Is bigendian' attribute feature. * * - * * @generated */ EAttribute POINT_CLOUD2__IS_BIGENDIAN = eINSTANCE.getPointCloud2_Is_bigendian(); @@ -4195,7 +3739,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Point step' attribute feature. * * - * * @generated */ EAttribute POINT_CLOUD2__POINT_STEP = eINSTANCE.getPointCloud2_Point_step(); @@ -4204,7 +3747,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Row step' attribute feature. * * - * * @generated */ EAttribute POINT_CLOUD2__ROW_STEP = eINSTANCE.getPointCloud2_Row_step(); @@ -4213,7 +3755,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @generated */ EAttribute POINT_CLOUD2__DATA = eINSTANCE.getPointCloud2_Data(); @@ -4222,18 +3763,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Is dense' attribute feature. * * - * * @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 - * Joint State}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl Joint State}' class. * * - * * @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 @@ -4244,7 +3781,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Name' attribute list feature. * * - * * @generated */ EAttribute JOINT_STATE__NAME = eINSTANCE.getJointState_Name(); @@ -4253,7 +3789,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Position' attribute list feature. * * - * * @generated */ EAttribute JOINT_STATE__POSITION = eINSTANCE.getJointState_Position(); @@ -4262,7 +3797,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Velocity' attribute list feature. * * - * * @generated */ EAttribute JOINT_STATE__VELOCITY = eINSTANCE.getJointState_Velocity(); @@ -4271,18 +3805,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Effort' attribute list feature. * * - * * @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 - * Nav Sat Status}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl Nav Sat Status}' class. * * - * * @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 @@ -4293,7 +3823,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'STATUS NO FIX' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_STATUS__STATUS_NO_FIX = eINSTANCE.getNavSatStatus_STATUS_NO_FIX(); @@ -4302,7 +3831,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'STATUS FIX' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_STATUS__STATUS_FIX = eINSTANCE.getNavSatStatus_STATUS_FIX(); @@ -4311,7 +3839,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'STATUS SBAS FIX' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_STATUS__STATUS_SBAS_FIX = eINSTANCE.getNavSatStatus_STATUS_SBAS_FIX(); @@ -4320,7 +3847,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'STATUS GBAS FIX' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_STATUS__STATUS_GBAS_FIX = eINSTANCE.getNavSatStatus_STATUS_GBAS_FIX(); @@ -4329,7 +3855,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Status' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_STATUS__STATUS = eINSTANCE.getNavSatStatus_Status(); @@ -4338,7 +3863,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'SERVICE GPS' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_STATUS__SERVICE_GPS = eINSTANCE.getNavSatStatus_SERVICE_GPS(); @@ -4347,7 +3871,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'SERVICE GLONASS' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_STATUS__SERVICE_GLONASS = eINSTANCE.getNavSatStatus_SERVICE_GLONASS(); @@ -4356,7 +3879,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'SERVICE COMPASS' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_STATUS__SERVICE_COMPASS = eINSTANCE.getNavSatStatus_SERVICE_COMPASS(); @@ -4365,7 +3887,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'SERVICE GALILEO' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_STATUS__SERVICE_GALILEO = eINSTANCE.getNavSatStatus_SERVICE_GALILEO(); @@ -4374,18 +3895,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Service' attribute feature. * * - * * @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 - * Nav Sat Fix}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl Nav Sat Fix}' class. * * - * * @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 @@ -4396,7 +3913,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Status' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_FIX__STATUS = eINSTANCE.getNavSatFix_Status(); @@ -4405,7 +3921,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Service' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_FIX__SERVICE = eINSTANCE.getNavSatFix_Service(); @@ -4414,7 +3929,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference NAV_SAT_FIX__HEADER = eINSTANCE.getNavSatFix_Header(); @@ -4423,7 +3937,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Latitude' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_FIX__LATITUDE = eINSTANCE.getNavSatFix_Latitude(); @@ -4432,7 +3945,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Longitude' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_FIX__LONGITUDE = eINSTANCE.getNavSatFix_Longitude(); @@ -4441,7 +3953,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Altitude' attribute feature. * * - * * @generated */ EAttribute NAV_SAT_FIX__ALTITUDE = eINSTANCE.getNavSatFix_Altitude(); @@ -4450,7 +3961,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Position covariance' attribute list feature. * * - * * @generated */ EAttribute NAV_SAT_FIX__POSITION_COVARIANCE = eINSTANCE.getNavSatFix_Position_covariance(); @@ -4459,17 +3969,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Position covariance type' attribute feature. * * - * * @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 Joy}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl Joy}' class. * * - * * @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 @@ -4480,7 +3987,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference JOY__HEADER = eINSTANCE.getJoy_Header(); @@ -4489,7 +3995,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Axes' attribute list feature. * * - * * @generated */ EAttribute JOY__AXES = eINSTANCE.getJoy_Axes(); @@ -4498,18 +4003,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Buttons' attribute list feature. * * - * * @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 - * Joy Feedback}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl Joy Feedback}' class. * * - * * @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 @@ -4520,7 +4021,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'TYPE LED' attribute feature. * * - * * @generated */ EAttribute JOY_FEEDBACK__TYPE_LED = eINSTANCE.getJoyFeedback_TYPE_LED(); @@ -4529,7 +4029,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'TYPE RUMBLE' attribute feature. * * - * * @generated */ EAttribute JOY_FEEDBACK__TYPE_RUMBLE = eINSTANCE.getJoyFeedback_TYPE_RUMBLE(); @@ -4538,7 +4037,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'TYPE BUZZER' attribute feature. * * - * * @generated */ EAttribute JOY_FEEDBACK__TYPE_BUZZER = eINSTANCE.getJoyFeedback_TYPE_BUZZER(); @@ -4547,7 +4045,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Type' attribute feature. * * - * * @generated */ EAttribute JOY_FEEDBACK__TYPE = eINSTANCE.getJoyFeedback_Type(); @@ -4556,7 +4053,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Id' attribute feature. * * - * * @generated */ EAttribute JOY_FEEDBACK__ID = eINSTANCE.getJoyFeedback_Id(); @@ -4565,18 +4061,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Intensity' attribute feature. * * - * * @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 - * Joy Feedback Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackArrayImpl Joy Feedback Array}' class. * * - * * @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 @@ -4587,18 +4079,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Array' containment reference list feature. * * - * * @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 - * Car Like Odometry}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl Car Like Odometry}' class. * * - * * @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 @@ -4609,7 +4097,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference CAR_LIKE_ODOMETRY__HEADER = eINSTANCE.getCarLikeOdometry_Header(); @@ -4618,7 +4105,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Steering angle' attribute feature. * * - * * @generated */ EAttribute CAR_LIKE_ODOMETRY__STEERING_ANGLE = eINSTANCE.getCarLikeOdometry_Steering_angle(); @@ -4627,7 +4113,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Left rear wheel distance' attribute feature. * * - * * @generated */ EAttribute CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE = eINSTANCE.getCarLikeOdometry_Left_rear_wheel_distance(); @@ -4636,7 +4121,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Right rear wheel distance' attribute feature. * * - * * @generated */ EAttribute CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE = eINSTANCE.getCarLikeOdometry_Right_rear_wheel_distance(); @@ -4645,7 +4129,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Right rear wheel velocity' attribute feature. * * - * * @generated */ EAttribute CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY = eINSTANCE.getCarLikeOdometry_Right_rear_wheel_velocity(); @@ -4654,18 +4137,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Left rear wheel velocity' attribute feature. * * - * * @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 - * Differential Odometry}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl Differential Odometry}' class. * * - * * @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 @@ -4676,7 +4155,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Header' containment reference feature. * * - * * @generated */ EReference DIFFERENTIAL_ODOMETRY__HEADER = eINSTANCE.getDifferentialOdometry_Header(); @@ -4685,7 +4163,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Right distance' attribute feature. * * - * * @generated */ EAttribute DIFFERENTIAL_ODOMETRY__RIGHT_DISTANCE = eINSTANCE.getDifferentialOdometry_Right_distance(); @@ -4694,7 +4171,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Left distance' attribute feature. * * - * * @generated */ EAttribute DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE = eINSTANCE.getDifferentialOdometry_Left_distance(); @@ -4703,7 +4179,6 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Left velocity' attribute feature. * * - * * @generated */ EAttribute DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY = eINSTANCE.getDifferentialOdometry_Left_velocity(); @@ -4712,18 +4187,14 @@ public interface Sensor_datatypesPackage extends EPackage { * The meta object literal for the 'Right velocity' attribute feature. * * - * * @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 STATUS TYPE}' - * enum. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.STATUS_TYPE STATUS TYPE}' enum. * * - * * @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 @@ -4731,12 +4202,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 SERVICE TYPE}' - * enum. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.SERVICE_TYPE SERVICE TYPE}' enum. * * - * * @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 @@ -4744,12 +4212,9 @@ public interface Sensor_datatypesPackage extends EPackage { 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 - * COVARIANCE TYPE}' enum. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.COVARIANCE_TYPE COVARIANCE TYPE}' enum. * * - * * @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 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 index 995af0c1359..8227b67103d 100644 --- 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 @@ -1,29 +1,26 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -33,35 +30,27 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getHeader Header - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getHeight Height - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getWidth Width - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getDistorsion_model - * Distorsion model}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getD D}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getK K}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getR R}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getP P}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getBinning_x - * Binning x}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getBinning_y - * Binning y}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getRoi Roi}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getHeight Height}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getDistorsion_model Distorsion model}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getD D}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getK K}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getR R}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getP P}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getBinning_x Binning x}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getBinning_y Binning y}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CameraInfoImpl#getRoi Roi}
  • *
*

- * + * * @generated */ -public class CameraInfoImpl extends EObjectImpl implements CameraInfo { - +public class CameraInfoImpl extends MinimalEObjectImpl.Container implements CameraInfo { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -72,7 +61,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The default value of the '{@link #getHeight() Height}' attribute. * * - * * @see #getHeight() * @generated * @ordered @@ -83,7 +71,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The cached value of the '{@link #getHeight() Height}' attribute. * * - * * @see #getHeight() * @generated * @ordered @@ -94,7 +81,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The default value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -105,7 +91,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The cached value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -116,7 +101,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The default value of the '{@link #getDistorsion_model() Distorsion model}' attribute. * * - * * @see #getDistorsion_model() * @generated * @ordered @@ -127,7 +111,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The cached value of the '{@link #getDistorsion_model() Distorsion model}' attribute. * * - * * @see #getDistorsion_model() * @generated * @ordered @@ -138,7 +121,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The cached value of the '{@link #getD() D}' attribute list. * * - * * @see #getD() * @generated * @ordered @@ -149,7 +131,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The cached value of the '{@link #getK() K}' attribute list. * * - * * @see #getK() * @generated * @ordered @@ -160,7 +141,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The cached value of the '{@link #getR() R}' attribute list. * * - * * @see #getR() * @generated * @ordered @@ -171,7 +151,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The cached value of the '{@link #getP() P}' attribute list. * * - * * @see #getP() * @generated * @ordered @@ -182,7 +161,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The default value of the '{@link #getBinning_x() Binning x}' attribute. * * - * * @see #getBinning_x() * @generated * @ordered @@ -193,7 +171,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The cached value of the '{@link #getBinning_x() Binning x}' attribute. * * - * * @see #getBinning_x() * @generated * @ordered @@ -204,7 +181,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The default value of the '{@link #getBinning_y() Binning y}' attribute. * * - * * @see #getBinning_y() * @generated * @ordered @@ -215,7 +191,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The cached value of the '{@link #getBinning_y() Binning y}' attribute. * * - * * @see #getBinning_y() * @generated * @ordered @@ -226,7 +201,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { * The cached value of the '{@link #getRoi() Roi}' containment reference. * * - * * @see #getRoi() * @generated * @ordered @@ -236,7 +210,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ protected CameraInfoImpl() { @@ -246,7 +219,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ @Override @@ -257,7 +229,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public Header getHeader() { @@ -267,18 +238,14 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -286,27 +253,25 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.CAMERA_INFO__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public long getHeight() { @@ -316,20 +281,18 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public void setHeight(long newHeight) { long oldHeight = height; height = newHeight; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__HEIGHT, oldHeight, height)); } /** * * - * * @generated */ public long getWidth() { @@ -339,20 +302,18 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public void setWidth(long newWidth) { long oldWidth = width; width = newWidth; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__WIDTH, oldWidth, width)); } /** * * - * * @generated */ public String getDistorsion_model() { @@ -362,24 +323,22 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public void setDistorsion_model(String newDistorsion_model) { String oldDistorsion_model = distorsion_model; distorsion_model = newDistorsion_model; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__DISTORSION_MODEL, oldDistorsion_model, distorsion_model)); } /** * * - * * @generated */ public EList getD() { - if(d == null) { + if (d == null) { d = new EDataTypeUniqueEList(Double.class, this, Sensor_datatypesPackage.CAMERA_INFO__D); } return d; @@ -388,11 +347,10 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public EList getK() { - if(k == null) { + if (k == null) { k = new EDataTypeUniqueEList(Double.class, this, Sensor_datatypesPackage.CAMERA_INFO__K); } return k; @@ -401,11 +359,10 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public EList getR() { - if(r == null) { + if (r == null) { r = new EDataTypeUniqueEList(Double.class, this, Sensor_datatypesPackage.CAMERA_INFO__R); } return r; @@ -414,11 +371,10 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public EList getP() { - if(p == null) { + if (p == null) { p = new EDataTypeUniqueEList(Double.class, this, Sensor_datatypesPackage.CAMERA_INFO__P); } return p; @@ -427,7 +383,6 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public long getBinning_x() { @@ -437,20 +392,18 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public void setBinning_x(long newBinning_x) { long oldBinning_x = binning_x; binning_x = newBinning_x; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__BINNING_X, oldBinning_x, binning_x)); } /** * * - * * @generated */ public long getBinning_y() { @@ -460,20 +413,18 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public void setBinning_y(long newBinning_y) { long oldBinning_y = binning_y; binning_y = newBinning_y; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__BINNING_Y, oldBinning_y, binning_y)); } /** * * - * * @generated */ public RegionOfInterest getRoi() { @@ -483,18 +434,14 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public NotificationChain basicSetRoi(RegionOfInterest newRoi, NotificationChain msgs) { RegionOfInterest oldRoi = roi; roi = newRoi; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -502,36 +449,34 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ public void setRoi(RegionOfInterest newRoi) { - if(newRoi != roi) { + if (newRoi != roi) { NotificationChain msgs = null; - if(roi != null) + if (roi != null) msgs = ((InternalEObject)roi).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.CAMERA_INFO__ROI, null, msgs); - if(newRoi != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAMERA_INFO__ROI, newRoi, newRoi)); } /** * * - * * @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); + 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); } @@ -539,34 +484,33 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @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(); + 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); } @@ -574,50 +518,49 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @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((Long)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__WIDTH: - setWidth((Long)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__DISTORSION_MODEL: - setDistorsion_model((String)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__D: - getD().clear(); - getD().addAll((Collection)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__K: - getK().clear(); - getK().addAll((Collection)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__R: - getR().clear(); - getR().addAll((Collection)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__P: - getP().clear(); - getP().addAll((Collection)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__BINNING_X: - setBinning_x((Long)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__BINNING_Y: - setBinning_y((Long)newValue); - return; - case Sensor_datatypesPackage.CAMERA_INFO__ROI: - setRoi((RegionOfInterest)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.CAMERA_INFO__HEADER: + setHeader((Header)newValue); + return; + case Sensor_datatypesPackage.CAMERA_INFO__HEIGHT: + setHeight((Long)newValue); + return; + case Sensor_datatypesPackage.CAMERA_INFO__WIDTH: + setWidth((Long)newValue); + return; + case Sensor_datatypesPackage.CAMERA_INFO__DISTORSION_MODEL: + setDistorsion_model((String)newValue); + return; + case Sensor_datatypesPackage.CAMERA_INFO__D: + getD().clear(); + getD().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.CAMERA_INFO__K: + getK().clear(); + getK().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.CAMERA_INFO__R: + getR().clear(); + getR().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.CAMERA_INFO__P: + getP().clear(); + getP().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.CAMERA_INFO__BINNING_X: + setBinning_x((Long)newValue); + return; + case Sensor_datatypesPackage.CAMERA_INFO__BINNING_Y: + setBinning_y((Long)newValue); + return; + case Sensor_datatypesPackage.CAMERA_INFO__ROI: + setRoi((RegionOfInterest)newValue); + return; } super.eSet(featureID, newValue); } @@ -625,45 +568,44 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @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; + 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); } @@ -671,34 +613,33 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @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 != HEIGHT_EDEFAULT; - case Sensor_datatypesPackage.CAMERA_INFO__WIDTH: - return width != WIDTH_EDEFAULT; - 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 != BINNING_X_EDEFAULT; - case Sensor_datatypesPackage.CAMERA_INFO__BINNING_Y: - return binning_y != BINNING_Y_EDEFAULT; - case Sensor_datatypesPackage.CAMERA_INFO__ROI: - return roi != null; + switch (featureID) { + case Sensor_datatypesPackage.CAMERA_INFO__HEADER: + return header != null; + case Sensor_datatypesPackage.CAMERA_INFO__HEIGHT: + return height != HEIGHT_EDEFAULT; + case Sensor_datatypesPackage.CAMERA_INFO__WIDTH: + return width != WIDTH_EDEFAULT; + 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 != BINNING_X_EDEFAULT; + case Sensor_datatypesPackage.CAMERA_INFO__BINNING_Y: + return binning_y != BINNING_Y_EDEFAULT; + case Sensor_datatypesPackage.CAMERA_INFO__ROI: + return roi != null; } return super.eIsSet(featureID); } @@ -706,13 +647,11 @@ public class CameraInfoImpl extends EObjectImpl implements CameraInfo { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (height: "); 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 index 53ddb908bd6..dc584c1be0d 100644 --- 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 @@ -1,24 +1,19 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -28,34 +23,22 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getHeader - * Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getSteering_angle - * Steering angle}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getLeft_rear_wheel_distance - * Left rear wheel distance}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getRight_rear_wheel_distance - * Right rear wheel distance}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getRight_rear_wheel_velocity - * Right rear wheel velocity}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getLeft_rear_wheel_velocity - * Left rear wheel velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getSteering_angle Steering angle}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getLeft_rear_wheel_distance Left rear wheel distance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getRight_rear_wheel_distance Right rear wheel distance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getRight_rear_wheel_velocity Right rear wheel velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CarLikeOdometryImpl#getLeft_rear_wheel_velocity Left rear wheel velocity}
  • *
*

- * + * * @generated */ -public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry { - +public class CarLikeOdometryImpl extends MinimalEObjectImpl.Container implements CarLikeOdometry { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -66,7 +49,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry * The default value of the '{@link #getSteering_angle() Steering angle}' attribute. * * - * * @see #getSteering_angle() * @generated * @ordered @@ -77,7 +59,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry * The cached value of the '{@link #getSteering_angle() Steering angle}' attribute. * * - * * @see #getSteering_angle() * @generated * @ordered @@ -88,7 +69,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry * The default value of the '{@link #getLeft_rear_wheel_distance() Left rear wheel distance}' attribute. * * - * * @see #getLeft_rear_wheel_distance() * @generated * @ordered @@ -99,7 +79,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry * The cached value of the '{@link #getLeft_rear_wheel_distance() Left rear wheel distance}' attribute. * * - * * @see #getLeft_rear_wheel_distance() * @generated * @ordered @@ -110,7 +89,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry * The default value of the '{@link #getRight_rear_wheel_distance() Right rear wheel distance}' attribute. * * - * * @see #getRight_rear_wheel_distance() * @generated * @ordered @@ -121,7 +99,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry * The cached value of the '{@link #getRight_rear_wheel_distance() Right rear wheel distance}' attribute. * * - * * @see #getRight_rear_wheel_distance() * @generated * @ordered @@ -132,7 +109,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry * The default value of the '{@link #getRight_rear_wheel_velocity() Right rear wheel velocity}' attribute. * * - * * @see #getRight_rear_wheel_velocity() * @generated * @ordered @@ -143,7 +119,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry * The cached value of the '{@link #getRight_rear_wheel_velocity() Right rear wheel velocity}' attribute. * * - * * @see #getRight_rear_wheel_velocity() * @generated * @ordered @@ -154,7 +129,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry * The default value of the '{@link #getLeft_rear_wheel_velocity() Left rear wheel velocity}' attribute. * * - * * @see #getLeft_rear_wheel_velocity() * @generated * @ordered @@ -165,7 +139,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry * The cached value of the '{@link #getLeft_rear_wheel_velocity() Left rear wheel velocity}' attribute. * * - * * @see #getLeft_rear_wheel_velocity() * @generated * @ordered @@ -175,7 +148,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @generated */ protected CarLikeOdometryImpl() { @@ -185,7 +157,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @generated */ @Override @@ -196,7 +167,6 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @generated */ public Header getHeader() { @@ -206,18 +176,14 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -225,27 +191,25 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public double getSteering_angle() { @@ -255,20 +219,18 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @generated */ public void setSteering_angle(double newSteering_angle) { double oldSteering_angle = steering_angle; steering_angle = newSteering_angle; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__STEERING_ANGLE, oldSteering_angle, steering_angle)); } /** * * - * * @generated */ public double getLeft_rear_wheel_distance() { @@ -278,20 +240,18 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @generated */ public void setLeft_rear_wheel_distance(double newLeft_rear_wheel_distance) { double oldLeft_rear_wheel_distance = left_rear_wheel_distance; left_rear_wheel_distance = newLeft_rear_wheel_distance; - if(eNotificationRequired()) + 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)); } /** * * - * * @generated */ public double getRight_rear_wheel_distance() { @@ -301,20 +261,18 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @generated */ public void setRight_rear_wheel_distance(double newRight_rear_wheel_distance) { double oldRight_rear_wheel_distance = right_rear_wheel_distance; right_rear_wheel_distance = newRight_rear_wheel_distance; - if(eNotificationRequired()) + 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)); } /** * * - * * @generated */ public double getRight_rear_wheel_velocity() { @@ -324,20 +282,18 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @generated */ public void setRight_rear_wheel_velocity(double newRight_rear_wheel_velocity) { double oldRight_rear_wheel_velocity = right_rear_wheel_velocity; right_rear_wheel_velocity = newRight_rear_wheel_velocity; - if(eNotificationRequired()) + 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)); } /** * * - * * @generated */ public double getLeft_rear_wheel_velocity() { @@ -347,27 +303,25 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @generated */ public void setLeft_rear_wheel_velocity(double newLeft_rear_wheel_velocity) { double oldLeft_rear_wheel_velocity = left_rear_wheel_velocity; left_rear_wheel_velocity = newLeft_rear_wheel_velocity; - if(eNotificationRequired()) + 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)); } /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER: - return basicSetHeader(null, msgs); + switch (featureID) { + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER: + return basicSetHeader(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -375,24 +329,23 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @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(); + 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); } @@ -400,30 +353,29 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @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((Double)newValue); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE: - setLeft_rear_wheel_distance((Double)newValue); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE: - setRight_rear_wheel_distance((Double)newValue); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY: - setRight_rear_wheel_velocity((Double)newValue); - return; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_VELOCITY: - setLeft_rear_wheel_velocity((Double)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER: + setHeader((Header)newValue); + return; + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__STEERING_ANGLE: + setSteering_angle((Double)newValue); + return; + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE: + setLeft_rear_wheel_distance((Double)newValue); + return; + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE: + setRight_rear_wheel_distance((Double)newValue); + return; + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY: + setRight_rear_wheel_velocity((Double)newValue); + return; + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_VELOCITY: + setLeft_rear_wheel_velocity((Double)newValue); + return; } super.eSet(featureID, newValue); } @@ -431,30 +383,29 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @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; + 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); } @@ -462,24 +413,23 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @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 != STEERING_ANGLE_EDEFAULT; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE: - return left_rear_wheel_distance != LEFT_REAR_WHEEL_DISTANCE_EDEFAULT; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE: - return right_rear_wheel_distance != RIGHT_REAR_WHEEL_DISTANCE_EDEFAULT; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY: - return right_rear_wheel_velocity != RIGHT_REAR_WHEEL_VELOCITY_EDEFAULT; - case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_VELOCITY: - return left_rear_wheel_velocity != LEFT_REAR_WHEEL_VELOCITY_EDEFAULT; + switch (featureID) { + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__HEADER: + return header != null; + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__STEERING_ANGLE: + return steering_angle != STEERING_ANGLE_EDEFAULT; + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_DISTANCE: + return left_rear_wheel_distance != LEFT_REAR_WHEEL_DISTANCE_EDEFAULT; + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_DISTANCE: + return right_rear_wheel_distance != RIGHT_REAR_WHEEL_DISTANCE_EDEFAULT; + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__RIGHT_REAR_WHEEL_VELOCITY: + return right_rear_wheel_velocity != RIGHT_REAR_WHEEL_VELOCITY_EDEFAULT; + case Sensor_datatypesPackage.CAR_LIKE_ODOMETRY__LEFT_REAR_WHEEL_VELOCITY: + return left_rear_wheel_velocity != LEFT_REAR_WHEEL_VELOCITY_EDEFAULT; } return super.eIsSet(featureID); } @@ -487,13 +437,11 @@ public class CarLikeOdometryImpl extends EObjectImpl implements CarLikeOdometry /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (steering_angle: "); 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 index 60453df6230..f74d1b02066 100644 --- 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 @@ -1,24 +1,20 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -29,22 +25,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ChannelFloat32Impl#getName Name - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ChannelFloat32Impl#getValues - * Values}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ChannelFloat32Impl#getName Name}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ChannelFloat32Impl#getValues Values}
  • *
*

- * + * * @generated */ -public class ChannelFloat32Impl extends EObjectImpl implements ChannelFloat32 { - +public class ChannelFloat32Impl extends MinimalEObjectImpl.Container implements ChannelFloat32 { /** * The default value of the '{@link #getName() Name}' attribute. * * - * * @see #getName() * @generated * @ordered @@ -55,7 +47,6 @@ public class ChannelFloat32Impl extends EObjectImpl implements ChannelFloat32 { * The cached value of the '{@link #getName() Name}' attribute. * * - * * @see #getName() * @generated * @ordered @@ -66,7 +57,6 @@ public class ChannelFloat32Impl extends EObjectImpl implements ChannelFloat32 { * The cached value of the '{@link #getValues() Values}' attribute list. * * - * * @see #getValues() * @generated * @ordered @@ -76,7 +66,6 @@ public class ChannelFloat32Impl extends EObjectImpl implements ChannelFloat32 { /** * * - * * @generated */ protected ChannelFloat32Impl() { @@ -86,7 +75,6 @@ public class ChannelFloat32Impl extends EObjectImpl implements ChannelFloat32 { /** * * - * * @generated */ @Override @@ -97,7 +85,6 @@ public class ChannelFloat32Impl extends EObjectImpl implements ChannelFloat32 { /** * * - * * @generated */ public String getName() { @@ -107,24 +94,22 @@ public class ChannelFloat32Impl extends EObjectImpl implements ChannelFloat32 { /** * * - * * @generated */ public void setName(String newName) { String oldName = name; name = newName; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.CHANNEL_FLOAT32__NAME, oldName, name)); } /** * * - * * @generated */ public EList getValues() { - if(values == null) { + if (values == null) { values = new EDataTypeUniqueEList(Float.class, this, Sensor_datatypesPackage.CHANNEL_FLOAT32__VALUES); } return values; @@ -133,16 +118,15 @@ public class ChannelFloat32Impl extends EObjectImpl implements ChannelFloat32 { /** * * - * * @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(); + switch (featureID) { + case Sensor_datatypesPackage.CHANNEL_FLOAT32__NAME: + return getName(); + case Sensor_datatypesPackage.CHANNEL_FLOAT32__VALUES: + return getValues(); } return super.eGet(featureID, resolve, coreType); } @@ -150,20 +134,19 @@ public class ChannelFloat32Impl extends EObjectImpl implements ChannelFloat32 { /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Sensor_datatypesPackage.CHANNEL_FLOAT32__NAME: - setName((String)newValue); - return; - case Sensor_datatypesPackage.CHANNEL_FLOAT32__VALUES: - getValues().clear(); - getValues().addAll((Collection)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.CHANNEL_FLOAT32__NAME: + setName((String)newValue); + return; + case Sensor_datatypesPackage.CHANNEL_FLOAT32__VALUES: + getValues().clear(); + getValues().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -171,18 +154,17 @@ public class ChannelFloat32Impl extends EObjectImpl implements ChannelFloat32 { /** * * - * * @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; + switch (featureID) { + case Sensor_datatypesPackage.CHANNEL_FLOAT32__NAME: + setName(NAME_EDEFAULT); + return; + case Sensor_datatypesPackage.CHANNEL_FLOAT32__VALUES: + getValues().clear(); + return; } super.eUnset(featureID); } @@ -190,16 +172,15 @@ public class ChannelFloat32Impl extends EObjectImpl implements ChannelFloat32 { /** * * - * * @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(); + 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); } @@ -207,13 +188,11 @@ public class ChannelFloat32Impl extends EObjectImpl implements ChannelFloat32 { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (name: "); 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 index a9715d478ea..c1b86d56733 100644 --- 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 @@ -1,28 +1,25 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -32,24 +29,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl#getHeader - * Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl#getFormat - * Format}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl#getData Data - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl#getFormat Format}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.CompressedImageImpl#getData Data}
  • *
*

- * + * * @generated */ -public class CompressedImageImpl extends EObjectImpl implements CompressedImage { - +public class CompressedImageImpl extends MinimalEObjectImpl.Container implements CompressedImage { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -60,7 +52,6 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage * The default value of the '{@link #getFormat() Format}' attribute. * * - * * @see #getFormat() * @generated * @ordered @@ -71,7 +62,6 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage * The cached value of the '{@link #getFormat() Format}' attribute. * * - * * @see #getFormat() * @generated * @ordered @@ -82,7 +72,6 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -92,7 +81,6 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage /** * * - * * @generated */ protected CompressedImageImpl() { @@ -102,7 +90,6 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage /** * * - * * @generated */ @Override @@ -113,7 +100,6 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage /** * * - * * @generated */ public Header getHeader() { @@ -123,18 +109,14 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -142,27 +124,25 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public String getFormat() { @@ -172,24 +152,22 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage /** * * - * * @generated */ public void setFormat(String newFormat) { String oldFormat = format; format = newFormat; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.COMPRESSED_IMAGE__FORMAT, oldFormat, format)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Character.class, this, Sensor_datatypesPackage.COMPRESSED_IMAGE__DATA); } return data; @@ -198,14 +176,13 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER: - return basicSetHeader(null, msgs); + switch (featureID) { + case Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER: + return basicSetHeader(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -213,18 +190,17 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage /** * * - * * @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(); + 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); } @@ -232,23 +208,22 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage /** * * - * * @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((String)newValue); - return; - case Sensor_datatypesPackage.COMPRESSED_IMAGE__DATA: - getData().clear(); - getData().addAll((Collection)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.COMPRESSED_IMAGE__HEADER: + setHeader((Header)newValue); + return; + case Sensor_datatypesPackage.COMPRESSED_IMAGE__FORMAT: + setFormat((String)newValue); + return; + case Sensor_datatypesPackage.COMPRESSED_IMAGE__DATA: + getData().clear(); + getData().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -256,21 +231,20 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage /** * * - * * @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; + 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); } @@ -278,18 +252,17 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage /** * * - * * @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(); + 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); } @@ -297,13 +270,11 @@ public class CompressedImageImpl extends EObjectImpl implements CompressedImage /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (format: "); 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 index 7b6adb83efa..d4a4697d248 100644 --- 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 @@ -1,24 +1,19 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -28,32 +23,21 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getHeader - * Header}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getRight_distance - * Right distance}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getLeft_distance - * Left distance}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getLeft_velocity - * Left velocity}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getRight_velocity - * Right velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getRight_distance Right distance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getLeft_distance Left distance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getLeft_velocity Left velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.DifferentialOdometryImpl#getRight_velocity Right velocity}
  • *
*

- * + * * @generated */ -public class DifferentialOdometryImpl extends EObjectImpl implements DifferentialOdometry { - +public class DifferentialOdometryImpl extends MinimalEObjectImpl.Container implements DifferentialOdometry { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -64,7 +48,6 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia * The default value of the '{@link #getRight_distance() Right distance}' attribute. * * - * * @see #getRight_distance() * @generated * @ordered @@ -75,7 +58,6 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia * The cached value of the '{@link #getRight_distance() Right distance}' attribute. * * - * * @see #getRight_distance() * @generated * @ordered @@ -86,7 +68,6 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia * The default value of the '{@link #getLeft_distance() Left distance}' attribute. * * - * * @see #getLeft_distance() * @generated * @ordered @@ -97,7 +78,6 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia * The cached value of the '{@link #getLeft_distance() Left distance}' attribute. * * - * * @see #getLeft_distance() * @generated * @ordered @@ -108,7 +88,6 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia * The default value of the '{@link #getLeft_velocity() Left velocity}' attribute. * * - * * @see #getLeft_velocity() * @generated * @ordered @@ -119,7 +98,6 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia * The cached value of the '{@link #getLeft_velocity() Left velocity}' attribute. * * - * * @see #getLeft_velocity() * @generated * @ordered @@ -130,7 +108,6 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia * The default value of the '{@link #getRight_velocity() Right velocity}' attribute. * * - * * @see #getRight_velocity() * @generated * @ordered @@ -141,7 +118,6 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia * The cached value of the '{@link #getRight_velocity() Right velocity}' attribute. * * - * * @see #getRight_velocity() * @generated * @ordered @@ -151,7 +127,6 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @generated */ protected DifferentialOdometryImpl() { @@ -161,7 +136,6 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @generated */ @Override @@ -172,7 +146,6 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @generated */ public Header getHeader() { @@ -182,18 +155,14 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -201,27 +170,25 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public double getRight_distance() { @@ -231,20 +198,18 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @generated */ public void setRight_distance(double newRight_distance) { double oldRight_distance = right_distance; right_distance = newRight_distance; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_DISTANCE, oldRight_distance, right_distance)); } /** * * - * * @generated */ public double getLeft_distance() { @@ -254,20 +219,18 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @generated */ public void setLeft_distance(double newLeft_distance) { double oldLeft_distance = left_distance; left_distance = newLeft_distance; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE, oldLeft_distance, left_distance)); } /** * * - * * @generated */ public double getLeft_velocity() { @@ -277,20 +240,18 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @generated */ public void setLeft_velocity(double newLeft_velocity) { double oldLeft_velocity = left_velocity; left_velocity = newLeft_velocity; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY, oldLeft_velocity, left_velocity)); } /** * * - * * @generated */ public double getRight_velocity() { @@ -300,27 +261,25 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @generated */ public void setRight_velocity(double newRight_velocity) { double oldRight_velocity = right_velocity; right_velocity = newRight_velocity; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY, oldRight_velocity, right_velocity)); } /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER: - return basicSetHeader(null, msgs); + switch (featureID) { + case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER: + return basicSetHeader(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -328,22 +287,21 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @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(); + 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); } @@ -351,27 +309,26 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @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((Double)newValue); - return; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE: - setLeft_distance((Double)newValue); - return; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY: - setLeft_velocity((Double)newValue); - return; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY: - setRight_velocity((Double)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER: + setHeader((Header)newValue); + return; + case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_DISTANCE: + setRight_distance((Double)newValue); + return; + case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE: + setLeft_distance((Double)newValue); + return; + case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY: + setLeft_velocity((Double)newValue); + return; + case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY: + setRight_velocity((Double)newValue); + return; } super.eSet(featureID, newValue); } @@ -379,27 +336,26 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @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; + 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); } @@ -407,22 +363,21 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @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 != RIGHT_DISTANCE_EDEFAULT; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE: - return left_distance != LEFT_DISTANCE_EDEFAULT; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY: - return left_velocity != LEFT_VELOCITY_EDEFAULT; - case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY: - return right_velocity != RIGHT_VELOCITY_EDEFAULT; + switch (featureID) { + case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__HEADER: + return header != null; + case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_DISTANCE: + return right_distance != RIGHT_DISTANCE_EDEFAULT; + case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_DISTANCE: + return left_distance != LEFT_DISTANCE_EDEFAULT; + case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__LEFT_VELOCITY: + return left_velocity != LEFT_VELOCITY_EDEFAULT; + case Sensor_datatypesPackage.DIFFERENTIAL_ODOMETRY__RIGHT_VELOCITY: + return right_velocity != RIGHT_VELOCITY_EDEFAULT; } return super.eIsSet(featureID); } @@ -430,13 +385,11 @@ public class DifferentialOdometryImpl extends EObjectImpl implements Differentia /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (right_distance: "); 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 index e035213da7d..6a13a1a36d6 100644 --- 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 @@ -1,28 +1,25 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -32,27 +29,23 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getHeight Height}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getWidth Width}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getEncoding Encoding - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getIs_bigendian Is - * bigendian}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getStep Step}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getHeight Height}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getEncoding Encoding}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getIs_bigendian Is bigendian}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getStep Step}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImageImpl#getData Data}
  • *
*

- * + * * @generated */ -public class ImageImpl extends EObjectImpl implements Image { - +public class ImageImpl extends MinimalEObjectImpl.Container implements Image { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -63,7 +56,6 @@ public class ImageImpl extends EObjectImpl implements Image { * The default value of the '{@link #getHeight() Height}' attribute. * * - * * @see #getHeight() * @generated * @ordered @@ -74,7 +66,6 @@ public class ImageImpl extends EObjectImpl implements Image { * The cached value of the '{@link #getHeight() Height}' attribute. * * - * * @see #getHeight() * @generated * @ordered @@ -85,7 +76,6 @@ public class ImageImpl extends EObjectImpl implements Image { * The default value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -96,7 +86,6 @@ public class ImageImpl extends EObjectImpl implements Image { * The cached value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -107,7 +96,6 @@ public class ImageImpl extends EObjectImpl implements Image { * The default value of the '{@link #getEncoding() Encoding}' attribute. * * - * * @see #getEncoding() * @generated * @ordered @@ -118,7 +106,6 @@ public class ImageImpl extends EObjectImpl implements Image { * The cached value of the '{@link #getEncoding() Encoding}' attribute. * * - * * @see #getEncoding() * @generated * @ordered @@ -129,7 +116,6 @@ public class ImageImpl extends EObjectImpl implements Image { * The default value of the '{@link #getIs_bigendian() Is bigendian}' attribute. * * - * * @see #getIs_bigendian() * @generated * @ordered @@ -140,7 +126,6 @@ public class ImageImpl extends EObjectImpl implements Image { * The cached value of the '{@link #getIs_bigendian() Is bigendian}' attribute. * * - * * @see #getIs_bigendian() * @generated * @ordered @@ -151,7 +136,6 @@ public class ImageImpl extends EObjectImpl implements Image { * The default value of the '{@link #getStep() Step}' attribute. * * - * * @see #getStep() * @generated * @ordered @@ -162,7 +146,6 @@ public class ImageImpl extends EObjectImpl implements Image { * The cached value of the '{@link #getStep() Step}' attribute. * * - * * @see #getStep() * @generated * @ordered @@ -173,7 +156,6 @@ public class ImageImpl extends EObjectImpl implements Image { * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -183,7 +165,6 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ protected ImageImpl() { @@ -193,7 +174,6 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ @Override @@ -204,7 +184,6 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ public Header getHeader() { @@ -214,18 +193,14 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__HEADER, oldHeader, newHeader); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -233,27 +208,25 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMAGE__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public long getHeight() { @@ -263,20 +236,18 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ public void setHeight(long newHeight) { long oldHeight = height; height = newHeight; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__HEIGHT, oldHeight, height)); } /** * * - * * @generated */ public long getWidth() { @@ -286,20 +257,18 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ public void setWidth(long newWidth) { long oldWidth = width; width = newWidth; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__WIDTH, oldWidth, width)); } /** * * - * * @generated */ public String getEncoding() { @@ -309,20 +278,18 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ public void setEncoding(String newEncoding) { String oldEncoding = encoding; encoding = newEncoding; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__ENCODING, oldEncoding, encoding)); } /** * * - * * @generated */ public char getIs_bigendian() { @@ -332,20 +299,18 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ public void setIs_bigendian(char newIs_bigendian) { char oldIs_bigendian = is_bigendian; is_bigendian = newIs_bigendian; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__IS_BIGENDIAN, oldIs_bigendian, is_bigendian)); } /** * * - * * @generated */ public long getStep() { @@ -355,24 +320,22 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ public void setStep(long newStep) { long oldStep = step; step = newStep; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMAGE__STEP, oldStep, step)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Character.class, this, Sensor_datatypesPackage.IMAGE__DATA); } return data; @@ -381,14 +344,13 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Sensor_datatypesPackage.IMAGE__HEADER: - return basicSetHeader(null, msgs); + switch (featureID) { + case Sensor_datatypesPackage.IMAGE__HEADER: + return basicSetHeader(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -396,26 +358,25 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @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(); + 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); } @@ -423,35 +384,34 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @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((Long)newValue); - return; - case Sensor_datatypesPackage.IMAGE__WIDTH: - setWidth((Long)newValue); - return; - case Sensor_datatypesPackage.IMAGE__ENCODING: - setEncoding((String)newValue); - return; - case Sensor_datatypesPackage.IMAGE__IS_BIGENDIAN: - setIs_bigendian((Character)newValue); - return; - case Sensor_datatypesPackage.IMAGE__STEP: - setStep((Long)newValue); - return; - case Sensor_datatypesPackage.IMAGE__DATA: - getData().clear(); - getData().addAll((Collection)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.IMAGE__HEADER: + setHeader((Header)newValue); + return; + case Sensor_datatypesPackage.IMAGE__HEIGHT: + setHeight((Long)newValue); + return; + case Sensor_datatypesPackage.IMAGE__WIDTH: + setWidth((Long)newValue); + return; + case Sensor_datatypesPackage.IMAGE__ENCODING: + setEncoding((String)newValue); + return; + case Sensor_datatypesPackage.IMAGE__IS_BIGENDIAN: + setIs_bigendian((Character)newValue); + return; + case Sensor_datatypesPackage.IMAGE__STEP: + setStep((Long)newValue); + return; + case Sensor_datatypesPackage.IMAGE__DATA: + getData().clear(); + getData().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -459,33 +419,32 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @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; + 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); } @@ -493,26 +452,25 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Sensor_datatypesPackage.IMAGE__HEADER: - return header != null; - case Sensor_datatypesPackage.IMAGE__HEIGHT: - return height != HEIGHT_EDEFAULT; - case Sensor_datatypesPackage.IMAGE__WIDTH: - return width != WIDTH_EDEFAULT; - case Sensor_datatypesPackage.IMAGE__ENCODING: - return ENCODING_EDEFAULT == null ? encoding != null : !ENCODING_EDEFAULT.equals(encoding); - case Sensor_datatypesPackage.IMAGE__IS_BIGENDIAN: - return is_bigendian != IS_BIGENDIAN_EDEFAULT; - case Sensor_datatypesPackage.IMAGE__STEP: - return step != STEP_EDEFAULT; - case Sensor_datatypesPackage.IMAGE__DATA: - return data != null && !data.isEmpty(); + switch (featureID) { + case Sensor_datatypesPackage.IMAGE__HEADER: + return header != null; + case Sensor_datatypesPackage.IMAGE__HEIGHT: + return height != HEIGHT_EDEFAULT; + case Sensor_datatypesPackage.IMAGE__WIDTH: + return width != WIDTH_EDEFAULT; + case Sensor_datatypesPackage.IMAGE__ENCODING: + return ENCODING_EDEFAULT == null ? encoding != null : !ENCODING_EDEFAULT.equals(encoding); + case Sensor_datatypesPackage.IMAGE__IS_BIGENDIAN: + return is_bigendian != IS_BIGENDIAN_EDEFAULT; + case Sensor_datatypesPackage.IMAGE__STEP: + return step != STEP_EDEFAULT; + case Sensor_datatypesPackage.IMAGE__DATA: + return data != null && !data.isEmpty(); } return super.eIsSet(featureID); } @@ -520,13 +478,11 @@ public class ImageImpl extends EObjectImpl implements Image { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (height: "); 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 index 85060fcb776..4e92379395d 100644 --- 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 @@ -1,30 +1,28 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -34,33 +32,23 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getOrientation Orientation - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getOrientation_covariance - * Orientation covariance}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getAngular_velocity - * Angular velocity}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getAngular_velocity_covariance - * Angular velocity covariance}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getLinear_acceleration - * Linear acceleration}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getLinear_acceleration_covariance - * Linear acceleration covariance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getOrientation Orientation}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getOrientation_covariance Orientation covariance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getAngular_velocity Angular velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getAngular_velocity_covariance Angular velocity covariance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getLinear_acceleration Linear acceleration}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.ImuImpl#getLinear_acceleration_covariance Linear acceleration covariance}
  • *
*

- * + * * @generated */ -public class ImuImpl extends EObjectImpl implements Imu { - +public class ImuImpl extends MinimalEObjectImpl.Container implements Imu { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -71,7 +59,6 @@ public class ImuImpl extends EObjectImpl implements Imu { * The cached value of the '{@link #getOrientation() Orientation}' containment reference. * * - * * @see #getOrientation() * @generated * @ordered @@ -82,7 +69,6 @@ public class ImuImpl extends EObjectImpl implements Imu { * The cached value of the '{@link #getOrientation_covariance() Orientation covariance}' attribute list. * * - * * @see #getOrientation_covariance() * @generated * @ordered @@ -93,7 +79,6 @@ public class ImuImpl extends EObjectImpl implements Imu { * The cached value of the '{@link #getAngular_velocity() Angular velocity}' containment reference. * * - * * @see #getAngular_velocity() * @generated * @ordered @@ -104,7 +89,6 @@ public class ImuImpl extends EObjectImpl implements Imu { * The cached value of the '{@link #getAngular_velocity_covariance() Angular velocity covariance}' attribute list. * * - * * @see #getAngular_velocity_covariance() * @generated * @ordered @@ -115,7 +99,6 @@ public class ImuImpl extends EObjectImpl implements Imu { * The cached value of the '{@link #getLinear_acceleration() Linear acceleration}' containment reference. * * - * * @see #getLinear_acceleration() * @generated * @ordered @@ -126,7 +109,6 @@ public class ImuImpl extends EObjectImpl implements Imu { * The cached value of the '{@link #getLinear_acceleration_covariance() Linear acceleration covariance}' attribute list. * * - * * @see #getLinear_acceleration_covariance() * @generated * @ordered @@ -136,7 +118,6 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ protected ImuImpl() { @@ -146,7 +127,6 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ @Override @@ -157,7 +137,6 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ public Header getHeader() { @@ -167,18 +146,14 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__HEADER, oldHeader, newHeader); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -186,27 +161,25 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMU__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public Quaternion getOrientation() { @@ -216,18 +189,14 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ public NotificationChain basicSetOrientation(Quaternion newOrientation, NotificationChain msgs) { Quaternion oldOrientation = orientation; orientation = newOrientation; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__ORIENTATION, oldOrientation, newOrientation); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -235,31 +204,29 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ public void setOrientation(Quaternion newOrientation) { - if(newOrientation != orientation) { + if (newOrientation != orientation) { NotificationChain msgs = null; - if(orientation != null) + if (orientation != null) msgs = ((InternalEObject)orientation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.IMU__ORIENTATION, null, msgs); - if(newOrientation != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__ORIENTATION, newOrientation, newOrientation)); } /** * * - * * @generated */ public EList getOrientation_covariance() { - if(orientation_covariance == null) { + if (orientation_covariance == null) { orientation_covariance = new EDataTypeUniqueEList(Double.class, this, Sensor_datatypesPackage.IMU__ORIENTATION_COVARIANCE); } return orientation_covariance; @@ -268,7 +235,6 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ public Vector3 getAngular_velocity() { @@ -278,18 +244,14 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ public NotificationChain basicSetAngular_velocity(Vector3 newAngular_velocity, NotificationChain msgs) { Vector3 oldAngular_velocity = angular_velocity; angular_velocity = newAngular_velocity; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -297,31 +259,29 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ public void setAngular_velocity(Vector3 newAngular_velocity) { - if(newAngular_velocity != angular_velocity) { + if (newAngular_velocity != angular_velocity) { NotificationChain msgs = null; - if(angular_velocity != 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) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY, newAngular_velocity, newAngular_velocity)); } /** * * - * * @generated */ public EList getAngular_velocity_covariance() { - if(angular_velocity_covariance == null) { + if (angular_velocity_covariance == null) { angular_velocity_covariance = new EDataTypeUniqueEList(Double.class, this, Sensor_datatypesPackage.IMU__ANGULAR_VELOCITY_COVARIANCE); } return angular_velocity_covariance; @@ -330,7 +290,6 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ public Vector3 getLinear_acceleration() { @@ -340,18 +299,14 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ public NotificationChain basicSetLinear_acceleration(Vector3 newLinear_acceleration, NotificationChain msgs) { Vector3 oldLinear_acceleration = linear_acceleration; linear_acceleration = newLinear_acceleration; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -359,31 +314,29 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ public void setLinear_acceleration(Vector3 newLinear_acceleration) { - if(newLinear_acceleration != linear_acceleration) { + if (newLinear_acceleration != linear_acceleration) { NotificationChain msgs = null; - if(linear_acceleration != 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) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION, newLinear_acceleration, newLinear_acceleration)); } /** * * - * * @generated */ public EList getLinear_acceleration_covariance() { - if(linear_acceleration_covariance == null) { + if (linear_acceleration_covariance == null) { linear_acceleration_covariance = new EDataTypeUniqueEList(Double.class, this, Sensor_datatypesPackage.IMU__LINEAR_ACCELERATION_COVARIANCE); } return linear_acceleration_covariance; @@ -392,20 +345,19 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @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); + 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); } @@ -413,26 +365,25 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @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(); + 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); } @@ -440,37 +391,36 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @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)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)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)newValue); - return; + 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)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)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)newValue); + return; } super.eSet(featureID, newValue); } @@ -478,33 +428,32 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @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; + 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); } @@ -512,26 +461,25 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @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(); + 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); } @@ -539,13 +487,11 @@ public class ImuImpl extends EObjectImpl implements Imu { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (orientation_covariance: "); 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 index 45328bbfe0d..de70ca050ef 100644 --- 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 @@ -1,22 +1,17 @@ -/***************************************************************************** - * 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.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.EObjectImpl; + +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; @@ -27,25 +22,20 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl#getName Name}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl#getPosition - * Position}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl#getVelocity - * Velocity}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl#getEffort Effort - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl#getName Name}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl#getPosition Position}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl#getVelocity Velocity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JointStateImpl#getEffort Effort}
  • *
*

- * + * * @generated */ -public class JointStateImpl extends EObjectImpl implements JointState { - +public class JointStateImpl extends MinimalEObjectImpl.Container implements JointState { /** * The cached value of the '{@link #getName() Name}' attribute list. * * - * * @see #getName() * @generated * @ordered @@ -56,7 +46,6 @@ public class JointStateImpl extends EObjectImpl implements JointState { * The cached value of the '{@link #getPosition() Position}' attribute list. * * - * * @see #getPosition() * @generated * @ordered @@ -67,7 +56,6 @@ public class JointStateImpl extends EObjectImpl implements JointState { * The cached value of the '{@link #getVelocity() Velocity}' attribute list. * * - * * @see #getVelocity() * @generated * @ordered @@ -78,7 +66,6 @@ public class JointStateImpl extends EObjectImpl implements JointState { * The cached value of the '{@link #getEffort() Effort}' attribute list. * * - * * @see #getEffort() * @generated * @ordered @@ -88,7 +75,6 @@ public class JointStateImpl extends EObjectImpl implements JointState { /** * * - * * @generated */ protected JointStateImpl() { @@ -98,7 +84,6 @@ public class JointStateImpl extends EObjectImpl implements JointState { /** * * - * * @generated */ @Override @@ -109,11 +94,10 @@ public class JointStateImpl extends EObjectImpl implements JointState { /** * * - * * @generated */ public EList getName() { - if(name == null) { + if (name == null) { name = new EDataTypeUniqueEList(String.class, this, Sensor_datatypesPackage.JOINT_STATE__NAME); } return name; @@ -122,11 +106,10 @@ public class JointStateImpl extends EObjectImpl implements JointState { /** * * - * * @generated */ public EList getPosition() { - if(position == null) { + if (position == null) { position = new EDataTypeUniqueEList(Double.class, this, Sensor_datatypesPackage.JOINT_STATE__POSITION); } return position; @@ -135,11 +118,10 @@ public class JointStateImpl extends EObjectImpl implements JointState { /** * * - * * @generated */ public EList getVelocity() { - if(velocity == null) { + if (velocity == null) { velocity = new EDataTypeUniqueEList(Double.class, this, Sensor_datatypesPackage.JOINT_STATE__VELOCITY); } return velocity; @@ -148,11 +130,10 @@ public class JointStateImpl extends EObjectImpl implements JointState { /** * * - * * @generated */ public EList getEffort() { - if(effort == null) { + if (effort == null) { effort = new EDataTypeUniqueEList(Double.class, this, Sensor_datatypesPackage.JOINT_STATE__EFFORT); } return effort; @@ -161,20 +142,19 @@ public class JointStateImpl extends EObjectImpl implements JointState { /** * * - * * @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(); + 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); } @@ -182,29 +162,28 @@ public class JointStateImpl extends EObjectImpl implements JointState { /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Sensor_datatypesPackage.JOINT_STATE__NAME: - getName().clear(); - getName().addAll((Collection)newValue); - return; - case Sensor_datatypesPackage.JOINT_STATE__POSITION: - getPosition().clear(); - getPosition().addAll((Collection)newValue); - return; - case Sensor_datatypesPackage.JOINT_STATE__VELOCITY: - getVelocity().clear(); - getVelocity().addAll((Collection)newValue); - return; - case Sensor_datatypesPackage.JOINT_STATE__EFFORT: - getEffort().clear(); - getEffort().addAll((Collection)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.JOINT_STATE__NAME: + getName().clear(); + getName().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.JOINT_STATE__POSITION: + getPosition().clear(); + getPosition().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.JOINT_STATE__VELOCITY: + getVelocity().clear(); + getVelocity().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.JOINT_STATE__EFFORT: + getEffort().clear(); + getEffort().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -212,24 +191,23 @@ public class JointStateImpl extends EObjectImpl implements JointState { /** * * - * * @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; + 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); } @@ -237,20 +215,19 @@ public class JointStateImpl extends EObjectImpl implements JointState { /** * * - * * @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(); + 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); } @@ -258,13 +235,11 @@ public class JointStateImpl extends EObjectImpl implements JointState { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (name: "); 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 index 79aa75fa8f3..b7a139d2730 100644 --- 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 @@ -1,25 +1,21 @@ -/***************************************************************************** - * 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.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.EObjectImpl; + +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; @@ -31,20 +27,17 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackArrayImpl#getArray - * Array}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackArrayImpl#getArray Array}
  • *
*

- * + * * @generated */ -public class JoyFeedbackArrayImpl extends EObjectImpl implements JoyFeedbackArray { - +public class JoyFeedbackArrayImpl extends MinimalEObjectImpl.Container implements JoyFeedbackArray { /** * The cached value of the '{@link #getArray() Array}' containment reference list. * * - * * @see #getArray() * @generated * @ordered @@ -54,7 +47,6 @@ public class JoyFeedbackArrayImpl extends EObjectImpl implements JoyFeedbackArra /** * * - * * @generated */ protected JoyFeedbackArrayImpl() { @@ -64,7 +56,6 @@ public class JoyFeedbackArrayImpl extends EObjectImpl implements JoyFeedbackArra /** * * - * * @generated */ @Override @@ -75,11 +66,10 @@ public class JoyFeedbackArrayImpl extends EObjectImpl implements JoyFeedbackArra /** * * - * * @generated */ public EList getArray() { - if(array == null) { + if (array == null) { array = new EObjectContainmentEList(JoyFeedback.class, this, Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY); } return array; @@ -88,14 +78,13 @@ public class JoyFeedbackArrayImpl extends EObjectImpl implements JoyFeedbackArra /** * * - * * @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); + switch (featureID) { + case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: + return ((InternalEList)getArray()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -103,14 +92,13 @@ public class JoyFeedbackArrayImpl extends EObjectImpl implements JoyFeedbackArra /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: - return getArray(); + switch (featureID) { + case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: + return getArray(); } return super.eGet(featureID, resolve, coreType); } @@ -118,17 +106,16 @@ public class JoyFeedbackArrayImpl extends EObjectImpl implements JoyFeedbackArra /** * * - * * @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)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: + getArray().clear(); + getArray().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -136,15 +123,14 @@ public class JoyFeedbackArrayImpl extends EObjectImpl implements JoyFeedbackArra /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: - getArray().clear(); - return; + switch (featureID) { + case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: + getArray().clear(); + return; } super.eUnset(featureID); } @@ -152,14 +138,13 @@ public class JoyFeedbackArrayImpl extends EObjectImpl implements JoyFeedbackArra /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: - return array != null && !array.isEmpty(); + switch (featureID) { + case Sensor_datatypesPackage.JOY_FEEDBACK_ARRAY__ARRAY: + return array != null && !array.isEmpty(); } return super.eIsSet(featureID); } 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 index 75981266490..1968cf8dc2c 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,29 +19,22 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getTYPE_LED TYPE - * LED}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getTYPE_RUMBLE - * TYPE RUMBLE}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getTYPE_BUZZER - * TYPE BUZZER}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getType Type} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getId Id}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getIntensity - * Intensity}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getTYPE_LED TYPE LED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getTYPE_RUMBLE TYPE RUMBLE}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getTYPE_BUZZER TYPE BUZZER}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getType Type}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getId Id}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyFeedbackImpl#getIntensity Intensity}
  • *
*

- * + * * @generated */ -public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { - +public class JoyFeedbackImpl extends MinimalEObjectImpl.Container implements JoyFeedback { /** * The default value of the '{@link #getTYPE_LED() TYPE LED}' attribute. * * - * * @see #getTYPE_LED() * @generated * @ordered @@ -58,7 +45,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { * The cached value of the '{@link #getTYPE_LED() TYPE LED}' attribute. * * - * * @see #getTYPE_LED() * @generated * @ordered @@ -69,7 +55,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { * The default value of the '{@link #getTYPE_RUMBLE() TYPE RUMBLE}' attribute. * * - * * @see #getTYPE_RUMBLE() * @generated * @ordered @@ -80,7 +65,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { * The cached value of the '{@link #getTYPE_RUMBLE() TYPE RUMBLE}' attribute. * * - * * @see #getTYPE_RUMBLE() * @generated * @ordered @@ -91,7 +75,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { * The default value of the '{@link #getTYPE_BUZZER() TYPE BUZZER}' attribute. * * - * * @see #getTYPE_BUZZER() * @generated * @ordered @@ -102,7 +85,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { * The cached value of the '{@link #getTYPE_BUZZER() TYPE BUZZER}' attribute. * * - * * @see #getTYPE_BUZZER() * @generated * @ordered @@ -113,7 +95,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { * The default value of the '{@link #getType() Type}' attribute. * * - * * @see #getType() * @generated * @ordered @@ -124,7 +105,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { * The cached value of the '{@link #getType() Type}' attribute. * * - * * @see #getType() * @generated * @ordered @@ -135,7 +115,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { * The default value of the '{@link #getId() Id}' attribute. * * - * * @see #getId() * @generated * @ordered @@ -146,7 +125,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { * The cached value of the '{@link #getId() Id}' attribute. * * - * * @see #getId() * @generated * @ordered @@ -157,7 +135,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { * The default value of the '{@link #getIntensity() Intensity}' attribute. * * - * * @see #getIntensity() * @generated * @ordered @@ -168,7 +145,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { * The cached value of the '{@link #getIntensity() Intensity}' attribute. * * - * * @see #getIntensity() * @generated * @ordered @@ -178,7 +154,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @generated */ protected JoyFeedbackImpl() { @@ -188,7 +163,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @generated */ @Override @@ -199,7 +173,6 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @generated */ public char getTYPE_LED() { @@ -209,20 +182,18 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @generated */ public void setTYPE_LED(char newTYPE_LED) { char oldTYPE_LED = typE_LED; typE_LED = newTYPE_LED; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_LED, oldTYPE_LED, typE_LED)); } /** * * - * * @generated */ public char getTYPE_RUMBLE() { @@ -232,20 +203,18 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @generated */ public void setTYPE_RUMBLE(char newTYPE_RUMBLE) { char oldTYPE_RUMBLE = typE_RUMBLE; typE_RUMBLE = newTYPE_RUMBLE; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_RUMBLE, oldTYPE_RUMBLE, typE_RUMBLE)); } /** * * - * * @generated */ public char getTYPE_BUZZER() { @@ -255,20 +224,18 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @generated */ public void setTYPE_BUZZER(char newTYPE_BUZZER) { char oldTYPE_BUZZER = typE_BUZZER; typE_BUZZER = newTYPE_BUZZER; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_BUZZER, oldTYPE_BUZZER, typE_BUZZER)); } /** * * - * * @generated */ public char getType() { @@ -278,20 +245,18 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @generated */ public void setType(char newType) { char oldType = type; type = newType; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY_FEEDBACK__TYPE, oldType, type)); } /** * * - * * @generated */ public char getId() { @@ -301,20 +266,18 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @generated */ public void setId(char newId) { char oldId = id; id = newId; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY_FEEDBACK__ID, oldId, id)); } /** * * - * * @generated */ public float getIntensity() { @@ -324,37 +287,35 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @generated */ public void setIntensity(float newIntensity) { float oldIntensity = intensity; intensity = newIntensity; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY_FEEDBACK__INTENSITY, oldIntensity, intensity)); } /** * * - * * @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(); + 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); } @@ -362,30 +323,29 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_LED: - setTYPE_LED((Character)newValue); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_RUMBLE: - setTYPE_RUMBLE((Character)newValue); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_BUZZER: - setTYPE_BUZZER((Character)newValue); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE: - setType((Character)newValue); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__ID: - setId((Character)newValue); - return; - case Sensor_datatypesPackage.JOY_FEEDBACK__INTENSITY: - setIntensity((Float)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_LED: + setTYPE_LED((Character)newValue); + return; + case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_RUMBLE: + setTYPE_RUMBLE((Character)newValue); + return; + case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_BUZZER: + setTYPE_BUZZER((Character)newValue); + return; + case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE: + setType((Character)newValue); + return; + case Sensor_datatypesPackage.JOY_FEEDBACK__ID: + setId((Character)newValue); + return; + case Sensor_datatypesPackage.JOY_FEEDBACK__INTENSITY: + setIntensity((Float)newValue); + return; } super.eSet(featureID, newValue); } @@ -393,30 +353,29 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @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; + 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); } @@ -424,24 +383,23 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_LED: - return typE_LED != TYPE_LED_EDEFAULT; - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_RUMBLE: - return typE_RUMBLE != TYPE_RUMBLE_EDEFAULT; - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_BUZZER: - return typE_BUZZER != TYPE_BUZZER_EDEFAULT; - case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE: - return type != TYPE_EDEFAULT; - case Sensor_datatypesPackage.JOY_FEEDBACK__ID: - return id != ID_EDEFAULT; - case Sensor_datatypesPackage.JOY_FEEDBACK__INTENSITY: - return intensity != INTENSITY_EDEFAULT; + switch (featureID) { + case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_LED: + return typE_LED != TYPE_LED_EDEFAULT; + case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_RUMBLE: + return typE_RUMBLE != TYPE_RUMBLE_EDEFAULT; + case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE_BUZZER: + return typE_BUZZER != TYPE_BUZZER_EDEFAULT; + case Sensor_datatypesPackage.JOY_FEEDBACK__TYPE: + return type != TYPE_EDEFAULT; + case Sensor_datatypesPackage.JOY_FEEDBACK__ID: + return id != ID_EDEFAULT; + case Sensor_datatypesPackage.JOY_FEEDBACK__INTENSITY: + return intensity != INTENSITY_EDEFAULT; } return super.eIsSet(featureID); } @@ -449,13 +407,11 @@ public class JoyFeedbackImpl extends EObjectImpl implements JoyFeedback { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (TYPE_LED: "); 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 index 11eaa19ea5b..5a377a207b8 100644 --- 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 @@ -1,28 +1,25 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -32,21 +29,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl#getAxes Axes}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl#getButtons Buttons}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl#getAxes Axes}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.JoyImpl#getButtons Buttons}
  • *
*

- * + * * @generated */ -public class JoyImpl extends EObjectImpl implements Joy { - +public class JoyImpl extends MinimalEObjectImpl.Container implements Joy { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -57,7 +52,6 @@ public class JoyImpl extends EObjectImpl implements Joy { * The cached value of the '{@link #getAxes() Axes}' attribute list. * * - * * @see #getAxes() * @generated * @ordered @@ -68,7 +62,6 @@ public class JoyImpl extends EObjectImpl implements Joy { * The cached value of the '{@link #getButtons() Buttons}' attribute list. * * - * * @see #getButtons() * @generated * @ordered @@ -78,7 +71,6 @@ public class JoyImpl extends EObjectImpl implements Joy { /** * * - * * @generated */ protected JoyImpl() { @@ -88,7 +80,6 @@ public class JoyImpl extends EObjectImpl implements Joy { /** * * - * * @generated */ @Override @@ -99,7 +90,6 @@ public class JoyImpl extends EObjectImpl implements Joy { /** * * - * * @generated */ public Header getHeader() { @@ -109,18 +99,14 @@ public class JoyImpl extends EObjectImpl implements Joy { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY__HEADER, oldHeader, newHeader); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -128,31 +114,29 @@ public class JoyImpl extends EObjectImpl implements Joy { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.JOY__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.JOY__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public EList getAxes() { - if(axes == null) { + if (axes == null) { axes = new EDataTypeUniqueEList(Float.class, this, Sensor_datatypesPackage.JOY__AXES); } return axes; @@ -161,11 +145,10 @@ public class JoyImpl extends EObjectImpl implements Joy { /** * * - * * @generated */ public EList getButtons() { - if(buttons == null) { + if (buttons == null) { buttons = new EDataTypeUniqueEList(Integer.class, this, Sensor_datatypesPackage.JOY__BUTTONS); } return buttons; @@ -174,14 +157,13 @@ public class JoyImpl extends EObjectImpl implements Joy { /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Sensor_datatypesPackage.JOY__HEADER: - return basicSetHeader(null, msgs); + switch (featureID) { + case Sensor_datatypesPackage.JOY__HEADER: + return basicSetHeader(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -189,18 +171,17 @@ public class JoyImpl extends EObjectImpl implements Joy { /** * * - * * @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(); + 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); } @@ -208,24 +189,23 @@ public class JoyImpl extends EObjectImpl implements Joy { /** * * - * * @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)newValue); - return; - case Sensor_datatypesPackage.JOY__BUTTONS: - getButtons().clear(); - getButtons().addAll((Collection)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.JOY__HEADER: + setHeader((Header)newValue); + return; + case Sensor_datatypesPackage.JOY__AXES: + getAxes().clear(); + getAxes().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.JOY__BUTTONS: + getButtons().clear(); + getButtons().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -233,21 +213,20 @@ public class JoyImpl extends EObjectImpl implements Joy { /** * * - * * @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; + 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); } @@ -255,18 +234,17 @@ public class JoyImpl extends EObjectImpl implements Joy { /** * * - * * @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(); + 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); } @@ -274,13 +252,11 @@ public class JoyImpl extends EObjectImpl implements Joy { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (axes: "); 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 index 84b4ecb8712..0f8839364b1 100644 --- 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 @@ -1,28 +1,25 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -32,38 +29,26 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getHeader Header - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getAngle_min Angle - * min}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getAngle_max Angle - * max}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getAngle_increment - * Angle increment}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getTime_increment - * Time increment}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getScan_time Scan - * time}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getRange_min Range - * min}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getRange_max Range - * max}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getRange Range} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getIntensities - * Intensities}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getAngle_min Angle min}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getAngle_max Angle max}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getAngle_increment Angle increment}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getTime_increment Time increment}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getScan_time Scan time}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getRange_min Range min}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getRange_max Range max}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getRange Range}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.LaserScanImpl#getIntensities Intensities}
  • *
*

- * + * * @generated */ -public class LaserScanImpl extends EObjectImpl implements LaserScan { - +public class LaserScanImpl extends MinimalEObjectImpl.Container implements LaserScan { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -74,7 +59,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The default value of the '{@link #getAngle_min() Angle min}' attribute. * * - * * @see #getAngle_min() * @generated * @ordered @@ -85,7 +69,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The cached value of the '{@link #getAngle_min() Angle min}' attribute. * * - * * @see #getAngle_min() * @generated * @ordered @@ -96,7 +79,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The default value of the '{@link #getAngle_max() Angle max}' attribute. * * - * * @see #getAngle_max() * @generated * @ordered @@ -107,7 +89,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The cached value of the '{@link #getAngle_max() Angle max}' attribute. * * - * * @see #getAngle_max() * @generated * @ordered @@ -118,7 +99,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The default value of the '{@link #getAngle_increment() Angle increment}' attribute. * * - * * @see #getAngle_increment() * @generated * @ordered @@ -129,7 +109,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The cached value of the '{@link #getAngle_increment() Angle increment}' attribute. * * - * * @see #getAngle_increment() * @generated * @ordered @@ -140,7 +119,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The default value of the '{@link #getTime_increment() Time increment}' attribute. * * - * * @see #getTime_increment() * @generated * @ordered @@ -151,7 +129,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The cached value of the '{@link #getTime_increment() Time increment}' attribute. * * - * * @see #getTime_increment() * @generated * @ordered @@ -162,7 +139,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The default value of the '{@link #getScan_time() Scan time}' attribute. * * - * * @see #getScan_time() * @generated * @ordered @@ -173,7 +149,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The cached value of the '{@link #getScan_time() Scan time}' attribute. * * - * * @see #getScan_time() * @generated * @ordered @@ -184,7 +159,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The default value of the '{@link #getRange_min() Range min}' attribute. * * - * * @see #getRange_min() * @generated * @ordered @@ -195,7 +169,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The cached value of the '{@link #getRange_min() Range min}' attribute. * * - * * @see #getRange_min() * @generated * @ordered @@ -206,7 +179,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The default value of the '{@link #getRange_max() Range max}' attribute. * * - * * @see #getRange_max() * @generated * @ordered @@ -217,7 +189,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The cached value of the '{@link #getRange_max() Range max}' attribute. * * - * * @see #getRange_max() * @generated * @ordered @@ -228,7 +199,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The cached value of the '{@link #getRange() Range}' attribute list. * * - * * @see #getRange() * @generated * @ordered @@ -239,7 +209,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { * The cached value of the '{@link #getIntensities() Intensities}' attribute list. * * - * * @see #getIntensities() * @generated * @ordered @@ -249,7 +218,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ protected LaserScanImpl() { @@ -259,7 +227,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ @Override @@ -270,7 +237,6 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ public Header getHeader() { @@ -280,18 +246,14 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -299,27 +261,25 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.LASER_SCAN__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public float getAngle_min() { @@ -329,20 +289,18 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ public void setAngle_min(float newAngle_min) { float oldAngle_min = angle_min; angle_min = newAngle_min; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__ANGLE_MIN, oldAngle_min, angle_min)); } /** * * - * * @generated */ public float getAngle_max() { @@ -352,20 +310,18 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ public void setAngle_max(float newAngle_max) { float oldAngle_max = angle_max; angle_max = newAngle_max; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__ANGLE_MAX, oldAngle_max, angle_max)); } /** * * - * * @generated */ public float getAngle_increment() { @@ -375,20 +331,18 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ public void setAngle_increment(float newAngle_increment) { float oldAngle_increment = angle_increment; angle_increment = newAngle_increment; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__ANGLE_INCREMENT, oldAngle_increment, angle_increment)); } /** * * - * * @generated */ public float getTime_increment() { @@ -398,20 +352,18 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ public void setTime_increment(float newTime_increment) { float oldTime_increment = time_increment; time_increment = newTime_increment; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__TIME_INCREMENT, oldTime_increment, time_increment)); } /** * * - * * @generated */ public float getScan_time() { @@ -421,20 +373,18 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ public void setScan_time(float newScan_time) { float oldScan_time = scan_time; scan_time = newScan_time; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__SCAN_TIME, oldScan_time, scan_time)); } /** * * - * * @generated */ public float getRange_min() { @@ -444,20 +394,18 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ public void setRange_min(float newRange_min) { float oldRange_min = range_min; range_min = newRange_min; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__RANGE_MIN, oldRange_min, range_min)); } /** * * - * * @generated */ public float getRange_max() { @@ -467,24 +415,22 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ public void setRange_max(float newRange_max) { float oldRange_max = range_max; range_max = newRange_max; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.LASER_SCAN__RANGE_MAX, oldRange_max, range_max)); } /** * * - * * @generated */ public EList getRange() { - if(range == null) { + if (range == null) { range = new EDataTypeUniqueEList(Float.class, this, Sensor_datatypesPackage.LASER_SCAN__RANGE); } return range; @@ -493,11 +439,10 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ public EList getIntensities() { - if(intensities == null) { + if (intensities == null) { intensities = new EDataTypeUniqueEList(Float.class, this, Sensor_datatypesPackage.LASER_SCAN__INTENSITIES); } return intensities; @@ -506,14 +451,13 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Sensor_datatypesPackage.LASER_SCAN__HEADER: - return basicSetHeader(null, msgs); + switch (featureID) { + case Sensor_datatypesPackage.LASER_SCAN__HEADER: + return basicSetHeader(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -521,32 +465,31 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @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(); + 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); } @@ -554,45 +497,44 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @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((Float)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MAX: - setAngle_max((Float)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_INCREMENT: - setAngle_increment((Float)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__TIME_INCREMENT: - setTime_increment((Float)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__SCAN_TIME: - setScan_time((Float)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__RANGE_MIN: - setRange_min((Float)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__RANGE_MAX: - setRange_max((Float)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__RANGE: - getRange().clear(); - getRange().addAll((Collection)newValue); - return; - case Sensor_datatypesPackage.LASER_SCAN__INTENSITIES: - getIntensities().clear(); - getIntensities().addAll((Collection)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.LASER_SCAN__HEADER: + setHeader((Header)newValue); + return; + case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MIN: + setAngle_min((Float)newValue); + return; + case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MAX: + setAngle_max((Float)newValue); + return; + case Sensor_datatypesPackage.LASER_SCAN__ANGLE_INCREMENT: + setAngle_increment((Float)newValue); + return; + case Sensor_datatypesPackage.LASER_SCAN__TIME_INCREMENT: + setTime_increment((Float)newValue); + return; + case Sensor_datatypesPackage.LASER_SCAN__SCAN_TIME: + setScan_time((Float)newValue); + return; + case Sensor_datatypesPackage.LASER_SCAN__RANGE_MIN: + setRange_min((Float)newValue); + return; + case Sensor_datatypesPackage.LASER_SCAN__RANGE_MAX: + setRange_max((Float)newValue); + return; + case Sensor_datatypesPackage.LASER_SCAN__RANGE: + getRange().clear(); + getRange().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.LASER_SCAN__INTENSITIES: + getIntensities().clear(); + getIntensities().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -600,42 +542,41 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @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; + 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); } @@ -643,32 +584,31 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @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 != ANGLE_MIN_EDEFAULT; - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MAX: - return angle_max != ANGLE_MAX_EDEFAULT; - case Sensor_datatypesPackage.LASER_SCAN__ANGLE_INCREMENT: - return angle_increment != ANGLE_INCREMENT_EDEFAULT; - case Sensor_datatypesPackage.LASER_SCAN__TIME_INCREMENT: - return time_increment != TIME_INCREMENT_EDEFAULT; - case Sensor_datatypesPackage.LASER_SCAN__SCAN_TIME: - return scan_time != SCAN_TIME_EDEFAULT; - case Sensor_datatypesPackage.LASER_SCAN__RANGE_MIN: - return range_min != RANGE_MIN_EDEFAULT; - case Sensor_datatypesPackage.LASER_SCAN__RANGE_MAX: - return range_max != RANGE_MAX_EDEFAULT; - case Sensor_datatypesPackage.LASER_SCAN__RANGE: - return range != null && !range.isEmpty(); - case Sensor_datatypesPackage.LASER_SCAN__INTENSITIES: - return intensities != null && !intensities.isEmpty(); + switch (featureID) { + case Sensor_datatypesPackage.LASER_SCAN__HEADER: + return header != null; + case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MIN: + return angle_min != ANGLE_MIN_EDEFAULT; + case Sensor_datatypesPackage.LASER_SCAN__ANGLE_MAX: + return angle_max != ANGLE_MAX_EDEFAULT; + case Sensor_datatypesPackage.LASER_SCAN__ANGLE_INCREMENT: + return angle_increment != ANGLE_INCREMENT_EDEFAULT; + case Sensor_datatypesPackage.LASER_SCAN__TIME_INCREMENT: + return time_increment != TIME_INCREMENT_EDEFAULT; + case Sensor_datatypesPackage.LASER_SCAN__SCAN_TIME: + return scan_time != SCAN_TIME_EDEFAULT; + case Sensor_datatypesPackage.LASER_SCAN__RANGE_MIN: + return range_min != RANGE_MIN_EDEFAULT; + case Sensor_datatypesPackage.LASER_SCAN__RANGE_MAX: + return range_max != RANGE_MAX_EDEFAULT; + 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); } @@ -676,13 +616,11 @@ public class LaserScanImpl extends EObjectImpl implements LaserScan { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (angle_min: "); 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 index 203c431e39c..14656db1381 100644 --- 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 @@ -1,31 +1,28 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -35,35 +32,24 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getStatus Status - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getService Service - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getHeader Header - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getLatitude Latitude - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getLongitude - * Longitude}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getAltitude Altitude - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getPosition_covariance - * Position covariance}
  • - *
  • - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getPosition_covariance_type - * Position covariance type}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getStatus Status}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getService Service}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getLatitude Latitude}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getLongitude Longitude}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getAltitude Altitude}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getPosition_covariance Position covariance}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatFixImpl#getPosition_covariance_type Position covariance type}
  • *
*

- * + * * @generated */ -public class NavSatFixImpl extends EObjectImpl implements NavSatFix { - +public class NavSatFixImpl extends MinimalEObjectImpl.Container implements NavSatFix { /** * The default value of the '{@link #getStatus() Status}' attribute. * * - * * @see #getStatus() * @generated * @ordered @@ -74,7 +60,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The cached value of the '{@link #getStatus() Status}' attribute. * * - * * @see #getStatus() * @generated * @ordered @@ -85,7 +70,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The default value of the '{@link #getService() Service}' attribute. * * - * * @see #getService() * @generated * @ordered @@ -96,7 +80,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The cached value of the '{@link #getService() Service}' attribute. * * - * * @see #getService() * @generated * @ordered @@ -107,7 +90,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -118,7 +100,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The default value of the '{@link #getLatitude() Latitude}' attribute. * * - * * @see #getLatitude() * @generated * @ordered @@ -129,7 +110,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The cached value of the '{@link #getLatitude() Latitude}' attribute. * * - * * @see #getLatitude() * @generated * @ordered @@ -140,7 +120,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The default value of the '{@link #getLongitude() Longitude}' attribute. * * - * * @see #getLongitude() * @generated * @ordered @@ -151,7 +130,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The cached value of the '{@link #getLongitude() Longitude}' attribute. * * - * * @see #getLongitude() * @generated * @ordered @@ -162,7 +140,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The default value of the '{@link #getAltitude() Altitude}' attribute. * * - * * @see #getAltitude() * @generated * @ordered @@ -173,7 +150,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The cached value of the '{@link #getAltitude() Altitude}' attribute. * * - * * @see #getAltitude() * @generated * @ordered @@ -184,7 +160,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The cached value of the '{@link #getPosition_covariance() Position covariance}' attribute list. * * - * * @see #getPosition_covariance() * @generated * @ordered @@ -195,7 +170,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The default value of the '{@link #getPosition_covariance_type() Position covariance type}' attribute. * * - * * @see #getPosition_covariance_type() * @generated * @ordered @@ -206,7 +180,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { * The cached value of the '{@link #getPosition_covariance_type() Position covariance type}' attribute. * * - * * @see #getPosition_covariance_type() * @generated * @ordered @@ -216,7 +189,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @generated */ protected NavSatFixImpl() { @@ -226,7 +198,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @generated */ @Override @@ -237,7 +208,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @generated */ public STATUS_TYPE getStatus() { @@ -247,20 +217,18 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @generated */ public void setStatus(STATUS_TYPE newStatus) { STATUS_TYPE oldStatus = status; status = newStatus == null ? STATUS_EDEFAULT : newStatus; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__STATUS, oldStatus, status)); } /** * * - * * @generated */ public SERVICE_TYPE getService() { @@ -270,20 +238,18 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @generated */ public void setService(SERVICE_TYPE newService) { SERVICE_TYPE oldService = service; service = newService == null ? SERVICE_EDEFAULT : newService; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__SERVICE, oldService, service)); } /** * * - * * @generated */ public Header getHeader() { @@ -293,18 +259,14 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -312,27 +274,25 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.NAV_SAT_FIX__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public double getLatitude() { @@ -342,20 +302,18 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @generated */ public void setLatitude(double newLatitude) { double oldLatitude = latitude; latitude = newLatitude; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__LATITUDE, oldLatitude, latitude)); } /** * * - * * @generated */ public double getLongitude() { @@ -365,20 +323,18 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @generated */ public void setLongitude(double newLongitude) { double oldLongitude = longitude; longitude = newLongitude; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__LONGITUDE, oldLongitude, longitude)); } /** * * - * * @generated */ public double getAltitude() { @@ -388,24 +344,22 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @generated */ public void setAltitude(double newAltitude) { double oldAltitude = altitude; altitude = newAltitude; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__ALTITUDE, oldAltitude, altitude)); } /** * * - * * @generated */ public EList getPosition_covariance() { - if(position_covariance == null) { + if (position_covariance == null) { position_covariance = new EDataTypeUniqueEList(Double.class, this, Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE); } return position_covariance; @@ -414,7 +368,6 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @generated */ public COVARIANCE_TYPE getPosition_covariance_type() { @@ -424,27 +377,25 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @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()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE_TYPE, oldPosition_covariance_type, position_covariance_type)); } /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Sensor_datatypesPackage.NAV_SAT_FIX__HEADER: - return basicSetHeader(null, msgs); + switch (featureID) { + case Sensor_datatypesPackage.NAV_SAT_FIX__HEADER: + return basicSetHeader(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -452,28 +403,27 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @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(); + 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); } @@ -481,38 +431,37 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @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((Double)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__LONGITUDE: - setLongitude((Double)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__ALTITUDE: - setAltitude((Double)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE: - getPosition_covariance().clear(); - getPosition_covariance().addAll((Collection)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE_TYPE: - setPosition_covariance_type((COVARIANCE_TYPE)newValue); - return; + 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((Double)newValue); + return; + case Sensor_datatypesPackage.NAV_SAT_FIX__LONGITUDE: + setLongitude((Double)newValue); + return; + case Sensor_datatypesPackage.NAV_SAT_FIX__ALTITUDE: + setAltitude((Double)newValue); + return; + case Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE: + getPosition_covariance().clear(); + getPosition_covariance().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.NAV_SAT_FIX__POSITION_COVARIANCE_TYPE: + setPosition_covariance_type((COVARIANCE_TYPE)newValue); + return; } super.eSet(featureID, newValue); } @@ -520,36 +469,35 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @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; + 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); } @@ -557,28 +505,27 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @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 != LATITUDE_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_FIX__LONGITUDE: - return longitude != LONGITUDE_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_FIX__ALTITUDE: - return altitude != ALTITUDE_EDEFAULT; - 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; + 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 != LATITUDE_EDEFAULT; + case Sensor_datatypesPackage.NAV_SAT_FIX__LONGITUDE: + return longitude != LONGITUDE_EDEFAULT; + case Sensor_datatypesPackage.NAV_SAT_FIX__ALTITUDE: + return altitude != ALTITUDE_EDEFAULT; + 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); } @@ -586,13 +533,11 @@ public class NavSatFixImpl extends EObjectImpl implements NavSatFix { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (status: "); 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 index 478f423b693..36e5d6104f0 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,38 +19,26 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSTATUS_NO_FIX - * STATUS NO FIX}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSTATUS_FIX - * STATUS FIX}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSTATUS_SBAS_FIX - * STATUS SBAS FIX}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSTATUS_GBAS_FIX - * STATUS GBAS FIX}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getStatus Status - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSERVICE_GPS - * SERVICE GPS}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSERVICE_GLONASS - * SERVICE GLONASS}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSERVICE_COMPASS - * SERVICE COMPASS}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSERVICE_GALILEO - * SERVICE GALILEO}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getService - * Service}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSTATUS_NO_FIX STATUS NO FIX}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSTATUS_FIX STATUS FIX}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSTATUS_SBAS_FIX STATUS SBAS FIX}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSTATUS_GBAS_FIX STATUS GBAS FIX}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getStatus Status}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSERVICE_GPS SERVICE GPS}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSERVICE_GLONASS SERVICE GLONASS}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSERVICE_COMPASS SERVICE COMPASS}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getSERVICE_GALILEO SERVICE GALILEO}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.NavSatStatusImpl#getService Service}
  • *
*

- * + * * @generated */ -public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { - +public class NavSatStatusImpl extends MinimalEObjectImpl.Container implements NavSatStatus { /** * The default value of the '{@link #getSTATUS_NO_FIX() STATUS NO FIX}' attribute. * * - * * @see #getSTATUS_NO_FIX() * @generated * @ordered @@ -67,7 +49,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The cached value of the '{@link #getSTATUS_NO_FIX() STATUS NO FIX}' attribute. * * - * * @see #getSTATUS_NO_FIX() * @generated * @ordered @@ -78,7 +59,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The default value of the '{@link #getSTATUS_FIX() STATUS FIX}' attribute. * * - * * @see #getSTATUS_FIX() * @generated * @ordered @@ -89,7 +69,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The cached value of the '{@link #getSTATUS_FIX() STATUS FIX}' attribute. * * - * * @see #getSTATUS_FIX() * @generated * @ordered @@ -100,7 +79,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The default value of the '{@link #getSTATUS_SBAS_FIX() STATUS SBAS FIX}' attribute. * * - * * @see #getSTATUS_SBAS_FIX() * @generated * @ordered @@ -111,7 +89,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The cached value of the '{@link #getSTATUS_SBAS_FIX() STATUS SBAS FIX}' attribute. * * - * * @see #getSTATUS_SBAS_FIX() * @generated * @ordered @@ -122,7 +99,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The default value of the '{@link #getSTATUS_GBAS_FIX() STATUS GBAS FIX}' attribute. * * - * * @see #getSTATUS_GBAS_FIX() * @generated * @ordered @@ -133,7 +109,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The cached value of the '{@link #getSTATUS_GBAS_FIX() STATUS GBAS FIX}' attribute. * * - * * @see #getSTATUS_GBAS_FIX() * @generated * @ordered @@ -144,7 +119,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The default value of the '{@link #getStatus() Status}' attribute. * * - * * @see #getStatus() * @generated * @ordered @@ -155,7 +129,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The cached value of the '{@link #getStatus() Status}' attribute. * * - * * @see #getStatus() * @generated * @ordered @@ -166,7 +139,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The default value of the '{@link #getSERVICE_GPS() SERVICE GPS}' attribute. * * - * * @see #getSERVICE_GPS() * @generated * @ordered @@ -177,7 +149,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The cached value of the '{@link #getSERVICE_GPS() SERVICE GPS}' attribute. * * - * * @see #getSERVICE_GPS() * @generated * @ordered @@ -188,7 +159,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The default value of the '{@link #getSERVICE_GLONASS() SERVICE GLONASS}' attribute. * * - * * @see #getSERVICE_GLONASS() * @generated * @ordered @@ -199,7 +169,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The cached value of the '{@link #getSERVICE_GLONASS() SERVICE GLONASS}' attribute. * * - * * @see #getSERVICE_GLONASS() * @generated * @ordered @@ -210,7 +179,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The default value of the '{@link #getSERVICE_COMPASS() SERVICE COMPASS}' attribute. * * - * * @see #getSERVICE_COMPASS() * @generated * @ordered @@ -221,7 +189,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The cached value of the '{@link #getSERVICE_COMPASS() SERVICE COMPASS}' attribute. * * - * * @see #getSERVICE_COMPASS() * @generated * @ordered @@ -232,7 +199,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The default value of the '{@link #getSERVICE_GALILEO() SERVICE GALILEO}' attribute. * * - * * @see #getSERVICE_GALILEO() * @generated * @ordered @@ -243,7 +209,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The cached value of the '{@link #getSERVICE_GALILEO() SERVICE GALILEO}' attribute. * * - * * @see #getSERVICE_GALILEO() * @generated * @ordered @@ -254,7 +219,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The default value of the '{@link #getService() Service}' attribute. * * - * * @see #getService() * @generated * @ordered @@ -265,7 +229,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { * The cached value of the '{@link #getService() Service}' attribute. * * - * * @see #getService() * @generated * @ordered @@ -275,7 +238,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ protected NavSatStatusImpl() { @@ -285,7 +247,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ @Override @@ -296,7 +257,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ public char getSTATUS_NO_FIX() { @@ -306,7 +266,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ public char getSTATUS_FIX() { @@ -316,7 +275,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ public char getSTATUS_SBAS_FIX() { @@ -326,7 +284,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ public char getSTATUS_GBAS_FIX() { @@ -336,7 +293,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ public char getStatus() { @@ -346,20 +302,18 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ public void setStatus(char newStatus) { char oldStatus = status; status = newStatus; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS, oldStatus, status)); } /** * * - * * @generated */ public int getSERVICE_GPS() { @@ -369,7 +323,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ public int getSERVICE_GLONASS() { @@ -379,7 +332,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ public int getSERVICE_COMPASS() { @@ -389,7 +341,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ public int getSERVICE_GALILEO() { @@ -399,7 +350,6 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ public int getService() { @@ -409,45 +359,43 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ public void setService(int newService) { int oldService = service; service = newService; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE, oldService, service)); } /** * * - * * @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(); + 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); } @@ -455,18 +403,17 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS: - setStatus((Character)newValue); - return; - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE: - setService((Integer)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS: + setStatus((Character)newValue); + return; + case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE: + setService((Integer)newValue); + return; } super.eSet(featureID, newValue); } @@ -474,18 +421,17 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @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; + 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); } @@ -493,32 +439,31 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_NO_FIX: - return statuS_NO_FIX != STATUS_NO_FIX_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_FIX: - return statuS_FIX != STATUS_FIX_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_SBAS_FIX: - return statuS_SBAS_FIX != STATUS_SBAS_FIX_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_GBAS_FIX: - return statuS_GBAS_FIX != STATUS_GBAS_FIX_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS: - return status != STATUS_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_GPS: - return servicE_GPS != SERVICE_GPS_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_GLONASS: - return servicE_GLONASS != SERVICE_GLONASS_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_COMPASS: - return servicE_COMPASS != SERVICE_COMPASS_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_GALILEO: - return servicE_GALILEO != SERVICE_GALILEO_EDEFAULT; - case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE: - return service != SERVICE_EDEFAULT; + switch (featureID) { + case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_NO_FIX: + return statuS_NO_FIX != STATUS_NO_FIX_EDEFAULT; + case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_FIX: + return statuS_FIX != STATUS_FIX_EDEFAULT; + case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_SBAS_FIX: + return statuS_SBAS_FIX != STATUS_SBAS_FIX_EDEFAULT; + case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS_GBAS_FIX: + return statuS_GBAS_FIX != STATUS_GBAS_FIX_EDEFAULT; + case Sensor_datatypesPackage.NAV_SAT_STATUS__STATUS: + return status != STATUS_EDEFAULT; + case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_GPS: + return servicE_GPS != SERVICE_GPS_EDEFAULT; + case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_GLONASS: + return servicE_GLONASS != SERVICE_GLONASS_EDEFAULT; + case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_COMPASS: + return servicE_COMPASS != SERVICE_COMPASS_EDEFAULT; + case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE_GALILEO: + return servicE_GALILEO != SERVICE_GALILEO_EDEFAULT; + case Sensor_datatypesPackage.NAV_SAT_STATUS__SERVICE: + return service != SERVICE_EDEFAULT; } return super.eIsSet(featureID); } @@ -526,13 +471,11 @@ public class NavSatStatusImpl extends EObjectImpl implements NavSatStatus { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (STATUS_NO_FIX: "); 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 index 175ea611df1..e7a46770689 100644 --- 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 @@ -1,31 +1,28 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -35,36 +32,25 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getHeader Header - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getHeight Height - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getWidth Width - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getFields Fields - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#isIs_bigendian Is - * bigendian}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getPoint_step - * Point step}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getRow_step Row - * step}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getData Data} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#isIs_dense Is - * dense}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getHeight Height}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getWidth Width}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getFields Fields}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#isIs_bigendian Is bigendian}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getPoint_step Point step}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getRow_step Row step}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloud2Impl#isIs_dense Is dense}
  • *
*

- * + * * @generated */ -public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { - +public class PointCloud2Impl extends MinimalEObjectImpl.Container implements PointCloud2 { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -75,7 +61,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The default value of the '{@link #getHeight() Height}' attribute. * * - * * @see #getHeight() * @generated * @ordered @@ -86,7 +71,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The cached value of the '{@link #getHeight() Height}' attribute. * * - * * @see #getHeight() * @generated * @ordered @@ -97,7 +81,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The default value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -108,7 +91,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The cached value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -119,7 +101,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The cached value of the '{@link #getFields() Fields}' containment reference list. * * - * * @see #getFields() * @generated * @ordered @@ -130,7 +111,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The default value of the '{@link #isIs_bigendian() Is bigendian}' attribute. * * - * * @see #isIs_bigendian() * @generated * @ordered @@ -141,7 +121,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The cached value of the '{@link #isIs_bigendian() Is bigendian}' attribute. * * - * * @see #isIs_bigendian() * @generated * @ordered @@ -152,7 +131,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The default value of the '{@link #getPoint_step() Point step}' attribute. * * - * * @see #getPoint_step() * @generated * @ordered @@ -163,7 +141,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The cached value of the '{@link #getPoint_step() Point step}' attribute. * * - * * @see #getPoint_step() * @generated * @ordered @@ -174,7 +151,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The default value of the '{@link #getRow_step() Row step}' attribute. * * - * * @see #getRow_step() * @generated * @ordered @@ -185,7 +161,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The cached value of the '{@link #getRow_step() Row step}' attribute. * * - * * @see #getRow_step() * @generated * @ordered @@ -196,7 +171,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -207,7 +181,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The default value of the '{@link #isIs_dense() Is dense}' attribute. * * - * * @see #isIs_dense() * @generated * @ordered @@ -218,7 +191,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { * The cached value of the '{@link #isIs_dense() Is dense}' attribute. * * - * * @see #isIs_dense() * @generated * @ordered @@ -228,7 +200,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ protected PointCloud2Impl() { @@ -238,7 +209,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ @Override @@ -249,7 +219,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ public Header getHeader() { @@ -259,18 +228,14 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -278,27 +243,25 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.POINT_CLOUD2__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public long getHeight() { @@ -308,20 +271,18 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ public void setHeight(long newHeight) { long oldHeight = height; height = newHeight; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__HEIGHT, oldHeight, height)); } /** * * - * * @generated */ public long getWidth() { @@ -331,24 +292,22 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ public void setWidth(long newWidth) { long oldWidth = width; width = newWidth; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__WIDTH, oldWidth, width)); } /** * * - * * @generated */ public EList getFields() { - if(fields == null) { + if (fields == null) { fields = new EObjectContainmentEList(PointField.class, this, Sensor_datatypesPackage.POINT_CLOUD2__FIELDS); } return fields; @@ -357,7 +316,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ public boolean isIs_bigendian() { @@ -367,20 +325,18 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ public void setIs_bigendian(boolean newIs_bigendian) { boolean oldIs_bigendian = is_bigendian; is_bigendian = newIs_bigendian; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__IS_BIGENDIAN, oldIs_bigendian, is_bigendian)); } /** * * - * * @generated */ public long getPoint_step() { @@ -390,20 +346,18 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ public void setPoint_step(long newPoint_step) { long oldPoint_step = point_step; point_step = newPoint_step; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__POINT_STEP, oldPoint_step, point_step)); } /** * * - * * @generated */ public long getRow_step() { @@ -413,24 +367,22 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ public void setRow_step(long newRow_step) { long oldRow_step = row_step; row_step = newRow_step; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__ROW_STEP, oldRow_step, row_step)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Character.class, this, Sensor_datatypesPackage.POINT_CLOUD2__DATA); } return data; @@ -439,7 +391,6 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ public boolean isIs_dense() { @@ -449,29 +400,27 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ public void setIs_dense(boolean newIs_dense) { boolean oldIs_dense = is_dense; is_dense = newIs_dense; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD2__IS_DENSE, oldIs_dense, is_dense)); } /** * * - * * @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); + 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); } @@ -479,30 +428,29 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @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 isIs_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 isIs_dense(); + 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 isIs_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 isIs_dense(); } return super.eGet(featureID, resolve, coreType); } @@ -510,42 +458,41 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @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((Long)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__WIDTH: - setWidth((Long)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__FIELDS: - getFields().clear(); - getFields().addAll((Collection)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__IS_BIGENDIAN: - setIs_bigendian((Boolean)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__POINT_STEP: - setPoint_step((Long)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__ROW_STEP: - setRow_step((Long)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__DATA: - getData().clear(); - getData().addAll((Collection)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD2__IS_DENSE: - setIs_dense((Boolean)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.POINT_CLOUD2__HEADER: + setHeader((Header)newValue); + return; + case Sensor_datatypesPackage.POINT_CLOUD2__HEIGHT: + setHeight((Long)newValue); + return; + case Sensor_datatypesPackage.POINT_CLOUD2__WIDTH: + setWidth((Long)newValue); + return; + case Sensor_datatypesPackage.POINT_CLOUD2__FIELDS: + getFields().clear(); + getFields().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.POINT_CLOUD2__IS_BIGENDIAN: + setIs_bigendian((Boolean)newValue); + return; + case Sensor_datatypesPackage.POINT_CLOUD2__POINT_STEP: + setPoint_step((Long)newValue); + return; + case Sensor_datatypesPackage.POINT_CLOUD2__ROW_STEP: + setRow_step((Long)newValue); + return; + case Sensor_datatypesPackage.POINT_CLOUD2__DATA: + getData().clear(); + getData().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.POINT_CLOUD2__IS_DENSE: + setIs_dense((Boolean)newValue); + return; } super.eSet(featureID, newValue); } @@ -553,39 +500,38 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @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; + 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); } @@ -593,30 +539,29 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @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 != HEIGHT_EDEFAULT; - case Sensor_datatypesPackage.POINT_CLOUD2__WIDTH: - return width != WIDTH_EDEFAULT; - case Sensor_datatypesPackage.POINT_CLOUD2__FIELDS: - return fields != null && !fields.isEmpty(); - case Sensor_datatypesPackage.POINT_CLOUD2__IS_BIGENDIAN: - return is_bigendian != IS_BIGENDIAN_EDEFAULT; - case Sensor_datatypesPackage.POINT_CLOUD2__POINT_STEP: - return point_step != POINT_STEP_EDEFAULT; - case Sensor_datatypesPackage.POINT_CLOUD2__ROW_STEP: - return row_step != ROW_STEP_EDEFAULT; - case Sensor_datatypesPackage.POINT_CLOUD2__DATA: - return data != null && !data.isEmpty(); - case Sensor_datatypesPackage.POINT_CLOUD2__IS_DENSE: - return is_dense != IS_DENSE_EDEFAULT; + switch (featureID) { + case Sensor_datatypesPackage.POINT_CLOUD2__HEADER: + return header != null; + case Sensor_datatypesPackage.POINT_CLOUD2__HEIGHT: + return height != HEIGHT_EDEFAULT; + case Sensor_datatypesPackage.POINT_CLOUD2__WIDTH: + return width != WIDTH_EDEFAULT; + case Sensor_datatypesPackage.POINT_CLOUD2__FIELDS: + return fields != null && !fields.isEmpty(); + case Sensor_datatypesPackage.POINT_CLOUD2__IS_BIGENDIAN: + return is_bigendian != IS_BIGENDIAN_EDEFAULT; + case Sensor_datatypesPackage.POINT_CLOUD2__POINT_STEP: + return point_step != POINT_STEP_EDEFAULT; + case Sensor_datatypesPackage.POINT_CLOUD2__ROW_STEP: + return row_step != ROW_STEP_EDEFAULT; + case Sensor_datatypesPackage.POINT_CLOUD2__DATA: + return data != null && !data.isEmpty(); + case Sensor_datatypesPackage.POINT_CLOUD2__IS_DENSE: + return is_dense != IS_DENSE_EDEFAULT; } return super.eIsSet(featureID); } @@ -624,13 +569,11 @@ public class PointCloud2Impl extends EObjectImpl implements PointCloud2 { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (height: "); 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 index ad23efc8507..be17f4f405a 100644 --- 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 @@ -1,31 +1,29 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -35,24 +33,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl#getHeader Header - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl#getPoints Points - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl#getChannels - * Channels}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl#getPoints Points}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointCloudImpl#getChannels Channels}
  • *
*

- * + * * @generated */ -public class PointCloudImpl extends EObjectImpl implements PointCloud { - +public class PointCloudImpl extends MinimalEObjectImpl.Container implements PointCloud { /** * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -63,7 +56,6 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { * The cached value of the '{@link #getPoints() Points}' containment reference list. * * - * * @see #getPoints() * @generated * @ordered @@ -74,7 +66,6 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { * The cached value of the '{@link #getChannels() Channels}' containment reference list. * * - * * @see #getChannels() * @generated * @ordered @@ -84,7 +75,6 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { /** * * - * * @generated */ protected PointCloudImpl() { @@ -94,7 +84,6 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { /** * * - * * @generated */ @Override @@ -105,7 +94,6 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { /** * * - * * @generated */ public Header getHeader() { @@ -115,18 +103,14 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -134,31 +118,29 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.POINT_CLOUD__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_CLOUD__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public EList getPoints() { - if(points == null) { + if (points == null) { points = new EObjectContainmentEList(Point32.class, this, Sensor_datatypesPackage.POINT_CLOUD__POINTS); } return points; @@ -167,11 +149,10 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { /** * * - * * @generated */ public EList getChannels() { - if(channels == null) { + if (channels == null) { channels = new EObjectContainmentEList(ChannelFloat32.class, this, Sensor_datatypesPackage.POINT_CLOUD__CHANNELS); } return channels; @@ -180,18 +161,17 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { /** * * - * * @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); + 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); } @@ -199,18 +179,17 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { /** * * - * * @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(); + 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); } @@ -218,24 +197,23 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { /** * * - * * @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)newValue); - return; - case Sensor_datatypesPackage.POINT_CLOUD__CHANNELS: - getChannels().clear(); - getChannels().addAll((Collection)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.POINT_CLOUD__HEADER: + setHeader((Header)newValue); + return; + case Sensor_datatypesPackage.POINT_CLOUD__POINTS: + getPoints().clear(); + getPoints().addAll((Collection)newValue); + return; + case Sensor_datatypesPackage.POINT_CLOUD__CHANNELS: + getChannels().clear(); + getChannels().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -243,21 +221,20 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { /** * * - * * @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; + 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); } @@ -265,18 +242,17 @@ public class PointCloudImpl extends EObjectImpl implements PointCloud { /** * * - * * @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(); + 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); } 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 index d44f5e4e061..46ba9c66d32 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,25 +19,20 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl#getName Name}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl#getOffset Offset - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl#getDatatype - * Datatype}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl#getCount Count - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl#getName Name}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl#getOffset Offset}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl#getDatatype Datatype}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.PointFieldImpl#getCount Count}
  • *
*

- * + * * @generated */ -public class PointFieldImpl extends EObjectImpl implements PointField { - +public class PointFieldImpl extends MinimalEObjectImpl.Container implements PointField { /** * The default value of the '{@link #getName() Name}' attribute. * * - * * @see #getName() * @generated * @ordered @@ -54,7 +43,6 @@ public class PointFieldImpl extends EObjectImpl implements PointField { * The cached value of the '{@link #getName() Name}' attribute. * * - * * @see #getName() * @generated * @ordered @@ -65,7 +53,6 @@ public class PointFieldImpl extends EObjectImpl implements PointField { * The default value of the '{@link #getOffset() Offset}' attribute. * * - * * @see #getOffset() * @generated * @ordered @@ -76,7 +63,6 @@ public class PointFieldImpl extends EObjectImpl implements PointField { * The cached value of the '{@link #getOffset() Offset}' attribute. * * - * * @see #getOffset() * @generated * @ordered @@ -87,7 +73,6 @@ public class PointFieldImpl extends EObjectImpl implements PointField { * The default value of the '{@link #getDatatype() Datatype}' attribute. * * - * * @see #getDatatype() * @generated * @ordered @@ -98,7 +83,6 @@ public class PointFieldImpl extends EObjectImpl implements PointField { * The cached value of the '{@link #getDatatype() Datatype}' attribute. * * - * * @see #getDatatype() * @generated * @ordered @@ -109,7 +93,6 @@ public class PointFieldImpl extends EObjectImpl implements PointField { * The default value of the '{@link #getCount() Count}' attribute. * * - * * @see #getCount() * @generated * @ordered @@ -120,7 +103,6 @@ public class PointFieldImpl extends EObjectImpl implements PointField { * The cached value of the '{@link #getCount() Count}' attribute. * * - * * @see #getCount() * @generated * @ordered @@ -130,7 +112,6 @@ public class PointFieldImpl extends EObjectImpl implements PointField { /** * * - * * @generated */ protected PointFieldImpl() { @@ -140,7 +121,6 @@ public class PointFieldImpl extends EObjectImpl implements PointField { /** * * - * * @generated */ @Override @@ -151,7 +131,6 @@ public class PointFieldImpl extends EObjectImpl implements PointField { /** * * - * * @generated */ public String getName() { @@ -161,20 +140,18 @@ public class PointFieldImpl extends EObjectImpl implements PointField { /** * * - * * @generated */ public void setName(String newName) { String oldName = name; name = newName; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_FIELD__NAME, oldName, name)); } /** * * - * * @generated */ public long getOffset() { @@ -184,20 +161,18 @@ public class PointFieldImpl extends EObjectImpl implements PointField { /** * * - * * @generated */ public void setOffset(long newOffset) { long oldOffset = offset; offset = newOffset; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_FIELD__OFFSET, oldOffset, offset)); } /** * * - * * @generated */ public char getDatatype() { @@ -207,20 +182,18 @@ public class PointFieldImpl extends EObjectImpl implements PointField { /** * * - * * @generated */ public void setDatatype(char newDatatype) { char oldDatatype = datatype; datatype = newDatatype; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_FIELD__DATATYPE, oldDatatype, datatype)); } /** * * - * * @generated */ public long getCount() { @@ -230,33 +203,31 @@ public class PointFieldImpl extends EObjectImpl implements PointField { /** * * - * * @generated */ public void setCount(long newCount) { long oldCount = count; count = newCount; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.POINT_FIELD__COUNT, oldCount, count)); } /** * * - * * @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(); + 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); } @@ -264,24 +235,23 @@ public class PointFieldImpl extends EObjectImpl implements PointField { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Sensor_datatypesPackage.POINT_FIELD__NAME: - setName((String)newValue); - return; - case Sensor_datatypesPackage.POINT_FIELD__OFFSET: - setOffset((Long)newValue); - return; - case Sensor_datatypesPackage.POINT_FIELD__DATATYPE: - setDatatype((Character)newValue); - return; - case Sensor_datatypesPackage.POINT_FIELD__COUNT: - setCount((Long)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.POINT_FIELD__NAME: + setName((String)newValue); + return; + case Sensor_datatypesPackage.POINT_FIELD__OFFSET: + setOffset((Long)newValue); + return; + case Sensor_datatypesPackage.POINT_FIELD__DATATYPE: + setDatatype((Character)newValue); + return; + case Sensor_datatypesPackage.POINT_FIELD__COUNT: + setCount((Long)newValue); + return; } super.eSet(featureID, newValue); } @@ -289,24 +259,23 @@ public class PointFieldImpl extends EObjectImpl implements PointField { /** * * - * * @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; + 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); } @@ -314,20 +283,19 @@ public class PointFieldImpl extends EObjectImpl implements PointField { /** * * - * * @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 != OFFSET_EDEFAULT; - case Sensor_datatypesPackage.POINT_FIELD__DATATYPE: - return datatype != DATATYPE_EDEFAULT; - case Sensor_datatypesPackage.POINT_FIELD__COUNT: - return count != COUNT_EDEFAULT; + 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 != OFFSET_EDEFAULT; + case Sensor_datatypesPackage.POINT_FIELD__DATATYPE: + return datatype != DATATYPE_EDEFAULT; + case Sensor_datatypesPackage.POINT_FIELD__COUNT: + return count != COUNT_EDEFAULT; } return super.eIsSet(featureID); } @@ -335,13 +303,11 @@ public class PointFieldImpl extends EObjectImpl implements PointField { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (name: "); 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 index 18549f40b02..ec748380b3e 100644 --- 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 @@ -1,24 +1,19 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; /** @@ -28,32 +23,24 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getULTRASOUND ULTRASOUND - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getINFRARED INFRARED - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getHeader Header}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getRadiation_type - * Radiation type}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getField_of_view Field - * of view}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getMin_range Min range - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getMax_range Max range - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getRange Range}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getULTRASOUND ULTRASOUND}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getINFRARED INFRARED}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getHeader Header}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getRadiation_type Radiation type}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getField_of_view Field of view}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getMin_range Min range}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getMax_range Max range}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RangeImpl#getRange Range}
  • *
*

- * + * * @generated */ -public class RangeImpl extends EObjectImpl implements Range { - +public class RangeImpl extends MinimalEObjectImpl.Container implements Range { /** * The default value of the '{@link #getULTRASOUND() ULTRASOUND}' attribute. * * - * * @see #getULTRASOUND() * @generated * @ordered @@ -64,7 +51,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The cached value of the '{@link #getULTRASOUND() ULTRASOUND}' attribute. * * - * * @see #getULTRASOUND() * @generated * @ordered @@ -75,7 +61,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The default value of the '{@link #getINFRARED() INFRARED}' attribute. * * - * * @see #getINFRARED() * @generated * @ordered @@ -86,7 +71,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The cached value of the '{@link #getINFRARED() INFRARED}' attribute. * * - * * @see #getINFRARED() * @generated * @ordered @@ -97,7 +81,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The cached value of the '{@link #getHeader() Header}' containment reference. * * - * * @see #getHeader() * @generated * @ordered @@ -108,7 +91,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The default value of the '{@link #getRadiation_type() Radiation type}' attribute. * * - * * @see #getRadiation_type() * @generated * @ordered @@ -119,7 +101,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The cached value of the '{@link #getRadiation_type() Radiation type}' attribute. * * - * * @see #getRadiation_type() * @generated * @ordered @@ -130,7 +111,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The default value of the '{@link #getField_of_view() Field of view}' attribute. * * - * * @see #getField_of_view() * @generated * @ordered @@ -141,7 +121,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The cached value of the '{@link #getField_of_view() Field of view}' attribute. * * - * * @see #getField_of_view() * @generated * @ordered @@ -152,7 +131,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The default value of the '{@link #getMin_range() Min range}' attribute. * * - * * @see #getMin_range() * @generated * @ordered @@ -163,7 +141,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The cached value of the '{@link #getMin_range() Min range}' attribute. * * - * * @see #getMin_range() * @generated * @ordered @@ -174,7 +151,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The default value of the '{@link #getMax_range() Max range}' attribute. * * - * * @see #getMax_range() * @generated * @ordered @@ -185,7 +161,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The cached value of the '{@link #getMax_range() Max range}' attribute. * * - * * @see #getMax_range() * @generated * @ordered @@ -196,7 +171,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The default value of the '{@link #getRange() Range}' attribute. * * - * * @see #getRange() * @generated * @ordered @@ -207,7 +181,6 @@ public class RangeImpl extends EObjectImpl implements Range { * The cached value of the '{@link #getRange() Range}' attribute. * * - * * @see #getRange() * @generated * @ordered @@ -217,7 +190,6 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ protected RangeImpl() { @@ -227,7 +199,6 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ @Override @@ -238,7 +209,6 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ public char getULTRASOUND() { @@ -248,20 +218,18 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ public void setULTRASOUND(char newULTRASOUND) { char oldULTRASOUND = ultrasound; ultrasound = newULTRASOUND; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__ULTRASOUND, oldULTRASOUND, ultrasound)); } /** * * - * * @generated */ public char getINFRARED() { @@ -271,20 +239,18 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ public void setINFRARED(char newINFRARED) { char oldINFRARED = infrared; infrared = newINFRARED; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__INFRARED, oldINFRARED, infrared)); } /** * * - * * @generated */ public Header getHeader() { @@ -294,18 +260,14 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ public NotificationChain basicSetHeader(Header newHeader, NotificationChain msgs) { Header oldHeader = header; header = newHeader; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__HEADER, oldHeader, newHeader); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -313,27 +275,25 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ public void setHeader(Header newHeader) { - if(newHeader != header) { + if (newHeader != header) { NotificationChain msgs = null; - if(header != null) + if (header != null) msgs = ((InternalEObject)header).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Sensor_datatypesPackage.RANGE__HEADER, null, msgs); - if(newHeader != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__HEADER, newHeader, newHeader)); } /** * * - * * @generated */ public char getRadiation_type() { @@ -343,20 +303,18 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ public void setRadiation_type(char newRadiation_type) { char oldRadiation_type = radiation_type; radiation_type = newRadiation_type; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__RADIATION_TYPE, oldRadiation_type, radiation_type)); } /** * * - * * @generated */ public float getField_of_view() { @@ -366,20 +324,18 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ public void setField_of_view(float newField_of_view) { float oldField_of_view = field_of_view; field_of_view = newField_of_view; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__FIELD_OF_VIEW, oldField_of_view, field_of_view)); } /** * * - * * @generated */ public float getMin_range() { @@ -389,20 +345,18 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ public void setMin_range(float newMin_range) { float oldMin_range = min_range; min_range = newMin_range; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__MIN_RANGE, oldMin_range, min_range)); } /** * * - * * @generated */ public float getMax_range() { @@ -412,20 +366,18 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ public void setMax_range(float newMax_range) { float oldMax_range = max_range; max_range = newMax_range; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__MAX_RANGE, oldMax_range, max_range)); } /** * * - * * @generated */ public float getRange() { @@ -435,27 +387,25 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ public void setRange(float newRange) { float oldRange = range; range = newRange; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.RANGE__RANGE, oldRange, range)); } /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Sensor_datatypesPackage.RANGE__HEADER: - return basicSetHeader(null, msgs); + switch (featureID) { + case Sensor_datatypesPackage.RANGE__HEADER: + return basicSetHeader(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -463,28 +413,27 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @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(); + 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); } @@ -492,36 +441,35 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Sensor_datatypesPackage.RANGE__ULTRASOUND: - setULTRASOUND((Character)newValue); - return; - case Sensor_datatypesPackage.RANGE__INFRARED: - setINFRARED((Character)newValue); - return; - case Sensor_datatypesPackage.RANGE__HEADER: - setHeader((Header)newValue); - return; - case Sensor_datatypesPackage.RANGE__RADIATION_TYPE: - setRadiation_type((Character)newValue); - return; - case Sensor_datatypesPackage.RANGE__FIELD_OF_VIEW: - setField_of_view((Float)newValue); - return; - case Sensor_datatypesPackage.RANGE__MIN_RANGE: - setMin_range((Float)newValue); - return; - case Sensor_datatypesPackage.RANGE__MAX_RANGE: - setMax_range((Float)newValue); - return; - case Sensor_datatypesPackage.RANGE__RANGE: - setRange((Float)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.RANGE__ULTRASOUND: + setULTRASOUND((Character)newValue); + return; + case Sensor_datatypesPackage.RANGE__INFRARED: + setINFRARED((Character)newValue); + return; + case Sensor_datatypesPackage.RANGE__HEADER: + setHeader((Header)newValue); + return; + case Sensor_datatypesPackage.RANGE__RADIATION_TYPE: + setRadiation_type((Character)newValue); + return; + case Sensor_datatypesPackage.RANGE__FIELD_OF_VIEW: + setField_of_view((Float)newValue); + return; + case Sensor_datatypesPackage.RANGE__MIN_RANGE: + setMin_range((Float)newValue); + return; + case Sensor_datatypesPackage.RANGE__MAX_RANGE: + setMax_range((Float)newValue); + return; + case Sensor_datatypesPackage.RANGE__RANGE: + setRange((Float)newValue); + return; } super.eSet(featureID, newValue); } @@ -529,36 +477,35 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @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; + 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); } @@ -566,28 +513,27 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Sensor_datatypesPackage.RANGE__ULTRASOUND: - return ultrasound != ULTRASOUND_EDEFAULT; - case Sensor_datatypesPackage.RANGE__INFRARED: - return infrared != INFRARED_EDEFAULT; - case Sensor_datatypesPackage.RANGE__HEADER: - return header != null; - case Sensor_datatypesPackage.RANGE__RADIATION_TYPE: - return radiation_type != RADIATION_TYPE_EDEFAULT; - case Sensor_datatypesPackage.RANGE__FIELD_OF_VIEW: - return field_of_view != FIELD_OF_VIEW_EDEFAULT; - case Sensor_datatypesPackage.RANGE__MIN_RANGE: - return min_range != MIN_RANGE_EDEFAULT; - case Sensor_datatypesPackage.RANGE__MAX_RANGE: - return max_range != MAX_RANGE_EDEFAULT; - case Sensor_datatypesPackage.RANGE__RANGE: - return range != RANGE_EDEFAULT; + switch (featureID) { + case Sensor_datatypesPackage.RANGE__ULTRASOUND: + return ultrasound != ULTRASOUND_EDEFAULT; + case Sensor_datatypesPackage.RANGE__INFRARED: + return infrared != INFRARED_EDEFAULT; + case Sensor_datatypesPackage.RANGE__HEADER: + return header != null; + case Sensor_datatypesPackage.RANGE__RADIATION_TYPE: + return radiation_type != RADIATION_TYPE_EDEFAULT; + case Sensor_datatypesPackage.RANGE__FIELD_OF_VIEW: + return field_of_view != FIELD_OF_VIEW_EDEFAULT; + case Sensor_datatypesPackage.RANGE__MIN_RANGE: + return min_range != MIN_RANGE_EDEFAULT; + case Sensor_datatypesPackage.RANGE__MAX_RANGE: + return max_range != MAX_RANGE_EDEFAULT; + case Sensor_datatypesPackage.RANGE__RANGE: + return range != RANGE_EDEFAULT; } return super.eIsSet(featureID); } @@ -595,13 +541,11 @@ public class RangeImpl extends EObjectImpl implements Range { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (ULTRASOUND: "); 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 index 316b1e162cd..795bc88d2c0 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,28 +19,21 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getX_offset - * Xoffset}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getY_offset - * Yoffset}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getHeight - * Height}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#isDo_rectify - * Do rectify}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getWidth - * Width}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getX_offset Xoffset}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getY_offset Yoffset}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getHeight Height}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#isDo_rectify Do rectify}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.impl.RegionOfInterestImpl#getWidth Width}
  • *
*

- * + * * @generated */ -public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInterest { - +public class RegionOfInterestImpl extends MinimalEObjectImpl.Container implements RegionOfInterest { /** * The default value of the '{@link #getX_offset() Xoffset}' attribute. * * - * * @see #getX_offset() * @generated * @ordered @@ -57,7 +44,6 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres * The cached value of the '{@link #getX_offset() Xoffset}' attribute. * * - * * @see #getX_offset() * @generated * @ordered @@ -68,7 +54,6 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres * The default value of the '{@link #getY_offset() Yoffset}' attribute. * * - * * @see #getY_offset() * @generated * @ordered @@ -79,7 +64,6 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres * The cached value of the '{@link #getY_offset() Yoffset}' attribute. * * - * * @see #getY_offset() * @generated * @ordered @@ -90,7 +74,6 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres * The default value of the '{@link #getHeight() Height}' attribute. * * - * * @see #getHeight() * @generated * @ordered @@ -101,7 +84,6 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres * The cached value of the '{@link #getHeight() Height}' attribute. * * - * * @see #getHeight() * @generated * @ordered @@ -112,7 +94,6 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres * The default value of the '{@link #isDo_rectify() Do rectify}' attribute. * * - * * @see #isDo_rectify() * @generated * @ordered @@ -123,7 +104,6 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres * The cached value of the '{@link #isDo_rectify() Do rectify}' attribute. * * - * * @see #isDo_rectify() * @generated * @ordered @@ -134,7 +114,6 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres * The default value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -145,7 +124,6 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres * The cached value of the '{@link #getWidth() Width}' attribute. * * - * * @see #getWidth() * @generated * @ordered @@ -155,7 +133,6 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres /** * * - * * @generated */ protected RegionOfInterestImpl() { @@ -165,7 +142,6 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres /** * * - * * @generated */ @Override @@ -176,7 +152,6 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres /** * * - * * @generated */ public long getX_offset() { @@ -186,20 +161,18 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres /** * * - * * @generated */ public void setX_offset(long newX_offset) { long oldX_offset = x_offset; x_offset = newX_offset; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.REGION_OF_INTEREST__XOFFSET, oldX_offset, x_offset)); } /** * * - * * @generated */ public long getY_offset() { @@ -209,20 +182,18 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres /** * * - * * @generated */ public void setY_offset(long newY_offset) { long oldY_offset = y_offset; y_offset = newY_offset; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.REGION_OF_INTEREST__YOFFSET, oldY_offset, y_offset)); } /** * * - * * @generated */ public long getHeight() { @@ -232,20 +203,18 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres /** * * - * * @generated */ public void setHeight(long newHeight) { long oldHeight = height; height = newHeight; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.REGION_OF_INTEREST__HEIGHT, oldHeight, height)); } /** * * - * * @generated */ public boolean isDo_rectify() { @@ -255,20 +224,18 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres /** * * - * * @generated */ public void setDo_rectify(boolean newDo_rectify) { boolean oldDo_rectify = do_rectify; do_rectify = newDo_rectify; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.REGION_OF_INTEREST__DO_RECTIFY, oldDo_rectify, do_rectify)); } /** * * - * * @generated */ public long getWidth() { @@ -278,35 +245,33 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres /** * * - * * @generated */ public void setWidth(long newWidth) { long oldWidth = width; width = newWidth; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Sensor_datatypesPackage.REGION_OF_INTEREST__WIDTH, oldWidth, width)); } /** * * - * * @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 isDo_rectify(); - case Sensor_datatypesPackage.REGION_OF_INTEREST__WIDTH: - return getWidth(); + 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 isDo_rectify(); + case Sensor_datatypesPackage.REGION_OF_INTEREST__WIDTH: + return getWidth(); } return super.eGet(featureID, resolve, coreType); } @@ -314,27 +279,26 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Sensor_datatypesPackage.REGION_OF_INTEREST__XOFFSET: - setX_offset((Long)newValue); - return; - case Sensor_datatypesPackage.REGION_OF_INTEREST__YOFFSET: - setY_offset((Long)newValue); - return; - case Sensor_datatypesPackage.REGION_OF_INTEREST__HEIGHT: - setHeight((Long)newValue); - return; - case Sensor_datatypesPackage.REGION_OF_INTEREST__DO_RECTIFY: - setDo_rectify((Boolean)newValue); - return; - case Sensor_datatypesPackage.REGION_OF_INTEREST__WIDTH: - setWidth((Long)newValue); - return; + switch (featureID) { + case Sensor_datatypesPackage.REGION_OF_INTEREST__XOFFSET: + setX_offset((Long)newValue); + return; + case Sensor_datatypesPackage.REGION_OF_INTEREST__YOFFSET: + setY_offset((Long)newValue); + return; + case Sensor_datatypesPackage.REGION_OF_INTEREST__HEIGHT: + setHeight((Long)newValue); + return; + case Sensor_datatypesPackage.REGION_OF_INTEREST__DO_RECTIFY: + setDo_rectify((Boolean)newValue); + return; + case Sensor_datatypesPackage.REGION_OF_INTEREST__WIDTH: + setWidth((Long)newValue); + return; } super.eSet(featureID, newValue); } @@ -342,27 +306,26 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres /** * * - * * @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; + 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); } @@ -370,22 +333,21 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Sensor_datatypesPackage.REGION_OF_INTEREST__XOFFSET: - return x_offset != XOFFSET_EDEFAULT; - case Sensor_datatypesPackage.REGION_OF_INTEREST__YOFFSET: - return y_offset != YOFFSET_EDEFAULT; - case Sensor_datatypesPackage.REGION_OF_INTEREST__HEIGHT: - return height != HEIGHT_EDEFAULT; - case Sensor_datatypesPackage.REGION_OF_INTEREST__DO_RECTIFY: - return do_rectify != DO_RECTIFY_EDEFAULT; - case Sensor_datatypesPackage.REGION_OF_INTEREST__WIDTH: - return width != WIDTH_EDEFAULT; + switch (featureID) { + case Sensor_datatypesPackage.REGION_OF_INTEREST__XOFFSET: + return x_offset != XOFFSET_EDEFAULT; + case Sensor_datatypesPackage.REGION_OF_INTEREST__YOFFSET: + return y_offset != YOFFSET_EDEFAULT; + case Sensor_datatypesPackage.REGION_OF_INTEREST__HEIGHT: + return height != HEIGHT_EDEFAULT; + case Sensor_datatypesPackage.REGION_OF_INTEREST__DO_RECTIFY: + return do_rectify != DO_RECTIFY_EDEFAULT; + case Sensor_datatypesPackage.REGION_OF_INTEREST__WIDTH: + return width != WIDTH_EDEFAULT; } return super.eIsSet(featureID); } @@ -393,13 +355,11 @@ public class RegionOfInterestImpl extends EObjectImpl implements RegionOfInteres /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (x_offset: "); 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 index 96e805e1080..fd38bb97412 100644 --- 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 @@ -1,70 +1,39 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.*; /** * * An implementation of the model Factory. * - * * @generated */ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_datatypesFactory { - /** * Creates the default factory implementation. * * - * * @generated */ public static Sensor_datatypesFactory init() { try { - Sensor_datatypesFactory theSensor_datatypesFactory = (Sensor_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory("http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/sensor_datatypes.ecore"); - if(theSensor_datatypesFactory != null) { + Sensor_datatypesFactory theSensor_datatypesFactory = (Sensor_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Sensor_datatypesPackage.eNS_URI); + if (theSensor_datatypesFactory != null) { return theSensor_datatypesFactory; } - } catch (Exception exception) { + } + catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new Sensor_datatypesFactoryImpl(); @@ -74,7 +43,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ * Creates an instance of the factory. * * - * * @generated */ public Sensor_datatypesFactoryImpl() { @@ -84,99 +52,76 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @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"); + 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"); } } /** * * - * * @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"); + 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"); } } /** * * - * * @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"); + 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"); } } /** * * - * * @generated */ public RegionOfInterest createRegionOfInterest() { @@ -187,7 +132,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public Range createRange() { @@ -198,7 +142,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public CameraInfo createCameraInfo() { @@ -209,7 +152,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public Imu createImu() { @@ -220,7 +162,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public LaserScan createLaserScan() { @@ -231,7 +172,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public Image createImage() { @@ -242,7 +182,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public ChannelFloat32 createChannelFloat32() { @@ -253,7 +192,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public CompressedImage createCompressedImage() { @@ -264,7 +202,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public PointCloud createPointCloud() { @@ -275,7 +212,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public PointField createPointField() { @@ -286,7 +222,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public PointCloud2 createPointCloud2() { @@ -297,7 +232,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public JointState createJointState() { @@ -308,7 +242,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public NavSatStatus createNavSatStatus() { @@ -319,7 +252,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public NavSatFix createNavSatFix() { @@ -330,7 +262,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public Joy createJoy() { @@ -341,7 +272,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public JoyFeedback createJoyFeedback() { @@ -352,7 +282,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public JoyFeedbackArray createJoyFeedbackArray() { @@ -363,7 +292,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public CarLikeOdometry createCarLikeOdometry() { @@ -374,7 +302,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public DifferentialOdometry createDifferentialOdometry() { @@ -385,20 +312,17 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @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() + "'"); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; } /** * * - * * @generated */ public String convertSTATUS_TYPEToString(EDataType eDataType, Object instanceValue) { @@ -408,20 +332,17 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @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() + "'"); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; } /** * * - * * @generated */ public String convertSERVICE_TYPEToString(EDataType eDataType, Object instanceValue) { @@ -431,20 +352,17 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @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() + "'"); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; } /** * * - * * @generated */ public String convertCOVARIANCE_TYPEToString(EDataType eDataType, Object instanceValue) { @@ -454,7 +372,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @generated */ public Sensor_datatypesPackage getSensor_datatypesPackage() { @@ -464,7 +381,6 @@ public class Sensor_datatypesFactoryImpl extends EFactoryImpl implements Sensor_ /** * * - * * @deprecated * @generated */ 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 index 70799ea6110..b02c0c2f2fe 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.sensor_datatypes.impl; import org.eclipse.emf.ecore.EAttribute; @@ -16,21 +7,37 @@ 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; @@ -52,23 +59,23 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp 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; /** * * An implementation of the model Package. * - * * @generated */ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_datatypesPackage { - /** * * - * * @generated */ private EClass regionOfInterestEClass = null; @@ -76,7 +83,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass rangeEClass = null; @@ -84,7 +90,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass cameraInfoEClass = null; @@ -92,7 +97,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass imuEClass = null; @@ -100,7 +104,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass laserScanEClass = null; @@ -108,7 +111,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass imageEClass = null; @@ -116,7 +118,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass channelFloat32EClass = null; @@ -124,7 +125,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass compressedImageEClass = null; @@ -132,7 +132,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass pointCloudEClass = null; @@ -140,7 +139,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass pointFieldEClass = null; @@ -148,7 +146,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass pointCloud2EClass = null; @@ -156,7 +153,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass jointStateEClass = null; @@ -164,7 +160,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass navSatStatusEClass = null; @@ -172,7 +167,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass navSatFixEClass = null; @@ -180,7 +174,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass joyEClass = null; @@ -188,7 +181,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass joyFeedbackEClass = null; @@ -196,7 +188,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass joyFeedbackArrayEClass = null; @@ -204,7 +195,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass carLikeOdometryEClass = null; @@ -212,7 +202,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EClass differentialOdometryEClass = null; @@ -220,7 +209,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EEnum statuS_TYPEEEnum = null; @@ -228,7 +216,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EEnum servicE_TYPEEEnum = null; @@ -236,19 +223,20 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private EEnum covariancE_TYPEEEnum = null; /** - * Creates an instance of the model Package, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the - * package + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. - *

- * 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. - * + *

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. + * + * * @see org.eclipse.emf.ecore.EPackage.Registry * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage#eNS_URI * @see #init() @@ -261,7 +249,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ private static boolean isInited = false; @@ -269,18 +256,17 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * - *

- * 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. - * + *

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. + * + * * @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); + 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()); @@ -325,7 +311,7 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ // 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; @@ -334,7 +320,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getRegionOfInterest() { @@ -344,7 +329,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getRegionOfInterest_X_offset() { @@ -354,7 +338,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getRegionOfInterest_Y_offset() { @@ -364,7 +347,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getRegionOfInterest_Height() { @@ -374,7 +356,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getRegionOfInterest_Do_rectify() { @@ -384,7 +365,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getRegionOfInterest_Width() { @@ -394,7 +374,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getRange() { @@ -404,7 +383,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getRange_ULTRASOUND() { @@ -414,7 +392,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getRange_INFRARED() { @@ -424,7 +401,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getRange_Header() { @@ -434,7 +410,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getRange_Radiation_type() { @@ -444,7 +419,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getRange_Field_of_view() { @@ -454,7 +428,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getRange_Min_range() { @@ -464,7 +437,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getRange_Max_range() { @@ -474,7 +446,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getRange_Range() { @@ -484,7 +455,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getCameraInfo() { @@ -494,7 +464,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getCameraInfo_Header() { @@ -504,7 +473,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCameraInfo_Height() { @@ -514,7 +482,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCameraInfo_Width() { @@ -524,7 +491,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCameraInfo_Distorsion_model() { @@ -534,7 +500,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCameraInfo_D() { @@ -544,7 +509,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCameraInfo_K() { @@ -554,7 +518,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCameraInfo_R() { @@ -564,7 +527,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCameraInfo_P() { @@ -574,7 +536,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCameraInfo_Binning_x() { @@ -584,7 +545,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCameraInfo_Binning_y() { @@ -594,7 +554,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getCameraInfo_Roi() { @@ -604,7 +563,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getImu() { @@ -614,7 +572,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getImu_Header() { @@ -624,7 +581,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getImu_Orientation() { @@ -634,7 +590,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getImu_Orientation_covariance() { @@ -644,7 +599,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getImu_Angular_velocity() { @@ -654,7 +608,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getImu_Angular_velocity_covariance() { @@ -664,7 +617,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getImu_Linear_acceleration() { @@ -674,7 +626,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getImu_Linear_acceleration_covariance() { @@ -684,7 +635,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getLaserScan() { @@ -694,7 +644,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getLaserScan_Header() { @@ -704,7 +653,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getLaserScan_Angle_min() { @@ -714,7 +662,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getLaserScan_Angle_max() { @@ -724,7 +671,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getLaserScan_Angle_increment() { @@ -734,7 +680,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getLaserScan_Time_increment() { @@ -744,7 +689,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getLaserScan_Scan_time() { @@ -754,7 +698,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getLaserScan_Range_min() { @@ -764,7 +707,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getLaserScan_Range_max() { @@ -774,7 +716,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getLaserScan_Range() { @@ -784,7 +725,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getLaserScan_Intensities() { @@ -794,7 +734,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getImage() { @@ -804,7 +743,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getImage_Header() { @@ -814,7 +752,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getImage_Height() { @@ -824,7 +761,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getImage_Width() { @@ -834,7 +770,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getImage_Encoding() { @@ -844,7 +779,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getImage_Is_bigendian() { @@ -854,7 +788,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getImage_Step() { @@ -864,7 +797,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getImage_Data() { @@ -874,7 +806,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getChannelFloat32() { @@ -884,7 +815,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getChannelFloat32_Name() { @@ -894,7 +824,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getChannelFloat32_Values() { @@ -904,7 +833,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getCompressedImage() { @@ -914,7 +842,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getCompressedImage_Header() { @@ -924,7 +851,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCompressedImage_Format() { @@ -934,7 +860,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCompressedImage_Data() { @@ -944,7 +869,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getPointCloud() { @@ -954,7 +878,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getPointCloud_Header() { @@ -964,7 +887,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getPointCloud_Points() { @@ -974,7 +896,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getPointCloud_Channels() { @@ -984,7 +905,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getPointField() { @@ -994,7 +914,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getPointField_Name() { @@ -1004,7 +923,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getPointField_Offset() { @@ -1014,7 +932,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getPointField_Datatype() { @@ -1024,7 +941,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getPointField_Count() { @@ -1034,7 +950,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getPointCloud2() { @@ -1044,7 +959,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getPointCloud2_Header() { @@ -1054,7 +968,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getPointCloud2_Height() { @@ -1064,7 +977,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getPointCloud2_Width() { @@ -1074,7 +986,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getPointCloud2_Fields() { @@ -1084,7 +995,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getPointCloud2_Is_bigendian() { @@ -1094,7 +1004,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getPointCloud2_Point_step() { @@ -1104,7 +1013,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getPointCloud2_Row_step() { @@ -1114,7 +1022,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getPointCloud2_Data() { @@ -1124,7 +1031,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getPointCloud2_Is_dense() { @@ -1134,7 +1040,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getJointState() { @@ -1144,7 +1049,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getJointState_Name() { @@ -1154,7 +1058,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getJointState_Position() { @@ -1164,7 +1067,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getJointState_Velocity() { @@ -1174,7 +1076,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getJointState_Effort() { @@ -1184,7 +1085,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getNavSatStatus() { @@ -1194,7 +1094,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatStatus_STATUS_NO_FIX() { @@ -1204,7 +1103,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatStatus_STATUS_FIX() { @@ -1214,7 +1112,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatStatus_STATUS_SBAS_FIX() { @@ -1224,7 +1121,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatStatus_STATUS_GBAS_FIX() { @@ -1234,7 +1130,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatStatus_Status() { @@ -1244,7 +1139,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatStatus_SERVICE_GPS() { @@ -1254,7 +1148,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatStatus_SERVICE_GLONASS() { @@ -1264,7 +1157,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatStatus_SERVICE_COMPASS() { @@ -1274,7 +1166,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatStatus_SERVICE_GALILEO() { @@ -1284,7 +1175,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatStatus_Service() { @@ -1294,7 +1184,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getNavSatFix() { @@ -1304,7 +1193,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatFix_Status() { @@ -1314,7 +1202,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatFix_Service() { @@ -1324,7 +1211,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getNavSatFix_Header() { @@ -1334,7 +1220,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatFix_Latitude() { @@ -1344,7 +1229,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatFix_Longitude() { @@ -1354,7 +1238,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatFix_Altitude() { @@ -1364,7 +1247,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatFix_Position_covariance() { @@ -1374,7 +1256,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getNavSatFix_Position_covariance_type() { @@ -1384,7 +1265,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getJoy() { @@ -1394,7 +1274,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getJoy_Header() { @@ -1404,7 +1283,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getJoy_Axes() { @@ -1414,7 +1292,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getJoy_Buttons() { @@ -1424,7 +1301,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getJoyFeedback() { @@ -1434,7 +1310,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getJoyFeedback_TYPE_LED() { @@ -1444,7 +1319,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getJoyFeedback_TYPE_RUMBLE() { @@ -1454,7 +1328,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getJoyFeedback_TYPE_BUZZER() { @@ -1464,7 +1337,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getJoyFeedback_Type() { @@ -1474,7 +1346,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getJoyFeedback_Id() { @@ -1484,7 +1355,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getJoyFeedback_Intensity() { @@ -1494,7 +1364,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getJoyFeedbackArray() { @@ -1504,7 +1373,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getJoyFeedbackArray_Array() { @@ -1514,7 +1382,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getCarLikeOdometry() { @@ -1524,7 +1391,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getCarLikeOdometry_Header() { @@ -1534,7 +1400,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCarLikeOdometry_Steering_angle() { @@ -1544,7 +1409,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCarLikeOdometry_Left_rear_wheel_distance() { @@ -1554,7 +1418,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCarLikeOdometry_Right_rear_wheel_distance() { @@ -1564,7 +1427,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCarLikeOdometry_Right_rear_wheel_velocity() { @@ -1574,7 +1436,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getCarLikeOdometry_Left_rear_wheel_velocity() { @@ -1584,7 +1445,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EClass getDifferentialOdometry() { @@ -1594,7 +1454,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EReference getDifferentialOdometry_Header() { @@ -1604,7 +1463,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getDifferentialOdometry_Right_distance() { @@ -1614,7 +1472,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getDifferentialOdometry_Left_distance() { @@ -1624,7 +1481,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getDifferentialOdometry_Left_velocity() { @@ -1634,7 +1490,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EAttribute getDifferentialOdometry_Right_velocity() { @@ -1644,7 +1499,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EEnum getSTATUS_TYPE() { @@ -1654,7 +1508,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EEnum getSERVICE_TYPE() { @@ -1664,7 +1517,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public EEnum getCOVARIANCE_TYPE() { @@ -1674,7 +1526,6 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @generated */ public Sensor_datatypesFactory getSensor_datatypesFactory() { @@ -1684,22 +1535,19 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @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. * * - * * @generated */ public void createPackageContents() { - if(isCreated) - return; + if (isCreated) return; isCreated = true; // Create classes and their features @@ -1862,22 +1710,19 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ /** * * - * * @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. * * - * * @generated */ public void initializePackageContents() { - if(isInitialized) - return; + if (isInitialized) return; isInitialized = true; // Initialize package @@ -1895,7 +1740,7 @@ public class Sensor_datatypesPackageImpl extends EPackageImpl implements Sensor_ // Add supertypes to classes - // Initialize classes and features; add operations and parameters + // 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); 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 index 210859a9b2d..3c82ceea9db 100644 --- 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 @@ -1,57 +1,29 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.*; /** * * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage * @generated */ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { - /** * The cached model package. * * - * * @generated */ protected static Sensor_datatypesPackage modelPackage; @@ -60,11 +32,10 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { * Creates an instance of the adapter factory. * * - * * @generated */ public Sensor_datatypesAdapterFactory() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Sensor_datatypesPackage.eINSTANCE; } } @@ -74,16 +45,15 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { * * This implementation returns true if the object is either the model's package or is an instance object of the model. * - * * @return whether this factory is applicable for the type of the object. * @generated */ @Override public boolean isFactoryForType(Object object) { - if(object == modelPackage) { + if (object == modelPackage) { return true; } - if(object instanceof EObject) { + if (object instanceof EObject) { return ((EObject)object).eClass().getEPackage() == modelPackage; } return false; @@ -93,119 +63,97 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { * The switch that delegates to the createXXX methods. * * - * * @generated */ - protected Sensor_datatypesSwitch modelSwitch = new Sensor_datatypesSwitch() { - - @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(); - } - }; + protected Sensor_datatypesSwitch modelSwitch = + new Sensor_datatypesSwitch() { + @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 target. * * - * - * @param target - * the object to adapt. + * @param target the object to adapt. * @return the adapter for the target. * @generated */ @@ -216,14 +164,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest - * Region Of Interest}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest Region Of Interest}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.RegionOfInterest * @generated @@ -233,13 +178,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range Range}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range Range}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Range * @generated @@ -249,13 +192,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo Camera Info}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo Camera Info}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CameraInfo * @generated @@ -265,13 +206,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu Imu}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu Imu}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Imu * @generated @@ -281,13 +220,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan Laser Scan}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan Laser Scan}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.LaserScan * @generated @@ -297,13 +234,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image Image}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image Image}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Image * @generated @@ -313,13 +248,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32 Channel Float32}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32 Channel Float32}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.ChannelFloat32 * @generated @@ -329,14 +262,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage Compressed Image} - * '. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage Compressed Image}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CompressedImage * @generated @@ -346,13 +276,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud Point Cloud}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud Point Cloud}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud * @generated @@ -362,13 +290,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField Point Field}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField Point Field}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointField * @generated @@ -378,13 +304,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2 Point Cloud2}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2 Point Cloud2}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.PointCloud2 * @generated @@ -394,13 +318,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState Joint State}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState Joint State}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JointState * @generated @@ -410,13 +332,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus Nav Sat Status}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus Nav Sat Status}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatStatus * @generated @@ -426,13 +346,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix Nav Sat Fix}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix Nav Sat Fix}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.NavSatFix * @generated @@ -442,13 +360,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy Joy}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy Joy}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Joy * @generated @@ -458,13 +374,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback Joy Feedback}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback Joy Feedback}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedback * @generated @@ -474,14 +388,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray - * Joy Feedback Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray Joy Feedback Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.JoyFeedbackArray * @generated @@ -491,14 +402,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry Car Like Odometry} - * '. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry Car Like Odometry}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.CarLikeOdometry * @generated @@ -508,14 +416,11 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry - * Differential Odometry}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry Differential Odometry}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.DifferentialOdometry * @generated @@ -529,7 +434,6 @@ public class Sensor_datatypesAdapterFactory extends AdapterFactoryImpl { * * This default implementation returns null. * - * * @return the new adapter. * @generated */ 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 index 89a6d9d20fe..ca28691f081 100644 --- 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 @@ -1,60 +1,32 @@ -/***************************************************************************** - * 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.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; + +import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.*; /** * * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for each class of the model, + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX 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. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.sensor_datatypes.Sensor_datatypesPackage * @generated */ public class Sensor_datatypesSwitch extends Switch { - /** * The cached model package * * - * * @generated */ protected static Sensor_datatypesPackage modelPackage; @@ -63,11 +35,10 @@ public class Sensor_datatypesSwitch extends Switch { * Creates an instance of the switch. * * - * * @generated */ public Sensor_datatypesSwitch() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Sensor_datatypesPackage.eINSTANCE; } } @@ -76,7 +47,6 @@ public class Sensor_datatypesSwitch extends Switch { * Checks whether this is a switch for the given package. * * - * * @parameter ePackage the package in question. * @return whether this is a switch for the given package. * @generated @@ -90,167 +60,127 @@ public class Sensor_datatypesSwitch extends Switch { * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. * * - * * @return the first non-null result returned by a caseXXX 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); + 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); } } @@ -260,9 +190,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Region Of Interest'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -277,9 +205,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Range'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -294,9 +220,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Camera Info'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -311,9 +235,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Imu'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -328,9 +250,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Laser Scan'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -345,9 +265,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Image'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -362,9 +280,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Channel Float32'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -379,9 +295,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Compressed Image'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -396,9 +310,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Point Cloud'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -413,9 +325,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Point Field'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -430,9 +340,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Point Cloud2'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -447,9 +355,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Joint State'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -464,9 +370,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Nav Sat Status'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -481,9 +385,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Nav Sat Fix'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -498,9 +400,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Joy'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -515,9 +415,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Joy Feedback'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -532,9 +430,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Joy Feedback Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -549,9 +445,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Car Like Odometry'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -566,9 +460,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Differential Odometry'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -583,9 +475,7 @@ public class Sensor_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch, but this is the last case anyway. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated 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 index 8f280c87144..6d31fced275 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Byte Multi Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getLayout Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getData Data}
  • *
*

- * + * * @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 'Layout' containment reference. * *

- * If the meaning of the 'Layout' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Layout' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layout' containment reference. * @see #setLayout(MultiArrayLayout) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getByteMultiArray_Layout() @@ -50,14 +41,10 @@ public interface ByteMultiArray extends EObject { MultiArrayLayout getLayout(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getLayout Layout}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getLayout Layout}' containment reference. * * - * - * @param value - * the new value of the 'Layout' containment reference. + * @param value the new value of the 'Layout' containment reference. * @see #getLayout() * @generated */ @@ -68,10 +55,10 @@ public interface ByteMultiArray extends EObject { * The list contents are of type {@link java.lang.Byte}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index 111eae22ee0..dad2738239a 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,48 +8,43 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Color RGBA'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getR R}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getG G}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getB B}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getA A}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getR R}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getG G}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getB B}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getA A}
  • *
*

- * + * * @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 'R' attribute. * *

- * If the meaning of the 'R' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'R' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'R' attribute. * @see #setR(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getR(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getR - * R}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getR R}' attribute. * * - * - * @param value - * the new value of the 'R' attribute. + * @param value the new value of the 'R' attribute. * @see #getR() * @generated */ @@ -68,27 +54,23 @@ public interface ColorRGBA extends EObject { * Returns the value of the 'G' attribute. * *

- * If the meaning of the 'G' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'G' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'G' attribute. * @see #setG(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getG(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getG - * G}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getG G}' attribute. * * - * - * @param value - * the new value of the 'G' attribute. + * @param value the new value of the 'G' attribute. * @see #getG() * @generated */ @@ -98,27 +80,23 @@ public interface ColorRGBA extends EObject { * Returns the value of the 'B' attribute. * *

- * If the meaning of the 'B' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'B' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'B' attribute. * @see #setB(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getB(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getB - * B}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getB B}' attribute. * * - * - * @param value - * the new value of the 'B' attribute. + * @param value the new value of the 'B' attribute. * @see #getB() * @generated */ @@ -128,27 +106,23 @@ public interface ColorRGBA extends EObject { * Returns the value of the 'A' attribute. * *

- * If the meaning of the 'A' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'A' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'A' attribute. * @see #setA(float) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32" required="true" ordered="false" * @generated */ float getA(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getA - * A}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getA A}' attribute. * * - * - * @param value - * the new value of the 'A' attribute. + * @param value the new value of the 'A' attribute. * @see #getA() * @generated */ 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 index f64c099cf45..0e7c2c2e03a 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Float32 Multi Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getLayout Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getData Data}
  • *
*

- * + * * @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 'Layout' containment reference. * *

- * If the meaning of the 'Layout' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Layout' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layout' containment reference. * @see #setLayout(MultiArrayLayout) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getFloat32MultiArray_Layout() @@ -50,14 +41,10 @@ public interface Float32MultiArray extends EObject { MultiArrayLayout getLayout(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getLayout Layout}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getLayout Layout}' containment reference. * * - * - * @param value - * the new value of the 'Layout' containment reference. + * @param value the new value of the 'Layout' containment reference. * @see #getLayout() * @generated */ @@ -68,10 +55,10 @@ public interface Float32MultiArray extends EObject { * The list contents are of type {@link java.lang.Float}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index 65093187aa8..ec8910f91e0 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Float64 Multi Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getLayout Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getData Data}
  • *
*

- * + * * @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 'Layout' containment reference. * *

- * If the meaning of the 'Layout' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Layout' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layout' containment reference. * @see #setLayout(MultiArrayLayout) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getFloat64MultiArray_Layout() @@ -50,14 +41,10 @@ public interface Float64MultiArray extends EObject { MultiArrayLayout getLayout(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getLayout Layout}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getLayout Layout}' containment reference. * * - * - * @param value - * the new value of the 'Layout' containment reference. + * @param value the new value of the 'Layout' containment reference. * @see #getLayout() * @generated */ @@ -68,10 +55,10 @@ public interface Float64MultiArray extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index 8ae3cf31586..d26c28d04d4 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.std_datatypes; import java.util.Date; @@ -19,47 +10,42 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Header'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getSeq Seq}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getStamp Stamp}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getFrame_id Frame id}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getSeq Seq}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getStamp Stamp}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getFrame_id Frame id}
  • *
*

- * + * * @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 'Seq' attribute. * *

- * If the meaning of the 'Seq' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Seq' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Seq' attribute. * @see #setSeq(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getSeq(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getSeq - * Seq}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getSeq Seq}' attribute. * * - * - * @param value - * the new value of the 'Seq' attribute. + * @param value the new value of the 'Seq' attribute. * @see #getSeq() * @generated */ @@ -69,27 +55,23 @@ public interface Header extends EObject { * Returns the value of the 'Stamp' attribute. * *

- * If the meaning of the 'Stamp' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Stamp' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Stamp' attribute. * @see #setStamp(Date) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Time" required="true" ordered="false" * @generated */ Date getStamp(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getStamp - * Stamp}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getStamp Stamp}' attribute. * * - * - * @param value - * the new value of the 'Stamp' attribute. + * @param value the new value of the 'Stamp' attribute. * @see #getStamp() * @generated */ @@ -99,27 +81,23 @@ public interface Header extends EObject { * Returns the value of the 'Frame id' attribute. * *

- * If the meaning of the 'Frame id' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Frame id' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Frame id' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getFrame_id(); /** - * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getFrame_id - * Frame id}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getFrame_id Frame id}' attribute. * * - * - * @param value - * the new value of the 'Frame id' attribute. + * @param value the new value of the 'Frame id' attribute. * @see #getFrame_id() * @generated */ 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 index a8952d180d9..fbf538a1537 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Int16 Multi Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getLayout Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getData Data}
  • *
*

- * + * * @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 'Layout' containment reference. * *

- * If the meaning of the 'Layout' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Layout' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layout' containment reference. * @see #setLayout(MultiArrayLayout) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt16MultiArray_Layout() @@ -50,14 +41,10 @@ public interface Int16MultiArray extends EObject { MultiArrayLayout getLayout(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getLayout Layout}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getLayout Layout}' containment reference. * * - * - * @param value - * the new value of the 'Layout' containment reference. + * @param value the new value of the 'Layout' containment reference. * @see #getLayout() * @generated */ @@ -68,10 +55,10 @@ public interface Int16MultiArray extends EObject { * The list contents are of type {@link java.lang.Integer}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index dffe8e72570..1adbd61c0dc 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Int32 Multi Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getLayout Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getData Data}
  • *
*

- * + * * @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 'Layout' containment reference. * *

- * If the meaning of the 'Layout' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Layout' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layout' containment reference. * @see #setLayout(MultiArrayLayout) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt32MultiArray_Layout() @@ -50,14 +41,10 @@ public interface Int32MultiArray extends EObject { MultiArrayLayout getLayout(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getLayout Layout}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getLayout Layout}' containment reference. * * - * - * @param value - * the new value of the 'Layout' containment reference. + * @param value the new value of the 'Layout' containment reference. * @see #getLayout() * @generated */ @@ -68,10 +55,10 @@ public interface Int32MultiArray extends EObject { * The list contents are of type {@link java.lang.Integer}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index 17b9f22e980..465d55bcf75 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Int64 Multi Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getLayout Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getData Data}
  • *
*

- * + * * @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 'Layout' containment reference. * *

- * If the meaning of the 'Layout' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Layout' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layout' containment reference. * @see #setLayout(MultiArrayLayout) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt64MultiArray_Layout() @@ -50,14 +41,10 @@ public interface Int64MultiArray extends EObject { MultiArrayLayout getLayout(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getLayout Layout}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getLayout Layout}' containment reference. * * - * - * @param value - * the new value of the 'Layout' containment reference. + * @param value the new value of the 'Layout' containment reference. * @see #getLayout() * @generated */ @@ -68,10 +55,10 @@ public interface Int64MultiArray extends EObject { * The list contents are of type {@link java.lang.Double}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index 915ef965060..5911db8692a 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Int8 Multi Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getLayout Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getData Data}
  • *
*

- * + * * @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 'Layout' containment reference. * *

- * If the meaning of the 'Layout' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Layout' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layout' containment reference. * @see #setLayout(MultiArrayLayout) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getInt8MultiArray_Layout() @@ -50,14 +41,10 @@ public interface Int8MultiArray extends EObject { MultiArrayLayout getLayout(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getLayout Layout}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getLayout Layout}' containment reference. * * - * - * @param value - * the new value of the 'Layout' containment reference. + * @param value the new value of the 'Layout' containment reference. * @see #getLayout() * @generated */ @@ -68,10 +55,10 @@ public interface Int8MultiArray extends EObject { * The list contents are of type {@link java.lang.Character}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index 094e8339fca..1b131fa32dd 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.ecore.EObject; @@ -17,49 +8,42 @@ import org.eclipse.emf.ecore.EObject; * * A representation of the model object 'Multi Array Dimension'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getLabel Label}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getSize Size}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getStride Stride} - *
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getLabel Label}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getSize Size}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getStride Stride}
  • *
*

- * + * * @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 'Label' attribute. * *

- * If the meaning of the 'Label' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Label' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Label' 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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.String" required="true" ordered="false" * @generated */ String getLabel(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getLabel Label}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getLabel Label}' attribute. * * - * - * @param value - * the new value of the 'Label' attribute. + * @param value the new value of the 'Label' attribute. * @see #getLabel() * @generated */ @@ -69,28 +53,23 @@ public interface MultiArrayDimension extends EObject { * Returns the value of the 'Size' attribute. * *

- * If the meaning of the 'Size' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Size' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Size' attribute. * @see #setSize(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getSize(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getSize Size}' - * attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getSize Size}' attribute. * * - * - * @param value - * the new value of the 'Size' attribute. + * @param value the new value of the 'Size' attribute. * @see #getSize() * @generated */ @@ -100,28 +79,23 @@ public interface MultiArrayDimension extends EObject { * Returns the value of the 'Stride' attribute. * *

- * If the meaning of the 'Stride' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Stride' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Stride' attribute. * @see #setStride(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getStride(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getStride Stride} - * ' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getStride Stride}' attribute. * * - * - * @param value - * the new value of the 'Stride' attribute. + * @param value the new value of the 'Stride' attribute. * @see #getStride() * @generated */ 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 index d68c34a6944..543c415b45f 100644 --- 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 @@ -1,49 +1,38 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Multi Array Layout'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getDim Dim}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getData_offset Data - * offset}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getDim Dim}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getData_offset Data offset}
  • *
*

- * + * * @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 'Dim' containment reference list. - * The list contents are of type - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension}. + * The list contents are of type {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension}. * *

- * If the meaning of the 'Dim' containment reference list isn't clear, there really should be more of a description here... + * If the meaning of the 'Dim' containment reference list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Dim' containment reference list. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getMultiArrayLayout_Dim() * @model containment="true" ordered="false" @@ -55,28 +44,23 @@ public interface MultiArrayLayout extends EObject { * Returns the value of the 'Data offset' attribute. * *

- * If the meaning of the 'Data offset' attribute isn't clear, there really should be more of a description here... + * If the meaning of the 'Data offset' attribute isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data offset' attribute. * @see #setData_offset(long) * @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" + * @model dataType="org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32" required="true" ordered="false" * @generated */ long getData_offset(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getData_offset - * Data offset}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getData_offset Data offset}' attribute. * * - * - * @param value - * the new value of the 'Data offset' attribute. + * @param value the new value of the 'Data offset' attribute. * @see #getData_offset() * @generated */ 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 index 761e2f9c76a..c6d4cb7e3cd 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.ecore.EFactory; @@ -18,17 +9,14 @@ import org.eclipse.emf.ecore.EFactory; * The Factory for the model. * It provides a create method for each non-abstract class of the model. * - * * @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. * * - * * @generated */ Std_datatypesFactory eINSTANCE = org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesFactoryImpl.init(); @@ -37,7 +25,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'Header'. * * - * * @return a new object of class 'Header'. * @generated */ @@ -47,7 +34,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'Multi Array Dimension'. * * - * * @return a new object of class 'Multi Array Dimension'. * @generated */ @@ -57,7 +43,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'Multi Array Layout'. * * - * * @return a new object of class 'Multi Array Layout'. * @generated */ @@ -67,7 +52,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'Byte Multi Array'. * * - * * @return a new object of class 'Byte Multi Array'. * @generated */ @@ -77,7 +61,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'Color RGBA'. * * - * * @return a new object of class 'Color RGBA'. * @generated */ @@ -87,7 +70,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'Float32 Multi Array'. * * - * * @return a new object of class 'Float32 Multi Array'. * @generated */ @@ -97,7 +79,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'Int32 Multi Array'. * * - * * @return a new object of class 'Int32 Multi Array'. * @generated */ @@ -107,7 +88,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'Int8 Multi Array'. * * - * * @return a new object of class 'Int8 Multi Array'. * @generated */ @@ -117,7 +97,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'Int16 Multi Array'. * * - * * @return a new object of class 'Int16 Multi Array'. * @generated */ @@ -127,7 +106,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'Int64 Multi Array'. * * - * * @return a new object of class 'Int64 Multi Array'. * @generated */ @@ -137,7 +115,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'Float64 Multi Array'. * * - * * @return a new object of class 'Float64 Multi Array'. * @generated */ @@ -147,7 +124,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'UInt64 Multi Array'. * * - * * @return a new object of class 'UInt64 Multi Array'. * @generated */ @@ -157,7 +133,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'UIint16 Multi Array'. * * - * * @return a new object of class 'UIint16 Multi Array'. * @generated */ @@ -167,7 +142,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'UInt32 Multi Array'. * * - * * @return a new object of class 'UInt32 Multi Array'. * @generated */ @@ -177,7 +151,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns a new object of class 'UInt8 Multi Array'. * * - * * @return a new object of class 'UInt8 Multi Array'. * @generated */ @@ -187,7 +160,6 @@ public interface Std_datatypesFactory extends EFactory { * Returns the package supported by this factory. * * - * * @return the package supported by this factory. * @generated */ 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 index 3c01012baee..4fbb3e97db9 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.ecore.EAttribute; @@ -22,24 +13,22 @@ import org.eclipse.emf.ecore.EReference; * The Package for the model. * It contains accessors for the meta objects to represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @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. * * - * * @generated */ String eNAME = "std_datatypes"; @@ -48,7 +37,6 @@ public interface Std_datatypesPackage extends EPackage { * The package namespace URI. * * - * * @generated */ String eNS_URI = "http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes.ecore"; @@ -57,7 +45,6 @@ public interface Std_datatypesPackage extends EPackage { * The package namespace name. * * - * * @generated */ String eNS_PREFIX = "RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes"; @@ -66,17 +53,14 @@ public interface Std_datatypesPackage extends EPackage { * The singleton instance of the package. * * - * * @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 - * Header}' class. + * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl Header}' class. * * - * * @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 @@ -87,7 +71,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Seq' attribute. * * - * * @generated * @ordered */ @@ -97,7 +80,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Stamp' attribute. * * - * * @generated * @ordered */ @@ -107,7 +89,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Frame id' attribute. * * - * * @generated * @ordered */ @@ -117,19 +98,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'Header' class. * * - * * @generated * @ordered */ int HEADER_FEATURE_COUNT = 3; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl - * Multi Array Dimension}' class. + * The number of operations of the 'Header' class. + * + * + * @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 Multi Array Dimension}' class. * * - * * @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 @@ -140,7 +126,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Label' attribute. * * - * * @generated * @ordered */ @@ -150,7 +135,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Size' attribute. * * - * * @generated * @ordered */ @@ -160,7 +144,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Stride' attribute. * * - * * @generated * @ordered */ @@ -170,19 +153,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'Multi Array Dimension' class. * * - * * @generated * @ordered */ int MULTI_ARRAY_DIMENSION_FEATURE_COUNT = 3; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayLayoutImpl - * Multi Array Layout}' class. + * The number of operations of the 'Multi Array Dimension' class. + * + * + * @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 Multi Array Layout}' class. * * - * * @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 @@ -193,7 +181,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Dim' containment reference list. * * - * * @generated * @ordered */ @@ -203,7 +190,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Data offset' attribute. * * - * * @generated * @ordered */ @@ -213,19 +199,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'Multi Array Layout' class. * * - * * @generated * @ordered */ int MULTI_ARRAY_LAYOUT_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ByteMultiArrayImpl - * Byte Multi Array}' class. + * The number of operations of the 'Multi Array Layout' class. + * + * + * @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 Byte Multi Array}' class. * * - * * @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 @@ -236,7 +227,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Layout' containment reference. * * - * * @generated * @ordered */ @@ -246,7 +236,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -256,19 +245,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'Byte Multi Array' class. * * - * * @generated * @ordered */ int BYTE_MULTI_ARRAY_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl Color RGBA}' - * class. + * The number of operations of the 'Byte Multi Array' class. + * + * + * @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 Color RGBA}' class. * * - * * @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 @@ -279,7 +273,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'R' attribute. * * - * * @generated * @ordered */ @@ -289,7 +282,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'G' attribute. * * - * * @generated * @ordered */ @@ -299,7 +291,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'B' attribute. * * - * * @generated * @ordered */ @@ -309,7 +300,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'A' attribute. * * - * * @generated * @ordered */ @@ -319,19 +309,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'Color RGBA' class. * * - * * @generated * @ordered */ int COLOR_RGBA_FEATURE_COUNT = 4; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float32MultiArrayImpl - * Float32 Multi Array}' class. + * The number of operations of the 'Color RGBA' class. + * + * + * @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 Float32 Multi Array}' class. * * - * * @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 @@ -342,7 +337,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Layout' containment reference. * * - * * @generated * @ordered */ @@ -352,7 +346,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -362,19 +355,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'Float32 Multi Array' class. * * - * * @generated * @ordered */ int FLOAT32_MULTI_ARRAY_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int32MultiArrayImpl - * Int32 Multi Array}' class. + * The number of operations of the 'Float32 Multi Array' class. + * + * + * @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 Int32 Multi Array}' class. * * - * * @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 @@ -385,7 +383,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Layout' containment reference. * * - * * @generated * @ordered */ @@ -395,7 +392,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -405,19 +401,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'Int32 Multi Array' class. * * - * * @generated * @ordered */ int INT32_MULTI_ARRAY_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int8MultiArrayImpl - * Int8 Multi Array}' class. + * The number of operations of the 'Int32 Multi Array' class. + * + * + * @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 Int8 Multi Array}' class. * * - * * @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 @@ -428,7 +429,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Layout' containment reference. * * - * * @generated * @ordered */ @@ -438,7 +438,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -448,19 +447,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'Int8 Multi Array' class. * * - * * @generated * @ordered */ int INT8_MULTI_ARRAY_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int16MultiArrayImpl - * Int16 Multi Array}' class. + * The number of operations of the 'Int8 Multi Array' class. + * + * + * @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 Int16 Multi Array}' class. * * - * * @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 @@ -471,7 +475,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Layout' containment reference. * * - * * @generated * @ordered */ @@ -481,7 +484,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -491,19 +493,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'Int16 Multi Array' class. * * - * * @generated * @ordered */ int INT16_MULTI_ARRAY_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int64MultiArrayImpl - * Int64 Multi Array}' class. + * The number of operations of the 'Int16 Multi Array' class. + * + * + * @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 Int64 Multi Array}' class. * * - * * @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 @@ -514,7 +521,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Layout' containment reference. * * - * * @generated * @ordered */ @@ -524,7 +530,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -534,19 +539,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'Int64 Multi Array' class. * * - * * @generated * @ordered */ int INT64_MULTI_ARRAY_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float64MultiArrayImpl - * Float64 Multi Array}' class. + * The number of operations of the 'Int64 Multi Array' class. + * + * + * @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 Float64 Multi Array}' class. * * - * * @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 @@ -557,7 +567,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Layout' containment reference. * * - * * @generated * @ordered */ @@ -567,7 +576,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -577,19 +585,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'Float64 Multi Array' class. * * - * * @generated * @ordered */ int FLOAT64_MULTI_ARRAY_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt64MultiArrayImpl - * UInt64 Multi Array}' class. + * The number of operations of the 'Float64 Multi Array' class. + * + * + * @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 UInt64 Multi Array}' class. * * - * * @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 @@ -600,7 +613,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Layout' containment reference. * * - * * @generated * @ordered */ @@ -610,7 +622,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -620,19 +631,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'UInt64 Multi Array' class. * * - * * @generated * @ordered */ int UINT64_MULTI_ARRAY_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UIint16MultiArrayImpl - * UIint16 Multi Array}' class. + * The number of operations of the 'UInt64 Multi Array' class. + * + * + * @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.UIint16MultiArrayImpl UIint16 Multi Array}' class. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UIint16MultiArrayImpl * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUIint16MultiArray() * @generated @@ -643,7 +659,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Layout' containment reference. * * - * * @generated * @ordered */ @@ -653,7 +668,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -663,19 +677,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'UIint16 Multi Array' class. * * - * * @generated * @ordered */ int UIINT16_MULTI_ARRAY_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl - * UInt32 Multi Array}' class. + * The number of operations of the 'UIint16 Multi Array' class. + * + * + * @generated + * @ordered + */ + int UIINT16_MULTI_ARRAY_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl UInt32 Multi Array}' class. * * - * * @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 @@ -686,7 +705,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Layout' containment reference. * * - * * @generated * @ordered */ @@ -696,7 +714,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -706,19 +723,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'UInt32 Multi Array' class. * * - * * @generated * @ordered */ int UINT32_MULTI_ARRAY_FEATURE_COUNT = 2; /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt8MultiArrayImpl - * UInt8 Multi Array}' class. + * The number of operations of the 'UInt32 Multi Array' class. + * + * + * @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 UInt8 Multi Array}' class. * * - * * @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 @@ -729,7 +751,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Layout' containment reference. * * - * * @generated * @ordered */ @@ -739,7 +760,6 @@ public interface Std_datatypesPackage extends EPackage { * The feature id for the 'Data' attribute list. * * - * * @generated * @ordered */ @@ -749,17 +769,24 @@ public interface Std_datatypesPackage extends EPackage { * The number of structural features of the 'UInt8 Multi Array' class. * * - * * @generated * @ordered */ int UINT8_MULTI_ARRAY_FEATURE_COUNT = 2; + /** + * The number of operations of the 'UInt8 Multi Array' class. + * + * + * @generated + * @ordered + */ + int UINT8_MULTI_ARRAY_OPERATION_COUNT = 0; + /** * The meta object id for the 'UInt32' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt32() * @generated */ @@ -769,7 +796,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'Time' data type. * * - * * @see java.util.Date * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getTime() * @generated @@ -780,7 +806,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'String' data type. * * - * * @see java.lang.String * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getString() * @generated @@ -791,7 +816,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'Byte' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getByte() * @generated */ @@ -801,7 +825,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'Float64' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getFloat64() * @generated */ @@ -811,7 +834,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'Int8' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt8() * @generated */ @@ -821,7 +843,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'Bool' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getBool() * @generated */ @@ -831,7 +852,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'UInt8' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt8() * @generated */ @@ -841,7 +861,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'UInt16' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt16() * @generated */ @@ -851,7 +870,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'Int32' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt32() * @generated */ @@ -861,7 +879,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'Int16' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt16() * @generated */ @@ -871,7 +888,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'Char' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getChar() * @generated */ @@ -881,7 +897,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'Duration' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getDuration() * @generated */ @@ -891,7 +906,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'Int64' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt64() * @generated */ @@ -901,7 +915,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'UInt64' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt64() * @generated */ @@ -911,7 +924,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object id for the 'Float32' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getFloat32() * @generated */ @@ -919,11 +931,9 @@ public interface Std_datatypesPackage extends EPackage { /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header - * Header}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header Header}'. * * - * * @return the meta object for class 'Header'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header * @generated @@ -931,11 +941,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getHeader(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getSeq Seq}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getSeq Seq}'. * * - * * @return the meta object for the attribute 'Seq'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getSeq() * @see #getHeader() @@ -944,11 +952,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getHeader_Seq(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getStamp Stamp}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getStamp Stamp}'. * * - * * @return the meta object for the attribute 'Stamp'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getStamp() * @see #getHeader() @@ -957,11 +963,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getHeader_Stamp(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getFrame_id Frame id}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getFrame_id Frame id}'. * * - * * @return the meta object for the attribute 'Frame id'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header#getFrame_id() * @see #getHeader() @@ -970,12 +974,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getHeader_Frame_id(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension - * Multi Array Dimension}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension Multi Array Dimension}'. * * - * * @return the meta object for class 'Multi Array Dimension'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension * @generated @@ -983,11 +984,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getMultiArrayDimension(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getLabel Label}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getLabel Label}'. * * - * * @return the meta object for the attribute 'Label'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getLabel() * @see #getMultiArrayDimension() @@ -996,11 +995,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getMultiArrayDimension_Label(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getSize Size}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getSize Size}'. * * - * * @return the meta object for the attribute 'Size'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getSize() * @see #getMultiArrayDimension() @@ -1009,12 +1006,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getMultiArrayDimension_Size(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getStride Stride} - * '. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getStride Stride}'. * * - * * @return the meta object for the attribute 'Stride'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension#getStride() * @see #getMultiArrayDimension() @@ -1023,12 +1017,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getMultiArrayDimension_Stride(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout Multi Array Layout} - * '. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout Multi Array Layout}'. * * - * * @return the meta object for class 'Multi Array Layout'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout * @generated @@ -1036,11 +1027,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getMultiArrayLayout(); /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getDim Dim}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getDim Dim}'. * * - * * @return the meta object for the containment reference list 'Dim'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getDim() * @see #getMultiArrayLayout() @@ -1049,12 +1038,9 @@ public interface Std_datatypesPackage extends EPackage { EReference getMultiArrayLayout_Dim(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getData_offset - * Data offset}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getData_offset Data offset}'. * * - * * @return the meta object for the attribute 'Data offset'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout#getData_offset() * @see #getMultiArrayLayout() @@ -1063,11 +1049,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getMultiArrayLayout_Data_offset(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray Byte Multi Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray Byte Multi Array}'. * * - * * @return the meta object for class 'Byte Multi Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray * @generated @@ -1075,11 +1059,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getByteMultiArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getLayout Layout}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getLayout Layout}'. * * - * * @return the meta object for the containment reference 'Layout'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getLayout() * @see #getByteMultiArray() @@ -1088,11 +1070,9 @@ public interface Std_datatypesPackage extends EPackage { EReference getByteMultiArray_Layout(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray#getData() * @see #getByteMultiArray() @@ -1101,11 +1081,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getByteMultiArray_Data(); /** - * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA - * Color RGBA}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA Color RGBA}'. * * - * * @return the meta object for class 'Color RGBA'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA * @generated @@ -1113,11 +1091,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getColorRGBA(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getR R}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getR R}'. * * - * * @return the meta object for the attribute 'R'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getR() * @see #getColorRGBA() @@ -1126,11 +1102,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getColorRGBA_R(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getG G}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getG G}'. * * - * * @return the meta object for the attribute 'G'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getG() * @see #getColorRGBA() @@ -1139,11 +1113,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getColorRGBA_G(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getB B}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getB B}'. * * - * * @return the meta object for the attribute 'B'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getB() * @see #getColorRGBA() @@ -1152,11 +1124,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getColorRGBA_B(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getA A}'. + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getA A}'. * * - * * @return the meta object for the attribute 'A'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA#getA() * @see #getColorRGBA() @@ -1165,12 +1135,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getColorRGBA_A(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray - * Float32 Multi Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray Float32 Multi Array}'. * * - * * @return the meta object for class 'Float32 Multi Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray * @generated @@ -1178,11 +1145,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getFloat32MultiArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getLayout Layout}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getLayout Layout}'. * * - * * @return the meta object for the containment reference 'Layout'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getLayout() * @see #getFloat32MultiArray() @@ -1191,11 +1156,9 @@ public interface Std_datatypesPackage extends EPackage { EReference getFloat32MultiArray_Layout(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray#getData() * @see #getFloat32MultiArray() @@ -1204,11 +1167,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getFloat32MultiArray_Data(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray Int32 Multi Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray Int32 Multi Array}'. * * - * * @return the meta object for class 'Int32 Multi Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray * @generated @@ -1216,11 +1177,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getInt32MultiArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getLayout Layout}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getLayout Layout}'. * * - * * @return the meta object for the containment reference 'Layout'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getLayout() * @see #getInt32MultiArray() @@ -1229,11 +1188,9 @@ public interface Std_datatypesPackage extends EPackage { EReference getInt32MultiArray_Layout(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray#getData() * @see #getInt32MultiArray() @@ -1242,11 +1199,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getInt32MultiArray_Data(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray Int8 Multi Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray Int8 Multi Array}'. * * - * * @return the meta object for class 'Int8 Multi Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray * @generated @@ -1254,11 +1209,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getInt8MultiArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getLayout Layout}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getLayout Layout}'. * * - * * @return the meta object for the containment reference 'Layout'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getLayout() * @see #getInt8MultiArray() @@ -1267,11 +1220,9 @@ public interface Std_datatypesPackage extends EPackage { EReference getInt8MultiArray_Layout(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray#getData() * @see #getInt8MultiArray() @@ -1280,11 +1231,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getInt8MultiArray_Data(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray Int16 Multi Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray Int16 Multi Array}'. * * - * * @return the meta object for class 'Int16 Multi Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray * @generated @@ -1292,11 +1241,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getInt16MultiArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getLayout Layout}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getLayout Layout}'. * * - * * @return the meta object for the containment reference 'Layout'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getLayout() * @see #getInt16MultiArray() @@ -1305,11 +1252,9 @@ public interface Std_datatypesPackage extends EPackage { EReference getInt16MultiArray_Layout(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray#getData() * @see #getInt16MultiArray() @@ -1318,11 +1263,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getInt16MultiArray_Data(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray Int64 Multi Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray Int64 Multi Array}'. * * - * * @return the meta object for class 'Int64 Multi Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray * @generated @@ -1330,11 +1273,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getInt64MultiArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getLayout Layout}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getLayout Layout}'. * * - * * @return the meta object for the containment reference 'Layout'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getLayout() * @see #getInt64MultiArray() @@ -1343,11 +1284,9 @@ public interface Std_datatypesPackage extends EPackage { EReference getInt64MultiArray_Layout(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray#getData() * @see #getInt64MultiArray() @@ -1356,12 +1295,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getInt64MultiArray_Data(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray - * Float64 Multi Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray Float64 Multi Array}'. * * - * * @return the meta object for class 'Float64 Multi Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray * @generated @@ -1369,11 +1305,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getFloat64MultiArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getLayout Layout}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getLayout Layout}'. * * - * * @return the meta object for the containment reference 'Layout'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getLayout() * @see #getFloat64MultiArray() @@ -1382,11 +1316,9 @@ public interface Std_datatypesPackage extends EPackage { EReference getFloat64MultiArray_Layout(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray#getData() * @see #getFloat64MultiArray() @@ -1395,12 +1327,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getFloat64MultiArray_Data(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray UInt64 Multi Array} - * '. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray UInt64 Multi Array}'. * * - * * @return the meta object for class 'UInt64 Multi Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray * @generated @@ -1408,11 +1337,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getUInt64MultiArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getLayout Layout}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getLayout Layout}'. * * - * * @return the meta object for the containment reference 'Layout'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getLayout() * @see #getUInt64MultiArray() @@ -1421,11 +1348,9 @@ public interface Std_datatypesPackage extends EPackage { EReference getUInt64MultiArray_Layout(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getData() * @see #getUInt64MultiArray() @@ -1434,12 +1359,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getUInt64MultiArray_Data(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray - * UIint16 Multi Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray UIint16 Multi Array}'. * * - * * @return the meta object for class 'UIint16 Multi Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray * @generated @@ -1447,11 +1369,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getUIint16MultiArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getLayout Layout}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getLayout Layout}'. * * - * * @return the meta object for the containment reference 'Layout'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getLayout() * @see #getUIint16MultiArray() @@ -1460,11 +1380,9 @@ public interface Std_datatypesPackage extends EPackage { EReference getUIint16MultiArray_Layout(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getData() * @see #getUIint16MultiArray() @@ -1473,12 +1391,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getUIint16MultiArray_Data(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray UInt32 Multi Array} - * '. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray UInt32 Multi Array}'. * * - * * @return the meta object for class 'UInt32 Multi Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray * @generated @@ -1486,11 +1401,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getUInt32MultiArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getLayout Layout}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getLayout Layout}'. * * - * * @return the meta object for the containment reference 'Layout'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getLayout() * @see #getUInt32MultiArray() @@ -1499,11 +1412,9 @@ public interface Std_datatypesPackage extends EPackage { EReference getUInt32MultiArray_Layout(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getData() * @see #getUInt32MultiArray() @@ -1512,11 +1423,9 @@ public interface Std_datatypesPackage extends EPackage { EAttribute getUInt32MultiArray_Data(); /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray UInt8 Multi Array}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray UInt8 Multi Array}'. * * - * * @return the meta object for class 'UInt8 Multi Array'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray * @generated @@ -1524,11 +1433,9 @@ public interface Std_datatypesPackage extends EPackage { EClass getUInt8MultiArray(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getLayout Layout}'. + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getLayout Layout}'. * * - * * @return the meta object for the containment reference 'Layout'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getLayout() * @see #getUInt8MultiArray() @@ -1537,11 +1444,9 @@ public interface Std_datatypesPackage extends EPackage { EReference getUInt8MultiArray_Layout(); /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getData Data}'. + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getData Data}'. * * - * * @return the meta object for the attribute list 'Data'. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getData() * @see #getUInt8MultiArray() @@ -1553,7 +1458,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'UInt32'. * * - * * @return the meta object for data type 'UInt32'. * @model instanceClass="long" * @generated @@ -1564,7 +1468,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type '{@link java.util.Date Time}'. * * - * * @return the meta object for data type 'Time'. * @see java.util.Date * @model instanceClass="java.util.Date" @@ -1576,7 +1479,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type '{@link java.lang.String String}'. * * - * * @return the meta object for data type 'String'. * @see java.lang.String * @model instanceClass="java.lang.String" @@ -1588,7 +1490,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'Byte'. * * - * * @return the meta object for data type 'Byte'. * @model instanceClass="byte" * @generated @@ -1599,7 +1500,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'Float64'. * * - * * @return the meta object for data type 'Float64'. * @model instanceClass="double" * @generated @@ -1610,7 +1510,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'Int8'. * * - * * @return the meta object for data type 'Int8'. * @model instanceClass="char" * @generated @@ -1621,7 +1520,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'Bool'. * * - * * @return the meta object for data type 'Bool'. * @model instanceClass="boolean" * @generated @@ -1632,7 +1530,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'UInt8'. * * - * * @return the meta object for data type 'UInt8'. * @model instanceClass="char" * @generated @@ -1643,7 +1540,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'UInt16'. * * - * * @return the meta object for data type 'UInt16'. * @model instanceClass="int" * @generated @@ -1654,7 +1550,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'Int32'. * * - * * @return the meta object for data type 'Int32'. * @model instanceClass="int" * @generated @@ -1665,7 +1560,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'Int16'. * * - * * @return the meta object for data type 'Int16'. * @model instanceClass="int" * @generated @@ -1676,7 +1570,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'Char'. * * - * * @return the meta object for data type 'Char'. * @model instanceClass="char" * @generated @@ -1687,7 +1580,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'Duration'. * * - * * @return the meta object for data type 'Duration'. * @model instanceClass="double" * @generated @@ -1698,7 +1590,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'Int64'. * * - * * @return the meta object for data type 'Int64'. * @model instanceClass="double" * @generated @@ -1709,7 +1600,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'UInt64'. * * - * * @return the meta object for data type 'UInt64'. * @model instanceClass="long" * @generated @@ -1720,7 +1610,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the meta object for data type 'Float32'. * * - * * @return the meta object for data type 'Float32'. * @model instanceClass="float" * @generated @@ -1731,7 +1620,6 @@ public interface Std_datatypesPackage extends EPackage { * Returns the factory that creates the instances of the model. * * - * * @return the factory that creates the instances of the model. * @generated */ @@ -1741,23 +1629,20 @@ public interface Std_datatypesPackage extends EPackage { * * Defines literals for the meta objects that represent *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • *
* - * * @generated */ interface Literals { - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl Header}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl Header}' class. * * - * * @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 @@ -1768,7 +1653,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Seq' attribute feature. * * - * * @generated */ EAttribute HEADER__SEQ = eINSTANCE.getHeader_Seq(); @@ -1777,7 +1661,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Stamp' attribute feature. * * - * * @generated */ EAttribute HEADER__STAMP = eINSTANCE.getHeader_Stamp(); @@ -1786,18 +1669,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Frame id' attribute feature. * * - * * @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 - * Multi Array Dimension}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl Multi Array Dimension}' class. * * - * * @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 @@ -1808,7 +1687,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Label' attribute feature. * * - * * @generated */ EAttribute MULTI_ARRAY_DIMENSION__LABEL = eINSTANCE.getMultiArrayDimension_Label(); @@ -1817,7 +1695,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Size' attribute feature. * * - * * @generated */ EAttribute MULTI_ARRAY_DIMENSION__SIZE = eINSTANCE.getMultiArrayDimension_Size(); @@ -1826,18 +1703,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Stride' attribute feature. * * - * * @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 - * Multi Array Layout}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayLayoutImpl Multi Array Layout}' class. * * - * * @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 @@ -1848,7 +1721,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Dim' containment reference list feature. * * - * * @generated */ EReference MULTI_ARRAY_LAYOUT__DIM = eINSTANCE.getMultiArrayLayout_Dim(); @@ -1857,18 +1729,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Data offset' attribute feature. * * - * * @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 - * Byte Multi Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ByteMultiArrayImpl Byte Multi Array}' class. * * - * * @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 @@ -1879,7 +1747,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Layout' containment reference feature. * * - * * @generated */ EReference BYTE_MULTI_ARRAY__LAYOUT = eINSTANCE.getByteMultiArray_Layout(); @@ -1888,18 +1755,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @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 Color RGBA}' - * class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl Color RGBA}' class. * * - * * @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 @@ -1910,7 +1773,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'R' attribute feature. * * - * * @generated */ EAttribute COLOR_RGBA__R = eINSTANCE.getColorRGBA_R(); @@ -1919,7 +1781,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'G' attribute feature. * * - * * @generated */ EAttribute COLOR_RGBA__G = eINSTANCE.getColorRGBA_G(); @@ -1928,7 +1789,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'B' attribute feature. * * - * * @generated */ EAttribute COLOR_RGBA__B = eINSTANCE.getColorRGBA_B(); @@ -1937,18 +1797,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'A' attribute feature. * * - * * @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 - * Float32 Multi Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float32MultiArrayImpl Float32 Multi Array}' class. * * - * * @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 @@ -1959,7 +1815,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Layout' containment reference feature. * * - * * @generated */ EReference FLOAT32_MULTI_ARRAY__LAYOUT = eINSTANCE.getFloat32MultiArray_Layout(); @@ -1968,18 +1823,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @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 - * Int32 Multi Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int32MultiArrayImpl Int32 Multi Array}' class. * * - * * @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 @@ -1990,7 +1841,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Layout' containment reference feature. * * - * * @generated */ EReference INT32_MULTI_ARRAY__LAYOUT = eINSTANCE.getInt32MultiArray_Layout(); @@ -1999,18 +1849,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @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 - * Int8 Multi Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int8MultiArrayImpl Int8 Multi Array}' class. * * - * * @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 @@ -2021,7 +1867,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Layout' containment reference feature. * * - * * @generated */ EReference INT8_MULTI_ARRAY__LAYOUT = eINSTANCE.getInt8MultiArray_Layout(); @@ -2030,18 +1875,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @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 - * Int16 Multi Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int16MultiArrayImpl Int16 Multi Array}' class. * * - * * @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 @@ -2052,7 +1893,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Layout' containment reference feature. * * - * * @generated */ EReference INT16_MULTI_ARRAY__LAYOUT = eINSTANCE.getInt16MultiArray_Layout(); @@ -2061,18 +1901,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @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 - * Int64 Multi Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int64MultiArrayImpl Int64 Multi Array}' class. * * - * * @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 @@ -2083,7 +1919,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Layout' containment reference feature. * * - * * @generated */ EReference INT64_MULTI_ARRAY__LAYOUT = eINSTANCE.getInt64MultiArray_Layout(); @@ -2092,18 +1927,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @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 - * Float64 Multi Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float64MultiArrayImpl Float64 Multi Array}' class. * * - * * @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 @@ -2114,7 +1945,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Layout' containment reference feature. * * - * * @generated */ EReference FLOAT64_MULTI_ARRAY__LAYOUT = eINSTANCE.getFloat64MultiArray_Layout(); @@ -2123,18 +1953,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @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 - * UInt64 Multi Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt64MultiArrayImpl UInt64 Multi Array}' class. * * - * * @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 @@ -2145,7 +1971,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Layout' containment reference feature. * * - * * @generated */ EReference UINT64_MULTI_ARRAY__LAYOUT = eINSTANCE.getUInt64MultiArray_Layout(); @@ -2154,18 +1979,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @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.UIint16MultiArrayImpl - * UIint16 Multi Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UIint16MultiArrayImpl UIint16 Multi Array}' class. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UIint16MultiArrayImpl * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUIint16MultiArray() * @generated @@ -2176,7 +1997,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Layout' containment reference feature. * * - * * @generated */ EReference UIINT16_MULTI_ARRAY__LAYOUT = eINSTANCE.getUIint16MultiArray_Layout(); @@ -2185,18 +2005,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @generated */ EAttribute UIINT16_MULTI_ARRAY__DATA = eINSTANCE.getUIint16MultiArray_Data(); /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl - * UInt32 Multi Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl UInt32 Multi Array}' class. * * - * * @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 @@ -2207,7 +2023,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Layout' containment reference feature. * * - * * @generated */ EReference UINT32_MULTI_ARRAY__LAYOUT = eINSTANCE.getUInt32MultiArray_Layout(); @@ -2216,18 +2031,14 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @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 - * UInt8 Multi Array}' class. + * The meta object literal for the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt8MultiArrayImpl UInt8 Multi Array}' class. * * - * * @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 @@ -2238,7 +2049,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Layout' containment reference feature. * * - * * @generated */ EReference UINT8_MULTI_ARRAY__LAYOUT = eINSTANCE.getUInt8MultiArray_Layout(); @@ -2247,7 +2057,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Data' attribute list feature. * * - * * @generated */ EAttribute UINT8_MULTI_ARRAY__DATA = eINSTANCE.getUInt8MultiArray_Data(); @@ -2256,7 +2065,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'UInt32' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt32() * @generated */ @@ -2266,7 +2074,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Time' data type. * * - * * @see java.util.Date * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getTime() * @generated @@ -2277,7 +2084,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'String' data type. * * - * * @see java.lang.String * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getString() * @generated @@ -2288,7 +2094,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Byte' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getByte() * @generated */ @@ -2298,7 +2103,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Float64' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getFloat64() * @generated */ @@ -2308,7 +2112,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Int8' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt8() * @generated */ @@ -2318,7 +2121,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Bool' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getBool() * @generated */ @@ -2328,7 +2130,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'UInt8' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt8() * @generated */ @@ -2338,7 +2139,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'UInt16' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt16() * @generated */ @@ -2348,7 +2148,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Int32' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt32() * @generated */ @@ -2358,7 +2157,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Int16' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt16() * @generated */ @@ -2368,7 +2166,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Char' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getChar() * @generated */ @@ -2378,7 +2175,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Duration' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getDuration() * @generated */ @@ -2388,7 +2184,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Int64' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getInt64() * @generated */ @@ -2398,7 +2193,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'UInt64' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getUInt64() * @generated */ @@ -2408,7 +2202,6 @@ public interface Std_datatypesPackage extends EPackage { * The meta object literal for the 'Float32' data type. * * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Std_datatypesPackageImpl#getFloat32() * @generated */ 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 index 568f6fe73ee..5f8ce23cb0c 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'UIint16 Multi Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getLayout Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getData Data}
  • *
*

- * + * * @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 'Layout' containment reference. * *

- * If the meaning of the 'Layout' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Layout' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layout' containment reference. * @see #setLayout(MultiArrayLayout) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUIint16MultiArray_Layout() @@ -50,14 +41,10 @@ public interface UIint16MultiArray extends EObject { MultiArrayLayout getLayout(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getLayout Layout}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray#getLayout Layout}' containment reference. * * - * - * @param value - * the new value of the 'Layout' containment reference. + * @param value the new value of the 'Layout' containment reference. * @see #getLayout() * @generated */ @@ -68,10 +55,10 @@ public interface UIint16MultiArray extends EObject { * The list contents are of type {@link java.lang.Integer}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index 04dfa906eb6..b002d5c58e1 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'UInt32 Multi Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getLayout Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getData Data}
  • *
*

- * + * * @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 'Layout' containment reference. * *

- * If the meaning of the 'Layout' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Layout' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layout' containment reference. * @see #setLayout(MultiArrayLayout) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt32MultiArray_Layout() @@ -50,14 +41,10 @@ public interface UInt32MultiArray extends EObject { MultiArrayLayout getLayout(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getLayout Layout}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray#getLayout Layout}' containment reference. * * - * - * @param value - * the new value of the 'Layout' containment reference. + * @param value the new value of the 'Layout' containment reference. * @see #getLayout() * @generated */ @@ -68,10 +55,10 @@ public interface UInt32MultiArray extends EObject { * The list contents are of type {@link java.lang.Long}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index 9d4379f4cac..48551ea15b1 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'UInt64 Multi Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getLayout Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getData Data}
  • *
*

- * + * * @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 'Layout' containment reference. * *

- * If the meaning of the 'Layout' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Layout' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layout' containment reference. * @see #setLayout(MultiArrayLayout) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt64MultiArray_Layout() @@ -50,14 +41,10 @@ public interface UInt64MultiArray extends EObject { MultiArrayLayout getLayout(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getLayout Layout}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray#getLayout Layout}' containment reference. * * - * - * @param value - * the new value of the 'Layout' containment reference. + * @param value the new value of the 'Layout' containment reference. * @see #getLayout() * @generated */ @@ -68,10 +55,10 @@ public interface UInt64MultiArray extends EObject { * The list contents are of type {@link java.lang.Long}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index 0995148e20f..a476d5129cd 100644 --- 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 @@ -1,46 +1,37 @@ -/***************************************************************************** - * 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.std_datatypes; import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'UInt8 Multi Array'. * - * + * *

* The following features are supported: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getLayout Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getData Data}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getData Data}
  • *
*

- * + * * @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 'Layout' containment reference. * *

- * If the meaning of the 'Layout' containment reference isn't clear, there really should be more of a description here... + * If the meaning of the 'Layout' containment reference isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Layout' containment reference. * @see #setLayout(MultiArrayLayout) * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#getUInt8MultiArray_Layout() @@ -50,14 +41,10 @@ public interface UInt8MultiArray extends EObject { MultiArrayLayout getLayout(); /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getLayout Layout}' - * containment reference. + * Sets the value of the '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray#getLayout Layout}' containment reference. * * - * - * @param value - * the new value of the 'Layout' containment reference. + * @param value the new value of the 'Layout' containment reference. * @see #getLayout() * @generated */ @@ -68,10 +55,10 @@ public interface UInt8MultiArray extends EObject { * The list contents are of type {@link java.lang.Character}. * *

- * If the meaning of the 'Data' attribute list isn't clear, there really should be more of a description here... + * If the meaning of the 'Data' attribute list isn't clear, + * there really should be more of a description here... *

* - * * @return the value of the 'Data' 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" 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 index b21b59f48b3..f1ef3393792 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -32,22 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ByteMultiArrayImpl#getLayout Layout - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ByteMultiArrayImpl#getData Data} - *
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ByteMultiArrayImpl#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ByteMultiArrayImpl#getData Data}
  • *
*

- * + * * @generated */ -public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { - +public class ByteMultiArrayImpl extends MinimalEObjectImpl.Container implements ByteMultiArray { /** * The cached value of the '{@link #getLayout() Layout}' containment reference. * * - * * @see #getLayout() * @generated * @ordered @@ -58,7 +50,6 @@ public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -68,7 +59,6 @@ public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { /** * * - * * @generated */ protected ByteMultiArrayImpl() { @@ -78,7 +68,6 @@ public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { /** * * - * * @generated */ @Override @@ -89,7 +78,6 @@ public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { /** * * - * * @generated */ public MultiArrayLayout getLayout() { @@ -99,18 +87,14 @@ public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { /** * * - * * @generated */ public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { MultiArrayLayout oldLayout = layout; layout = newLayout; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -118,31 +102,29 @@ public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { /** * * - * * @generated */ public void setLayout(MultiArrayLayout newLayout) { - if(newLayout != layout) { + if (newLayout != layout) { NotificationChain msgs = null; - if(layout != null) + if (layout != null) msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT, null, msgs); - if(newLayout != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Byte.class, this, Std_datatypesPackage.BYTE_MULTI_ARRAY__DATA); } return data; @@ -151,14 +133,13 @@ public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT: - return basicSetLayout(null, msgs); + switch (featureID) { + case Std_datatypesPackage.BYTE_MULTI_ARRAY__LAYOUT: + return basicSetLayout(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -166,16 +147,15 @@ public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { /** * * - * * @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(); + 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); } @@ -183,20 +163,19 @@ public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -204,18 +183,17 @@ public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { /** * * - * * @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; + 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); } @@ -223,16 +201,15 @@ public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { /** * * - * * @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(); + 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); } @@ -240,13 +217,11 @@ public class ByteMultiArrayImpl extends EObjectImpl implements ByteMultiArray { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data: "); 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 index dc581bf2732..b04c15f515c 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,22 +19,20 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl#getR R}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl#getG G}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl#getB B}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl#getA A}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl#getR R}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl#getG G}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl#getB B}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.ColorRGBAImpl#getA A}
  • *
*

- * + * * @generated */ -public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { - +public class ColorRGBAImpl extends MinimalEObjectImpl.Container implements ColorRGBA { /** * The default value of the '{@link #getR() R}' attribute. * * - * * @see #getR() * @generated * @ordered @@ -51,7 +43,6 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { * The cached value of the '{@link #getR() R}' attribute. * * - * * @see #getR() * @generated * @ordered @@ -62,7 +53,6 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { * The default value of the '{@link #getG() G}' attribute. * * - * * @see #getG() * @generated * @ordered @@ -73,7 +63,6 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { * The cached value of the '{@link #getG() G}' attribute. * * - * * @see #getG() * @generated * @ordered @@ -84,7 +73,6 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { * The default value of the '{@link #getB() B}' attribute. * * - * * @see #getB() * @generated * @ordered @@ -95,7 +83,6 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { * The cached value of the '{@link #getB() B}' attribute. * * - * * @see #getB() * @generated * @ordered @@ -106,7 +93,6 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { * The default value of the '{@link #getA() A}' attribute. * * - * * @see #getA() * @generated * @ordered @@ -117,7 +103,6 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { * The cached value of the '{@link #getA() A}' attribute. * * - * * @see #getA() * @generated * @ordered @@ -127,7 +112,6 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { /** * * - * * @generated */ protected ColorRGBAImpl() { @@ -137,7 +121,6 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { /** * * - * * @generated */ @Override @@ -148,7 +131,6 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { /** * * - * * @generated */ public float getR() { @@ -158,20 +140,18 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { /** * * - * * @generated */ public void setR(float newR) { float oldR = r; r = newR; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.COLOR_RGBA__R, oldR, r)); } /** * * - * * @generated */ public float getG() { @@ -181,20 +161,18 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { /** * * - * * @generated */ public void setG(float newG) { float oldG = g; g = newG; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.COLOR_RGBA__G, oldG, g)); } /** * * - * * @generated */ public float getB() { @@ -204,20 +182,18 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { /** * * - * * @generated */ public void setB(float newB) { float oldB = b; b = newB; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.COLOR_RGBA__B, oldB, b)); } /** * * - * * @generated */ public float getA() { @@ -227,33 +203,31 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { /** * * - * * @generated */ public void setA(float newA) { float oldA = a; a = newA; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.COLOR_RGBA__A, oldA, a)); } /** * * - * * @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(); + 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); } @@ -261,24 +235,23 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Std_datatypesPackage.COLOR_RGBA__R: - setR((Float)newValue); - return; - case Std_datatypesPackage.COLOR_RGBA__G: - setG((Float)newValue); - return; - case Std_datatypesPackage.COLOR_RGBA__B: - setB((Float)newValue); - return; - case Std_datatypesPackage.COLOR_RGBA__A: - setA((Float)newValue); - return; + switch (featureID) { + case Std_datatypesPackage.COLOR_RGBA__R: + setR((Float)newValue); + return; + case Std_datatypesPackage.COLOR_RGBA__G: + setG((Float)newValue); + return; + case Std_datatypesPackage.COLOR_RGBA__B: + setB((Float)newValue); + return; + case Std_datatypesPackage.COLOR_RGBA__A: + setA((Float)newValue); + return; } super.eSet(featureID, newValue); } @@ -286,24 +259,23 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { /** * * - * * @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; + 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); } @@ -311,20 +283,19 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Std_datatypesPackage.COLOR_RGBA__R: - return r != R_EDEFAULT; - case Std_datatypesPackage.COLOR_RGBA__G: - return g != G_EDEFAULT; - case Std_datatypesPackage.COLOR_RGBA__B: - return b != B_EDEFAULT; - case Std_datatypesPackage.COLOR_RGBA__A: - return a != A_EDEFAULT; + switch (featureID) { + case Std_datatypesPackage.COLOR_RGBA__R: + return r != R_EDEFAULT; + case Std_datatypesPackage.COLOR_RGBA__G: + return g != G_EDEFAULT; + case Std_datatypesPackage.COLOR_RGBA__B: + return b != B_EDEFAULT; + case Std_datatypesPackage.COLOR_RGBA__A: + return a != A_EDEFAULT; } return super.eIsSet(featureID); } @@ -332,13 +303,11 @@ public class ColorRGBAImpl extends EObjectImpl implements ColorRGBA { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (r: "); 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 index db7e6f9359e..48daa890cee 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -32,22 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float32MultiArrayImpl#getLayout - * Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float32MultiArrayImpl#getData Data - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float32MultiArrayImpl#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float32MultiArrayImpl#getData Data}
  • *
*

- * + * * @generated */ -public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiArray { - +public class Float32MultiArrayImpl extends MinimalEObjectImpl.Container implements Float32MultiArray { /** * The cached value of the '{@link #getLayout() Layout}' containment reference. * * - * * @see #getLayout() * @generated * @ordered @@ -58,7 +50,6 @@ public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiAr * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -68,7 +59,6 @@ public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiAr /** * * - * * @generated */ protected Float32MultiArrayImpl() { @@ -78,7 +68,6 @@ public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiAr /** * * - * * @generated */ @Override @@ -89,7 +78,6 @@ public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiAr /** * * - * * @generated */ public MultiArrayLayout getLayout() { @@ -99,18 +87,14 @@ public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiAr /** * * - * * @generated */ public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { MultiArrayLayout oldLayout = layout; layout = newLayout; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -118,31 +102,29 @@ public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiAr /** * * - * * @generated */ public void setLayout(MultiArrayLayout newLayout) { - if(newLayout != layout) { + if (newLayout != layout) { NotificationChain msgs = null; - if(layout != null) + if (layout != null) msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT, null, msgs); - if(newLayout != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Float.class, this, Std_datatypesPackage.FLOAT32_MULTI_ARRAY__DATA); } return data; @@ -151,14 +133,13 @@ public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiAr /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT: - return basicSetLayout(null, msgs); + switch (featureID) { + case Std_datatypesPackage.FLOAT32_MULTI_ARRAY__LAYOUT: + return basicSetLayout(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -166,16 +147,15 @@ public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiAr /** * * - * * @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(); + 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); } @@ -183,20 +163,19 @@ public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiAr /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -204,18 +183,17 @@ public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiAr /** * * - * * @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; + 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); } @@ -223,16 +201,15 @@ public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiAr /** * * - * * @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(); + 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); } @@ -240,13 +217,11 @@ public class Float32MultiArrayImpl extends EObjectImpl implements Float32MultiAr /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data: "); 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 index 0a24814c5af..4c08f80f28b 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -32,22 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float64MultiArrayImpl#getLayout - * Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float64MultiArrayImpl#getData Data - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float64MultiArrayImpl#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Float64MultiArrayImpl#getData Data}
  • *
*

- * + * * @generated */ -public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiArray { - +public class Float64MultiArrayImpl extends MinimalEObjectImpl.Container implements Float64MultiArray { /** * The cached value of the '{@link #getLayout() Layout}' containment reference. * * - * * @see #getLayout() * @generated * @ordered @@ -58,7 +50,6 @@ public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiAr * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -68,7 +59,6 @@ public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiAr /** * * - * * @generated */ protected Float64MultiArrayImpl() { @@ -78,7 +68,6 @@ public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiAr /** * * - * * @generated */ @Override @@ -89,7 +78,6 @@ public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiAr /** * * - * * @generated */ public MultiArrayLayout getLayout() { @@ -99,18 +87,14 @@ public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiAr /** * * - * * @generated */ public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { MultiArrayLayout oldLayout = layout; layout = newLayout; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -118,31 +102,29 @@ public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiAr /** * * - * * @generated */ public void setLayout(MultiArrayLayout newLayout) { - if(newLayout != layout) { + if (newLayout != layout) { NotificationChain msgs = null; - if(layout != null) + if (layout != null) msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT, null, msgs); - if(newLayout != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Double.class, this, Std_datatypesPackage.FLOAT64_MULTI_ARRAY__DATA); } return data; @@ -151,14 +133,13 @@ public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiAr /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT: - return basicSetLayout(null, msgs); + switch (featureID) { + case Std_datatypesPackage.FLOAT64_MULTI_ARRAY__LAYOUT: + return basicSetLayout(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -166,16 +147,15 @@ public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiAr /** * * - * * @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(); + 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); } @@ -183,20 +163,19 @@ public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiAr /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -204,18 +183,17 @@ public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiAr /** * * - * * @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; + 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); } @@ -223,16 +201,15 @@ public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiAr /** * * - * * @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(); + 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); } @@ -240,13 +217,11 @@ public class Float64MultiArrayImpl extends EObjectImpl implements Float64MultiAr /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data: "); 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 index 2b9abb4ce68..e70d578c29c 100644 --- 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 @@ -1,22 +1,16 @@ -/***************************************************************************** - * 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.std_datatypes.impl; import java.util.Date; 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.EObjectImpl; +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; @@ -27,22 +21,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl#getSeq Seq}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl#getStamp Stamp}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl#getFrame_id Frame id} - *
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl#getSeq Seq}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl#getStamp Stamp}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.HeaderImpl#getFrame_id Frame id}
  • *
*

- * + * * @generated */ -public class HeaderImpl extends EObjectImpl implements Header { - +public class HeaderImpl extends MinimalEObjectImpl.Container implements Header { /** * The default value of the '{@link #getSeq() Seq}' attribute. * * - * * @see #getSeq() * @generated * @ordered @@ -53,7 +44,6 @@ public class HeaderImpl extends EObjectImpl implements Header { * The cached value of the '{@link #getSeq() Seq}' attribute. * * - * * @see #getSeq() * @generated * @ordered @@ -64,7 +54,6 @@ public class HeaderImpl extends EObjectImpl implements Header { * The default value of the '{@link #getStamp() Stamp}' attribute. * * - * * @see #getStamp() * @generated * @ordered @@ -75,7 +64,6 @@ public class HeaderImpl extends EObjectImpl implements Header { * The cached value of the '{@link #getStamp() Stamp}' attribute. * * - * * @see #getStamp() * @generated * @ordered @@ -86,7 +74,6 @@ public class HeaderImpl extends EObjectImpl implements Header { * The default value of the '{@link #getFrame_id() Frame id}' attribute. * * - * * @see #getFrame_id() * @generated * @ordered @@ -97,7 +84,6 @@ public class HeaderImpl extends EObjectImpl implements Header { * The cached value of the '{@link #getFrame_id() Frame id}' attribute. * * - * * @see #getFrame_id() * @generated * @ordered @@ -107,7 +93,6 @@ public class HeaderImpl extends EObjectImpl implements Header { /** * * - * * @generated */ protected HeaderImpl() { @@ -117,7 +102,6 @@ public class HeaderImpl extends EObjectImpl implements Header { /** * * - * * @generated */ @Override @@ -128,7 +112,6 @@ public class HeaderImpl extends EObjectImpl implements Header { /** * * - * * @generated */ public long getSeq() { @@ -138,20 +121,18 @@ public class HeaderImpl extends EObjectImpl implements Header { /** * * - * * @generated */ public void setSeq(long newSeq) { long oldSeq = seq; seq = newSeq; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.HEADER__SEQ, oldSeq, seq)); } /** * * - * * @generated */ public Date getStamp() { @@ -161,20 +142,18 @@ public class HeaderImpl extends EObjectImpl implements Header { /** * * - * * @generated */ public void setStamp(Date newStamp) { Date oldStamp = stamp; stamp = newStamp; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.HEADER__STAMP, oldStamp, stamp)); } /** * * - * * @generated */ public String getFrame_id() { @@ -184,31 +163,29 @@ public class HeaderImpl extends EObjectImpl implements Header { /** * * - * * @generated */ public void setFrame_id(String newFrame_id) { String oldFrame_id = frame_id; frame_id = newFrame_id; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.HEADER__FRAME_ID, oldFrame_id, frame_id)); } /** * * - * * @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(); + 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); } @@ -216,21 +193,20 @@ public class HeaderImpl extends EObjectImpl implements Header { /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Std_datatypesPackage.HEADER__SEQ: - setSeq((Long)newValue); - return; - case Std_datatypesPackage.HEADER__STAMP: - setStamp((Date)newValue); - return; - case Std_datatypesPackage.HEADER__FRAME_ID: - setFrame_id((String)newValue); - return; + switch (featureID) { + case Std_datatypesPackage.HEADER__SEQ: + setSeq((Long)newValue); + return; + case Std_datatypesPackage.HEADER__STAMP: + setStamp((Date)newValue); + return; + case Std_datatypesPackage.HEADER__FRAME_ID: + setFrame_id((String)newValue); + return; } super.eSet(featureID, newValue); } @@ -238,21 +214,20 @@ public class HeaderImpl extends EObjectImpl implements Header { /** * * - * * @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; + 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); } @@ -260,18 +235,17 @@ public class HeaderImpl extends EObjectImpl implements Header { /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Std_datatypesPackage.HEADER__SEQ: - return seq != SEQ_EDEFAULT; - 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); + switch (featureID) { + case Std_datatypesPackage.HEADER__SEQ: + return seq != SEQ_EDEFAULT; + 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); } @@ -279,13 +253,11 @@ public class HeaderImpl extends EObjectImpl implements Header { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (seq: "); 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 index 682eea80edc..9be4ed329f2 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -32,22 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int16MultiArrayImpl#getLayout Layout - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int16MultiArrayImpl#getData Data - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int16MultiArrayImpl#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int16MultiArrayImpl#getData Data}
  • *
*

- * + * * @generated */ -public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray { - +public class Int16MultiArrayImpl extends MinimalEObjectImpl.Container implements Int16MultiArray { /** * The cached value of the '{@link #getLayout() Layout}' containment reference. * * - * * @see #getLayout() * @generated * @ordered @@ -58,7 +50,6 @@ public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -68,7 +59,6 @@ public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray /** * * - * * @generated */ protected Int16MultiArrayImpl() { @@ -78,7 +68,6 @@ public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray /** * * - * * @generated */ @Override @@ -89,7 +78,6 @@ public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray /** * * - * * @generated */ public MultiArrayLayout getLayout() { @@ -99,18 +87,14 @@ public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray /** * * - * * @generated */ public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { MultiArrayLayout oldLayout = layout; layout = newLayout; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -118,31 +102,29 @@ public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray /** * * - * * @generated */ public void setLayout(MultiArrayLayout newLayout) { - if(newLayout != layout) { + if (newLayout != layout) { NotificationChain msgs = null; - if(layout != null) + if (layout != null) msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT, null, msgs); - if(newLayout != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Integer.class, this, Std_datatypesPackage.INT16_MULTI_ARRAY__DATA); } return data; @@ -151,14 +133,13 @@ public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT: - return basicSetLayout(null, msgs); + switch (featureID) { + case Std_datatypesPackage.INT16_MULTI_ARRAY__LAYOUT: + return basicSetLayout(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -166,16 +147,15 @@ public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray /** * * - * * @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(); + 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); } @@ -183,20 +163,19 @@ public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -204,18 +183,17 @@ public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray /** * * - * * @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; + 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); } @@ -223,16 +201,15 @@ public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray /** * * - * * @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(); + 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); } @@ -240,13 +217,11 @@ public class Int16MultiArrayImpl extends EObjectImpl implements Int16MultiArray /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data: "); 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 index 8aebb923ea9..5b79cdc2aed 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -32,22 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int32MultiArrayImpl#getLayout Layout - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int32MultiArrayImpl#getData Data - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int32MultiArrayImpl#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int32MultiArrayImpl#getData Data}
  • *
*

- * + * * @generated */ -public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray { - +public class Int32MultiArrayImpl extends MinimalEObjectImpl.Container implements Int32MultiArray { /** * The cached value of the '{@link #getLayout() Layout}' containment reference. * * - * * @see #getLayout() * @generated * @ordered @@ -58,7 +50,6 @@ public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -68,7 +59,6 @@ public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray /** * * - * * @generated */ protected Int32MultiArrayImpl() { @@ -78,7 +68,6 @@ public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray /** * * - * * @generated */ @Override @@ -89,7 +78,6 @@ public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray /** * * - * * @generated */ public MultiArrayLayout getLayout() { @@ -99,18 +87,14 @@ public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray /** * * - * * @generated */ public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { MultiArrayLayout oldLayout = layout; layout = newLayout; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -118,31 +102,29 @@ public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray /** * * - * * @generated */ public void setLayout(MultiArrayLayout newLayout) { - if(newLayout != layout) { + if (newLayout != layout) { NotificationChain msgs = null; - if(layout != null) + if (layout != null) msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT, null, msgs); - if(newLayout != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Integer.class, this, Std_datatypesPackage.INT32_MULTI_ARRAY__DATA); } return data; @@ -151,14 +133,13 @@ public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT: - return basicSetLayout(null, msgs); + switch (featureID) { + case Std_datatypesPackage.INT32_MULTI_ARRAY__LAYOUT: + return basicSetLayout(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -166,16 +147,15 @@ public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray /** * * - * * @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(); + 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); } @@ -183,20 +163,19 @@ public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -204,18 +183,17 @@ public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray /** * * - * * @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; + 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); } @@ -223,16 +201,15 @@ public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray /** * * - * * @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(); + 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); } @@ -240,13 +217,11 @@ public class Int32MultiArrayImpl extends EObjectImpl implements Int32MultiArray /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data: "); 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 index 2d76c45352d..a5ffe7b4da8 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -32,22 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int64MultiArrayImpl#getLayout Layout - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int64MultiArrayImpl#getData Data - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int64MultiArrayImpl#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int64MultiArrayImpl#getData Data}
  • *
*

- * + * * @generated */ -public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray { - +public class Int64MultiArrayImpl extends MinimalEObjectImpl.Container implements Int64MultiArray { /** * The cached value of the '{@link #getLayout() Layout}' containment reference. * * - * * @see #getLayout() * @generated * @ordered @@ -58,7 +50,6 @@ public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -68,7 +59,6 @@ public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray /** * * - * * @generated */ protected Int64MultiArrayImpl() { @@ -78,7 +68,6 @@ public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray /** * * - * * @generated */ @Override @@ -89,7 +78,6 @@ public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray /** * * - * * @generated */ public MultiArrayLayout getLayout() { @@ -99,18 +87,14 @@ public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray /** * * - * * @generated */ public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { MultiArrayLayout oldLayout = layout; layout = newLayout; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -118,31 +102,29 @@ public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray /** * * - * * @generated */ public void setLayout(MultiArrayLayout newLayout) { - if(newLayout != layout) { + if (newLayout != layout) { NotificationChain msgs = null; - if(layout != null) + if (layout != null) msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT, null, msgs); - if(newLayout != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Double.class, this, Std_datatypesPackage.INT64_MULTI_ARRAY__DATA); } return data; @@ -151,14 +133,13 @@ public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT: - return basicSetLayout(null, msgs); + switch (featureID) { + case Std_datatypesPackage.INT64_MULTI_ARRAY__LAYOUT: + return basicSetLayout(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -166,16 +147,15 @@ public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray /** * * - * * @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(); + 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); } @@ -183,20 +163,19 @@ public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -204,18 +183,17 @@ public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray /** * * - * * @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; + 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); } @@ -223,16 +201,15 @@ public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray /** * * - * * @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(); + 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); } @@ -240,13 +217,11 @@ public class Int64MultiArrayImpl extends EObjectImpl implements Int64MultiArray /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data: "); 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 index 1414c9e7d56..a89a52b09d4 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -32,22 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int8MultiArrayImpl#getLayout Layout - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int8MultiArrayImpl#getData Data} - *
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int8MultiArrayImpl#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.Int8MultiArrayImpl#getData Data}
  • *
*

- * + * * @generated */ -public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { - +public class Int8MultiArrayImpl extends MinimalEObjectImpl.Container implements Int8MultiArray { /** * The cached value of the '{@link #getLayout() Layout}' containment reference. * * - * * @see #getLayout() * @generated * @ordered @@ -58,7 +50,6 @@ public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -68,7 +59,6 @@ public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { /** * * - * * @generated */ protected Int8MultiArrayImpl() { @@ -78,7 +68,6 @@ public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { /** * * - * * @generated */ @Override @@ -89,7 +78,6 @@ public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { /** * * - * * @generated */ public MultiArrayLayout getLayout() { @@ -99,18 +87,14 @@ public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { /** * * - * * @generated */ public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { MultiArrayLayout oldLayout = layout; layout = newLayout; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -118,31 +102,29 @@ public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { /** * * - * * @generated */ public void setLayout(MultiArrayLayout newLayout) { - if(newLayout != layout) { + if (newLayout != layout) { NotificationChain msgs = null; - if(layout != null) + if (layout != null) msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT, null, msgs); - if(newLayout != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Character.class, this, Std_datatypesPackage.INT8_MULTI_ARRAY__DATA); } return data; @@ -151,14 +133,13 @@ public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT: - return basicSetLayout(null, msgs); + switch (featureID) { + case Std_datatypesPackage.INT8_MULTI_ARRAY__LAYOUT: + return basicSetLayout(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -166,16 +147,15 @@ public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { /** * * - * * @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(); + 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); } @@ -183,20 +163,19 @@ public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -204,18 +183,17 @@ public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { /** * * - * * @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; + 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); } @@ -223,16 +201,15 @@ public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { /** * * - * * @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(); + 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); } @@ -240,13 +217,11 @@ public class Int8MultiArrayImpl extends EObjectImpl implements Int8MultiArray { /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data: "); 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 index 428323a9a7e..01c0caa01b8 100644 --- 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 @@ -1,20 +1,14 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -25,24 +19,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl#getLabel - * Label}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl#getSize Size - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl#getStride - * Stride}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl#getLabel Label}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl#getSize Size}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayDimensionImpl#getStride Stride}
  • *
*

- * + * * @generated */ -public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDimension { - +public class MultiArrayDimensionImpl extends MinimalEObjectImpl.Container implements MultiArrayDimension { /** * The default value of the '{@link #getLabel() Label}' attribute. * * - * * @see #getLabel() * @generated * @ordered @@ -53,7 +42,6 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi * The cached value of the '{@link #getLabel() Label}' attribute. * * - * * @see #getLabel() * @generated * @ordered @@ -64,7 +52,6 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi * The default value of the '{@link #getSize() Size}' attribute. * * - * * @see #getSize() * @generated * @ordered @@ -75,7 +62,6 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi * The cached value of the '{@link #getSize() Size}' attribute. * * - * * @see #getSize() * @generated * @ordered @@ -86,7 +72,6 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi * The default value of the '{@link #getStride() Stride}' attribute. * * - * * @see #getStride() * @generated * @ordered @@ -97,7 +82,6 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi * The cached value of the '{@link #getStride() Stride}' attribute. * * - * * @see #getStride() * @generated * @ordered @@ -107,7 +91,6 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi /** * * - * * @generated */ protected MultiArrayDimensionImpl() { @@ -117,7 +100,6 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi /** * * - * * @generated */ @Override @@ -128,7 +110,6 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi /** * * - * * @generated */ public String getLabel() { @@ -138,20 +119,18 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi /** * * - * * @generated */ public void setLabel(String newLabel) { String oldLabel = label; label = newLabel; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.MULTI_ARRAY_DIMENSION__LABEL, oldLabel, label)); } /** * * - * * @generated */ public long getSize() { @@ -161,20 +140,18 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi /** * * - * * @generated */ public void setSize(long newSize) { long oldSize = size; size = newSize; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.MULTI_ARRAY_DIMENSION__SIZE, oldSize, size)); } /** * * - * * @generated */ public long getStride() { @@ -184,31 +161,29 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi /** * * - * * @generated */ public void setStride(long newStride) { long oldStride = stride; stride = newStride; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.MULTI_ARRAY_DIMENSION__STRIDE, oldStride, stride)); } /** * * - * * @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(); + 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); } @@ -216,21 +191,20 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi /** * * - * * @generated */ @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__LABEL: - setLabel((String)newValue); - return; - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__SIZE: - setSize((Long)newValue); - return; - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__STRIDE: - setStride((Long)newValue); - return; + switch (featureID) { + case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__LABEL: + setLabel((String)newValue); + return; + case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__SIZE: + setSize((Long)newValue); + return; + case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__STRIDE: + setStride((Long)newValue); + return; } super.eSet(featureID, newValue); } @@ -238,21 +212,20 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi /** * * - * * @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; + 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); } @@ -260,18 +233,17 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi /** * * - * * @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 != SIZE_EDEFAULT; - case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__STRIDE: - return stride != STRIDE_EDEFAULT; + 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 != SIZE_EDEFAULT; + case Std_datatypesPackage.MULTI_ARRAY_DIMENSION__STRIDE: + return stride != STRIDE_EDEFAULT; } return super.eIsSet(featureID); } @@ -279,13 +251,11 @@ public class MultiArrayDimensionImpl extends EObjectImpl implements MultiArrayDi /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (label: "); 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 index 7880abb0cf3..a3db0753588 100644 --- 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 @@ -1,27 +1,23 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -33,22 +29,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayLayoutImpl#getDim Dim} - *
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayLayoutImpl#getData_offset - * Data offset}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayLayoutImpl#getDim Dim}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.MultiArrayLayoutImpl#getData_offset Data offset}
  • *
*

- * + * * @generated */ -public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayout { - +public class MultiArrayLayoutImpl extends MinimalEObjectImpl.Container implements MultiArrayLayout { /** * The cached value of the '{@link #getDim() Dim}' containment reference list. * * - * * @see #getDim() * @generated * @ordered @@ -59,7 +51,6 @@ public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayou * The default value of the '{@link #getData_offset() Data offset}' attribute. * * - * * @see #getData_offset() * @generated * @ordered @@ -70,7 +61,6 @@ public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayou * The cached value of the '{@link #getData_offset() Data offset}' attribute. * * - * * @see #getData_offset() * @generated * @ordered @@ -80,7 +70,6 @@ public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayou /** * * - * * @generated */ protected MultiArrayLayoutImpl() { @@ -90,7 +79,6 @@ public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayou /** * * - * * @generated */ @Override @@ -101,11 +89,10 @@ public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayou /** * * - * * @generated */ public EList getDim() { - if(dim == null) { + if (dim == null) { dim = new EObjectContainmentEList(MultiArrayDimension.class, this, Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DIM); } return dim; @@ -114,7 +101,6 @@ public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayou /** * * - * * @generated */ public long getData_offset() { @@ -124,27 +110,25 @@ public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayou /** * * - * * @generated */ public void setData_offset(long newData_offset) { long oldData_offset = data_offset; data_offset = newData_offset; - if(eNotificationRequired()) + if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DATA_OFFSET, oldData_offset, data_offset)); } /** * * - * * @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); + switch (featureID) { + case Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DIM: + return ((InternalEList)getDim()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -152,16 +136,15 @@ public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayou /** * * - * * @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(); + 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); } @@ -169,20 +152,19 @@ public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayou /** * * - * * @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)newValue); - return; - case Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DATA_OFFSET: - setData_offset((Long)newValue); - return; + switch (featureID) { + case Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DIM: + getDim().clear(); + getDim().addAll((Collection)newValue); + return; + case Std_datatypesPackage.MULTI_ARRAY_LAYOUT__DATA_OFFSET: + setData_offset((Long)newValue); + return; } super.eSet(featureID, newValue); } @@ -190,18 +172,17 @@ public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayou /** * * - * * @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; + 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); } @@ -209,16 +190,15 @@ public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayou /** * * - * * @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 != DATA_OFFSET_EDEFAULT; + 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 != DATA_OFFSET_EDEFAULT; } return super.eIsSet(featureID); } @@ -226,13 +206,11 @@ public class MultiArrayLayoutImpl extends EObjectImpl implements MultiArrayLayou /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data_offset: "); 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 index 1f08feaca01..8f48ef2a703 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.std_datatypes.impl; import java.util.Date; @@ -17,49 +8,34 @@ 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.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.UIint16MultiArray; -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.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.*; /** * * An implementation of the model Factory. * - * * @generated */ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_datatypesFactory { - /** * Creates the default factory implementation. * * - * * @generated */ public static Std_datatypesFactory init() { try { - Std_datatypesFactory theStd_datatypesFactory = (Std_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory("http:///RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes.ecore"); - if(theStd_datatypesFactory != null) { + Std_datatypesFactory theStd_datatypesFactory = (Std_datatypesFactory)EPackage.Registry.INSTANCE.getEFactory(Std_datatypesPackage.eNS_URI); + if (theStd_datatypesFactory != null) { return theStd_datatypesFactory; } - } catch (Exception exception) { + } + catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new Std_datatypesFactoryImpl(); @@ -69,7 +45,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty * Creates an instance of the factory. * * - * * @generated */ public Std_datatypesFactoryImpl() { @@ -79,143 +54,124 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @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.UIINT16_MULTI_ARRAY: - return createUIint16MultiArray(); - 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"); + 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.UIINT16_MULTI_ARRAY: return createUIint16MultiArray(); + 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"); } } /** * * - * * @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"); + 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"); } } /** * * - * * @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"); + 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"); } } /** * * - * * @generated */ public Header createHeader() { @@ -226,7 +182,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public MultiArrayDimension createMultiArrayDimension() { @@ -237,7 +192,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public MultiArrayLayout createMultiArrayLayout() { @@ -248,7 +202,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public ByteMultiArray createByteMultiArray() { @@ -259,7 +212,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public ColorRGBA createColorRGBA() { @@ -270,7 +222,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Float32MultiArray createFloat32MultiArray() { @@ -281,7 +232,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Int32MultiArray createInt32MultiArray() { @@ -292,7 +242,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Int8MultiArray createInt8MultiArray() { @@ -303,7 +252,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Int16MultiArray createInt16MultiArray() { @@ -314,7 +262,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Int64MultiArray createInt64MultiArray() { @@ -325,7 +272,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Float64MultiArray createFloat64MultiArray() { @@ -336,7 +282,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public UInt64MultiArray createUInt64MultiArray() { @@ -347,7 +292,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public UIint16MultiArray createUIint16MultiArray() { @@ -358,7 +302,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public UInt32MultiArray createUInt32MultiArray() { @@ -369,7 +312,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public UInt8MultiArray createUInt8MultiArray() { @@ -380,7 +322,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Long createUInt32FromString(EDataType eDataType, String initialValue) { @@ -390,7 +331,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertUInt32ToString(EDataType eDataType, Object instanceValue) { @@ -400,7 +340,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Date createTimeFromString(EDataType eDataType, String initialValue) { @@ -410,7 +349,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertTimeToString(EDataType eDataType, Object instanceValue) { @@ -420,7 +358,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String createStringFromString(EDataType eDataType, String initialValue) { @@ -430,7 +367,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertStringToString(EDataType eDataType, Object instanceValue) { @@ -440,7 +376,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Byte createByteFromString(EDataType eDataType, String initialValue) { @@ -450,7 +385,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertByteToString(EDataType eDataType, Object instanceValue) { @@ -460,7 +394,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Double createFloat64FromString(EDataType eDataType, String initialValue) { @@ -470,7 +403,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertFloat64ToString(EDataType eDataType, Object instanceValue) { @@ -480,7 +412,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Character createInt8FromString(EDataType eDataType, String initialValue) { @@ -490,7 +421,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertInt8ToString(EDataType eDataType, Object instanceValue) { @@ -500,7 +430,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Boolean createBoolFromString(EDataType eDataType, String initialValue) { @@ -510,7 +439,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertBoolToString(EDataType eDataType, Object instanceValue) { @@ -520,7 +448,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Character createUInt8FromString(EDataType eDataType, String initialValue) { @@ -530,7 +457,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertUInt8ToString(EDataType eDataType, Object instanceValue) { @@ -540,7 +466,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Integer createUInt16FromString(EDataType eDataType, String initialValue) { @@ -550,7 +475,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertUInt16ToString(EDataType eDataType, Object instanceValue) { @@ -560,7 +484,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Integer createInt32FromString(EDataType eDataType, String initialValue) { @@ -570,7 +493,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertInt32ToString(EDataType eDataType, Object instanceValue) { @@ -580,7 +502,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Integer createInt16FromString(EDataType eDataType, String initialValue) { @@ -590,7 +511,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertInt16ToString(EDataType eDataType, Object instanceValue) { @@ -600,7 +520,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Character createCharFromString(EDataType eDataType, String initialValue) { @@ -610,7 +529,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertCharToString(EDataType eDataType, Object instanceValue) { @@ -620,7 +538,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Double createDurationFromString(EDataType eDataType, String initialValue) { @@ -630,7 +547,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertDurationToString(EDataType eDataType, Object instanceValue) { @@ -640,7 +556,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Double createInt64FromString(EDataType eDataType, String initialValue) { @@ -650,7 +565,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertInt64ToString(EDataType eDataType, Object instanceValue) { @@ -660,7 +574,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Long createUInt64FromString(EDataType eDataType, String initialValue) { @@ -670,7 +583,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertUInt64ToString(EDataType eDataType, Object instanceValue) { @@ -680,7 +592,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Float createFloat32FromString(EDataType eDataType, String initialValue) { @@ -690,7 +601,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public String convertFloat32ToString(EDataType eDataType, Object instanceValue) { @@ -700,7 +610,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @generated */ public Std_datatypesPackage getStd_datatypesPackage() { @@ -710,7 +619,6 @@ public class Std_datatypesFactoryImpl extends EFactoryImpl implements Std_dataty /** * * - * * @deprecated * @generated */ 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 index 5ad29c51d0f..de5248bfb09 100644 --- 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 @@ -1,14 +1,5 @@ -/***************************************************************************** - * 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.std_datatypes.impl; import java.util.Date; @@ -18,23 +9,41 @@ 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; @@ -52,21 +61,19 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp 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; /** * * An implementation of the model Package. * - * * @generated */ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_datatypesPackage { - /** * * - * * @generated */ private EClass headerEClass = null; @@ -74,7 +81,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass multiArrayDimensionEClass = null; @@ -82,7 +88,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass multiArrayLayoutEClass = null; @@ -90,7 +95,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass byteMultiArrayEClass = null; @@ -98,7 +102,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass colorRGBAEClass = null; @@ -106,7 +109,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass float32MultiArrayEClass = null; @@ -114,7 +116,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass int32MultiArrayEClass = null; @@ -122,7 +123,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass int8MultiArrayEClass = null; @@ -130,7 +130,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass int16MultiArrayEClass = null; @@ -138,7 +137,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass int64MultiArrayEClass = null; @@ -146,7 +144,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass float64MultiArrayEClass = null; @@ -154,7 +151,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass uInt64MultiArrayEClass = null; @@ -162,7 +158,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass uIint16MultiArrayEClass = null; @@ -170,7 +165,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass uInt32MultiArrayEClass = null; @@ -178,7 +172,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EClass uInt8MultiArrayEClass = null; @@ -186,7 +179,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType uInt32EDataType = null; @@ -194,7 +186,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType timeEDataType = null; @@ -202,7 +193,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType stringEDataType = null; @@ -210,7 +200,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType byteEDataType = null; @@ -218,7 +207,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType float64EDataType = null; @@ -226,7 +214,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType int8EDataType = null; @@ -234,7 +221,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType boolEDataType = null; @@ -242,7 +228,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType uInt8EDataType = null; @@ -250,7 +235,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType uInt16EDataType = null; @@ -258,7 +242,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType int32EDataType = null; @@ -266,7 +249,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType int16EDataType = null; @@ -274,7 +256,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType charEDataType = null; @@ -282,7 +263,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType durationEDataType = null; @@ -290,7 +270,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType int64EDataType = null; @@ -298,7 +277,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType uInt64EDataType = null; @@ -306,19 +284,20 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private EDataType float32EDataType = null; /** - * Creates an instance of the model Package, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the - * package + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. - *

- * 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. - * + *

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. + * + * * @see org.eclipse.emf.ecore.EPackage.Registry * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage#eNS_URI * @see #init() @@ -331,7 +310,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ private static boolean isInited = false; @@ -339,18 +317,17 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * - *

- * 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. - * + *

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. + * + * * @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); + 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()); @@ -395,7 +372,7 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty // 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; @@ -404,7 +381,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getHeader() { @@ -414,7 +390,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getHeader_Seq() { @@ -424,7 +399,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getHeader_Stamp() { @@ -434,7 +408,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getHeader_Frame_id() { @@ -444,7 +417,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getMultiArrayDimension() { @@ -454,7 +426,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getMultiArrayDimension_Label() { @@ -464,7 +435,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getMultiArrayDimension_Size() { @@ -474,7 +444,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getMultiArrayDimension_Stride() { @@ -484,7 +453,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getMultiArrayLayout() { @@ -494,7 +462,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EReference getMultiArrayLayout_Dim() { @@ -504,7 +471,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getMultiArrayLayout_Data_offset() { @@ -514,7 +480,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getByteMultiArray() { @@ -524,7 +489,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EReference getByteMultiArray_Layout() { @@ -534,7 +498,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getByteMultiArray_Data() { @@ -544,7 +507,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getColorRGBA() { @@ -554,7 +516,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getColorRGBA_R() { @@ -564,7 +525,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getColorRGBA_G() { @@ -574,7 +534,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getColorRGBA_B() { @@ -584,7 +543,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getColorRGBA_A() { @@ -594,7 +552,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getFloat32MultiArray() { @@ -604,7 +561,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EReference getFloat32MultiArray_Layout() { @@ -614,7 +570,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getFloat32MultiArray_Data() { @@ -624,7 +579,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getInt32MultiArray() { @@ -634,7 +588,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EReference getInt32MultiArray_Layout() { @@ -644,7 +597,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getInt32MultiArray_Data() { @@ -654,7 +606,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getInt8MultiArray() { @@ -664,7 +615,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EReference getInt8MultiArray_Layout() { @@ -674,7 +624,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getInt8MultiArray_Data() { @@ -684,7 +633,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getInt16MultiArray() { @@ -694,7 +642,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EReference getInt16MultiArray_Layout() { @@ -704,7 +651,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getInt16MultiArray_Data() { @@ -714,7 +660,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getInt64MultiArray() { @@ -724,7 +669,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EReference getInt64MultiArray_Layout() { @@ -734,7 +678,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getInt64MultiArray_Data() { @@ -744,7 +687,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getFloat64MultiArray() { @@ -754,7 +696,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EReference getFloat64MultiArray_Layout() { @@ -764,7 +705,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getFloat64MultiArray_Data() { @@ -774,7 +714,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getUInt64MultiArray() { @@ -784,7 +723,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EReference getUInt64MultiArray_Layout() { @@ -794,7 +732,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getUInt64MultiArray_Data() { @@ -804,7 +741,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getUIint16MultiArray() { @@ -814,7 +750,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EReference getUIint16MultiArray_Layout() { @@ -824,7 +759,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getUIint16MultiArray_Data() { @@ -834,7 +768,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getUInt32MultiArray() { @@ -844,7 +777,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EReference getUInt32MultiArray_Layout() { @@ -854,7 +786,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getUInt32MultiArray_Data() { @@ -864,7 +795,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EClass getUInt8MultiArray() { @@ -874,7 +804,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EReference getUInt8MultiArray_Layout() { @@ -884,7 +813,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EAttribute getUInt8MultiArray_Data() { @@ -894,7 +822,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getUInt32() { @@ -904,7 +831,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getTime() { @@ -914,7 +840,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getString() { @@ -924,7 +849,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getByte() { @@ -934,7 +858,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getFloat64() { @@ -944,7 +867,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getInt8() { @@ -954,7 +876,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getBool() { @@ -964,7 +885,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getUInt8() { @@ -974,7 +894,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getUInt16() { @@ -984,7 +903,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getInt32() { @@ -994,7 +912,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getInt16() { @@ -1004,7 +921,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getChar() { @@ -1014,7 +930,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getDuration() { @@ -1024,7 +939,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getInt64() { @@ -1034,7 +948,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getUInt64() { @@ -1044,7 +957,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public EDataType getFloat32() { @@ -1054,7 +966,6 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @generated */ public Std_datatypesFactory getStd_datatypesFactory() { @@ -1064,22 +975,19 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @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. * * - * * @generated */ public void createPackageContents() { - if(isCreated) - return; + if (isCreated) return; isCreated = true; // Create classes and their features @@ -1169,22 +1077,19 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty /** * * - * * @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. * * - * * @generated */ public void initializePackageContents() { - if(isInitialized) - return; + if (isInitialized) return; isInitialized = true; // Initialize package @@ -1198,7 +1103,7 @@ public class Std_datatypesPackageImpl extends EPackageImpl implements Std_dataty // Add supertypes to classes - // Initialize classes and features; add operations and parameters + // 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); diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UIint16MultiArrayImpl.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UIint16MultiArrayImpl.java index 4ad7db46619..1b9c35b5745 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UIint16MultiArrayImpl.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/std_datatypes/impl/UIint16MultiArrayImpl.java @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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.UIint16MultiArray; @@ -32,22 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UIint16MultiArrayImpl#getLayout - * Layout}
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UIint16MultiArrayImpl#getData Data - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UIint16MultiArrayImpl#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UIint16MultiArrayImpl#getData Data}
  • *
*

- * + * * @generated */ -public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiArray { - +public class UIint16MultiArrayImpl extends MinimalEObjectImpl.Container implements UIint16MultiArray { /** * The cached value of the '{@link #getLayout() Layout}' containment reference. * * - * * @see #getLayout() * @generated * @ordered @@ -58,7 +50,6 @@ public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiAr * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -68,7 +59,6 @@ public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiAr /** * * - * * @generated */ protected UIint16MultiArrayImpl() { @@ -78,7 +68,6 @@ public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiAr /** * * - * * @generated */ @Override @@ -89,7 +78,6 @@ public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiAr /** * * - * * @generated */ public MultiArrayLayout getLayout() { @@ -99,18 +87,14 @@ public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiAr /** * * - * * @generated */ public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { MultiArrayLayout oldLayout = layout; layout = newLayout; - if(eNotificationRequired()) { + if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT, oldLayout, newLayout); - if(msgs == null) - msgs = notification; - else - msgs.add(notification); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -118,31 +102,29 @@ public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiAr /** * * - * * @generated */ public void setLayout(MultiArrayLayout newLayout) { - if(newLayout != layout) { + if (newLayout != layout) { NotificationChain msgs = null; - if(layout != null) + if (layout != null) msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT, null, msgs); - if(newLayout != null) + if (newLayout != null) msgs = ((InternalEObject)newLayout).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT, null, msgs); msgs = basicSetLayout(newLayout, msgs); - if(msgs != null) - msgs.dispatch(); - } else if(eNotificationRequired()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Integer.class, this, Std_datatypesPackage.UIINT16_MULTI_ARRAY__DATA); } return data; @@ -151,14 +133,13 @@ public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiAr /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT: - return basicSetLayout(null, msgs); + switch (featureID) { + case Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT: + return basicSetLayout(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -166,16 +147,15 @@ public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiAr /** * * - * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch(featureID) { - case Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT: - return getLayout(); - case Std_datatypesPackage.UIINT16_MULTI_ARRAY__DATA: - return getData(); + switch (featureID) { + case Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT: + return getLayout(); + case Std_datatypesPackage.UIINT16_MULTI_ARRAY__DATA: + return getData(); } return super.eGet(featureID, resolve, coreType); } @@ -183,20 +163,19 @@ public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiAr /** * * - * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { - switch(featureID) { - case Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)newValue); - return; - case Std_datatypesPackage.UIINT16_MULTI_ARRAY__DATA: - getData().clear(); - getData().addAll((Collection)newValue); - return; + switch (featureID) { + case Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT: + setLayout((MultiArrayLayout)newValue); + return; + case Std_datatypesPackage.UIINT16_MULTI_ARRAY__DATA: + getData().clear(); + getData().addAll((Collection)newValue); + return; } super.eSet(featureID, newValue); } @@ -204,18 +183,17 @@ public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiAr /** * * - * * @generated */ @Override public void eUnset(int featureID) { - switch(featureID) { - case Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT: - setLayout((MultiArrayLayout)null); - return; - case Std_datatypesPackage.UIINT16_MULTI_ARRAY__DATA: - getData().clear(); - return; + switch (featureID) { + case Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT: + setLayout((MultiArrayLayout)null); + return; + case Std_datatypesPackage.UIINT16_MULTI_ARRAY__DATA: + getData().clear(); + return; } super.eUnset(featureID); } @@ -223,16 +201,15 @@ public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiAr /** * * - * * @generated */ @Override public boolean eIsSet(int featureID) { - switch(featureID) { - case Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT: - return layout != null; - case Std_datatypesPackage.UIINT16_MULTI_ARRAY__DATA: - return data != null && !data.isEmpty(); + switch (featureID) { + case Std_datatypesPackage.UIINT16_MULTI_ARRAY__LAYOUT: + return layout != null; + case Std_datatypesPackage.UIINT16_MULTI_ARRAY__DATA: + return data != null && !data.isEmpty(); } return super.eIsSet(featureID); } @@ -240,13 +217,11 @@ public class UIint16MultiArrayImpl extends EObjectImpl implements UIint16MultiAr /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data: "); 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 index dd25e140b5b..112afc208e1 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -32,22 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl#getLayout Layout - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl#getData Data - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt32MultiArrayImpl#getData Data}
  • *
*

- * + * * @generated */ -public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArray { - +public class UInt32MultiArrayImpl extends MinimalEObjectImpl.Container implements UInt32MultiArray { /** * The cached value of the '{@link #getLayout() Layout}' containment reference. * * - * * @see #getLayout() * @generated * @ordered @@ -58,7 +50,6 @@ public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArra * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -68,7 +59,6 @@ public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArra /** * * - * * @generated */ protected UInt32MultiArrayImpl() { @@ -78,7 +68,6 @@ public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArra /** * * - * * @generated */ @Override @@ -89,7 +78,6 @@ public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArra /** * * - * * @generated */ public MultiArrayLayout getLayout() { @@ -99,18 +87,14 @@ public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArra /** * * - * * @generated */ public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { MultiArrayLayout oldLayout = layout; layout = newLayout; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -118,31 +102,29 @@ public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArra /** * * - * * @generated */ public void setLayout(MultiArrayLayout newLayout) { - if(newLayout != layout) { + if (newLayout != layout) { NotificationChain msgs = null; - if(layout != null) + if (layout != null) msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT, null, msgs); - if(newLayout != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Long.class, this, Std_datatypesPackage.UINT32_MULTI_ARRAY__DATA); } return data; @@ -151,14 +133,13 @@ public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArra /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT: - return basicSetLayout(null, msgs); + switch (featureID) { + case Std_datatypesPackage.UINT32_MULTI_ARRAY__LAYOUT: + return basicSetLayout(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -166,16 +147,15 @@ public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArra /** * * - * * @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(); + 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); } @@ -183,20 +163,19 @@ public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArra /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -204,18 +183,17 @@ public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArra /** * * - * * @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; + 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); } @@ -223,16 +201,15 @@ public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArra /** * * - * * @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(); + 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); } @@ -240,13 +217,11 @@ public class UInt32MultiArrayImpl extends EObjectImpl implements UInt32MultiArra /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data: "); 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 index 5e756364540..662e952e9e3 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -32,22 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt64MultiArrayImpl#getLayout Layout - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt64MultiArrayImpl#getData Data - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt64MultiArrayImpl#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt64MultiArrayImpl#getData Data}
  • *
*

- * + * * @generated */ -public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArray { - +public class UInt64MultiArrayImpl extends MinimalEObjectImpl.Container implements UInt64MultiArray { /** * The cached value of the '{@link #getLayout() Layout}' containment reference. * * - * * @see #getLayout() * @generated * @ordered @@ -58,7 +50,6 @@ public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArra * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -68,7 +59,6 @@ public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArra /** * * - * * @generated */ protected UInt64MultiArrayImpl() { @@ -78,7 +68,6 @@ public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArra /** * * - * * @generated */ @Override @@ -89,7 +78,6 @@ public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArra /** * * - * * @generated */ public MultiArrayLayout getLayout() { @@ -99,18 +87,14 @@ public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArra /** * * - * * @generated */ public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { MultiArrayLayout oldLayout = layout; layout = newLayout; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -118,31 +102,29 @@ public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArra /** * * - * * @generated */ public void setLayout(MultiArrayLayout newLayout) { - if(newLayout != layout) { + if (newLayout != layout) { NotificationChain msgs = null; - if(layout != null) + if (layout != null) msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT, null, msgs); - if(newLayout != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Long.class, this, Std_datatypesPackage.UINT64_MULTI_ARRAY__DATA); } return data; @@ -151,14 +133,13 @@ public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArra /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT: - return basicSetLayout(null, msgs); + switch (featureID) { + case Std_datatypesPackage.UINT64_MULTI_ARRAY__LAYOUT: + return basicSetLayout(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -166,16 +147,15 @@ public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArra /** * * - * * @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(); + 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); } @@ -183,20 +163,19 @@ public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArra /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -204,18 +183,17 @@ public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArra /** * * - * * @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; + 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); } @@ -223,16 +201,15 @@ public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArra /** * * - * * @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(); + 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); } @@ -240,13 +217,11 @@ public class UInt64MultiArrayImpl extends EObjectImpl implements UInt64MultiArra /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data: "); 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 index 09759e9bb31..42974c25387 100644 --- 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 @@ -1,26 +1,22 @@ -/***************************************************************************** - * 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.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.EObjectImpl; +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; @@ -32,22 +28,18 @@ import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTyp *

* The following features are implemented: *

    - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt8MultiArrayImpl#getLayout Layout - * }
  • - *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt8MultiArrayImpl#getData Data - * }
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt8MultiArrayImpl#getLayout Layout}
  • + *
  • {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.impl.UInt8MultiArrayImpl#getData Data}
  • *
*

- * + * * @generated */ -public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray { - +public class UInt8MultiArrayImpl extends MinimalEObjectImpl.Container implements UInt8MultiArray { /** * The cached value of the '{@link #getLayout() Layout}' containment reference. * * - * * @see #getLayout() * @generated * @ordered @@ -58,7 +50,6 @@ public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray * The cached value of the '{@link #getData() Data}' attribute list. * * - * * @see #getData() * @generated * @ordered @@ -68,7 +59,6 @@ public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray /** * * - * * @generated */ protected UInt8MultiArrayImpl() { @@ -78,7 +68,6 @@ public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray /** * * - * * @generated */ @Override @@ -89,7 +78,6 @@ public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray /** * * - * * @generated */ public MultiArrayLayout getLayout() { @@ -99,18 +87,14 @@ public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray /** * * - * * @generated */ public NotificationChain basicSetLayout(MultiArrayLayout newLayout, NotificationChain msgs) { MultiArrayLayout oldLayout = layout; layout = newLayout; - if(eNotificationRequired()) { + 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); + if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; } @@ -118,31 +102,29 @@ public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray /** * * - * * @generated */ public void setLayout(MultiArrayLayout newLayout) { - if(newLayout != layout) { + if (newLayout != layout) { NotificationChain msgs = null; - if(layout != null) + if (layout != null) msgs = ((InternalEObject)layout).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT, null, msgs); - if(newLayout != null) + 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()) + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT, newLayout, newLayout)); } /** * * - * * @generated */ public EList getData() { - if(data == null) { + if (data == null) { data = new EDataTypeUniqueEList(Character.class, this, Std_datatypesPackage.UINT8_MULTI_ARRAY__DATA); } return data; @@ -151,14 +133,13 @@ public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray /** * * - * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch(featureID) { - case Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT: - return basicSetLayout(null, msgs); + switch (featureID) { + case Std_datatypesPackage.UINT8_MULTI_ARRAY__LAYOUT: + return basicSetLayout(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -166,16 +147,15 @@ public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray /** * * - * * @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(); + 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); } @@ -183,20 +163,19 @@ public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray /** * * - * * @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)newValue); - return; + 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)newValue); + return; } super.eSet(featureID, newValue); } @@ -204,18 +183,17 @@ public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray /** * * - * * @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; + 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); } @@ -223,16 +201,15 @@ public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray /** * * - * * @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(); + 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); } @@ -240,13 +217,11 @@ public class UInt8MultiArrayImpl extends EObjectImpl implements UInt8MultiArray /** * * - * * @generated */ @Override public String toString() { - if(eIsProxy()) - return super.toString(); + if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (data: "); 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 index f831ced26d5..a6759c08cc3 100644 --- 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 @@ -1,53 +1,29 @@ -/***************************************************************************** - * 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.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.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_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray; -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.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.*; /** * * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage * @generated */ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { - /** * The cached model package. * * - * * @generated */ protected static Std_datatypesPackage modelPackage; @@ -56,11 +32,10 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { * Creates an instance of the adapter factory. * * - * * @generated */ public Std_datatypesAdapterFactory() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Std_datatypesPackage.eINSTANCE; } } @@ -70,16 +45,15 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { * * This implementation returns true if the object is either the model's package or is an instance object of the model. * - * * @return whether this factory is applicable for the type of the object. * @generated */ @Override public boolean isFactoryForType(Object object) { - if(object == modelPackage) { + if (object == modelPackage) { return true; } - if(object instanceof EObject) { + if (object instanceof EObject) { return ((EObject)object).eClass().getEPackage() == modelPackage; } return false; @@ -89,99 +63,81 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { * The switch that delegates to the createXXX methods. * * - * * @generated */ - protected Std_datatypesSwitch modelSwitch = new Std_datatypesSwitch() { - - @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 caseUIint16MultiArray(UIint16MultiArray object) { - return createUIint16MultiArrayAdapter(); - } - - @Override - public Adapter caseUInt32MultiArray(UInt32MultiArray object) { - return createUInt32MultiArrayAdapter(); - } - - @Override - public Adapter caseUInt8MultiArray(UInt8MultiArray object) { - return createUInt8MultiArrayAdapter(); - } - - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; + protected Std_datatypesSwitch modelSwitch = + new Std_datatypesSwitch() { + @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 caseUIint16MultiArray(UIint16MultiArray object) { + return createUIint16MultiArrayAdapter(); + } + @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 target. * * - * - * @param target - * the object to adapt. + * @param target the object to adapt. * @return the adapter for the target. * @generated */ @@ -192,13 +148,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header Header}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header Header}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Header * @generated @@ -208,14 +162,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension - * Multi Array Dimension}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension Multi Array Dimension}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayDimension * @generated @@ -225,14 +176,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout Multi Array Layout} - * '. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout Multi Array Layout}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.MultiArrayLayout * @generated @@ -242,13 +190,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray Byte Multi Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray Byte Multi Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ByteMultiArray * @generated @@ -258,13 +204,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA Color RGBA}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA Color RGBA}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.ColorRGBA * @generated @@ -274,14 +218,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray - * Float32 Multi Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray Float32 Multi Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float32MultiArray * @generated @@ -291,13 +232,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray Int32 Multi Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray Int32 Multi Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int32MultiArray * @generated @@ -307,13 +246,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray Int8 Multi Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray Int8 Multi Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int8MultiArray * @generated @@ -323,13 +260,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray Int16 Multi Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray Int16 Multi Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int16MultiArray * @generated @@ -339,13 +274,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray Int64 Multi Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray Int64 Multi Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Int64MultiArray * @generated @@ -355,14 +288,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray - * Float64 Multi Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray Float64 Multi Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Float64MultiArray * @generated @@ -372,14 +302,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray UInt64 Multi Array} - * '. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray UInt64 Multi Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt64MultiArray * @generated @@ -389,14 +316,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray - * UIint16 Multi Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray UIint16 Multi Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray * @generated @@ -406,14 +330,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray UInt32 Multi Array} - * '. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray UInt32 Multi Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt32MultiArray * @generated @@ -423,13 +344,11 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray UInt8 Multi Array}'. + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray UInt8 Multi Array}'. * * 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. * - * * @return the new adapter. * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UInt8MultiArray * @generated @@ -443,7 +362,6 @@ public class Std_datatypesAdapterFactory extends AdapterFactoryImpl { * * This default implementation returns null. * - * * @return the new adapter. * @generated */ 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 index 8fbee71e4f5..1d5d91b5452 100644 --- 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 @@ -1,56 +1,32 @@ -/***************************************************************************** - * 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.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.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_datatypesPackage; -import org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.UIint16MultiArray; -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.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.*; /** * * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for each class of the model, + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX 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. * - * * @see org.eclipse.papyrus.RobotMLLibraries.RobotML_ModelLibrary.RobotML_DataTypes.std_datatypes.Std_datatypesPackage * @generated */ public class Std_datatypesSwitch extends Switch { - /** * The cached model package * * - * * @generated */ protected static Std_datatypesPackage modelPackage; @@ -59,11 +35,10 @@ public class Std_datatypesSwitch extends Switch { * Creates an instance of the switch. * * - * * @generated */ public Std_datatypesSwitch() { - if(modelPackage == null) { + if (modelPackage == null) { modelPackage = Std_datatypesPackage.eINSTANCE; } } @@ -72,7 +47,6 @@ public class Std_datatypesSwitch extends Switch { * Checks whether this is a switch for the given package. * * - * * @parameter ePackage the package in question. * @return whether this is a switch for the given package. * @generated @@ -86,135 +60,103 @@ public class Std_datatypesSwitch extends Switch { * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. * * - * * @return the first non-null result returned by a caseXXX 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.UIINT16_MULTI_ARRAY: - { - UIint16MultiArray uIint16MultiArray = (UIint16MultiArray)theEObject; - T result = caseUIint16MultiArray(uIint16MultiArray); - 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); + 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.UIINT16_MULTI_ARRAY: { + UIint16MultiArray uIint16MultiArray = (UIint16MultiArray)theEObject; + T result = caseUIint16MultiArray(uIint16MultiArray); + 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); } } @@ -224,9 +166,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Header'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -241,9 +181,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Multi Array Dimension'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -258,9 +196,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Multi Array Layout'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -275,9 +211,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Byte Multi Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -292,9 +226,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Color RGBA'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -309,9 +241,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Float32 Multi Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -326,9 +256,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Int32 Multi Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -343,9 +271,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Int8 Multi Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -360,9 +286,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Int16 Multi Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -377,9 +301,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Int64 Multi Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -394,9 +316,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'Float64 Multi Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -411,9 +331,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'UInt64 Multi Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -428,9 +346,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'UIint16 Multi Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -445,9 +361,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'UInt32 Multi Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -462,9 +376,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'UInt8 Multi Array'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -479,9 +391,7 @@ public class Std_datatypesSwitch extends Switch { * This implementation returns null; * returning a non-null result will terminate the switch, but this is the last case anyway. * - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated @@ -491,4 +401,4 @@ public class Std_datatypesSwitch extends Switch { return null; } -} //Std_datatypesSwitch +} //Std_datatypesSwitch \ No newline at end of file -- cgit v1.2.3