Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaadia Dhouib2015-05-22 14:13:00 +0000
committersdhouib2015-05-28 13:02:41 +0000
commited87cc6efccb4e9c38734f8e7c1a64baea24ac3a (patch)
tree1d6b61a7ee34149a243acb6ee00c097f201192cf /extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Odometer_TicsImpl.java
parent55b224557f9a46a649cdb5caffbb1efde7e44c03 (diff)
downloadorg.eclipse.papyrus-ed87cc6efccb4e9c38734f8e7c1a64baea24ac3a.tar.gz
org.eclipse.papyrus-ed87cc6efccb4e9c38734f8e7c1a64baea24ac3a.tar.xz
org.eclipse.papyrus-ed87cc6efccb4e9c38734f8e7c1a64baea24ac3a.zip
Cleaning environment package in RobotML profile
Diffstat (limited to 'extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Odometer_TicsImpl.java')
-rw-r--r--extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotMLLibraries/RobotML_ModelLibrary/RobotML_DataTypes/oarps_datatypes/oarp4_datatypes/impl/Odometer_TicsImpl.java14
1 files changed, 7 insertions, 7 deletions
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 012eb7aed45..5dc9160316d 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
@@ -31,7 +31,7 @@ public class Odometer_TicsImpl extends MinimalEObjectImpl.Container implements O
* @generated
* @ordered
*/
- protected static final int VALUE_EDEFAULT = 0;
+ protected static final Object VALUE_EDEFAULT = null;
/**
* The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
@@ -41,7 +41,7 @@ public class Odometer_TicsImpl extends MinimalEObjectImpl.Container implements O
* @generated
* @ordered
*/
- protected int value = VALUE_EDEFAULT;
+ protected Object value = VALUE_EDEFAULT;
/**
* <!-- begin-user-doc -->
@@ -67,7 +67,7 @@ public class Odometer_TicsImpl extends MinimalEObjectImpl.Container implements O
* <!-- end-user-doc -->
* @generated
*/
- public int getValue() {
+ public Object getValue() {
return value;
}
@@ -76,8 +76,8 @@ public class Odometer_TicsImpl extends MinimalEObjectImpl.Container implements O
* <!-- end-user-doc -->
* @generated
*/
- public void setValue(int newValue) {
- int oldValue = value;
+ public void setValue(Object newValue) {
+ Object oldValue = value;
value = newValue;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, Oarp4_datatypesPackage.ODOMETER_TICS__VALUE, oldValue, value));
@@ -106,7 +106,7 @@ public class Odometer_TicsImpl extends MinimalEObjectImpl.Container implements O
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE:
- setValue((Integer)newValue);
+ setValue((Object)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -136,7 +136,7 @@ public class Odometer_TicsImpl extends MinimalEObjectImpl.Container implements O
public boolean eIsSet(int featureID) {
switch (featureID) {
case Oarp4_datatypesPackage.ODOMETER_TICS__VALUE:
- return value != VALUE_EDEFAULT;
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
}
return super.eIsSet(featureID);
}

Back to the top